/* ============================================
   CropSaga - Theme Claude
   Fundal Claude.ai (Pampas #F4F3EE), accent = verde CropSaga (#436106)
   ============================================ */

[data-theme="theme-claude"] {
    /* ===== Claude.ai Color Tokens ===== */
    
    /* Background - Claude.ai predominant Pampas #F4F3EE */
    --bg: #F4F3EE;
    --bg2: #FAF9F5;
    --bg-gradient: linear-gradient(180deg, #F4F3EE 0%, #FAF9F5 100%);
    
    /* Surface - Claude white + user bubble #DDD9CE */
    --surface: #FFFFFF;
    --surface-2: #DDD9CE;
    --surface-elevated: #FFFFFF;
    
    /* Text - Claude #1a1a18, muted #6b6a68 */
    --text: #1a1a18;
    --text-muted: #6b6a68;
    --text-subtle: #8a8986;
    --text-inverse: #FFFFFF;
    
    /* Primary - CropSaga verde închis (dominantă, ca în Claude) */
    --primary: #1E2A1D;
    --primary-hover: #2A3B28;
    --primary-active: #152016;
    --primary-soft: rgba(30, 42, 29, 0.08);
    --primary-softer: rgba(30, 42, 29, 0.04);
    
    /* Accent = verde CropSaga (#436106) */
    --accent: #436106;
    /* Verde CropSaga prezent (logo) - #42403b */
    --cropsaga-green: #42403b;
    --accent-hover: #5a7a0a;
    --accent2: #6b8f4e;
    --accent-secondary: #436106;
    --accent-secondary-soft: rgba(67, 97, 6, 0.12);
    
    /* Borders - Claude #00000015 */
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.12);
    --border-focus: rgba(30, 42, 29, 0.4);
    
    /* Shadow - Claude exact: 0 0.25rem 1.25rem rgba(0,0,0,0.035) */
    --shadow-sm: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.035);
    --shadow-md: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.035), 0 0.5rem 2rem rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 0.5rem 2rem rgba(0, 0, 0, 0.04), 0 1rem 3rem rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 1rem 3rem rgba(0, 0, 0, 0.05), 0 2rem 4rem rgba(0, 0, 0, 0.06);
    
    /* Status Colors */
    --success: #059669;
    --success-soft: rgba(5, 150, 105, 0.12);
    --warning: #D97706;
    --warning-soft: rgba(217, 119, 6, 0.12);
    --danger: #DC2626;
    --danger-soft: rgba(220, 38, 38, 0.12);
    --info: #0284C7;
    --info-soft: rgba(2, 132, 199, 0.12);
    
    /* Design Tokens - Claude MCP border-radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions - Claude cubic-bezier(0.165, 0.85, 0.45, 1) */
    --transition-fast: 0.15s cubic-bezier(0.165, 0.85, 0.45, 1);
    --transition-base: 0.3s cubic-bezier(0.165, 0.85, 0.45, 1);
    --transition-slow: 0.35s cubic-bezier(0.165, 0.85, 0.45, 1);
    --transition-press: 0.12s cubic-bezier(0.165, 0.85, 0.45, 1);
    
    /* ===== Map to Existing App Variables ===== */
    --color-bg-primary: var(--bg);
    --color-bg-secondary: var(--bg2);
    --color-bg-table: var(--surface);
    --color-text-primary: var(--text);
    --color-text-secondary: var(--text-muted);
    --color-text-tertiary: var(--text-subtle);
    
    /* Accent = verde CropSaga */
    --color-accent-green: var(--accent);
    --color-light-green: var(--accent2);
    --color-signal-green: var(--accent);
    --color-action-green: var(--accent);
    
    --color-warning-orange: var(--warning);
    --color-error-red: var(--danger);
    
    --color-hover-bg: var(--surface-2);
    --color-border: var(--border);
    --color-border-solid: var(--border-strong);
    --menu-active-indicator: var(--primary);
    
    --gradient-secondary: var(--bg-gradient);
    
    --color-card-bg: var(--surface);
    --card: var(--surface);
    --card2: var(--surface-2);
    
    /* Font - Claude.ai: Lora + ui-serif stack */
    --font-body: 'Lora', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
    --font-title: 'Lora', ui-serif, Georgia, serif;
    --size-text: 14px;
    
    /* Typography Scale - Claude MCP design guidelines */
    --font-text-xs: 12px;
    --font-text-xs-lh: 1.4;
    --font-text-sm: 14px;
    --font-text-sm-lh: 1.4;
    --font-text-md: 16px;
    --font-text-md-lh: 1.4;
    --font-text-lg: 20px;
    --font-text-lg-lh: 1.25;
    --font-heading-xs: 12px;
    --font-heading-xs-lh: 1.4;
    --font-heading-sm: 14px;
    --font-heading-sm-lh: 1.4;
    --font-heading-md: 16px;
    --font-heading-md-lh: 1.4;
    --font-heading-lg: 20px;
    --font-heading-lg-lh: 1.25;
    --font-heading-xl: 24px;
    --font-heading-xl-lh: 1.25;
    --font-heading-2xl: 28px;
    --font-heading-2xl-lh: 1.1;
    --font-heading-3xl: 36px;
    --font-heading-3xl-lh: 1;
    
    --muted: var(--text-muted);
    
    /* Icons - monochrome Claude style */
    --icon-primary: var(--primary);
    --icon-muted: var(--text-muted);
    
    /* Override albastru browser/Flatpickr → verde CropSaga */
    accent-color: var(--accent);
    
    /* Top bar & bottom bar - fundal ca restul (Claude.ai) */
    --topbar-bg: var(--bg);
    --topbar-separator: var(--border);
    --topbar-control-bg: rgba(0, 0, 0, 0.04);
    --topbar-control-bg-hover: rgba(0, 0, 0, 0.08);
    --topbar-control-bg-active: rgba(0, 0, 0, 0.12);
    --topbar-control-text: var(--text);
    --topbar-control-focus: var(--primary-softer);
}

