:root {
    --bg-gradient: linear-gradient(135deg, #0b1528 0%, #040814 100%);
    --card-bg: rgba(13, 27, 42, 0.75);
    --card-border: rgba(56, 189, 248, 0.15);
    --primary: #38bdf8;
    --primary-hover: #0284c7;
    --primary-glow: rgba(56, 189, 248, 0.2);
    --text-main: #f3f4f6;
    --text-muted: #94a3b8;
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.15);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.15);
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.15);
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --radius-lg: 16px;
    --radius-md: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background: var(--bg-gradient);
    font-family: var(--font-sans);
    color: var(--text-main);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Glass background overlay */
.glass-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.app-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Navigation Header */
.app-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(13, 27, 42, 0.55);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 30px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
}

.nav-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 30, 52, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.portfolio-btn:hover {
    background: rgba(25, 45, 75, 0.9);
    box-shadow: 0 0 15px var(--primary-glow);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.portfolio-btn i {
    width: 14px;
    height: 14px;
}

.btn-sub-icon {
    opacity: 0.7;
    margin-left: 2px;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.logo-area h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary));
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.5;
}

/* Loader Card */
.model-status-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-premium);
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.spinner-container {
    flex-shrink: 0;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(56, 189, 248, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

.status-info {
    flex-grow: 1;
}

.status-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.status-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary);
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Card General */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 12px 40px 0 rgba(56, 189, 248, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--primary);
}

.card-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
}

