/**
 * YARI MEDIC - DESIGN TOKENS
 * Fuente única de verdad para colores, espaciado, tipografía y utilidades.
 * 
 * Colores extraídos del logo y login real:
 *   Primary:   #35deed (cyan/teal)
 *   Secondary: #7565f2 (purple/violet)
 *   Gradient:  linear-gradient(135deg, #667eea 0%, #764ba2 100%)
 */

:root {
    /* ========================================
       BRAND COLORS (del logo real)
       ======================================== */
    --yari-primary: #35deed;
    --yari-primary-light: #5ae8f5;
    --yari-primary-lighter: #a0f0f8;
    --yari-primary-lightest: #d0fafd;
    --yari-primary-dark: #21bde1;
    --yari-primary-darker: #1a9ab8;

    --yari-secondary: #7565f2;
    --yari-secondary-light: #8a7af5;
    --yari-secondary-dark: #6354d9;
    --yari-secondary-darker: #4f42b0;

    --yari-accent: #35deed;

    /* ========================================
       BOOTSTRAP OVERRIDES (auto-fix bg-primary, btn-primary, etc.)
       ======================================== */
    --bs-primary: #35deed;
    --bs-primary-rgb: 53, 222, 237;
    --bs-secondary: #7565f2;
    --bs-secondary-rgb: 117, 101, 242;
    --bs-success: #10b981;
    --bs-success-rgb: 16, 185, 129;
    --bs-info: #35deed;
    --bs-info-rgb: 53, 222, 237;
    --bs-warning: #f59e0b;
    --bs-warning-rgb: 245, 158, 11;
    --bs-danger: #ef4444;
    --bs-danger-rgb: 239, 68, 68;
    --bs-light: #f1f5f9;
    --bs-light-rgb: 241, 245, 249;
    --bs-dark: #0f172a;
    --bs-dark-rgb: 15, 23, 42;
    --bs-link-color: #35deed;
    --bs-link-hover-color: #21bde1;

    /* ========================================
       GRADIENTS (del logo SVG)
       ======================================== */
    --yari-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --yari-gradient-brand: linear-gradient(135deg, #35deed 0%, #7565f2 100%);
    --yari-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f4c5c 100%);

    /* ========================================
       DARK THEME BACKGROUNDS
       ======================================== */
    --yari-bg-primary: #050b1b;
    --yari-bg-secondary: #0a1024;
    --yari-bg-tertiary: #0f172a;
    --yari-bg-card: rgba(15, 23, 42, 0.6);
    --yari-bg-glass: rgba(10, 16, 36, 0.85);
    --yari-bg-hover: rgba(53, 222, 237, 0.1);

    /* ========================================
       LIGHT THEME BACKGROUNDS
       ======================================== */
    --yari-light-bg: #f8fafc;
    --yari-light-bg-secondary: #f1f5f9;
    --yari-light-card: #ffffff;
    --yari-light-border: #e5e7eb;

    /* ========================================
       TEXT COLORS
       ======================================== */
    --yari-text-primary: #f8fafc;
    --yari-text-secondary: #cbd5e1;
    --yari-text-muted: #94a3b8;
    --yari-text-heading: #ffffff;

    /* ========================================
       STATE COLORS
       ======================================== */
    --yari-state-pendiente: #f59e0b;
    --yari-state-proceso: #3b82f6;
    --yari-state-validando: #8b5cf6;
    --yari-state-completado: #10b981;
    --yari-state-entregado: #06b6d4;
    --yari-state-cancelado: #ef4444;
    --yari-state-critico: #ef4444;

    --yari-success: #10b981;
    --yari-warning: #f59e0b;
    --yari-danger: #ef4444;
    --yari-info: #3b82f6;

    /* ========================================
       NEUTRAL GRAYS
       ======================================== */
    --yari-gray-50: #f9fafb;
    --yari-gray-100: #f3f4f6;
    --yari-gray-200: #e5e7eb;
    --yari-gray-300: #d1d5db;
    --yari-gray-400: #9ca3af;
    --yari-gray-500: #6b7280;
    --yari-gray-600: #4b5563;
    --yari-gray-700: #374151;
    --yari-gray-800: #1f2937;
    --yari-gray-900: #111827;

    /* ========================================
       BORDERS & GLASSMORPHISM
       ======================================== */
    --yari-border: rgba(255, 255, 255, 0.1);
    --yari-border-light: rgba(255, 255, 255, 0.05);
    --yari-glass: rgba(255, 255, 255, 0.1);
    --yari-glass-light: rgba(255, 255, 255, 0.08);
    --yari-glass-hover: rgba(255, 255, 255, 0.15);
    --yari-glass-border: rgba(255, 255, 255, 0.2);

    /* ========================================
       BORDER RADIUS
       ======================================== */
    --yari-radius-sm: 0.375rem;
    --yari-radius: 0.75rem;
    --yari-radius-lg: 1rem;
    --yari-radius-xl: 1.25rem;
    --yari-radius-full: 9999px;

    /* ========================================
       SHADOWS
       ======================================== */
    --yari-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --yari-shadow: 0 4px 20px rgba(53, 222, 237, 0.08);
    --yari-shadow-md: 0 8px 30px rgba(53, 222, 237, 0.12);
    --yari-shadow-lg: 0 15px 50px rgba(53, 222, 237, 0.15);
    --yari-shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.5);
    --yari-shadow-accent: 0 8px 25px rgba(53, 222, 237, 0.3);

    /* ========================================
       SPACING
       ======================================== */
    --yari-space-xs: 0.25rem;
    --yari-space-sm: 0.5rem;
    --yari-space-md: 1rem;
    --yari-space-lg: 1.5rem;
    --yari-space-xl: 2rem;

    /* ========================================
       TRANSITIONS
       ======================================== */
    --yari-transition-fast: 0.15s ease;
    --yari-transition: 0.2s ease;
    --yari-transition-slow: 0.3s ease;

    /* ========================================
       STRUCTURE
       ======================================== */
    --yari-sidebar-width: 280px;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
