/* 
   VETKRITER CLINICAL DESIGN SYSTEM (v2.0)
   Identity: Trustworthy, Calm, Modern, Human.
   Principle: Semantic Intent over Decorative Values.
*/

:root {
    /* 🎨 SEMANTIC PALETTE (INTENT) */

    /* Action & Brand */
    --vk-action: #059669;
    /* Deep Emerald - Primary Action */
    --vk-action-hover: #047857;
    /* Darker Emerald */
    --vk-action-subtle: #ecfdf5;
    /* Very Light Emerald */

    /* Outcomes & Status */
    --vk-status-positive: #10b981;
    /* Soft Teal - Safe/Profitable */
    --vk-status-warning: #f59e0b;
    /* Warm Amber - Caution */
    --vk-status-critical: #e11d48;
    /* Brick Red - Danger/Loss (Not Neon) */

    /* 🏆 VETSCORE GRADE SYSTEM (Enterprise 8-Tier) - High Contrast */
    /* A+ Grade: 90-100 - Exceptional - Deep Emerald */
    --vk-score-aplus: #047857;
    --vk-score-aplus-bg: linear-gradient(135deg, #047857 0%, #065f46 100%);
    --vk-score-aplus-subtle: #d1fae5;
    
    /* A Grade: 80-89 - Excellent - Teal */
    --vk-score-a: #0d9488;
    --vk-score-a-bg: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    --vk-score-a-subtle: #ccfbf1;
    
    /* B+ Grade: 70-79 - Very Good - Sky Blue */
    --vk-score-bplus: #0ea5e9;
    --vk-score-bplus-bg: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --vk-score-bplus-subtle: #e0f2fe;
    
    /* B Grade: 60-69 - Good - Indigo */
    --vk-score-b: #6366f1;
    --vk-score-b-bg: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --vk-score-b-subtle: #e0e7ff;
    
    /* C+ Grade: 50-59 - Acceptable - Amber */
    --vk-score-cplus: #f59e0b;
    --vk-score-cplus-bg: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --vk-score-cplus-subtle: #fef3c7;
    
    /* C Grade: 40-49 - Below Average - Orange */
    --vk-score-c: #ea580c;
    --vk-score-c-bg: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    --vk-score-c-subtle: #ffedd5;
    
    /* D Grade: 30-39 - Poor - Rose */
    --vk-score-d: #e11d48;
    --vk-score-d-bg: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    --vk-score-d-subtle: #ffe4e6;
    
    /* F Grade: 0-29 - Inadequate - Red */
    --vk-score-f: #b91c1c;
    --vk-score-f-bg: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    --vk-score-f-subtle: #fee2e2;

    /* Academic & Reference */
    --vk-academic: #6366f1;
    /* Indigo - AI/Brain/Research */
    --vk-academic-subtle: #eef2ff;

    /* Surfaces */
    --vk-surface-page: #f8fafc;
    /* Slate 50 - Page Background */
    --vk-surface-panel: #ffffff;
    /* White - Component Background */
    --vk-surface-border: #e2e8f0;
    /* Slate 200 - Subtle Borders */

    /* Text */
    --vk-text-primary: #0f172a;
    /* Slate 900 - Headings/Values */
    --vk-text-secondary: #475569;
    /* Slate 600 - Body/Labels */
    --vk-text-muted: #94a3b8;
    /* Slate 400 - Units/Footer */

    /* Typography */
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    /* For Data/Versions */

    /* Shadows (Calm & Elevation) */
    --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-float: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* 🏗️ GLOBAL RESET & BASE */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 76px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--vk-surface-page);
    color: var(--vk-text-primary);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 64px;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 60px;
    }
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--vk-text-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vk-text-secondary);
}

/* 📖 UTILITY: READABILITY */
.text-readable {
    max-width: 65ch;
    /* Optimal line length */
    line-height: 1.6;
}

.text-justify {
    text-align: justify;
}

/* 🧬 UTILITY CLASSES (SEMANTIC LAYER) */

/* Text Colors */
.text-action {
    color: var(--vk-action) !important;
}

.text-status-positive {
    color: var(--vk-status-positive) !important;
}

.text-status-warning {
    color: var(--vk-status-warning) !important;
}

.text-status-critical {
    color: var(--vk-status-critical) !important;
}

.text-academic {
    color: var(--vk-academic) !important;
}

.text-secondary-clinical {
    color: var(--vk-text-secondary) !important;
}

.clinical-subtitle {
    font-size: 1.1rem;
    color: var(--vk-text-secondary);
    font-weight: 400;
    max-width: 60ch;
    line-height: 1.5;
}

/* Backgrounds */
.bg-action {
    background-color: var(--vk-action) !important;
    color: white;
}

.bg-action-subtle {
    background-color: var(--vk-action-subtle) !important;
}

