:root {
    --bg-color: #0d1117;
    --card-bg: rgba(22, 27, 34, 0.7);
    --text-color: #c9d1d9;
    --accent-color: #00f3ff;
    --accent-hover: #00bcd4;
    --secondary-color: #1f6feb;
    --border-color: rgba(48, 54, 61, 0.7);
    --glass-blur: 16px;
    --font-main: 'Inter', sans-serif;
    /* Category Colors */
    --cat-personas: #00f3ff;
    --cat-informes: #a78bfa;
    --cat-salud: #3fb950;
    --cat-autos: #f0883e;
    --cat-admin: #f85149;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(31, 111, 235, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.05) 0%, transparent 25%);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
}

/* ========== GLASSMORPHISM CARD ========== */
.glass-card {
    background: rgba(22, 27, 34, 0.65);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-card:hover {
    border-color: rgba(0, 243, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 243, 255, 0.05);
}

/* ========== LAYOUT ========== */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 270px;
    background: rgba(13, 17, 23, 0.97);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding: 0 8px;
    text-decoration: none;
}

.sidebar-logo img,
.sidebar-logo svg {
    width: 36px;
    height: 36px;
}

.sidebar-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.sidebar-logo-text span {
    color: var(--accent-color);
}

.main-content {
    flex: 1;
    padding: 2rem 2.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 1600px;
    width: 100%;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    margin-top: 0;
}

/* ========== SIDEBAR LINKS ========== */
.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 14px;
    margin-bottom: 2px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    background: rgba(56, 139, 253, 0.1);
    color: #fff;
}

.nav-link.active {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.nav-link .badge-cost {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.06);
    color: #8b949e;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.02em;
}

.nav-section-title {
    color: #8b949e;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin: 1.2rem 0 0.4rem 12px;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.user-info-card {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8b949e;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--font-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.1), 0 0 20px rgba(0, 243, 255, 0.05);
}

.form-control::placeholder {
    color: #484f58;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a5ec4 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(31, 111, 235, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2f81f7 0%, var(--secondary-color) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(31, 111, 235, 0.35);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent-color) 0%, #00bcd4 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
}

.btn-danger {
    background: rgba(248, 81, 73, 0.1);
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.3);
}

.btn-danger:hover {
    background: rgba(248, 81, 73, 0.2);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #8b949e;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-color);
    border-color: rgba(0, 243, 255, 0.3);
}

/* ========== RESULT SECTIONS (inspired by bot »»» style) ========== */
.result-section {
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    animation: fadeInUp 0.4s ease forwards;
}

.result-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.result-section-header i {
    color: var(--accent-color);
    font-size: 1rem;
}

.print-btn button {
    cursor: pointer;
}

.result-section-body {
    padding: 16px 20px;
}

/* Result Fields (inspired by bot ➜ style) */
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.result-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid rgba(0, 243, 255, 0.2);
    transition: background 0.2s;
}

.result-field:hover {
    background: rgba(255, 255, 255, 0.04);
}

.result-field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-field-value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    word-break: break-word;
}

/* ========== STAT CARDS ========== */
.stat-card {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-card-label {
    font-size: 0.78rem;
    color: #8b949e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.stat-card-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

/* ========== TOOL QUICK ACCESS GRID ========== */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}

.tool-grid-item {
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
}

.tool-grid-item:hover {
    border-color: var(--accent-color);
    background: rgba(0, 243, 255, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 243, 255, 0.1);
}

.tool-grid-item .tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: transform 0.25s;
}

.tool-grid-item:hover .tool-icon {
    transform: scale(1.1);
}

.tool-grid-item .tool-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
}