body {
    background: radial-gradient(circle at top right, #1e293b, #0f172a, #020617);
    color: var(--yari-text-primary);
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    color: var(--yari-text-heading);
}

a {
    color: var(--yari-primary);
}

a:hover {
    color: var(--yari-primary-dark);
}

/* ========================================
   BOOTSTRAP DARK THEME OVERRIDES
   ======================================== */
label, .form-label, .col-form-label {
    color: var(--yari-text-secondary) !important;
}

.text-dark {
    color: var(--yari-text-heading) !important;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.card {
    background-color: var(--yari-bg-tertiary) !important;
    border-color: var(--yari-border) !important;
    color: var(--yari-text-primary) !important;
}

.card-header {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid var(--yari-border) !important;
    color: var(--yari-text-heading) !important;
}

.card-title {
    color: var(--yari-text-heading) !important;
}

.modal-content {
    background: linear-gradient(135deg, var(--yari-bg-secondary), var(--yari-bg-tertiary)) !important;
    border: 1px solid var(--yari-border) !important;
    color: var(--yari-text-primary) !important;
}

.modal-header, .modal-footer {
    border-color: var(--yari-border) !important;
}

.form-control, .form-select {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--yari-border) !important;
    color: #ffffff !important;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-color: var(--yari-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(53, 222, 237, 0.1) !important;
    color: #ffffff !important;
}

.table {
    color: var(--yari-text-primary) !important;
}

.table:not(.table-dark) thead th {
    background-color: rgba(53, 222, 237, 0.1);
    color: var(--yari-primary);
}

.table-hover:not(.table-dark) tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary,
.btn-yari {
    background-color: var(--yari-primary) !important;
    border-color: var(--yari-primary) !important;
    color: #0f172a !important;
}

.btn-primary:hover,
.btn-yari:hover {
    background-color: var(--yari-primary-dark) !important;
    border-color: var(--yari-primary-dark) !important;
}

.btn-outline-primary {
    color: var(--yari-primary) !important;
    border-color: var(--yari-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--yari-primary) !important;
    color: #0f172a !important;
}

.btn-premium {
    background: linear-gradient(135deg, var(--yari-primary) 0%, var(--yari-primary-dark) 100%);
    border: none !important;
    color: #0f172a !important;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(53, 222, 237, 0.4);
    background: linear-gradient(135deg, var(--yari-primary-light) 0%, var(--yari-primary) 100%);
}

.btn-premium:active {
    transform: translateY(0);
}

.btn-premium-outline {
    background: transparent;
    border: 1px solid var(--yari-border) !important;
    color: var(--yari-text-muted) !important;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
}

/* ========================================
   NAVBAR & SIDEBAR
   ======================================== */
.navbar-yari {
    background-color: var(--yari-primary) !important;
}

.sidebar {
    background-color: var(--yari-gray-50);
    border-right: 2px solid rgba(53, 222, 237, 0.15);
}

.sidebar .nav-link.active {
    background-color: rgba(53, 222, 237, 0.1);
    color: var(--yari-primary-dark) !important;
    border-left: 3px solid var(--yari-primary);
}

.sidebar .nav-link:hover {
    background-color: var(--yari-gray-100);
    color: var(--yari-primary) !important;
}

/* ========================================
   CARDS & CONTAINERS
   ======================================== */
.card-premium {
    background: var(--yari-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--yari-border);
    border-radius: var(--yari-radius-xl);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium:hover {
    border-color: rgba(53, 222, 237, 0.3);
    box-shadow: var(--yari-shadow-premium);
}

.card-header-premium {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--yari-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-yari {
    background-color: rgba(53, 222, 237, 0.1);
    border-bottom: 2px solid var(--yari-primary);
}

.border-left-primary {
    border-left: 4px solid var(--yari-primary) !important;
}

.border-top-primary {
    border-top: 4px solid var(--yari-primary) !important;
}

.dashboard-card {
    border-left: 4px solid var(--yari-primary);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 4px 12px rgba(53, 222, 237, 0.15);
    transform: translateY(-2px);
}

.dashboard-icon {
    color: var(--yari-primary);
    font-size: 2.5rem;
}

/* ========================================
   GLASSMORPHISM
   ======================================== */
.glass-panel {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--yari-radius-xl);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.glass-effect {
    background: var(--yari-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ========================================
   TABLES
   ======================================== */
.table-premium {
    color: var(--yari-text-primary);
}

.table-premium thead th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--yari-text-muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 1rem 1.5rem;
    border: none;
}

.table-premium td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--yari-border);
    vertical-align: middle;
}

.table-premium tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ========================================
   BADGES
   ======================================== */
.badge.bg-primary,
.badge-yari {
    background-color: var(--yari-primary) !important;
    color: #0f172a !important;
}

.badge.bg-info {
    background-color: var(--yari-secondary) !important;
}

.badge.bg-success {
    background-color: var(--yari-success) !important;
}

.badge.bg-warning {
    background-color: var(--yari-warning) !important;
}

.badge.bg-danger {
    background-color: var(--yari-danger) !important;
}

.badge-premium {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid currentColor;
}

.badge-pill {
    border-radius: 999px !important;
    padding: 0.35rem 0.85rem !important;
    font-weight: 600 !important;
}

.badge-circle {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ========================================
   FORMS
   ======================================== */
.form-check-input:checked {
    background-color: var(--yari-primary);
    border-color: var(--yari-primary);
}

.input-branding {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--yari-light-card);
    border: 2px solid var(--yari-light-border);
    border-radius: var(--yari-radius);
    font-size: 1rem;
    color: var(--yari-gray-800);
    transition: var(--yari-transition);
}

.input-branding:focus {
    outline: none;
    border-color: var(--yari-primary);
    box-shadow: 0 0 0 3px rgba(53, 222, 237, 0.15);
}

.input-branding-dark {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--yari-glass-border);
    color: white;
}

.input-branding-dark::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline-cyber {
    position: relative;
    padding-left: 2rem;
}

.timeline-cyber::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--yari-primary) 0%, rgba(53, 222, 237, 0.1) 100%);
}

