/* ============================================
   ACADEMIA Design System - Admin & Mon Compte
   ============================================ */

/* ---- Dark Mode ---- */
.dark {
    --bg-base: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-hover: #334155;
    --border-color: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
}

.dark body {
    background: var(--bg-base);
    color: var(--text-primary);
}

.dark .bg-white {
    background-color: var(--bg-surface) !important;
}

.dark .bg-gray-50 {
    background-color: var(--bg-base) !important;
}

.dark .bg-gray-100 {
    background-color: var(--bg-surface-hover) !important;
}

.dark .border-gray-100,
.dark .border-gray-200 {
    border-color: var(--border-color) !important;
}

.dark .text-gray-900 {
    color: var(--text-primary) !important;
}

.dark .text-gray-700 {
    color: var(--text-secondary) !important;
}

.dark .text-gray-600,
.dark .text-gray-500 {
    color: var(--text-muted) !important;
}

.dark .hover\:bg-gray-50:hover {
    background-color: var(--bg-surface-hover) !important;
}

.dark .hover\:bg-gray-100:hover {
    background-color: var(--bg-surface-hover) !important;
}

.dark .divide-gray-200>* {
    border-color: var(--border-color) !important;
}

.dark .border-gray-50 {
    border-color: var(--border-color) !important;
}

.dark .bg-primary-50 {
    background-color: rgba(20, 184, 166, 0.1) !important;
}

.dark .bg-green-50 {
    background-color: rgba(34, 197, 94, 0.1) !important;
}

.dark .bg-red-50 {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.dark .bg-yellow-50 {
    background-color: rgba(234, 179, 8, 0.1) !important;
}

.dark .bg-blue-50 {
    background-color: rgba(59, 130, 246, 0.1) !important;
}

.dark .bg-orange-50 {
    background-color: rgba(249, 115, 22, 0.1) !important;
}

.dark .bg-purple-50 {
    background-color: rgba(168, 85, 247, 0.1) !important;
}

.dark .bg-gray-50 {
    background-color: var(--bg-base) !important;
}

.dark .ring-primary-500 {
    --tw-ring-color: #14b8a6 !important;
}

.dark input,
.dark select,
.dark textarea {
    background-color: var(--bg-base) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

.dark .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3) !important;
}

/* ---- Animations ---- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.2s ease-out;
}

/* ---- Skeleton Loader ---- */
.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 0.5rem;
}

.dark .skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 1000px 100%;
}

/* ---- Sidebar ---- */
.sidebar-link {
    position: relative;
    transition: all 0.2s ease;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0;
    width: 3px;
    background: #14b8a6;
    border-radius: 0 3px 3px 0;
    transition: height 0.2s ease;
}

.sidebar-link.active::before {
    height: 60%;
}

.sidebar-link.active {
    font-weight: 600;
}

/* ---- Card hover ---- */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
}

/* ---- Toast ---- */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 400px;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideInRight 0.3s ease-out;
}

.toast.toast-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.toast.toast-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.toast.toast-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.toast.toast-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}

.dark .toast.toast-success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.dark .toast.toast-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.dark .toast.toast-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.dark .toast.toast-warning {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.3);
}

/* ---- Progress bar ---- */
.progress-bar {
    height: 8px;
    border-radius: 9999px;
    background: #e2e8f0;
    overflow: hidden;
}

.dark .progress-bar {
    background: #334155;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.5s ease;
}

/* ---- Table ---- */
.table-row-hover {
    transition: background-color 0.15s ease;
}

/* ---- Badge pulse ---- */
.badge-pulse {
    animation: pulse-soft 2s infinite;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ---- Mobile sidebar overlay ---- */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ---- Tab ---- */
.tab-button {
    position: relative;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tab-button:hover {
    color: #374151;
}

.tab-button.active {
    color: #0d9488;
    border-bottom-color: #0d9488;
}

.dark .tab-button {
    color: #94a3b8;
}

.dark .tab-button:hover {
    color: #e2e8f0;
}

.dark .tab-button.active {
    color: #14b8a6;
    border-bottom-color: #14b8a6;
}

/* ---- Focus ring ---- */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
}

/* ---- Tooltip ---- */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    padding: 0.25rem 0.5rem;
    background: #1e293b;
    color: white;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 50;
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* ============================================
   ACADEMIA Design System — Extensions Premium
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --color-primary: #0d9488;
    --color-primary-light: #14b8a6;
    --color-primary-dark: #0f766e;
    --color-gold: #f59e0b;
    --color-bg: #f8f9fa;
    --color-surface: #ffffff;
    --color-surface-hover: #f3f4f5;
    --color-border: #e5e7eb;
    --color-text: #191c1d;
    --color-text-secondary: #6b7280;
    --color-text-muted: #9ca3af;
    --shadow-premium: 0 24px 40px -4px rgba(25, 28, 29, 0.06);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
    --transition-base: 0.2s ease;
    --transition-slow: 0.4s ease;
}

.dark {
    --color-bg: #0f172a;
    --color-surface: #1e293b;
    --color-surface-hover: #334155;
    --color-border: #334155;
    --color-text: #f1f5f9;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
}

/* ---- Glass morphism ---- */
.glass-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.8);
}

.dark .glass-nav {
    background: rgba(15, 23, 42, 0.8);
}

/* ---- Premium gradient ---- */
.premium-gradient {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #0d9488 100%);
}