.tool-grid-item .tool-cost {
    font-size: 0.72rem;
    color: #8b949e;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Category icon colors */
.cat-personas {
    background: rgba(0, 243, 255, 0.1);
    color: var(--cat-personas);
}

.cat-informes {
    background: rgba(167, 139, 250, 0.1);
    color: var(--cat-informes);
}

.cat-salud {
    background: rgba(63, 185, 80, 0.1);
    color: var(--cat-salud);
}

.cat-autos {
    background: rgba(240, 136, 62, 0.1);
    color: var(--cat-autos);
}

/* ========== TOAST NOTIFICATION ========== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid var(--accent-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 243, 255, 0.15);
    animation: toastIn 0.3s ease forwards;
    pointer-events: none;
}

.toast.toast-out {
    animation: toastOut 0.3s ease forwards;
}

.toast i {
    color: var(--accent-color);
}

/* ========== PERSON PHOTO ========== */
.result-photo {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.result-photo:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.result-photo-large {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.result-photo-large:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

/* ========== IDARG / CODE BLOCK ========== */
.code-block {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    overflow-x: auto;
    white-space: pre;
    border: 1px solid rgba(0, 255, 136, 0.15);
    line-height: 1.4;
    font-size: 0.85rem;
}
.code-block .color-step {
    color: #3fb950;
}

/* ========== STATUS BADGES ========== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(63, 185, 80, 0.15);
    color: #3fb950;
    border: 1px solid rgba(63, 185, 80, 0.2);
}

.badge-danger {
    background: rgba(248, 81, 73, 0.15);
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.2);
}

.badge-info {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 243, 255, 0.15);
}

.badge-purple {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.15);
}

/* ========== VACCINE TIMELINE ========== */
.vaccine-card {
    background: rgba(22, 27, 34, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    border-left: 3px solid var(--cat-salud);
    transition: all 0.2s;
}

.vaccine-card:hover {
    background: rgba(22, 27, 34, 0.6);
    border-color: rgba(63, 185, 80, 0.3);
}

.vaccine-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.vaccine-detail {
    font-size: 0.85rem;
    color: #8b949e;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.vaccine-detail b {
    color: #c9d1d9;
}

/* ========== PDF DOWNLOAD CARD ========== */
.pdf-card {
    text-align: center;
    padding: 2.5rem;
}

.pdf-icon {
    font-size: 3.5rem;
    color: var(--cat-informes);
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

.pdf-card h3 {
    color: var(--cat-salud);
    margin-bottom: 8px;
}

.pdf-card p {
    color: #8b949e;
    margin-bottom: 20px;
}

/* ========== RTO Images ========== */
.rto-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rto-gallery img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.25s;
}

.rto-gallery img:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ========== LOADING / SKELETON ========== */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 16px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    color: #8b949e;
    font-size: 0.9rem;
}

/* ========== ERROR CARD ========== */
.error-card {
    background: rgba(248, 81, 73, 0.08);
    border: 1px solid rgba(248, 81, 73, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    color: #f85149;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.error-card i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========== TABLES ========== */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    font-size: 0.9rem;
}

th,
td {
    padding: 12px 16px;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    color: #8b949e;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

td {
    border-bottom: 1px solid rgba(48, 54, 61, 0.4);
}

tr {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

/* ========== COVERAGE BADGES (Federador) ========== */
.coverage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coverage-badge {
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== LOGIN PAGE ========== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

.admin-create-form {
    display: grid;
    grid-template-columns: 1fr 1fr minmax(90px, 120px) auto;
    gap: 10px;
    align-items: end;
}

.admin-form-field {
    min-width: 0;
}

.admin-tokens-field {
    min-width: 90px;
}

.admin-actions-form {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.admin-action-input {
    width: 80px;
    padding: 5px;
}

/* ========== MOBILE HAMBURGER ========== */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 200;
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-toggle:active {
    transform: scale(0.95);
}

@media (max-width: 1200px) {
    .main-content {
        padding: 1.5rem;
    }

    .tool-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 1024px) {
    .glass-card {
        padding: 1.25rem;
    }

    .stat-card-value {
        font-size: 1.9rem;
    }

    th,
    td {
        padding: 10px 12px;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .mobile-toggle {
        display: flex;
    }

    .app-container {
        flex-direction: column;
        width: 100%;
        overflow-x: hidden;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 260px;
        height: 100vh;
        background: rgba(13, 17, 23, 0.98);
        border-right: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 150;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 1.5rem 1rem;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 130;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

    .main-content {
        flex: 1;
        padding: 1rem;
        padding-top: 70px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .glass-card {
        padding: 1rem;
        box-sizing: border-box;
    }

    .flex-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tool-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .rto-gallery {
        grid-template-columns: 1fr;
    }

    .admin-create-form {
        grid-template-columns: 1fr;
    }

    .admin-tokens-field {
        min-width: 0;
    }

    .admin-actions-form {
        width: 100%;
        margin-bottom: 6px;
    }

    .admin-action-input {
        width: 70px;
    }

    .toast {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
    }

    .result-section-header,
    .result-section-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .login-container {
        padding: 14px;
    }

    .table-scroll {
        overflow-x: auto;
    }

    table {
        width: 100%;
        table-layout: auto;
    }

    th, td {
        padding: 8px 6px;
        font-size: 0.85rem;
    }

    .result-photo-large {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 520px) {
    .mobile-toggle {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .main-content {
        padding: 0.75rem;
        padding-top: 68px;
    }

    .glass-card {
        padding: 0.9rem;
        border-radius: 12px;
    }

    .tool-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .tool-grid-item {
        padding: 12px 10px;
        border-radius: 10px;
    }

    .tool-grid-item .tool-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .tool-grid-item .tool-name {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .tool-grid-item .tool-price {
        font-size: 0.7rem;
    }

    .stat-card {
        padding: 0.9rem;
        border-radius: 10px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 1rem;
    }

    .btn {
        padding: 9px 12px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    h1, h2, h3 {
        font-size: 1.5rem;
    }

    .result-section-header {
        padding: 12px 14px;
        font-size: 1rem;
    }

    .result-section-body {
        padding: 14px 12px;
    }

    .vaccine-detail {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .result-photo-large {
        width: 160px;
        height: 160px;
        border-radius: 16px;
    }

    .sidebar {
        width: 240px;
    }

    .sidebar-logo-text {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .nav-link {
        padding: 9px 12px;
        font-size: 0.85rem;
        gap: 9px;
    }

    .nav-link i {
        width: 20px;
        text-align: center;
    }

    .nav-section-title {
        padding: 8px 12px;
        font-size: 0.8rem;
        margin-top: 8px;
        margin-bottom: 6px;
    }

    .badge-cost {
        font-size: 0.65rem;
        padding: 3px 6px;
    }

    .user-info-card {
        padding: 10px 12px;
        margin-bottom: 12px;
        font-size: 0.85rem;
    }
}

/* ========== UTILITIES ========== */
.text-accent {
    color: var(--accent-color);
}

.text-muted {
    color: #8b949e;
}

.text-success {
    color: #3fb950;
}

.text-danger {
    color: #f85149;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.gap-sm {
    gap: 8px;
}

.gap-md {
    gap: 16px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}