/* ===== Base Layout - Claude font throughout ===== */
[data-theme="theme-claude"] body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--font-text-sm);
    line-height: var(--font-text-sm-lh);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[data-theme="theme-claude"] h1 {
    font-family: var(--font-title);
    font-size: var(--font-heading-2xl);
    line-height: var(--font-heading-2xl-lh);
}
[data-theme="theme-claude"] h2 {
    font-family: var(--font-title);
    font-size: var(--font-heading-xl);
    line-height: var(--font-heading-xl-lh);
}
[data-theme="theme-claude"] h3 {
    font-family: var(--font-title);
    font-size: var(--font-heading-lg);
    line-height: var(--font-heading-lg-lh);
}
[data-theme="theme-claude"] h4,
[data-theme="theme-claude"] h5,
[data-theme="theme-claude"] h6 {
    font-family: var(--font-title);
    font-size: var(--font-heading-md);
    line-height: var(--font-heading-md-lh);
}

/* ===== Top Bar - fundal ca Claude.ai, text vizibil ===== */
[data-theme="theme-claude"] .top-bar .logo-image {
    height: 72px;
    /* Logo verde CropSaga prezent (#42403b) - ca în imagine */
    filter: brightness(0) saturate(100%) invert(26%) sepia(5%) saturate(500%) hue-rotate(10deg) brightness(98%) contrast(95%);
}

[data-theme="theme-claude"] .top-bar {
    background: var(--topbar-bg);
    color: var(--text) !important;
    border-bottom: 1px solid var(--topbar-separator);
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.035);
}

[data-theme="theme-claude"] .top-bar .topbar-control,
[data-theme="theme-claude"] .top-bar .topbar-btn,
[data-theme="theme-claude"] .top-bar .topbar-select,
[data-theme="theme-claude"] .top-bar .topbar-icon-btn,
[data-theme="theme-claude"] .top-bar .topbar-icon-btn i,
[data-theme="theme-claude"] .top-bar .topbar-label,
[data-theme="theme-claude"] .top-bar .topbar-chip,
[data-theme="theme-claude"] .top-bar .auth-user {
    color: var(--text) !important;
}

