
/* ========================================
   GESTIONJAPO - DISEÑO GENERAL
   Responsive: computadoras, tablets y móviles
======================================== */

:root {
    --azul: #183153;
    --azul-oscuro: #10243d;
    --azul-hover: #25466f;
    --fondo: #f4f6f9;
    --blanco: #ffffff;
    --texto: #263445;
    --texto-suave: #788596;
    --borde: #e2e7ee;
    --verde: #16845b;
    --rojo: #c03939;
    --amarillo: #a66c00;
    --radio: 12px;
    --sombra: 0 4px 18px rgba(20, 40, 70, 0.05);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--fondo);
    color: var(--texto);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--azul);
    text-decoration: none;
}

a:hover {
    color: var(--azul-hover);
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* ESTRUCTURA PRINCIPAL */

.app-layout {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
    padding: 12px 30px;
    background: var(--blanco);
    border-bottom: 1px solid var(--borde);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--azul);
}

.brand:hover {
    color: var(--azul);
}

.brand-mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--azul);
    color: white;
    font-size: 23px;
    font-weight: 800;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-name strong {
    font-size: 18px;
    letter-spacing: -0.4px;
}

.brand-name small {
    margin-top: 3px;
    color: var(--texto-suave);
    font-size: 11px;
}

.topbar-right,
.user-summary,
.user-info {
    display: flex;
    align-items: center;
}

.user-summary {
    gap: 11px;
    min-width: 0;
}

.user-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eaf0f8;
    color: var(--azul);
    font-size: 16px;
    font-weight: 700;
}

.user-info {
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.4;
}

.user-info strong {
    max-width: 220px;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.user-info small {
    margin-top: 3px;
    color: var(--texto-suave);
    font-size: 11px;
}

/* MENSAJES */

.flash-message {
    margin: 20px 28px 0;
    padding: 13px 16px;
    border: 1px solid var(--borde);
    border-radius: 9px;
    background: var(--blanco);
    overflow-wrap: anywhere;
}

.flash-success {
    border-color: #b7e4d0;
    background: #effaf4;
    color: #176b49;
}

.flash-error {
    border-color: #f0c5c5;
    background: #fff1f1;
    color: #a12f2f;
}

.flash-warning {
    border-color: #f0dfb1;
    background: #fff9e9;
    color: #805900;
}

.flash-info {
    border-color: #c9d9ef;
    background: #f0f6ff;
    color: #234d80;
}

/* ÁREA DE TRABAJO */

.workspace {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 76px);
}

.sidebar {
    position: sticky;
    top: 76px;
    display: flex;
    flex: 0 0 248px;
    flex-direction: column;
    align-self: flex-start;
    width: 248px;
    height: calc(100vh - 76px);
    min-height: 400px;
    padding: 23px 14px 16px;
    overflow-y: auto;
    background: var(--blanco);
    border-right: 1px solid var(--borde);
}

.sidebar-heading {
    padding: 0 12px;
    margin-bottom: 12px;
}

.sidebar-heading-spaced {
    margin-top: 26px;
}

.sidebar-label {
    color: #96a1b0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #5a6778;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
    background: #f2f5f9;
    color: var(--azul);
}

.nav-link.active {
    background: #eaf0f8;
    color: var(--azul);
    font-weight: 700;
}

.nav-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 22px;
    font-size: 19px;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 24px;
}

.sidebar-business {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    margin-bottom: 8px;
    border-top: 1px solid var(--borde);
}

.business-dot {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--verde);
}

.sidebar-business div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-business strong {
    font-size: 11px;
}

.sidebar-business small {
    color: var(--texto-suave);
    font-size: 10px;
}

.logout-link {
    color: var(--rojo);
}

.logout-link:hover {
    background: #fff0f0;
    color: var(--rojo);
}

/* CONTENIDO */