.premium-gradient-dark {
    background: linear-gradient(135deg, #042f2e 0%, #115e59 50%, #0f766e 100%);
}

/* ---- Gradient text ---- */
.gradient-text {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Bento grid ---- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ---- Premium card ---- */
.premium-card {
    background: var(--color-surface);
    border-radius: 1rem;
    box-shadow: var(--shadow-premium);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 50px -4px rgba(25, 28, 29, 0.1);
}

/* ---- Section reveal (scroll animation) ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   LOADING STATES
   ============================================ */

/* ---- Button loading ---- */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}

.btn-loading .btn-content {
    visibility: hidden;
}

.btn-loading .btn-spinner {
    display: flex !important;
}

.btn-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: absolute;
    inset: 0;
}

.btn-spinner svg {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ---- Loading overlay (full page) ---- */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.loading-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.dark .loading-overlay {
    background: rgba(15, 23, 42, 0.8);
}

.loading-overlay-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.dark .loading-overlay-spinner {
    border-color: #334155;
    border-top-color: #14b8a6;
}

.loading-overlay-text {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ---- Loading bar (top of page, indeterminate) ---- */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10000;
    display: none;
    overflow: hidden;
    background: rgba(20, 184, 166, 0.2);
}

.loading-bar.active {
    display: block;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    border-radius: 0 3px 3px 0;
    animation: loadingBarSlide 1.2s ease-in-out infinite;
}

@keyframes loadingBarSlide {
    0% {
        left: -40%;
    }

    50% {
        left: 60%;
    }

    100% {
        left: 100%;
    }
}

/* ---- Skeleton variants ---- */
.skeleton-card {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 0.75rem;
}

.dark .skeleton-card {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 1000px 100%;
}

.skeleton-text {
    height: 0.875rem;
    border-radius: 0.25rem;
}

.skeleton-text-sm {
    height: 0.75rem;
    border-radius: 0.25rem;
}

.skeleton-text-lg {
    height: 1.5rem;
    border-radius: 0.25rem;
}

/* ---- Inline spinner ---- */
.inline-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.inline-spinner-lg {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 3px;
}

/* ---- Pulse dot (live indicator) ---- */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #22c55e;
    animation: pulseDot 1.5s ease-out infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* ============================================
   PREMIUM UI COMPONENTS
   ============================================ */

/* ---- Badge premium ---- */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.badge-premium-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.badge-premium-primary {
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    color: #115e59;
}

/* ---- Step indicator (wizard) ---- */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
}

.step-indicator-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    transition: color var(--transition-base);
}

.step-indicator-item.active {
    color: var(--color-primary);
}

.step-indicator-item.completed {
    color: #22c55e;
}

.step-indicator-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid currentColor;
    transition: all var(--transition-base);
}

.step-indicator-item.active .step-indicator-circle {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.step-indicator-item.completed .step-indicator-circle {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
}

.step-indicator-line {
    width: 2rem;
    height: 2px;
    background: #e5e7eb;
    transition: background var(--transition-base);
}

.step-indicator-item.completed+.step-indicator-line {
    background: #22c55e;
}

.dark .step-indicator-line {
    background: #334155;
}

/* ---- Accordion (FAQ) ---- */
.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    text-align: left;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: color var(--transition-base);
}

.accordion-trigger:hover {
    color: var(--color-primary);
}

.accordion-icon {
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-content {
    max-height: 500px;
    padding-bottom: 1rem;
}

/* ---- Toggle switch ---- */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #cbd5e1;
    border-radius: 9999px;
    transition: background var(--transition-base);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--color-primary);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(20px);
}

/* ---- Dropdown ---- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 200px;
    background: var(--color-surface);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-border);
    padding: 0.5rem;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: var(--color-text);
    font-size: 0.875rem;
    transition: background var(--transition-base);
}

.dropdown-item:hover {
    background: var(--color-surface-hover);
}

/* ---- Notification badge ---- */
.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: #ef4444;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ---- Mobile sidebar toggle ---- */
.sidebar-toggle {
    display: none;
}

@media (max-width: 1023px) {
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 0.5rem;
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        cursor: pointer;
        transition: background var(--transition-base);
    }

    .sidebar-toggle:hover {
        background: var(--color-surface-hover);
    }

    .sidebar-mobile {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 50;
        transform: translateX(-100%);
        transition: transform var(--transition-slow);
    }

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

/* ---- Sidebar retractable (site central) ---- */
.sidebar {
    width: 16rem;
    flex-shrink: 0;
    transition: width var(--transition-base);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.sidebar-brand-logo {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-brand-text {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--color-primary-dark);
    white-space: nowrap;
}

.sidebar-collapse-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base);
}

.sidebar-collapse-toggle:hover {
    background: var(--color-surface-hover);
    color: var(--color-primary);
}

.sidebar-collapse-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
}

.sidebar-collapse-toggle .collapse-chevron {
    transition: transform var(--transition-base);
}

@media (min-width: 1024px) {
    .sidebar-collapse-toggle {
        display: flex;
    }

    /* Etat replie : logo + icones seuls */
    .sidebar.sidebar-collapsed,
    html.sidebar-collapsed .sidebar {
        width: 5rem;
    }

    html.sidebar-collapsed .sidebar-brand {
        justify-content: center;
        gap: 0;
    }

    html.sidebar-collapsed .sidebar-brand-text,
    html.sidebar-collapsed .sidebar-label,
    html.sidebar-collapsed .sidebar-badge,
    html.sidebar-collapsed .sidebar-user-info {
        display: none;
    }

    /* Padding reduit pour conserver la place de la barre de defilement */
    html.sidebar-collapsed .sidebar nav {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    html.sidebar-collapsed .sidebar-link,
    html.sidebar-collapsed .sidebar-user,
    html.sidebar-collapsed .sidebar-logout {
        justify-content: center;
        gap: 0;
    }

    html.sidebar-collapsed .sidebar-collapse-toggle .collapse-chevron {
        transform: rotate(180deg);
    }
}

/* ---- Print styles ---- */
@media print {
    .no-print {
        display: none !important;
    }
}