/* Font Awesome Free */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* Common layout styles for all pages */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a24;
    --accent-primary: #00ff88;
    --accent-secondary: #00d4ff;
    --accent-tertiary: #ff00aa;
    --text-primary: #ffffff;
    --text-secondary: #a8a8b8;
    --text-tertiary: #6b6b7f;
    --border: #2a2a35;
    --error: #ff6b6b;
    --success: #00ff88;
    --sidebar-width: 260px;
    --header-height: 64px;
    --shimmer-highlight: rgba(255,255,255,0.05);
    --grid-line: rgba(0,255,136,0.03);
}

/* ── Light theme ──────────────────────────────────────────────────── */
html[data-theme="light"] {
    --bg-primary:      #f2f2f7;
    --bg-secondary:    #ffffff;
    --bg-tertiary:     #e8e8f0;
    --accent-primary:  #00885a;
    --accent-secondary:#0078a8;
    --accent-tertiary: #bb0077;
    --text-primary:    #0d0d14;
    --text-secondary:  #4a4a5a;
    --text-tertiary:   #787890;
    --border:          #d4d4e0;
    --error:           #d93025;
    --success:         #00885a;
    --shimmer-highlight: rgba(0,0,0,0.04);
    --grid-line:       rgba(0,0,0,0.03);
}

html[data-theme="light"] body::before {
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
}

html[data-theme="light"] .orb { opacity: 0.07; }

html[data-theme="light"] .orb-1 {
    background: radial-gradient(circle, #00cc77 0%, transparent 70%);
}

html[data-theme="light"] .orb-2 {
    background: radial-gradient(circle, #0099cc 0%, transparent 70%);
}

/* ── Theme toggle button ──────────────────────────────────────────── */
.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Layout structure */
.app-container {
    display: flex;
    min-height: 100vh;
    overflow: scroll;
    position: relative;
    z-index: 2;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transition: transform 0.3s ease;
    z-index: 200;
}

.sidebar-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo {
    font-size: 22px;
}

.sidebar-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Fade effect at top and bottom when scrolling */
.sidebar-nav::before,
.sidebar-nav::after {
    content: '';
    position: sticky;
    left: 0;
    right: 0;
    height: 30px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.sidebar-nav::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, transparent 100%);
    margin-bottom: -30px;
}

.sidebar-nav::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 100%);
    margin-top: -30px;
}

/* Hide fade effects when not needed */
.sidebar-nav.no-scroll::before,
.sidebar-nav.no-scroll::after {
    opacity: 0;
}

.sidebar-nav.at-top::before {
    opacity: 0;
}

.sidebar-nav.at-bottom::after {
    opacity: 0;
}

/* Scroll indicator at bottom */
.sidebar-nav:not(.at-bottom):not(.no-scroll)::after {
    content: '⌄';
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 16px;
    color: var(--accent-primary);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-5px);
        opacity: 0.5;
    }

    50% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Custom scrollbar for sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 8px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 10px;
    margin: 8px 0;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
    transition: all 0.3s;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-secondary), var(--accent-primary));
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.sidebar-nav::-webkit-scrollbar-thumb:active {
    background: var(--accent-primary);
}

/* Firefox scrollbar */
.sidebar-nav {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 12px 8px;
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 4px;
    position: relative;
}

.nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-primary);
    border-radius: 0 3px 3px 0;
}

.nav-icon {
    font-size: 18px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.nav-link:hover .nav-icon {
    transform: scale(1.1);
}

.nav-link.active .nav-icon {
    transform: scale(1.05);
}

/* Font Awesome icon styling */
.nav-icon i {
    display: block;
    width: 100%;
    text-align: center;
}

.card-icon i {
    display: inline-block;
}

/* Loading spinner replacement */
.fa-spinner {
    animation: fa-spin 0.8s linear infinite;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

/* Settings toggle button */
.nav-link-toggle {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-family: 'DM Sans', sans-serif;
    text-align: left;
}

.nav-toggle-chevron {
    font-size: 11px;
    color: var(--text-tertiary);
    transition: transform 0.25s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-link-toggle.open .nav-toggle-chevron {
    transform: rotate(180deg);
}

/* Submenu */
.nav-submenu {
    display: none;
    flex-direction: column;
    margin-top: 2px;
}

.nav-submenu.open {
    display: flex;
}

.nav-sublink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 28px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-sublink:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-sublink.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.nav-sublink.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-primary);
    border-radius: 0 3px 3px 0;
}

.sidebar-footer {
    padding: 0;
    border-top: none;
}

.user-info-sidebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-bottom: 12px;
}

