﻿    /* ==================== GOOGLE SHEETS CONFIGURATION ==================== */
    .google-sheets-config {
      background: var(--secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      text-align: center;
    }

    .google-sheets-status {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px;
      background: rgba(34, 197, 94, 0.1);
      border: 1px solid rgba(34, 197, 94, 0.3);
      border-radius: var(--radius-sm);
      margin-top: 16px;
    }

    .status-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .status-icon.success {
      background: rgba(34, 197, 94, 0.2);
      color: var(--success);
    }

    .status-icon svg {
      width: 20px;
      height: 20px;
    }

    .status-info {
      text-align: left;
      flex: 1;
    }

    .status-title {
      color: var(--foreground);
      font-weight: 500;
      margin-bottom: 4px;
    }

    .status-email {
      color: #334155;
      font-size: 0.9rem;
      font-weight: 500;
    }

    #facebookStep6GS .step-desc,
    #facebookStep6GS small,
    #facebookStep6GS .radio-option small,
    #facebookStep6GS .form-group label,
    #facebookStep6GS #serviceAccountMethodContainer div[style*="font-size: 0.85rem"],
    #facebookStep6GS #serviceAccountMethodContainer div[style*="font-size: 0.9rem"] {
      color: #334155 !important;
      font-weight: 500;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    #facebookStep6GS #serviceAccountMethodContainer div[style*="text-transform: uppercase"] {
      letter-spacing: 0.03em !important;
    }

    /* ==================== FIELD SELECTOR INTERFACE ==================== */
    .fields-section {
      background: var(--secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-bottom: 16px;
    }

    .fields-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }

    .fields-header h5 {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--foreground);
      margin: 0;
    }

    .fields-count {
      font-size: 0.8rem;
      color: var(--muted);
      background: var(--background);
      padding: 4px 8px;
      border-radius: var(--radius-sm);
    }

    .reset-order-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--muted);
      font-size: 0.8rem;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .reset-order-btn:hover {
      background: rgba(34, 211, 187, 0.1);
      border-color: var(--primary);
      color: var(--primary);
    }

    .reset-order-btn svg {
      width: 14px;
      height: 14px;
    }

    .fields-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .available-fields-list {
      max-height: 300px;
      overflow-y: auto;
      padding: 4px;
    }

    .selected-fields-list {
      min-height: 200px;
      padding: 12px;
      background: var(--background);
      border: 1px dashed var(--border);
      border-radius: var(--radius-sm);
      position: relative;
    }

    .empty-state-message {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--muted);
      font-size: 0.9rem;
      min-height: 120px;
    }

    .empty-state-message svg {
      opacity: 0.5;
    }

    .field-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 12px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all 0.2s ease;
      position: relative;
      min-height: 56px;
    }

    .field-item:hover {
      background: var(--card-hover);
      border-color: var(--primary);
    }

    .field-item.selected {
      background: rgba(34, 211, 187, 0.1);
      border-color: var(--primary);
    }

    .field-item.sortable {
      cursor: grab;
      padding-left: 8px;
    }

    .field-item.sortable:active {
      cursor: grabbing;
    }

    .field-item.drag-over {
      background: rgba(34, 211, 187, 0.2);
      border: 2px solid var(--primary);
      box-shadow: inset 0 0 0 1mm rgba(34, 211, 187, 0.1);
    }

    .field-checkbox {
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: var(--primary);
    }

    .column-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      min-width: 42px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
      font-size: 11px;
      white-space: nowrap;
    }

    .field-drag-handle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      color: var(--muted);
      cursor: grab;
      flex-shrink: 0;
    }

    .field-drag-handle:active {
      cursor: grabbing;
    }

    .field-drag-handle svg {
      width: 16px;
      height: 16px;
    }

    .field-name {
      flex: 1;
      font-size: 0.9rem;
      color: var(--foreground);
      font-weight: 500;
    }

    .field-actions {
      display: flex;
      gap: 4px;
      align-items: center;
    }

    .field-action-btn {
      background: transparent;
      border: none;
      color: var(--muted);
      padding: 4px 6px;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .field-action-btn:hover {
      background: rgba(34, 211, 187, 0.1);
      color: var(--primary);
    }

    .field-action-btn.danger:hover {
      background: rgba(239, 68, 68, 0.1);
      color: var(--error);
    }

    .field-action-btn svg {
      width: 16px;
      height: 16px;
    }

    .selected-section {
      background: var(--card);
    }

    /* ==================== INTEGRATIONS PANEL ==================== */