.bg-status-positive-subtle {
    background-color: #f0fdf4 !important;
    color: var(--vk-status-positive);
}

.bg-status-warning-subtle {
    background-color: #fffbeb !important;
    color: var(--vk-status-warning);
}

.bg-status-critical-subtle {
    background-color: #fff1f2 !important;
    color: var(--vk-status-critical);
}

.bg-status-positive {
    background-color: var(--vk-status-positive) !important;
    color: white;
}

.bg-status-warning {
    background-color: var(--vk-status-warning) !important;
    color: white;
}

.bg-status-critical {
    background-color: var(--vk-status-critical) !important;
    color: white;
}

.bg-academic-subtle {
    background-color: var(--vk-academic-subtle) !important;
    color: var(--vk-academic);
}

.bg-academic {
    background-color: var(--vk-academic) !important;
    color: white;
}

/* 🧩 COMPONENT: SECTION & LAYOUT */
.panel-section {
    background: var(--vk-surface-panel);
    border: 1px solid var(--vk-surface-border);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.panel-section:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(5, 150, 105, 0.2);
}

/* 🧩 COMPONENT: BUTTONS */
.btn-action {
    background-color: var(--vk-action);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    /* Slightly rounded, not full pill for enterprise */
    transition: all 0.2s;
}

.btn-action:hover {
    background-color: var(--vk-action-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-guide {
    border-radius: 99px;
    /* Pill style */
    padding: 0.6rem 2rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.btn-guide-primary {
    background-color: #047857; /* Darker green for better contrast (WCAG AA) */
    color: white !important;
}

.btn-guide-primary:hover {
    background-color: #065f46; /* Even darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-guide-secondary {
    background-color: white;
    color: var(--vk-text-primary) !important;
    border-color: var(--vk-surface-border);
}

.btn-guide-secondary:hover {
    background-color: #f8fafc;
    border-color: var(--vk-action);
    transform: translateY(-2px);
}

/* 🧩 COMPONENT: ICON BOX */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    /* Circle */
    font-size: 1.25rem;
    line-height: 1;
}

.icon-box-lg {
    width: 64px;
    height: 64px;
    font-size: 2rem;
}

.icon-box-md {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

.icon-box-sm {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

/* 🧩 UTILITY: BORDERS */
.border-top-status-positive {
    border-top: 4px solid var(--vk-status-positive) !important;
}

.border-top-status-critical {
    border-top: 4px solid var(--vk-status-critical) !important;
}

.border-top-status-warning {
    border-top: 4px solid var(--vk-status-warning) !important;
}

.border-top-academic {
    border-top: 4px solid var(--vk-academic) !important;
}

.border-start-status-positive {
    border-left: 5px solid var(--vk-status-positive) !important;
}

.border-start-status-critical {
    border-left: 5px solid var(--vk-status-critical) !important;
}

.border-start-status-warning {
    border-left: 5px solid var(--vk-status-warning) !important;
}

.border-start-academic {
    border-left: 5px solid var(--vk-academic) !important;
}


/* Data Formatting */
.tabular-nums {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

/* 🧩 COMPONENT: METRIC CARD (UNIVERSAL) */
/* Structure: Bordered, White, Clean, No excessive shadow */
.card-metric {
    background: var(--vk-surface-panel);
    border: 1px solid var(--vk-surface-border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s ease;
    height: 100%;
}

.card-metric:hover {
    border-color: var(--vk-action);
    box-shadow: var(--shadow-card);
}

.card-metric .metric-label {
    display: block;
    font-size: 0.875rem;
    color: var(--vk-text-secondary);
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-metric .metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vk-text-primary);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.card-metric .metric-unit {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--vk-text-muted);
    margin-left: 0.25rem;
}

/* 🧩 COMPONENT: CLINICAL ALERT */
/* Structure: Left-bordered, clean background, icon focused */
.alert-clinical {
    border: 1px solid var(--vk-surface-border);
    border-left-width: 4px;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-clinical.alert-info {
    border-left-color: var(--vk-action);
}

.alert-clinical.alert-positive {
    border-left-color: var(--vk-status-positive);
}

.alert-clinical.alert-warning {
    border-left-color: var(--vk-status-warning);
}

.alert-clinical.alert-critical {
    border-left-color: var(--vk-status-critical);
}

.alert-clinical.alert-academic {
    border-left-color: var(--vk-academic);
}

.alert-clinical .alert-icon {
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 0.1rem;
}

/* 🧩 COMPONENT: ACADEMIC PANEL (BRAIN) */
/* Structure: Distinct academic look, subtle indigo tint */
.panel-academic {
    background: linear-gradient(to bottom right, #ffffff, #f5f3ff);
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.panel-academic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--vk-academic);
}

/* 🧩 COMPONENT: INPUT GROUPS (Unit Addons) */
.input-group-text-clinical {
    background-color: var(--vk-surface-page);
    border-color: var(--vk-surface-border);
    color: var(--vk-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* 🧭 NAVIGATION (Preserved & Refined) */
/* Keeping the layout fixes from previous iterations */
.vk-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--vk-surface-border);
}

.vk-navbar .navbar-brand {
    color: var(--vk-action) !important;
}

.vk-navbar .nav-link {
    color: var(--vk-text-secondary) !important;
    padding-left: 0.5rem;
    /* Preserved density fix */
    padding-right: 0.5rem;
    /* Preserved density fix */
    font-size: 0.95rem;
    /* Preserved density fix */
    transition: color 0.2s;
}

.vk-navbar .nav-link:hover {
    color: var(--vk-action) !important;
}

@media (max-width: 1400px) {
    .vk-navbar .nav-link {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
        font-size: 0.9rem;
    }
}

/* Mobil navbar collapse: scroll edilebilir, max-height sınırlı */
@media (max-width: 991.98px) {
    #navbarNav {
        max-height: 75vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: white;
        border-top: 1px solid var(--vk-surface-border);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        padding: 0.5rem 0;
    }
    .vk-navbar .nav-link {
        font-size: 0.95rem;
        padding: 0.6rem 1rem !important;
        border-bottom: 1px solid var(--vk-surface-border);
    }
    .vk-navbar .dropdown-menu {
        box-shadow: none;
        border: none;
        background: #f8fafc;
        border-radius: 0;
        padding-left: 1rem;
    }
}

/* 🍔 MEGA MENU */
@media (min-width: 992px) {
    .vk-mega-dropdown {
        position: static !important;
    }
    .vk-mega-menu {
        width: 680px;
        max-width: 95vw;
        padding: 1rem 0.5rem;
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.12);
        border: 1px solid var(--vk-surface-border);
    }
    .vk-mega-col {
        padding: 0 0.75rem;
    }
    .vk-mega-col + .vk-mega-col {
        border-left: 1px solid var(--vk-surface-border);
    }
    .vk-mega-menu .dropdown-header {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        color: var(--vk-text-muted);
        padding: 0.25rem 0.75rem 0.35rem;
        margin-top: 0.25rem;
    }
    .vk-mega-menu .dropdown-item {
        font-size: 0.85rem;
        padding: 0.3rem 0.75rem;
        border-radius: 6px;
        white-space: nowrap;
    }
    .vk-mega-menu .dropdown-item:hover {
        background: var(--vk-surface-bg);
    }
    .vk-mega-menu .dropdown-item i {
        font-size: 0.8rem;
    }
}

/* Mobil mega menu — tek sütun, bölüm başlıklı */
@media (max-width: 991.98px) {
    .vk-mega-menu .row {
        flex-direction: column;
    }
    .vk-mega-col {
        border-left: none !important;
    }
    .vk-mega-menu .dropdown-header {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        padding: 0.5rem 0.75rem 0.25rem;
        margin-top: 0.25rem;
        color: var(--vk-text-muted);
    }
    .vk-mega-menu .dropdown-item {
        font-size: 0.9rem;
        padding: 0.45rem 0.75rem;
    }
}

/* HERO SECTION - Responsive min-height */
.vk-hero-section {
    min-height: 80vh;
}

@media (max-width: 991.98px) {
    .vk-hero-section {
        min-height: 55vh;
    }
}

@media (max-width: 575.98px) {
    .vk-hero-section {
        min-height: auto;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* FOOTER (Simplified) */
footer {
    background-color: #1e293b;
    /* Slate 800 */
    color: #cbd5e1;
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: auto;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: white;
}

/* ANIMATIONS (Subtle) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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


/* 🧙‍♂️ WIZARD / STEPPER SYSTEM */
.wizard-container {
    padding: 1rem;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--vk-surface-border);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 25%;
    /* Responsive width */
}

.step-circle {
    width: 32px;
    height: 32px;
    background: white;
    border: 2px solid var(--vk-surface-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    font-weight: 600;
    color: var(--vk-text-muted);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .step-label {
        display: none;
        /* Hide labels on mobile to save space */
    }

    .step-indicator {
        margin-bottom: 1.5rem;
    }

    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .step-indicator::before {
        top: 14px;
    }
}

.step.active .step-circle {
    border-color: var(--vk-action);
    background: var(--vk-action);
    color: white;
    box-shadow: 0 0 0 4px var(--vk-action-subtle);
}

.step.completed .step-circle {
    border-color: var(--vk-action);
    background: var(--vk-action);
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: var(--vk-text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.step.active .step-label {
    color: var(--vk-action);
    font-weight: 700;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-step.active {
    display: block;
}

.wizard-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vk-surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

#stepCounter {
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--vk-text-muted);
    font-size: 0.85rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wizard-btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .wizard-actions {
        flex-direction: row;
        /* Keep row for primary buttons */
        flex-wrap: wrap;
        justify-content: center;
    }

    #stepCounter {
        order: -1;
        /* Move counter to top */
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .wizard-btn {
        flex: 1;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* 🏥 CLINICAL LAYER UTILITIES */
.surface-clinical {
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    /* Subtle border */
    overflow: hidden;
}

.surface-input {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s;
}

.surface-input:focus {
    background: #ffffff;
    border-color: var(--vk-action);
    box-shadow: 0 0 0 3px var(--vk-action-subtle);
}

.clinical-header {
    background: #f1f5f9;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--vk-surface-border);
}

/* 🏆 VETSCORE BADGE SYSTEM (Enterprise 8-Tier) */
.vetscore-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    border-radius: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vetscore-badge-sm {
    font-size: 0.85rem;
    padding: 4px 8px;
    min-width: 40px;
}

.vetscore-badge-md {
    font-size: 1rem;
    padding: 6px 10px;
    min-width: 45px;
}

.vetscore-badge-lg {
    font-size: 1.2rem;
    padding: 8px 12px;
    min-width: 50px;
}

/* A+ Grade: 90-100 */
.vetscore-aplus {
    background: var(--vk-score-aplus);
    background: var(--vk-score-aplus-bg);
}

/* A Grade: 80-89 */
.vetscore-a {
    background: var(--vk-score-a);
    background: var(--vk-score-a-bg);
}

/* B+ Grade: 70-79 */
.vetscore-bplus {
    background: var(--vk-score-bplus);
    background: var(--vk-score-bplus-bg);
}

/* B Grade: 60-69 */
.vetscore-b {
    background: var(--vk-score-b);
    background: var(--vk-score-b-bg);
}

/* C+ Grade: 50-59 */
.vetscore-cplus {
    background: var(--vk-score-cplus);
    background: var(--vk-score-cplus-bg);
}

/* C Grade: 40-49 */
.vetscore-c {
    background: var(--vk-score-c);
    background: var(--vk-score-c-bg);
}

/* D Grade: 30-39 */
.vetscore-d {
    background: var(--vk-score-d);
    background: var(--vk-score-d-bg);
}

/* F Grade: 0-29 */
.vetscore-f {
    background: var(--vk-score-f);
    background: var(--vk-score-f-bg);
}

/* VetScore Header Panel (Detail Page) */
.vetscore-header-aplus { background: var(--vk-score-aplus-bg); }
.vetscore-header-a { background: var(--vk-score-a-bg); }
.vetscore-header-bplus { background: var(--vk-score-bplus-bg); }
.vetscore-header-b { background: var(--vk-score-b-bg); }
.vetscore-header-cplus { background: var(--vk-score-cplus-bg); }
.vetscore-header-c { background: var(--vk-score-c-bg); }
.vetscore-header-d { background: var(--vk-score-d-bg); }
.vetscore-header-f { background: var(--vk-score-f-bg); }

/* VetScore Table Row Backgrounds (Subtle) */
.vetscore-row-aplus { background-color: var(--vk-score-aplus-subtle); }
.vetscore-row-a { background-color: var(--vk-score-a-subtle); }
.vetscore-row-bplus { background-color: var(--vk-score-bplus-subtle); }
.vetscore-row-b { background-color: var(--vk-score-b-subtle); }
.vetscore-row-cplus { background-color: var(--vk-score-cplus-subtle); }
.vetscore-row-c { background-color: var(--vk-score-c-subtle); }
.vetscore-row-d { background-color: var(--vk-score-d-subtle); }
.vetscore-row-f { background-color: var(--vk-score-f-subtle); }

/* ============================================
   ENTERPRISE MOBILE BACK BUTTON
   Mobilde sağ üstte sabit - scroll ile kaybolmaz
   ============================================ */
.floating-back-btn {
    display: none; /* Masaüstünde gizli */
}

/* Sadece mobilde göster - SAĞ ÜSTTE SABİT */
@media (max-width: 991.98px) {
    .floating-back-btn {
        position: fixed;
        right: 16px;
        top: 70px; /* Navbar'ın hemen altında (64px padding + 6px boşluk) */
        z-index: 1040;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--vk-action) 0%, var(--vk-action-hover) 100%);
        color: white;
        border: none;
        box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .floating-back-btn.visible {
        opacity: 1;
        transform: scale(1);
    }
    
    .floating-back-btn:active {
        transform: scale(0.9);
    }
    
    .floating-back-btn i {
        font-size: 1.3rem;
        font-weight: bold;
    }
}

/* Küçük mobil */
@media (max-width: 575.98px) {
    .floating-back-btn {
        right: 12px;
        top: 70px;
        width: 44px;
        height: 44px;
    }
    
    .floating-back-btn i {
        font-size: 1.2rem;
    }
}