﻿:root {
    /* ===== COLORES PRINCIPALES ===== */
    --primary: #1A73E8;
    --primary-dark: #1557B0;
    --primary-light: #E3F2FD;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #6366f1;
    --header-bg: #0f172a;
    --footer-bg: #0f172a;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #ffffff;
    --error: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* =========================
   RESET Y BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--surface-alt);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
   ESTRUCTURA GENERAL
========================= */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.info-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}


/* =========================
   HEADER MODERNO
========================= */
.site-header {
    background: linear-gradient(135deg, var(--header-bg) 0%, #1e293b 100%);
    color: var(--text-light);
    padding: 16px 32px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

    .site-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    }

.header-left,
.header-right {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header img {
    height: auto;
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

    .site-header img:hover {
        transform: scale(1.05);
    }

/* =========================
   CONTENIDO PRINCIPAL
========================= */
.main-container {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px;
}

/* =========================
   TÍTULO
========================= */
h1 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    position: relative;
    padding-bottom: 16px;
}

    h1::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 2px;
    }

/* =========================
   TARJETA DE BÚSQUEDA
========================= */
.search-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

    .search-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-2px);
    }

.instruction {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Radio Buttons Modernos */
.busqueda-tipo {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

    .busqueda-tipo label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        padding: 12px 20px;
        background: var(--surface-alt);
        border: 2px solid var(--border);
        border-radius: var(--radius-md);
        transition: all 0.2s ease;
        font-weight: 500;
        color: var(--text-secondary);
    }

        .busqueda-tipo label:hover {
            border-color: var(--primary);
            background: var(--primary-light);
        }

    .busqueda-tipo input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: var(--primary);
    }

        .busqueda-tipo input[type="radio"]:checked + span {
            color: var(--primary);
            font-weight: 600;
        }

    .busqueda-tipo label:has(input[type="radio"]:checked) {
        border-color: var(--primary);
        background: var(--primary-light);
        box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
    }

/* Form Group Mejorado */
.form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .form-group input,
    .form-group select {
        flex: 1;
        min-width: 200px;
        padding: 14px 18px;
        border: 2px solid var(--border);
        border-radius: var(--radius-md);
        font-size: 1rem;
        transition: all 0.2s ease;
        background: var(--surface);
        color: var(--text-primary);
    }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
        }

        .form-group input::placeholder {
            color: var(--text-secondary);
            opacity: 0.6;
        }

    /* Estilo del select con flecha custom */
    .form-group select {
        appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 14px center;
        background-size: 20px;
        padding-right: 44px;
    }

    .form-group button {
        padding: 14px 28px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: var(--text-light);
        border: none;
        border-radius: var(--radius-md);
        cursor: pointer;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-sm);
        white-space: nowrap;
    }

        .form-group button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .form-group button:active {
            transform: translateY(0);
        }

/* =========================
   ERRORES
========================= */
.error-message {
    color: var(--error);
    margin-top: 12px;
    padding: 12px 16px;
    background: #fef2f2;
    border-left: 4px solid var(--error);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none; /* Oculto por defecto */
    align-items: center;
    gap: 8px;
}

    /* Solo se muestra cuando tiene contenido o clase 'show' */
    .error-message:not(:empty) {
        display: flex;
    }

    .error-message.show {
        display: flex;
    }

    .error-message::before {
        content: '⚠';
        font-size: 1.2rem;
    }

/* =========================
   TOTAL
========================= */
#totalContainer {
    text-align: right;
    margin-top: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

/* =========================
   TÉRMINOS Y CONDICIONES
========================= */
.terms-section {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
}

.terms-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

    .terms-item:hover {
        background: var(--surface-alt);
    }

    .terms-item input[type="checkbox"] {
        margin-top: 2px;
        width: 20px;
        height: 20px;
        cursor: pointer;
        accent-color: var(--primary);
    }

    .terms-item label {
        cursor: pointer;
        flex: 1;
        line-height: 1.6;
    }

    .terms-item a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s ease;
    }

        .terms-item a:hover {
            border-bottom-color: var(--primary);
        }

/* =========================
   BOTONES DE ACCIÓN
========================= */
.action-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

    .action-buttons button {
        flex: 1;
        min-width: 200px;
        padding: 16px 32px;
        border: none;
        border-radius: var(--radius-md);
        cursor: pointer;
        font-weight: 600;
        font-size: 1.05rem;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-md);
        position: relative;
        overflow: hidden;
    }

        .action-buttons button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .action-buttons button:hover::before {
            width: 300px;
            height: 300px;
        }

