/* OriginGo Premium Theme CSS */

:root {
    --bg-dark: #f8fafc;
    --bg-sidebar: #ffffff;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-primary: #0b2240; /* Official Deep Navy */
    --accent-glow: rgba(11, 34, 64, 0.1);
    --bg-input: #ffffff;
}

* {
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Base structural layout */
.app-layout {
    display: flex;
    height: calc(100vh - 50px);
    overflow: hidden;
}

.workspace {
    flex-grow: 1;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.workspace-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.workspace-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.workspace-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.workspace-title p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.workspace-content {
    height: calc(100% - 90px);
    padding: 0 1.5rem 1.5rem;
}

/* Modals */
.modal-backdrop-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content-premium {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-content-large {
    max-width: 800px;
}

/* Forms & Inputs */
.form-field {
    margin-bottom: 1.1rem;
}

.form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    font-size: 0.9rem;
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(11,34,64,0.08);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #7c3aed 100%);
    border: none;
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: rgba(11, 34, 64, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(11, 34, 64, 0.08);
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b2240, #1e3a5f);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1.5rem;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11,34,64,0.2);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Cards & Utilities */
.card-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.card-link {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(0,0,0,0.08);
}

/* Alerts and Pills */
.status-pill {
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.pill-success { background: rgba(16,185,129,0.1); color: #059669; }
.pill-info { background: rgba(59,130,246,0.1); color: #2563eb; }
.pill-warning { background: rgba(245,158,11,0.1); color: #d97706; }
.pill-danger { background: rgba(239,68,68,0.1); color: #dc2626; }

.asset-info-banner {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.83rem;
    margin-bottom: 0.75rem;
    display: none;
}

.asset-info-banner.active {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.2);
}

.asset-info-banner.quarantined {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.3);
    color: #dc2626;
}
/* Re-extracted styles from old layout */
:root {
            --bg-dark: #f8fafc;
            --bg-sidebar: #ffffff;
            --bg-card: #ffffff;
            --border-color: #e2e8f0;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --accent-primary: #0b2240; /* Official Deep Navy */
            --accent-glow: rgba(11, 34, 64, 0.1);
            --bg-input: #ffffff;
        }

        * {
            box-sizing: border-box;
            font-family: 'Outfit', sans-serif;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Top Government style banner */
        .top-nav-banner {
            background: var(--accent-primary);
            color: white;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            border-bottom: 2px solid #b45309; /* Deep Gold highlight line */
            flex-shrink: 0;
        }

        .gov-brand-section {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .gov-sep {
            color: rgba(255, 255, 255, 0.2);
            font-weight: 300;
        }

        .secure-badge {
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
            border: 1px solid rgba(16, 185, 129, 0.3);
            border-radius: 4px;
            padding: 0.15rem 0.45rem;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        /* Collapsible layout container */
        .app-layout {
            display: flex;
            height: calc(100vh - 50px);
            overflow: hidden;
        }

        /* Sidebar navigation */
        .sidebar {
            background: var(--bg-sidebar);
            border-right: 1px solid var(--border-color);
            width: 235px;
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
            height: 100%;
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .sidebar-logo {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 55px;
        }

        .sidebar-logo h2 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--accent-primary);
            white-space: nowrap;
            transition: opacity 0.2s ease;
        }

        .sidebar-menu {
            list-style: none;
            padding: 1rem 0.5rem;
            flex-grow: 1;
            overflow-y: auto;
        }

        .menu-item {
            margin-bottom: 0.25rem;
        }

        .menu-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--text-secondary);
            text-decoration: none;
            padding: 0.75rem 1rem;
            border-radius: 6px;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .menu-link:hover, .menu-link.active {
            color: var(--text-primary);
            background: rgba(11, 34, 64, 0.05);
            box-shadow: inset 0 0 0 1px rgba(11, 34, 64, 0.08);
        }

        .menu-link.active {
            color: var(--accent-primary);
            background: rgba(59, 130, 246, 0.07);
            box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
            font-weight: 600;
        }

        .nav-group-label {
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-secondary);
            opacity: 0.6;
            padding: 0.9rem 1rem 0.25rem;
            white-space: nowrap;
            overflow: hidden;
            display: block;
        }

        .nav-group-separator {
            height: 1px;
            background: var(--border-color);
            margin: 0.4rem 0.75rem;
            opacity: 0.6;
        }

        .sidebar-footer {
            padding: 1rem;
            border-top: 1px solid var(--border-color);
        }

        .btn-logout {
            background: transparent;
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
            width: 100%;
            padding: 0.6rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .btn-logout:hover {
            background: rgba(239, 68, 68, 0.08);
        }

        /* Collapsed Sidebar overrides */
        .sidebar-collapsed .sidebar {
            width: 70px;
        }

        .sidebar-collapsed .sidebar-logo h2 {
            opacity: 0;
            width: 0;
            pointer-events: none;
            position: absolute;
        }

        .sidebar-collapsed .sidebar-logo {
            justify-content: center;
        }

        .sidebar-collapsed .menu-link .menu-text {
            display: none;
        }

        .sidebar-collapsed .menu-link {
            justify-content: center;
            padding: 0.8rem;
        }

        .sidebar-collapsed .btn-logout span.menu-text {
            display: none;
        }
        
        .sidebar-collapsed .btn-logout {
            padding: 0.6rem 0;
        }

        .sidebar-collapsed .nav-group-label,
        .sidebar-collapsed .nav-group-separator {
            display: none;
        }

        /* Main Workspace Content */
        .workspace {
            flex-grow: 1;
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            height: 100%;
        }

        .workspace-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }\n\n        .workspace-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.workspace-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.workspace-title p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.workspace-content {
    height: calc(100% - 90px);
    padding: 0 1.5rem 1.5rem;
}

/* Modals */
.modal-backdrop-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content-premium {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-content-large {
    max-width: 800px;
}

/* Forms & Inputs */
.form-field {
    margin-bottom: 1.1rem;
}

.form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    font-size: 0.9rem;
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(11,34,64,0.08);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #7c3aed 100%);
    border: none;
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: rgba(11, 34, 64, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(11, 34, 64, 0.08);
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b2240, #1e3a5f);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1.5rem;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11,34,64,0.2);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Cards & Utilities */
.card-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.card-link {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(0,0,0,0.08);
}

/* Alerts and Pills */
.status-pill {
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.pill-success { background: rgba(16,185,129,0.1); color: #059669; }
.pill-info { background: rgba(59,130,246,0.1); color: #2563eb; }
.pill-warning { background: rgba(245,158,11,0.1); color: #d97706; }
.pill-danger { background: rgba(239,68,68,0.1); color: #dc2626; }

.asset-info-banner {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.83rem;
    margin-bottom: 0.75rem;
    display: none;
}

.asset-info-banner.active {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.2);
}

.asset-info-banner.quarantined {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.3);
    color: #dc2626;
}
/* Re-extracted styles from old layout */
:root {
            --bg-dark: #f8fafc;
            --bg-sidebar: #ffffff;
            --bg-card: #ffffff;
            --border-color: #e2e8f0;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --accent-primary: #0b2240; /* Official Deep Navy */
            --accent-glow: rgba(11, 34, 64, 0.1);
            --bg-input: #ffffff;
        }

        * {
            box-sizing: border-box;
            font-family: 'Outfit', sans-serif;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Top Government style banner */
        .top-nav-banner {
            background: var(--accent-primary);
            color: white;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            border-bottom: 2px solid #b45309; /* Deep Gold highlight line */
            flex-shrink: 0;
        }

        .gov-brand-section {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .gov-sep {
            color: rgba(255, 255, 255, 0.2);
            font-weight: 300;
        }

        .secure-badge {
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
            border: 1px solid rgba(16, 185, 129, 0.3);
            border-radius: 4px;
            padding: 0.15rem 0.45rem;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        /* Collapsible layout container */
        .app-layout {
            display: flex;
            height: calc(100vh - 50px);
            overflow: hidden;
        }

        /* Sidebar navigation */
        .sidebar {
            background: var(--bg-sidebar);
            border-right: 1px solid var(--border-color);
            width: 235px;
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
            height: 100%;
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .sidebar-logo {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 55px;
        }

        .sidebar-logo h2 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--accent-primary);
            white-space: nowrap;
            transition: opacity 0.2s ease;
        }

        .sidebar-menu {
            list-style: none;
            padding: 1rem 0.5rem;
            flex-grow: 1;
            overflow-y: auto;
        }

        .menu-item {
            margin-bottom: 0.25rem;
        }

        .menu-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--text-secondary);
            text-decoration: none;
            padding: 0.75rem 1rem;
            border-radius: 6px;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .menu-link:hover, .menu-link.active {
            color: var(--text-primary);
            background: rgba(11, 34, 64, 0.05);
            box-shadow: inset 0 0 0 1px rgba(11, 34, 64, 0.08);
        }

        .menu-link.active {
            color: var(--accent-primary);
            background: rgba(59, 130, 246, 0.07);
            box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
            font-weight: 600;
        }

        .nav-group-label {
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-secondary);
            opacity: 0.6;
            padding: 0.9rem 1rem 0.25rem;
            white-space: nowrap;
            overflow: hidden;
            display: block;
        }

        .nav-group-separator {
            height: 1px;
            background: var(--border-color);
            margin: 0.4rem 0.75rem;
            opacity: 0.6;
        }

        .sidebar-footer {
            padding: 1rem;
            border-top: 1px solid var(--border-color);
        }

        .btn-logout {
            background: transparent;
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
            width: 100%;
            padding: 0.6rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .btn-logout:hover {
            background: rgba(239, 68, 68, 0.08);
        }

        /* Collapsed Sidebar overrides */
        .sidebar-collapsed .sidebar {
            width: 70px;
        }

        .sidebar-collapsed .sidebar-logo h2 {
            margin-bottom: 2rem;
        }

        .workspace-title h1 {
            font-size: 1.8rem;
            font-weight: 700;
        }

        .workspace-title p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-top: 0.25rem;
        }

        /* Premium Forms and Modals */
        .modal-backdrop-premium {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.4);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .modal-content-premium {
            background: var(--bg-sidebar);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            max-width: 550px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        .btn-action-premium {
            background: transparent;
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            border-radius: 6px;
            padding: 0.4rem 0.8rem;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-action-premium:hover {
            color: var(--text-primary);
            border-color: var(--accent-primary);
            box-shadow: 0 0 8px var(--accent-glow);
        }

        .menu-link-disabled {
            opacity: 0.45;
            cursor: not-allowed !important;
            pointer-events: none;
            background: transparent !important;
            box-shadow: none !important;
        }

/* Select2 Premium Overrides */
.select2-container--default .select2-selection--single {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    height: 38px;
    background: var(--bg-input);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding-left: 14px;
    padding-right: 36px;
    line-height: 36px;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
    font-weight: bold;
    color: #94a3b8;
    z-index: 2;
    line-height: 1;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 8px;
}
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(11, 34, 64, 0.08);
}
.select2-dropdown {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 4px;
    z-index: 1050;
    font-family: "Outfit", sans-serif;
}
.select2-search--dropdown .select2-search__field {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 10px;
    outline: none;
    font-family: "Outfit", sans-serif;
    font-size: 0.85rem;
}
.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--accent-primary);
}
.select2-results__option {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: rgba(139, 92, 246, 0.08) !important;
    color: var(--accent-primary) !important;
}
.select2-container--default .select2-results__option--selected {
    background-color: rgba(11, 34, 64, 0.03);
    color: var(--text-primary);
    font-weight: 700;
}

/* ==========================================================================
   Farmer Workspace Segmented Tab Navigation
   ========================================================================== */
.farmer-workspace-tabs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-height: 48px;
}

.farmer-workspace-tabs::-webkit-scrollbar {
    display: none;
}

.farmer-tab-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    background: transparent;
    border: none;
    color: #475569;
    padding: 0.55rem 1rem !important;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2 !important;
    min-height: 36px;
    transition: all 0.15s ease-in-out;
    user-select: none;
    text-decoration: none;
}

.farmer-tab-btn:hover {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.farmer-tab-btn.active {
    background: #0b2240 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(11, 34, 64, 0.25);
}

.farmer-tab-btn .tab-badge {
    background: #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.farmer-tab-btn.active .tab-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}