.timeline-cyber-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-cyber-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--yari-bg-primary);
    border: 3px solid var(--yari-primary);
    z-index: 1;
    box-shadow: 0 0 10px var(--yari-primary);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-pills .nav-link.active.btn-premium-outline,
.nav-pills .show>.nav-link.btn-premium-outline {
    background: linear-gradient(135deg, var(--yari-primary) 0%, var(--yari-primary-dark) 100%) !important;
    border: none !important;
    color: #0f172a !important;
    box-shadow: 0 4px 15px rgba(53, 222, 237, 0.3) !important;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--yari-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--yari-bg-tertiary);
    border-radius: 10px;
    border: 1px solid var(--yari-border);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yari-primary);
}

/* ========================================
   STATUS DOTS
   ======================================== */
.dot-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.bg-activo {
    background-color: var(--yari-success) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.bg-pendiente {
    background-color: var(--yari-warning) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.bg-inactivo {
    background-color: var(--yari-danger) !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.text-activo {
    color: var(--yari-success) !important;
}

.text-pendiente {
    color: var(--yari-warning) !important;
}

.text-inactivo {
    color: var(--yari-danger) !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes ripple-cyan {
    0% { box-shadow: 0 0 0 0 rgba(53, 222, 237, 0.3); }
    70% { box-shadow: 0 0 0 10px rgba(53, 222, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(53, 222, 237, 0); }
}

.ripple-cyan {
    animation: ripple-cyan 3s infinite;
}

/* ========================================
   HOVER EFFECTS
   ======================================== */
.hover-translate {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-translate:hover {
    transform: translateY(-5px);
}

.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.grayscale {
    filter: grayscale(1);
    opacity: 0.6;
}

/* ========================================
   UTILITY CLASSES - TYPOGRAPHY
   ======================================== */
.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.letter-spacing-1 { letter-spacing: 1px !important; text-transform: uppercase !important; }
.uppercase { text-transform: uppercase !important; }
.x-small { font-size: 0.65rem !important; }
.fs-xs { font-size: 0.7rem !important; }
.extra-small { font-size: 0.6rem !important; }
.ls-1 { letter-spacing: 1px; }
.last-child-mb-0:last-child { margin-bottom: 0 !important; }

/* ========================================
   UTILITY CLASSES - TEXT COLORS
   ======================================== */
.text-primary { color: var(--yari-primary) !important; }
.text-yari-primary { color: var(--yari-primary) !important; }
.text-yari-secondary { color: var(--yari-secondary) !important; }
.text-yari-accent { color: var(--yari-primary-light) !important; }
.text-accent { color: var(--yari-primary) !important; }
.text-branding-primary { color: var(--yari-primary) !important; }
.text-branding-secondary { color: var(--yari-secondary) !important; }
.text-branding-accent { color: var(--yari-primary) !important; }
.text-branding-muted { color: var(--yari-gray-500) !important; }

.text-yari-gray-50 { color: var(--yari-gray-50) !important; }
.text-yari-gray-100 { color: var(--yari-gray-100) !important; }
.text-yari-gray-200 { color: var(--yari-gray-200) !important; }
.text-yari-gray-300 { color: var(--yari-gray-300) !important; }
.text-yari-gray-400 { color: var(--yari-gray-400) !important; }
.text-yari-gray-500 { color: var(--yari-gray-500) !important; }
.text-yari-gray-600 { color: var(--yari-gray-600) !important; }
.text-yari-gray-700 { color: var(--yari-gray-700) !important; }
.text-yari-gray-800 { color: var(--yari-gray-800) !important; }
.text-yari-gray-900 { color: var(--yari-gray-900) !important; }

.watermark-bg .text-muted,
body .text-muted {
    color: var(--yari-text-muted) !important;
}

/* ========================================
   UTILITY CLASSES - BACKGROUND COLORS
   ======================================== */
.bg-yari-primary { background-color: var(--yari-primary) !important; }
.bg-yari-primary-light { background-color: rgba(53, 222, 237, 0.1) !important; }
.bg-yari-light { background-color: rgba(53, 222, 237, 0.1) !important; }
.bg-yari-accent { background-color: var(--yari-primary) !important; }
.bg-yari-accent-light { background-color: rgba(53, 222, 237, 0.15) !important; }
.bg-yari-gray-light { background-color: var(--yari-gray-100) !important; }
.bg-branding-primary { background-color: var(--yari-primary) !important; }
.bg-branding-secondary { background-color: var(--yari-secondary) !important; }
.bg-branding-accent { background-color: var(--yari-primary) !important; }
.bg-branding-dark { background-color: var(--yari-bg-tertiary) !important; }
.bg-branding-glass { background-color: var(--yari-glass) !important; }
.bg-branding-gradient { background: var(--yari-gradient-primary) !important; }
.bg-branding-gradient-accent { background: var(--yari-gradient-brand) !important; }
.bg-branding-gradient-dark { background: var(--yari-gradient-dark) !important; }
.bg-white-5 { background-color: rgba(255, 255, 255, 0.05) !important; }
.bg-white-10 { background-color: rgba(255, 255, 255, 0.1) !important; }

.watermark-bg .form-label,
.watermark-bg label,
.watermark-bg .col-form-label {
    color: var(--yari-text-secondary) !important;
}

.watermark-bg .form-control,
.watermark-bg .form-select,
.watermark-bg .form-control:focus,
.watermark-bg .form-select:focus {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border-color: var(--yari-border) !important;
    color: var(--yari-text-primary) !important;
    box-shadow: none !important;
}

.watermark-bg .form-control::placeholder {
    color: rgba(148, 163, 184, 0.85) !important;
}

.watermark-bg .form-text {
    color: var(--yari-text-muted) !important;
}

.watermark-bg .table,
.watermark-bg .table td,
.watermark-bg .table th {
    color: var(--yari-text-primary);
}

/* ========================================
   UTILITY CLASSES - BORDERS
   ======================================== */
.border-color { border-color: var(--yari-border) !important; }
.border-white-5 { border-color: rgba(255, 255, 255, 0.05) !important; }

/* ========================================
   UTILITY CLASSES - BUTTONS
   ======================================== */
.btn-branding-primary {
    background: var(--yari-gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--yari-radius);
    font-weight: 600;
    transition: var(--yari-transition);
}

.btn-branding-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--yari-shadow-md);
}

.btn-branding-accent {
    background: var(--yari-gradient-brand);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--yari-radius);
    font-weight: 600;
    transition: var(--yari-transition);
}

.btn-branding-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--yari-shadow-accent);
}

.btn-branding-glass {
    background: var(--yari-glass);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid var(--yari-glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: var(--yari-radius);
    font-weight: 600;
    transition: var(--yari-transition);
}

.btn-branding-glass:hover {
    background: var(--yari-glass-hover);
}

/* ========================================
   UTILITY CLASSES - CARDS
   ======================================== */
.card-branding {
    background: var(--yari-light-card);
    border-radius: var(--yari-radius-lg);
    box-shadow: var(--yari-shadow);
    border: 1px solid var(--yari-light-border);
    transition: var(--yari-transition);
}

.card-branding:hover {
    box-shadow: var(--yari-shadow-md);
}

.card-branding-glass {
    background: var(--yari-glass);
    backdrop-filter: blur(20px);
    border-radius: var(--yari-radius-lg);
    border: 1px solid var(--yari-glass-border);
}

/* ========================================
   UTILITY CLASSES - BADGES
   ======================================== */
.badge-branding {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--yari-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-branding-primary {
    background: rgba(53, 222, 237, 0.15);
    color: var(--yari-primary);
}

.badge-branding-accent {
    background: rgba(53, 222, 237, 0.15);
    color: var(--yari-primary);
}

.badge-branding-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--yari-success);
}

/* ========================================
   UTILITY CLASSES - UI HELPERS
   ======================================== */
.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0;
    line-height: 1;
    transition: all 0.2s;
}

.btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05);
}

.avatar-pill {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.metric-card {
    position: relative;
    overflow: hidden;
}

.metric-card h3 {
    font-size: 1.75rem;
    letter-spacing: -1px;
}

/* ========================================
   ALERTS
   ======================================== */
.alert-primary,
.alert-info {
    background-color: rgba(53, 222, 237, 0.1);
    border-color: var(--yari-primary);
    color: var(--yari-primary-dark);
}

/* ========================================
   PROGRESS BARS
   ======================================== */
.progress-bar {
    background-color: var(--yari-primary);
}

/* ========================================
   SPINNERS
   ======================================== */
.spinner-border-primary {
    color: var(--yari-primary) !important;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-yari {
    background-color: var(--yari-gray-800);
    color: var(--yari-gray-300);
    border-top: 3px solid var(--yari-primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .sidebar {
        border-right: none;
        border-bottom: 2px solid rgba(53, 222, 237, 0.15);
    }

    .card-premium {
        border-radius: var(--yari-radius);
    }
}