.header-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.top-header-orgName {
    text-align: left;
    font-size: 11px;
    color: var(--text-tertiary);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--bg-primary);
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 12px;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-link {
    display: none;
}

.logout-link:hover {
    display: none;
}

/* Top header */
.top-header {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    z-index: 50;
}

.top-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
    color: var(--text-primary);
}

.top-header-user:hover {
    background: var(--bg-tertiary);
}

.top-header-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.header-chevron {
    font-size: 11px;
    color: var(--text-tertiary);
    transition: transform 0.2s;
}

.top-header-user[aria-expanded="true"] .header-chevron {
    transform: rotate(180deg);
}

/* Header dropdown */
.header-user-menu {
    position: relative;
}

.header-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 300;
}

.header-dropdown.open {
    display: block;
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: var(--text-primary);
}

.header-dropdown-item:hover {
    background: var(--bg-tertiary);
}

.header-dropdown-separator {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.header-dropdown-logout {
    color: var(--error);
}

.header-dropdown-logout:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* Account page */
.account-wrap {
    width: 100%;
    min-height: calc(100vh - var(--header-height) - 80px);
    height: calc(100% - var(--header-height) - 80px);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 36px 40px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-tertiary);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.account-avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 26px;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.account-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.account-subtitle {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-family: 'Space Mono', monospace;
}

.account-body {
    padding: 36px 40px;
}

.account-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.account-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.account-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.account-input {
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    cursor: default;
    outline: none;
}

.account-input[readonly] {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .account-wrap {
        width: 100%;
    }

    .account-header {
        padding: 24px 20px;
    }

    .account-body {
        padding: 24px 20px;
    }

    .account-input-grid {
        grid-template-columns: 1fr;
    }
}

/* Main content area */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: calc(var(--header-height) + 40px) 40px 40px;
    min-height: 100vh;
}

/* Custom scrollbar for main content */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
    transition: all 0.3s;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-secondary), var(--accent-primary));
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

body::-webkit-scrollbar-thumb:active {
    background: var(--accent-primary);
}

/* Firefox scrollbar */
body {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
}

.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 101;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    backdrop-filter: blur(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: block;
        top: 7px;
    }

    .mobile-overlay.show {
        display: block;
    }

    .top-header {
        left: 0;
        padding: 0 20px;
    }

    .main-content {
        margin-left: 0;
        padding: calc(var(--header-height) + 24px) 20px 40px;
    }

    .page-title {
        font-size: 1.5rem;
    }
}

@keyframes org-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.org-animate {
    animation: org-fade-up 0.35s ease both;
}

.org-animate:nth-child(1) {
    animation-delay: 0.00s;
}

.org-animate:nth-child(2) {
    animation-delay: 0.07s;
}

.org-animate:nth-child(3) {
    animation-delay: 0.14s;
}

.org-animate:nth-child(4) {
    animation-delay: 0.21s;
}

.org-banner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.org-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(0, 212, 255, 0.12));
    border: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.org-banner-info {
    flex: 1;
    min-width: 0;
}

.org-banner-name {
    font-family: 'Space Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.org-banner-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.org-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.org-badge-tenant {
    background: rgba(0, 255, 136, 0.08);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.org-badge-email {
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.org-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.org-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.org-stat-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
}

.org-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.org-stat-icon.green {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-primary);
}

.org-stat-icon.blue {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-secondary);
}

.org-stat-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}

.org-stat-body {
    min-width: 0;
}

.org-stat-number {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.org-stat-desc {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.org-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.org-detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.org-detail-label {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.org-detail-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    word-break: break-all;
}

.org-detail-value.mono {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
}

.org-detail-value.muted {
    color: var(--text-tertiary);
    font-style: italic;
}

.org-detail-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.org-detail-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    /* background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); */
}

@media (max-width: 768px) {
    .org-stats-row {
        grid-template-columns: 1fr;
    }

    .org-details-grid {
        grid-template-columns: 1fr;
    }

    .org-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Docs language switcher */
.docs-lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: auto;
}

.docs-lang-btn {
    padding: 5px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
}

.docs-lang-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.docs-lang-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #000;
}