.main-content {
    flex: 1;
    width: calc(100% - 248px);
    min-width: 0;
    padding: 30px;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.page-header h1 {
    margin: 0;
    color: var(--azul-oscuro);
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 750;
    letter-spacing: -0.8px;
    line-height: 1.3;
}

.page-header p {
    margin: 7px 0 0;
    color: var(--texto-suave);
    font-size: 13px;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* TARJETAS */

.card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    background: var(--blanco);
    box-shadow: var(--sombra);
}

.card + .card {
    margin-top: 20px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.card-header h2,
.card h2 {
    margin-top: 0;
    color: var(--azul-oscuro);
    font-size: 17px;
    font-weight: 700;
}

.card-header h2 {
    margin-bottom: 0;
}

/* TARJETAS DE ESTADÍSTICAS */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card {
    min-width: 0;
    padding: 21px;
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    background: var(--blanco);
    box-shadow: var(--sombra);
}

.stat-card .stat-label {
    color: var(--texto-suave);
    font-size: 12px;
}

.stat-card .stat-value {
    display: block;
    margin-top: 8px;
    color: var(--azul-oscuro);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.stat-card .stat-description {
    display: block;
    margin-top: 8px;
    color: var(--texto-suave);
    font-size: 11px;
}

/* BOTONES */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: var(--azul);
    color: white;
}

.btn-primary:hover {
    background: var(--azul-hover);
    color: white;
}

.btn-secondary {
    border-color: var(--borde);
    background: white;
    color: var(--texto);
}

.btn-secondary:hover {
    background: #f3f5f8;
    color: var(--azul);
}

.btn-danger {
    background: var(--rojo);
    color: white;
}

.btn-danger:hover {
    background: #a92d2d;
    color: white;
}

.btn-success {
    background: var(--verde);
    color: white;
}

.btn-success:hover {
    background: #116b49;
    color: white;
}

.btn-sm {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
}

/* FORMULARIOS */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #344256;
    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-control {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    outline: none;
    background: white;
    color: var(--texto);
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control:focus {
    border-color: #5278a9;
    box-shadow: 0 0 0 3px rgba(35, 75, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a1aab7;
}

.form-help {
    color: var(--texto-suave);
    font-size: 11px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

/* BÚSQUEDA Y FILTROS */

.filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box {
    flex: 1 1 240px;
    min-width: 0;
}

.search-box input {
    width: 100%;
    min-height: 43px;
    padding: 10px 13px;
    border: 1px solid var(--borde);
    border-radius: 8px;
    background: white;
    outline: none;
}

.search-box input:focus {
    border-color: #5278a9;
}

/* TABLAS */

.table-container {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid var(--borde);
    border-radius: 9px;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table-container table {
    min-width: 650px;
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid #edf0f4;
    vertical-align: middle;
}

th {
    background: #f8f9fb;
    color: #68778a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    white-space: nowrap;
}

td {
    color: #354255;
    font-size: 12px;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: #fafbfd;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    white-space: nowrap;
}

.empty-state {
    padding: 35px 20px;
    color: var(--texto-suave);
    text-align: center;
}

/* ESTADOS */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 30px;
    background: #edf0f4;
    color: #586576;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.badge-success {
    background: #e5f6ed;
    color: #18734c;
}

.badge-danger {
    background: #fdeaea;
    color: #a62f2f;
}

.badge-warning {
    background: #fff3d8;
    color: #8a5c00;
}

.badge-info {
    background: #e8f1ff;
    color: #275a97;
}

/* DETALLES */

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.detail-item {
    min-width: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f4;
}

.detail-item small {
    display: block;
    margin-bottom: 5px;
    color: var(--texto-suave);
    font-size: 11px;
}

.detail-item strong {
    display: block;
    color: var(--texto);
    font-size: 13px;
    overflow-wrap: anywhere;
}

/* PAGINACIÓN */

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}

.pagination a,
.pagination span {
    display: grid;
    place-items: center;
    min-width: 36px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--borde);
    border-radius: 7px;
    background: white;
    color: var(--texto);
}

.pagination .active {
    border-color: var(--azul);
    background: var(--azul);
    color: white;
}

/* UTILIDADES */

.text-muted {
    color: var(--texto-suave);
}

.text-danger {
    color: var(--rojo);
}

.text-success {
    color: var(--verde);
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.overflow-wrap {
    overflow-wrap: anywhere;
}

/* TABLETS E IPADS */

@media (max-width: 1100px) {
    .sidebar {
        flex-basis: 215px;
        width: 215px;
    }

    .main-content {
        width: calc(100% - 215px);
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .topbar {
        padding-right: 22px;
        padding-left: 22px;
    }
}

/* CELULARES */

@media (max-width: 760px) {
    .topbar {
        min-height: 66px;
        padding: 10px 15px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
        border-radius: 10px;
        font-size: 20px;
    }

    .brand-name strong {
        font-size: 16px;
    }

    .brand-name small {
        font-size: 10px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
    }

    .user-info strong {
        max-width: 120px;
        font-size: 11px;
    }

    .user-info small {
        font-size: 10px;
    }

    .workspace {
        flex-direction: column;
        min-height: calc(100vh - 66px);
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 12px;
        border-right: none;
        border-bottom: 1px solid var(--borde);
        overflow: visible;
    }

    .sidebar-heading {
        margin-bottom: 8px;
    }

    .sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .nav-link {
        min-height: 42px;
        gap: 7px;
        padding: 9px;
        font-size: 12px;
    }

    .nav-icon {
        width: 19px;
        font-size: 17px;
    }

    .sidebar-heading-spaced {
        margin-top: 14px;
    }

    .sidebar-bottom {
        padding-top: 10px;
    }

    .sidebar-business {
        padding: 10px 8px;
        margin-bottom: 3px;
    }

    .main-content {
        width: 100%;
        padding: 20px 14px 28px;
    }

    .flash-message {
        margin: 12px 14px 0;
        padding: 12px;
        font-size: 12px;
    }

    .page-header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 20px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-actions {
        width: 100%;
    }

    .page-actions .btn {
        flex: 1 1 auto;
    }

    .card {
        padding: 16px;
        border-radius: 10px;
    }

    .card-header {
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 18px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-card .stat-label {
        font-size: 11px;
    }

    .stat-card .stat-value {
        font-size: 23px;
    }

    .form-grid,
    .detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .filter-bar {
        align-items: stretch;
    }

    .search-box {
        flex-basis: 100%;
    }

    .filter-bar .btn,
    .filter-bar select {
        flex: 1 1 auto;
    }

    th,
    td {
        padding: 11px 12px;
    }
}

/* CELULARES PEQUEÑOS */

@media (max-width: 380px) {
    .topbar {
        padding-right: 10px;
        padding-left: 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand-name strong {
        font-size: 14px;
    }

    .user-info {
        display: none;
    }

    .main-content {
        padding-right: 10px;
        padding-left: 10px;
    }

    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar-nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ACCESIBILIDAD Y MOVIMIENTO */

:focus-visible {
    outline: 3px solid rgba(35, 75, 136, 0.4);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}




























/* ==========================================
   BOTONES AZUL MARINO - GESTIONJAPO
========================================== */

a.btn-detalle,
button.btn-detalle,
input.btn-detalle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    box-sizing: border-box;
    padding: 11px 18px;

    background: #102746 !important;
    color: #ffffff !important;

    border: 2px solid #102746 !important;
    border-radius: 9px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none !important;
    cursor: pointer;

    transition: all 0.2s ease;
}

a.btn-detalle:hover,
button.btn-detalle:hover,
input.btn-detalle:hover {
    background: #f4c542 !important;
    color: #102746 !important;
    border-color: #f4c542 !important;

    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(16, 39, 70, 0.18);
}

a.btn-detalle:focus-visible,
button.btn-detalle:focus-visible {
    outline: 3px solid #f4c542;
    outline-offset: 3px;
}

/* Botones de acciones en la tabla de productos */
.data-table .btn-detalle {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 7px;
}

/* Botones principales de Productos */
.productos-acciones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .productos-acciones {
        flex-direction: column;
        align-items: stretch;
    }

    .productos-acciones .btn-detalle {
        width: 100%;
    }
}













































/* ==========================================
   GESTIONJAPO - CORRECCIONES RESPONSIVE
   Evita textos encimados y desbordamientos
========================================== */

/* Evitar que los elementos se salgan de sus contenedores */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.app-layout,
.workspace,
.main-content,
.dashboard-content,
.card,
.page-header,
.page-header > div {
    min-width: 0;
    max-width: 100%;
}

.main-content,
.dashboard-content {
    overflow-wrap: anywhere;
}

/* Títulos y textos largos */
h1,
h2,
h3,
h4,
p,
label,
small,
strong,
td,
th {
    overflow-wrap: anywhere;
}

.page-header h1 {
    line-height: 1.3;
    word-break: normal;
    overflow-wrap: anywhere;
}

.page-header p {
    max-width: 100%;
}

/* Botones y acciones */
.page-actions,
.form-actions,
.table-actions {
    min-width: 0;
    flex-wrap: wrap;
}

button,
.btn,
.btn-detalle {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

input,
select,
textarea {
    max-width: 100%;
}

/* Evitar que las tablas deformen toda la pantalla */
.table-container,
.productos-tabla-contenedor,
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-container table,
.productos-tabla-contenedor table,
.table-responsive table {
    min-width: 650px;
}

/* Tablets */
@media (max-width: 1100px) {
    .main-content,
    .dashboard-content {
        flex: 1 1 0;
        min-width: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Celulares */
@media (max-width: 760px) {
    .workspace {
        min-width: 0;
    }

    .main-content,
    .dashboard-content {
        width: 100%;
        min-width: 0;
        padding: 18px 12px 26px;
    }

    .page-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .page-header h1 {
        font-size: clamp(21px, 6vw, 26px);
        letter-spacing: -0.4px;
    }

    .page-header p {
        font-size: 13px;
    }

    .page-actions {
        display: flex;
        width: 100%;
        gap: 8px;
    }

    .page-actions > * {
        min-width: 0;
        max-width: 100%;
    }

    .card {
        padding: 14px;
    }

    .card-header {
        min-width: 0;
        align-items: flex-start;
    }

    .form-grid,
    .detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-group,
    .form-group.full-width {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions > *,
    .form-actions .btn {
        width: 100%;
    }

    .sidebar-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-link {
        min-width: 0;
        height: auto;
        align-items: flex-start;
        overflow-wrap: anywhere;
    }

    .nav-link > span:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-card {
        min-width: 0;
        padding: 12px;
    }

    .stat-card .stat-value {
        font-size: clamp(19px, 5vw, 24px);
    }

    .filter-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar > *,
    .search-box {
        width: 100%;
        min-width: 0;
    }

    .table-actions {
        white-space: normal;
    }
}

/* Celulares pequeños */
@media (max-width: 380px) {
    .main-content,
    .dashboard-content {
        padding-right: 9px;
        padding-left: 9px;
    }

    .topbar {
        gap: 8px;
    }

    .brand {
        min-width: 0;
    }

    .brand-name {
        min-width: 0;
    }

    .brand-name strong {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .sidebar-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card {
        padding: 12px;
    }
}