#btnOperacion {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
}

    #btnOperacion:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

    #btnOperacion:disabled {
        background: #cbd5e1;
        cursor: not-allowed;
        opacity: 0.6;
        transform: none;
    }

.btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

    .btn-secondary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

/* =========================
   FOOTER MODERNO
========================= */
.site-footer {
    background: linear-gradient(135deg, var(--footer-bg) 0%, #1e293b 100%);
    color: var(--text-light);
    text-align: center;
    padding: 32px 24px;
    font-size: 0.95rem;
    margin-top: auto;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

    .site-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    }

    .site-footer img {
        margin-bottom: 12px;
        opacity: 0.9;
        transition: opacity 0.3s ease;
    }

        .site-footer img:hover {
            opacity: 1;
        }

/* =========================
   TABLA MODERNA
========================= */
.table-section {
    margin-top: 32px;
    overflow-x: auto;
}

.table-wrapper {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow-x: auto; /* Scroll horizontal */
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.deudas-table {
    width: 100%;
    min-width: 1200px; /* Ancho mínimo para asegurar que todas las columnas se vean */
    border-collapse: collapse;
    background: var(--surface);
}

    .deudas-table thead {
        background: linear-gradient(135deg, #2C3E50, #34495e);
        color: var(--text-light);
    }

    .deudas-table th {
        padding: 16px 12px; /* Reducido padding horizontal de 20px a 12px, era 16*20 */
        text-align: left;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.8rem; /* reducido de 0.85*/
        border-bottom: 3px solid var(--primary);
        white-space: nowrap; /* Evitar que los títulos se corten */
    }

    .deudas-table tbody tr {
        transition: all 0.2s ease;
        border-bottom: 1px solid var(--border);
    }

        .deudas-table tbody tr:hover {
            background: var(--surface-alt);
            /*transform: scale(1.01);*/
            box-shadow: var(--shadow-sm);
        }

        .deudas-table tbody tr:last-child {
            border-bottom: none;
        }

    .deudas-table td {
        padding: 16px 12px; /* Reducido padding horizontal de 20px a 12px */
        color: var(--text-primary);
        white-space: nowrap; /* Evitar que el contenido se corte */
        /*word-wrap: break-word;*/
        font-size: 0.9rem; /* Tamaño de fuente más pequeño */
    }

    .deudas-table input[type="checkbox"] {
        cursor: pointer;
        width: 20px;
        height: 20px;
        accent-color: var(--primary);
        transition: transform 0.2s ease;
    }

        .deudas-table input[type="checkbox"]:hover {
            transform: scale(1.1);
        }

    /* Alternando colores de filas */
    .deudas-table tbody tr:nth-child(even) {
        background: rgba(248, 250, 252, 0.5);
    }

    /*=========================================================*/

    .deudas-table .monto {
        font-weight: 600;
        color: var(--primary);
        text-align: right;
    }

    .deudas-table .btn-pagar {
        padding: 8px 16px;
        background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
        color: white;
        border: none;
        border-radius: var(--radius-sm);
        cursor: pointer;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

        .deudas-table .btn-pagar:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

.badge-pagado {
    display: inline-block;
    padding: 6px 12px;
    background: #dcfce7;
    color: #166534;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-categoria {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.concepto-tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 2px;
    white-space: nowrap;
}

    .concepto-tag.infraccion {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fca5a5;
    }

    .concepto-tag.deposito {
        background: #fef3c7;
        color: #92400e;
        border: 1px solid #fde68a;
    }


 /*============================================================*/




/* =========================
   MODALES (YA ESTABAN BIEN)
========================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    /* ↓ centrado */
    align-items: center;
    justify-content: center;
}

    .modal-overlay.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.modal-box {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 540px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border);
}

    .modal-header h2 {
        margin: 0;
        font-size: 1.6rem;
        color: var(--text-primary);
        font-weight: 700;
    }

.modal-body {
    padding: 28px;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: var(--surface-alt);
}

.form-field {
    margin-bottom: 24px;
}

    .form-field label {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        color: var(--text-primary);
        font-size: 0.95rem;
    }

    .form-field input {
        width: 100%;
        padding: 14px 18px;
        border: 2px solid var(--border);
        border-radius: var(--radius-md);
        font-size: 1rem;
        transition: all 0.2s;
        box-sizing: border-box;
    }

        .form-field input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
        }

        .form-field input.error {
            border-color: var(--error);
        }

    .form-field .error-text {
        color: var(--error);
        font-size: 0.875rem;
        margin-top: 6px;
        display: none;
    }

    .form-field input.error + .error-text {
        display: block;
    }

.btn-modal {
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-modal-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

    .btn-modal-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-modal-secondary {
    background: var(--border);
    color: var(--text-secondary);
}

    .btn-modal-secondary:hover {
        background: #cbd5e1;
    }

.location-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

    .location-status.loading {
        background: #dbeafe;
        border-color: var(--primary);
    }

    .location-status.success {
        background: #dcfce7;
        border-color: var(--success);
    }

    .location-status.error {
        background: #fee2e2;
        border-color: var(--error);
    }

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 1024px) {
    .main-container {
        padding: 32px 20px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 12px 16px;
    }

    .main-container {
        padding: 24px 16px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .search-card {
        padding: 24px 20px;
    }

    .form-group {
        flex-direction: column;
    }

        .form-group input,
        .form-group button {
            width: 100%;
            min-width: auto;
        }

    .action-buttons {
        flex-direction: column;
    }

        .action-buttons button {
            width: 100%;
            min-width: auto;
        }

    .deudas-table th,
    .deudas-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .modal-box {
        width: 95%;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn-modal {
        width: 100%;
    }
}

/* =========================
   VISTA MÓVIL DE TABLA (CARDS)
========================= */
@media (max-width: 600px) {
    .deudas-table {
        min-width: 0 !important;
        width: 100% !important;
    }

    .table-wrapper {
        overflow-x: hidden;
        border-radius: var(--radius-lg);
    }

    .deudas-table,
    .deudas-table thead,
    .deudas-table tbody,
    .deudas-table tr {
        display: block;
        width: 100%;
    }

        .deudas-table thead {
            display: none;
        }

        .deudas-table tr {
            margin-bottom: 20px;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 0; /* ← quitar padding del tr */
            background: var(--surface);
            box-shadow: var(--shadow-md);
            overflow: hidden; /* ← añadir esto */
        }

        .deudas-table td {
            display: grid;
            grid-template-columns: 140px 1fr;
            align-items: start;
            gap: 8px;
            padding: 10px 16px;
            border: none;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
            white-space: normal !important; /* anula el nowrap global del td */
            box-sizing: border-box;
            width: 100%;
        }


            .deudas-table td::before {
                content: attr(data-label);
                font-weight: 700;
                color: var(--text-secondary);
                text-transform: uppercase;
                font-size: 0.75rem;
                letter-spacing: 0.05em;
                padding-top: 2px;
            }

            .deudas-table td:nth-child(1)::before {
                color: var(--primary);
            }

            /* Fix: Monto Total */
            .deudas-table td.monto {
                text-align: left;
            }

                .deudas-table td.monto strong {
                    color: var(--primary);
                    font-weight: 700;
                }

        /* Fix: Botón Pagar responsive */
        .deudas-table .btn-pagar {
            display: block;
            width: calc(100% - 0px); /* ← usa el ancho del td, no del tr */
            max-width: 100%; /* ← nunca sobrepasa al contenedor */
            box-sizing: border-box;
            white-space: normal;
            text-align: center;
            padding: 12px 16px;
            font-size: 1rem;
            border-radius: var(--radius-md);
        }

        .deudas-table .badge-pagado {
            display: block;
            text-align: center;
            width: 100%;
            padding: 10px;
        }

        /* Fix: Última celda como pie de card */
        .deudas-table td:last-child {
            padding: 16px;
            display: block;
            border-bottom: none;
            border-top: 2px solid var(--border);
            margin-top: 8px;
            padding-top: 16px;
            box-sizing: border-box; /* ← NUEVO */
            width: 100%; /* ← NUEVO: respeta el contenedor */
            overflow: hidden;
        }

            .deudas-table td:last-child::before {
                display: none;
            }
}

@media (max-width: 480px) {
    .site-header {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .search-card {
        padding: 20px 16px;
    }

    .busqueda-tipo {
        flex-direction: column;
    }

        .busqueda-tipo label {
            width: 100%;
        }

    .modal-header h2 {
        font-size: 1.35rem;
    }
}


/* =========================
   BOTÓN PAGAR ABAJO
========================= */
#btnPagarAbajo .btn-pagar {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

    #btnPagarAbajo .btn-pagar:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    #btnPagarAbajo .btn-pagar:disabled {
        background: #cbd5e1;
        cursor: not-allowed;
        opacity: 0.6;
        transform: none;
        box-shadow: none;
    }

/* =========================
   UTILIDADES
========================= */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.p-1 {
    padding: 8px;
}

.p-2 {
    padding: 16px;
}

.p-3 {
    padding: 24px;
}

.p-4 {
    padding: 32px;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--text-secondary);
    }