.card-header i {
    width: 20px;
    height: 20px;
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    background: rgba(56, 189, 248, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.upload-zone:hover {
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: inset 0 0 12px var(--primary-glow);
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.upload-zone:hover .upload-icon {
    color: var(--primary);
    transform: translateY(-4px);
    filter: drop-shadow(0 0 6px var(--primary-glow));
}

.upload-prompt {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.upload-prompt span {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
}

.upload-formats {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Preview Container */
.preview-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.reset-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.reset-btn:hover {
    background: var(--danger);
    border-color: var(--danger);
    box-shadow: 0 0 10px var(--danger-glow);
}

.reset-btn i {
    width: 14px;
    height: 14px;
}

/* Results Idle & Processing */
.result-idle,
.result-processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    color: var(--text-muted);
}

.scan-icon {
    width: 64px;
    height: 64px;
    color: rgba(56, 189, 248, 0.2);
    margin-bottom: 16px;
}

.processing-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

/* Diagnosis Output styling */
.result-display {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.diagnosis-header {
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.badge.healthy {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge.infected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.result-display h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.confidence-section {
    background: rgba(0, 0, 0, 0.15);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.confidence-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.confidence-header span:last-child {
    font-weight: 600;
    color: var(--primary);
}

.confidence-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.confidence-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, #0ea5e9 100%);
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.1, 0.8, 0.2, 1);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

/* Care Recommendations */
.care-section {
    flex-grow: 1;
}

.care-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.care-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.care-header i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.care-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.care-tips-list {
    list-style: none;
    padding-left: 0;
}

.care-tips-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.care-tips-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 4px;
    top: -2px;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Footer */
.app-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE DESIGN — Universal Breakpoints
   ============================================ */

/* --- Large Tablets & Small Laptops (≤1024px) --- */
@media (max-width: 1024px) {
    .app-container {
        max-width: 900px;
        padding: 30px 20px;
    }

    .grid-layout {
        gap: 24px;
    }

    .logo-area h1 {
        font-size: 2rem;
    }
}

/* --- Tablets (≤768px) — Single Column --- */
@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .app-container {
        padding: 20px 16px;
    }

    .app-nav {
        padding: 12px 16px;
        gap: 10px;
    }

    .nav-actions {
        gap: 8px;
    }

    .portfolio-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .logo-area h1 {
        font-size: 1.7rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .app-header {
        margin-bottom: 28px;
    }

    .card {
        padding: 24px;
    }

    .card-header h2 {
        font-size: 1.15rem;
    }

    .upload-zone {
        padding: 30px 16px;
    }

    .preview-img {
        max-height: 300px;
    }

    .result-display h3 {
        font-size: 1.5rem;
    }

    .model-status-card {
        padding: 24px 20px;
        gap: 18px;
    }

    .modal-content {
        max-width: 90vw;
        padding: 24px;
        max-height: 85vh;
    }

    .app-footer {
        margin-top: 36px;
        font-size: 0.8rem;
    }
}

/* --- Large Phones (≤480px) — Compact Layout --- */
@media (max-width: 480px) {
    .app-container {
        padding: 16px 12px;
    }

    /* Stack nav vertically */
    .app-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px;
        gap: 10px;
    }

    .nav-brand {
        justify-content: center;
        font-size: 1rem;
    }

    .nav-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .portfolio-btn {
        padding: 8px 14px;
        font-size: 0.78rem;
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    .logo-area {
        flex-direction: column;
        gap: 8px;
    }

    .logo-area h1 {
        font-size: 1.45rem;
        text-align: center;
    }

    .header-icon {
        width: 28px;
        height: 28px;
    }

    .subtitle {
        font-size: 0.88rem;
        padding: 0 8px;
    }

    .app-header {
        margin-bottom: 22px;
    }

    .card {
        padding: 20px 16px;
        border-radius: var(--radius-md);
    }

    .card-header {
        margin-bottom: 18px;
        gap: 10px;
    }

    .card-header h2 {
        font-size: 1.05rem;
    }

    .upload-zone {
        padding: 28px 14px;
    }

    .upload-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .upload-prompt {
        font-size: 0.9rem;
    }

    .upload-formats {
        font-size: 0.75rem;
    }

    .preview-img {
        max-height: 250px;
    }

    .result-display h3 {
        font-size: 1.35rem;
    }

    .confidence-section {
        padding: 14px;
        margin-bottom: 18px;
    }

    .confidence-header {
        font-size: 0.85rem;
    }

    .care-header h4 {
        font-size: 0.9rem;
    }

    .care-desc {
        font-size: 0.85rem;
    }

    .care-tips-list li {
        font-size: 0.85rem;
    }

    .model-status-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
        gap: 14px;
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
    }

    .status-info h3 {
        font-size: 1.05rem;
    }

    .status-info p {
        font-size: 0.82rem;
    }

    .scan-icon {
        width: 48px;
        height: 48px;
    }

    .warning-icon {
        width: 48px;
        height: 48px;
    }

    .result-warning h3 {
        font-size: 1.2rem;
    }

    .result-warning p {
        font-size: 0.88rem;
        max-width: 100%;
    }

    .modal-content {
        max-width: 95vw;
        padding: 20px 16px;
        max-height: 88vh;
        border-radius: var(--radius-md);
    }

    .modal-title {
        font-size: 1.2rem;
        gap: 8px;
    }

    .modal-section h3 {
        font-size: 0.9rem;
    }

    .modal-section p,
    .modal-section ul li,
    .modal-section ol li {
        font-size: 0.85rem;
    }

    .close-btn {
        top: 14px;
        right: 16px;
        font-size: 1.6rem;
    }

    .app-footer {
        margin-top: 28px;
        padding-top: 16px;
        font-size: 0.75rem;
    }
}

/* --- Small Phones (≤360px) — Minimum viable layout --- */
@media (max-width: 360px) {
    .app-container {
        padding: 12px 8px;
    }

    .app-nav {
        padding: 10px 12px;
    }

    .nav-brand {
        font-size: 0.95rem;
    }

    .portfolio-btn {
        padding: 7px 10px;
        font-size: 0.72rem;
        gap: 5px;
    }

    .logo-area h1 {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: 0.82rem;
    }

    .card {
        padding: 16px 12px;
    }

    .card-header h2 {
        font-size: 0.95rem;
    }

    .upload-zone {
        padding: 22px 10px;
    }

    .upload-icon {
        width: 36px;
        height: 36px;
    }

    .upload-prompt {
        font-size: 0.82rem;
    }

    .preview-img {
        max-height: 200px;
    }

    .result-display h3 {
        font-size: 1.2rem;
    }

    .modal-content {
        padding: 16px 12px;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* --- Landscape Phones — Constrain Height --- */
@media (max-height: 500px) and (orientation: landscape) {
    .app-container {
        padding: 12px 20px;
    }

    .app-header {
        margin-bottom: 16px;
    }

    .logo-area h1 {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 0.82rem;
    }

    .grid-layout {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .card {
        padding: 16px;
    }

    .upload-zone {
        padding: 16px 12px;
    }

    .preview-img {
        max-height: 180px;
    }

    .model-status-card {
        padding: 16px;
    }
}

/* --- Touch Device Improvements --- */
@media (hover: none) and (pointer: coarse) {
    .portfolio-btn {
        min-height: 44px;
    }

    .reset-btn {
        min-height: 44px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .warning-retry-btn {
        min-height: 44px;
        padding: 12px 24px;
    }

    .upload-zone {
        min-height: 140px;
    }

    /* Disable hover transforms on touch devices to prevent sticky states */
    .portfolio-btn:hover,
    .card:hover,
    .upload-zone:hover .upload-icon {
        transform: none;
    }
}

/* Warning State */
.result-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.warning-icon {
    width: 64px;
    height: 64px;
    color: var(--warning);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px var(--warning-glow));
}

.result-warning h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.result-warning p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 24px;
}

.warning-retry-btn {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.warning-retry-btn:hover {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    box-shadow: 0 0 15px var(--warning-glow);
    border-color: var(--warning);
    transform: translateY(-2px);
}

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

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

/* Modal Window Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 100; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(6, 9, 18, 0.85); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex !important;
    animation: fadeIn 0.4s ease;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    box-shadow: var(--shadow-premium);
    position: relative;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    color: var(--text-muted);
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    color: var(--text-main);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.modal-title i {
    color: var(--primary);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.modal-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.modal-section ul {
    list-style: none;
    padding-left: 10px;
}

.modal-section ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.modal-section ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 16px;
    margin-left: -16px;
}

.modal-section ul li strong,
.modal-section ol li strong {
    color: var(--text-main);
}

.modal-section ol {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 10px;
}

.modal-section ol li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 4px;
}

.modal-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 15px;
    margin-bottom: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}