[data-theme="theme-claude"] .top-bar .topbar-select option {
    color: var(--text) !important;
    background: var(--surface) !important;
}

/* ===== Bottom Dock - fundal ca Claude.ai ===== */
[data-theme="theme-claude"] .bottom-dock {
    background: var(--topbar-bg);
    border-top: 1px solid var(--topbar-separator);
    box-shadow: 0 -0.25rem 1.25rem rgba(0, 0, 0, 0.035);
}

[data-theme="theme-claude"] .bottom-bar {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

[data-theme="theme-claude"] .bottom-dock .dock-left i,
[data-theme="theme-claude"] .bottom-dock #dockContextLabel,
[data-theme="theme-claude"] .bottom-dock .dock-right * {
    color: var(--text) !important;
}

[data-theme="theme-claude"] .topbar-select {
    border-color: var(--border) !important;
}

[data-theme="theme-claude"] .topbar-select option:hover,
[data-theme="theme-claude"] .topbar-select option:checked {
    background: var(--primary-soft) !important;
    color: var(--text) !important;
}

[data-theme="theme-claude"] .top-bar .topbar-icon-btn,
[data-theme="theme-claude"] .top-bar .topbar-btn {
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .top-bar .topbar-icon-btn:active,
[data-theme="theme-claude"] .top-bar .topbar-btn:active {
    transform: scale(0.92);
}

/* ===== Sidebar ===== */
[data-theme="theme-claude"] .sidebar-left {
    background: var(--surface-2);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

[data-theme="theme-claude"] .sidebar-right {
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

/* ===== Menu Items ===== */
[data-theme="theme-claude"] .menu-item {
    color: var(--text-muted);
    border-left: 3px solid transparent;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-right: 8px;
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .menu-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text);
}

[data-theme="theme-claude"] .menu-item:active {
    transform: scale(0.98);
}

[data-theme="theme-claude"] .menu-item.active {
    background: var(--primary);
    color: var(--text-inverse);
    border-left-color: transparent;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-body);
}

[data-theme="theme-claude"] .menu-item.active i {
    color: var(--text-inverse);
}

[data-theme="theme-claude"] .menu-item i {
    color: var(--text-muted);
}

[data-theme="theme-claude"] .menu-item:hover i {
    color: var(--text);
}

/* Submenu */
[data-theme="theme-claude"] .submenu {
    background: rgba(0, 0, 0, 0.02);
    border-left: 3px solid var(--border);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 4px 8px 4px 0;
}

[data-theme="theme-claude"] .submenu-item {
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .submenu-item:hover {
    background: var(--accent-secondary-soft);
}

[data-theme="theme-claude"] .submenu-item:active {
    transform: scale(0.98);
}

[data-theme="theme-claude"] .submenu-item.active {
    background: var(--accent-secondary-soft);
    color: var(--accent-secondary);
    font-weight: 600;
}

/* ===== Cards - micro-interactions ===== */
[data-theme="theme-claude"] .card,
[data-theme="theme-claude"] .stat-card,
[data-theme="theme-claude"] .panel-content,
[data-theme="theme-claude"] .settings-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
}

[data-theme="theme-claude"] .card:hover,
[data-theme="theme-claude"] .stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

[data-theme="theme-claude"] .card-header,
[data-theme="theme-claude"] .card-title {
    color: var(--text);
    font-size: var(--font-heading-md);
    line-height: var(--font-heading-md-lh);
}

[data-theme="theme-claude"] .section-title {
    font-size: var(--font-heading-md);
    line-height: var(--font-heading-md-lh);
}

[data-theme="theme-claude"] .stat-card .stat-value {
    color: var(--text);
    font-size: var(--font-text-lg);
    line-height: var(--font-text-lg-lh);
}

[data-theme="theme-claude"] .stat-card .stat-label {
    color: var(--text-muted);
    font-size: var(--font-text-xs);
    line-height: var(--font-text-xs-lh);
}

[data-theme="theme-claude"] .stat-card .stat-icon {
    color: var(--accent-secondary);
}

/* ===== Tables ===== */
[data-theme="theme-claude"] .table-wrapper,
[data-theme="theme-claude"] .parcels-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

[data-theme="theme-claude"] thead {
    background: var(--surface-2);
}

[data-theme="theme-claude"] th {
    color: var(--text);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

[data-theme="theme-claude"] td {
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

[data-theme="theme-claude"] tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* ===== Buttons - Claude accent, active:scale(0.98) ===== */
[data-theme="theme-claude"] .btn-primary,
[data-theme="theme-claude"] .btn-action {
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .btn-primary:hover,
[data-theme="theme-claude"] .btn-action:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-md);
}

[data-theme="theme-claude"] .btn-primary:active,
[data-theme="theme-claude"] .btn-action:active {
    transform: scale(0.98);
}

[data-theme="theme-claude"] .btn-secondary,
[data-theme="theme-claude"] .btn-outline {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .btn-secondary:hover,
[data-theme="theme-claude"] .btn-outline:hover {
    background: var(--accent-secondary-soft);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

[data-theme="theme-claude"] .btn-secondary:active,
[data-theme="theme-claude"] .btn-outline:active,
[data-theme="theme-claude"] .btn-icon:active {
    transform: scale(0.98);
}

[data-theme="theme-claude"] .btn-outline-danger {
    background: transparent;
    color: var(--color-error-red, #C0392B);
    border: 1px solid var(--color-error-red, #C0392B);
}
[data-theme="theme-claude"] .btn-outline-danger:hover {
    background: rgba(192, 57, 43, 0.1);
    color: var(--color-error-red, #C0392B);
    border-color: var(--color-error-red, #C0392B);
}

[data-theme="theme-claude"] .btn-icon {
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .btn-icon:hover {
    background: var(--accent-secondary-soft);
    color: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

/* Butoane icon Aspect Profil (cameră, șterge) */
[data-theme="theme-claude"] .btn-sm-icon {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}

[data-theme="theme-claude"] .btn-sm-icon i {
    color: inherit;
}

[data-theme="theme-claude"] .btn-sm-icon:hover {
    background: var(--accent);
    color: var(--text-inverse);
}

/* ===== Form Inputs ===== */
[data-theme="theme-claude"] .form-input,
[data-theme="theme-claude"] .form-select,
[data-theme="theme-claude"] .form-textarea,
[data-theme="theme-claude"] input[type="text"],
[data-theme="theme-claude"] input[type="number"],
[data-theme="theme-claude"] input[type="date"],
[data-theme="theme-claude"] input[type="email"],
[data-theme="theme-claude"] select,
[data-theme="theme-claude"] textarea {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

[data-theme="theme-claude"] .form-input:focus,
[data-theme="theme-claude"] .form-select:focus,
[data-theme="theme-claude"] .form-textarea:focus,
[data-theme="theme-claude"] input:focus,
[data-theme="theme-claude"] select:focus,
[data-theme="theme-claude"] textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-softer);
}

[data-theme="theme-claude"] .form-label {
    color: var(--text);
    font-size: var(--font-text-xs);
    line-height: var(--font-text-xs-lh);
}

/* Select dropdown - highlight verde (nu albastru) */
[data-theme="theme-claude"] .form-select,
[data-theme="theme-claude"] select {
    accent-color: var(--accent);
}

[data-theme="theme-claude"] .form-select option,
[data-theme="theme-claude"] select option {
    background: var(--surface) !important;
    color: var(--text) !important;
}

[data-theme="theme-claude"] .form-select option:hover,
[data-theme="theme-claude"] .form-select option:checked,
[data-theme="theme-claude"] select option:hover,
[data-theme="theme-claude"] select option:checked {
    background: var(--accent-secondary-soft) !important;
    color: var(--text) !important;
}

[data-theme="theme-claude"] .form-select option:focus,
[data-theme="theme-claude"] select option:focus {
    background: var(--accent) !important;
    color: var(--text-inverse) !important;
}

/* ===== Custom Select - dropdown verde (înlocuiește nativul albastru) ===== */
[data-theme="theme-claude"] .custom-select-claude {
    position: relative;
    min-width: 140px;
}

[data-theme="theme-claude"] .custom-select-claude__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--font-text-sm);
    cursor: pointer;
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .custom-select-claude__trigger:active {
    transform: scale(0.98);
}

[data-theme="theme-claude"] .custom-select-claude__trigger:hover {
    border-color: var(--border-strong);
}

[data-theme="theme-claude"] .custom-select-claude__trigger::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--text-muted);
}

[data-theme="theme-claude"] .custom-select-claude__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
}

[data-theme="theme-claude"] .custom-select-claude__item {
    padding: 10px 12px;
    color: var(--text);
    cursor: pointer;
    transition: background var(--transition-fast);
}

[data-theme="theme-claude"] .custom-select-claude__item:hover {
    background: var(--accent-secondary-soft);
}

[data-theme="theme-claude"] .custom-select-claude__item.selected {
    background: var(--accent);
    color: var(--text-inverse);
}

/* Top bar - custom select compact */
[data-theme="theme-claude"] .top-bar .custom-select-claude {
    min-width: 120px;
}

[data-theme="theme-claude"] .top-bar .custom-select-claude__trigger {
    padding: 6px 10px;
    font-size: 13px;
}

/* ===== Notificări - verde CropSaga prezent (#42403b) ===== */
[data-theme="theme-claude"] .notification-success,
[data-theme="theme-claude"] .notification-info {
    background: var(--cropsaga-green) !important;
    color: #FFFFFF !important;
}

/* ===== Flatpickr - verde în loc de albastru ===== */
[data-theme="theme-claude"] .flatpickr-months .flatpickr-month,
[data-theme="theme-claude"] .flatpickr-weekdays,
[data-theme="theme-claude"] span.flatpickr-weekday,
[data-theme="theme-claude"] .flatpickr-day.selected,
[data-theme="theme-claude"] .flatpickr-day.startRange,
[data-theme="theme-claude"] .flatpickr-day.endRange,
[data-theme="theme-claude"] .flatpickr-day.selected:hover,
[data-theme="theme-claude"] .flatpickr-day.startRange:hover,
[data-theme="theme-claude"] .flatpickr-day.endRange:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}

[data-theme="theme-claude"] .flatpickr-calendar.arrowTop:after {
    border-bottom-color: var(--accent) !important;
}
[data-theme="theme-claude"] .flatpickr-calendar.arrowBottom:after {
    border-top-color: var(--accent) !important;
}

[data-theme="theme-claude"] .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
[data-theme="theme-claude"] .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
[data-theme="theme-claude"] .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)),
[data-theme="theme-claude"] .flatpickr-day.week.selected {
    box-shadow: -5px 0 0 var(--accent), 5px 0 0 var(--accent) !important;
}

[data-theme="theme-claude"] .flatpickr-current-month .flatpickr-monthDropdown-months,
[data-theme="theme-claude"] .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    background: var(--accent) !important;
}

/* ===== Status Badges ===== */
[data-theme="theme-claude"] .status-badge.active,
[data-theme="theme-claude"] .status-badge.success {
    background: var(--success-soft);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

[data-theme="theme-claude"] .status-badge.warning {
    background: var(--warning-soft);
    color: var(--warning);
}

[data-theme="theme-claude"] .status-badge.error,
[data-theme="theme-claude"] .status-badge.danger {
    background: var(--danger-soft);
    color: var(--danger);
}

[data-theme="theme-claude"] .crop-badge {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(30, 42, 29, 0.2);
}

/* ===== Modals - Claude animation ===== */
[data-theme="theme-claude"] .modal-backdrop {
    background: rgba(0, 0, 0, 0.35);
    transition: opacity var(--transition-base);
}

[data-theme="theme-claude"] .modal,
[data-theme="theme-claude"] .modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: claudeModalIn 0.25s cubic-bezier(0.165, 0.85, 0.45, 1) forwards;
}

[data-theme="theme-claude"] .modal-title {
    color: var(--text);
}

/* ===== Panels ===== */
[data-theme="theme-claude"] .layers-panel,
[data-theme="theme-claude"] .panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

[data-theme="theme-claude"] .panel-header h2,
[data-theme="theme-claude"] .panel-header h3 {
    color: var(--text);
}

/* ===== Tabs ===== */
[data-theme="theme-claude"] .tab-btn,
[data-theme="theme-claude"] .tab {
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .tab-btn:active,
[data-theme="theme-claude"] .tab:active {
    transform: scale(0.97);
}

[data-theme="theme-claude"] .tab-btn.active,
[data-theme="theme-claude"] .tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ===== Links ===== */
[data-theme="theme-claude"] a:not(.btn):not(.menu-item) {
    color: var(--primary);
    transition: color var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] a:not(.btn):not(.menu-item):hover {
    color: var(--primary-hover);
}

[data-theme="theme-claude"] a:not(.btn):not(.menu-item):active {
    transform: scale(0.98);
}

/* ===== Section Titles ===== */
[data-theme="theme-claude"] .section-title i {
    color: var(--accent-secondary);
}

/* Card icons: fundal verde, icon alb pentru vizibilitate */
[data-theme="theme-claude"] .card-icon {
    background: var(--accent);
    color: var(--text-inverse);
}

[data-theme="theme-claude"] .card-icon i {
    color: inherit;
}

/* Help dropdown - tema Claude */
[data-theme="theme-claude"] .help-dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
}

[data-theme="theme-claude"] .help-dropdown-item:hover,
[data-theme="theme-claude"] a.help-dropdown-item:hover {
    background: var(--accent-secondary-soft);
}

[data-theme="theme-claude"] .help-dropdown-item i {
    color: var(--accent-secondary);
}

[data-theme="theme-claude"] .help-copy-btn {
    border-color: var(--border);
    color: var(--text-muted);
}

[data-theme="theme-claude"] .help-copy-btn:hover {
    background: var(--accent-secondary-soft);
    color: var(--accent-secondary);
}

/* ===== Map Controls ===== */
[data-theme="theme-claude"] .map-btn,
[data-theme="theme-claude"] .map-control-btn {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .map-btn:active,
[data-theme="theme-claude"] .map-control-btn:active {
    transform: scale(0.95);
}

[data-theme="theme-claude"] .map-btn:hover,
[data-theme="theme-claude"] .map-control-btn:hover {
    background: var(--accent-secondary-soft);
    color: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

[data-theme="theme-claude"] .map-btn.active,
[data-theme="theme-claude"] .map-control-btn.active {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

/* ===== Toggle Switch ===== */
[data-theme="theme-claude"] .toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

/* ===== Progress Bar ===== */
[data-theme="theme-claude"] .progress-fill {
    background: var(--primary);
}

/* ===== Submenu Header ===== */
[data-theme="theme-claude"] .submenu-header {
    color: var(--text);
}

/* ===== Dock Panel - fundal deschis, text/iconițe vizibile, slide-in ===== */
[data-theme="theme-claude"] .dock-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    color: var(--text);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

[data-theme="theme-claude"] .dock-panel__eyebrow {
    color: var(--text-muted);
}

[data-theme="theme-claude"] .dock-panel__title {
    color: var(--text);
}

[data-theme="theme-claude"] .dock-panel__close {
    border-color: var(--border-strong);
    color: var(--text);
    background: var(--surface-2);
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .dock-panel__close:active {
    transform: scale(0.92);
}

[data-theme="theme-claude"] .dock-panel__close:hover {
    background: var(--accent-secondary-soft);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

[data-theme="theme-claude"] .dock-panel__item {
    background: var(--surface-2);
    border-color: var(--border);
    color: var(--text);
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .dock-panel__item:active {
    transform: scale(0.97);
}

[data-theme="theme-claude"] .dock-panel__item:hover {
    background: var(--accent-secondary-soft);
    border-color: var(--accent-secondary);
    color: var(--text);
}

[data-theme="theme-claude"] .dock-panel__item i {
    color: var(--accent-secondary);
}

[data-theme="theme-claude"] .dock-panel__item:hover i {
    color: var(--accent-secondary);
}

/* ===== Nav Drawer - fundal deschis, text vizibil, slide-in ===== */
[data-theme="theme-claude"] .nav-drawer {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    color: var(--text);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

[data-theme="theme-claude"] .nav-drawer__eyebrow {
    color: var(--text-muted);
}

[data-theme="theme-claude"] .nav-drawer__title {
    color: var(--text);
}

[data-theme="theme-claude"] .nav-drawer__grip {
    background: var(--border-strong);
}

[data-theme="theme-claude"] .nav-drawer__search {
    background: var(--surface-2);
    border: 1px solid var(--border);
}

[data-theme="theme-claude"] .nav-drawer__search input {
    color: var(--text);
}

[data-theme="theme-claude"] .nav-drawer__item {
    background: var(--surface-2);
    border-color: var(--border);
    color: var(--text);
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .nav-drawer__item:active {
    transform: scale(0.97);
}

[data-theme="theme-claude"] .nav-drawer__item:hover {
    background: var(--accent-secondary-soft);
    border-color: var(--accent-secondary);
}

[data-theme="theme-claude"] .nav-drawer__item i {
    color: var(--accent-secondary);
}

[data-theme="theme-claude"] .nav-dock__item,
[data-theme="theme-claude"] .nav-dock__item i,
[data-theme="theme-claude"] .dock-left i,
[data-theme="theme-claude"] #dockContextLabel {
    color: var(--text) !important;
}

[data-theme="theme-claude"] .nav-dock__item {
    transition: transform var(--transition-press);
}

[data-theme="theme-claude"] .nav-dock__item:active {
    transform: scale(0.9);
}

[data-theme="theme-claude"] .nav-dock__item.active,
[data-theme="theme-claude"] .nav-dock__item.active i {
    color: var(--accent) !important;
}

[data-theme="theme-claude"] .nav-dock__item.active::after {
    background: var(--accent);
}

/* ===== Click animations - elemente interactive ===== */
[data-theme="theme-claude"] .topbar-avatar {
    transition: transform var(--transition-press);
}

[data-theme="theme-claude"] .topbar-avatar:active {
    transform: scale(0.92);
}

[data-theme="theme-claude"] .custom-select-claude__item {
    transition: background var(--transition-fast), transform var(--transition-press);
}

[data-theme="theme-claude"] .custom-select-claude__item:active {
    transform: scale(0.98);
}

/* ===== Selection ===== */
    background: var(--primary-soft);
    color: var(--text);
}

/* ===== Focus Visible ===== */
[data-theme="theme-claude"] :focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== Scrollbar ===== */
[data-theme="theme-claude"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

[data-theme="theme-claude"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* ===== Keyframes - Claude animations ===== */
@keyframes claudeModalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes claudeMessageIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== AI Assistant - Claude.ai look ===== */
/* Chat area: fundal Pampas ca Claude.ai, mesaje pe carduri */
[data-theme="theme-claude"] .ai-assistant-full {
    background: var(--bg);
}

[data-theme="theme-claude"] .chat-container {
    background: transparent;
    border: none;
    box-shadow: none;
}

[data-theme="theme-claude"] .chat-messages {
    background: var(--bg);
    padding: var(--spacing-lg);
}

[data-theme="theme-claude"] .chat-message {
    animation: claudeMessageIn 0.3s cubic-bezier(0.165, 0.85, 0.45, 1) forwards;
}

[data-theme="theme-claude"] .chat-message:nth-child(1) { animation-delay: 0ms; }
[data-theme="theme-claude"] .chat-message:nth-child(2) { animation-delay: 50ms; }
[data-theme="theme-claude"] .chat-message:nth-child(3) { animation-delay: 100ms; }
[data-theme="theme-claude"] .chat-message:nth-child(4) { animation-delay: 150ms; }
[data-theme="theme-claude"] .chat-message:nth-child(5) { animation-delay: 200ms; }
[data-theme="theme-claude"] .chat-message:nth-child(6) { animation-delay: 250ms; }
[data-theme="theme-claude"] .chat-message:nth-child(7) { animation-delay: 300ms; }
[data-theme="theme-claude"] .chat-message:nth-child(8) { animation-delay: 350ms; }
[data-theme="theme-claude"] .chat-message:nth-child(9) { animation-delay: 400ms; }
[data-theme="theme-claude"] .chat-message:nth-child(10) { animation-delay: 450ms; }

/* User bubble: warm gray #DDD9CE ca Claude.ai */
[data-theme="theme-claude"] .user-content {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

[data-theme="theme-claude"] .user-content .message-header strong,
[data-theme="theme-claude"] .user-content .message-time,
[data-theme="theme-claude"] .user-content .message-text {
    color: var(--text);
}

/* Assistant bubble: white card ca Claude.ai */
[data-theme="theme-claude"] .assistant-content {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

[data-theme="theme-claude"] .message-content {
    border-radius: var(--radius-xl);
}

[data-theme="theme-claude"] .message-text {
    font-size: var(--font-text-md);
    line-height: 1.6;
    font-family: var(--font-body);
}

/* Code în mesaje - stil Claude */
[data-theme="theme-claude"] .message-text code {
    background: var(--primary-softer);
    color: var(--text);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
    font-size: 13px;
}

/* Input: formă pill ca Claude.ai */
[data-theme="theme-claude"] .chat-input-container {
    background: var(--bg);
    border-top-color: var(--border);
}

[data-theme="theme-claude"] .chat-input {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 14px 24px;
    font-family: var(--font-body);
    transition: border-color var(--transition-base), box-shadow var(--transition-fast);
}

[data-theme="theme-claude"] .chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-softer);
}

[data-theme="theme-claude"] .chat-input::placeholder {
    color: var(--text-subtle);
}

[data-theme="theme-claude"] .chat-send-btn {
    background: var(--accent);
    color: var(--text-inverse);
    border-radius: 50%;
    transition: all var(--transition-base);
}

[data-theme="theme-claude"] .chat-send-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

[data-theme="theme-claude"] .chat-send-btn:active {
    transform: scale(0.98);
}

[data-theme="theme-claude"] .assistant-avatar {
    background: var(--primary);
    color: var(--text-inverse);
}

[data-theme="theme-claude"] .user-avatar {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}

[data-theme="theme-claude"] .typing-indicator span {
    background: var(--primary);
    animation: typing 1.2s cubic-bezier(0.165, 0.85, 0.45, 1) infinite;
}

[data-theme="theme-claude"] .chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

/* AI Header & Farm Context - stil Claude */
[data-theme="theme-claude"] .ai-header,
[data-theme="theme-claude"] .farm-context-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

[data-theme="theme-claude"] .context-header i {
    color: var(--accent);
}

/* Conversations sidebar - stil Claude */
[data-theme="theme-claude"] .conversations-sidebar {
    background: var(--bg);
    border-right-color: var(--border);
}

[data-theme="theme-claude"] .conversations-sidebar .sidebar-header {
    border-bottom-color: var(--border);
}

[data-theme="theme-claude"] .conversation-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base), transform var(--transition-press);
}

[data-theme="theme-claude"] .conversation-item:active {
    transform: scale(0.98);
}

[data-theme="theme-claude"] .conversation-item:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
}

[data-theme="theme-claude"] .conversation-item.active {
    background: var(--accent-secondary-soft);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-secondary-soft);
}

[data-theme="theme-claude"] .conversation-item.active .conv-header i {
    color: var(--accent);
}

[data-theme="theme-claude"] .conv-action-btn:hover {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}
