/* ============================================
   ESTILOS PRINCIPALES
   Sistema Delicia - Control de Tienda
   ============================================ */

:root {
    --color-primary: #2f3092;
    --color-accent: #feda00;
    --color-secondary: #e7181f;
    --color-light: #ffffff;
    --color-dark: #000000;
    --color-gray-50: #f9f9f9;
    --color-gray-100: #f0f0f0;
    --color-gray-200: #e0e0e0;
    --color-gray-300: #d0d0d0;
    --color-gray-500: #999999;
    --color-gray-700: #555555;
    --color-gray-900: #333333;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-error: #dc3545;
    --color-info: #17a2b8;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: var(--font-family);
    color: var(--color-gray-900);
    background-color: var(--color-gray-50);
}

/* Contenedor Principal */
.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 20px;
    grid-column: 1 / -1;
    grid-row: 1;
    box-shadow: var(--box-shadow-lg);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome {
    font-size: 14px;
}

.user-menu-item {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.logout-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Sidebar */
.sidebar {
    background-color: var(--color-gray-900);
    color: white;
    width: 250px;
    grid-column: 1;
    grid-row: 2;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.menu {
    list-style: none;
    padding: 20px 0;
}

.menu-item {
    display: block;
    padding: 12px 20px;
    color: var(--color-gray-200);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-size: 14px;
}

.menu-item:hover {
    background-color: rgba(254, 218, 0, 0.1);
    color: var(--color-accent);
    border-left-color: var(--color-accent);
}

.menu-item.active {
    background-color: rgba(254, 218, 0, 0.15);
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    font-weight: 600;
}

.menu-section {
    padding: 15px 20px 8px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-gray-500);
    font-weight: 600;
    margin-top: 10px;
}

/* Contenido Principal */
.main-content {
    grid-column: 2;
    grid-row: 2;
    overflow-y: auto;
    padding: 30px;
    background-color: var(--color-gray-50);
}

.main-content h2 {
    color: var(--color-primary);
    margin-bottom: 25px;
    font-size: 28px;
}

/* Alertas */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background-color: #d4edda;
    border-color: var(--color-success);
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: var(--color-error);
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: var(--color-warning);
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: var(--color-info);
    color: #0c5460;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--color-accent);
}

.card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

.card h3 {
    color: var(--color-gray-700);
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card .stat {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .container {
        grid-template-columns: 200px 1fr;
    }

    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
    }

    .header {
        grid-column: 1;
        grid-row: 1;
    }

    .sidebar {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        height: auto;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu {
        display: flex;
        padding: 10px 0;
        width: 100%;
        flex-wrap: wrap;
    }

    .menu-item {
        flex: 0 0 auto;
        padding: 10px 15px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .menu-item:hover,
    .menu-item.active {
        border-left: none;
        border-bottom-color: var(--color-accent);
    }

    .menu-section {
        display: none;
    }

    .main-content {
        grid-column: 1;
        grid-row: 3;
        padding: 20px;
    }

    .main-content h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .user-info {
        gap: 10px;
    }

    .welcome {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 15px;
    }

    .card {
        padding: 15px;
    }

    .card h3 {
        font-size: 12px;
    }

    .card .stat {
        font-size: 24px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 18px;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-500);
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.page-header-content h1 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    color: var(--color-primary);
}

.page-description {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

.page-header-actions {
    display: flex;
    gap: 0.75rem;
}

/* ============================================
   ESTADÍSTICAS
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-primary);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-card.warning {
    border-left-color: var(--color-warning);
}

.stat-card.danger {
    border-left-color: var(--color-error);
}

.stat-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.stat-card.warning .stat-value {
    color: var(--color-warning);
}

.stat-card.danger .stat-value {
    color: var(--color-error);
}

.stat-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* ============================================
   BOTONES
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-view {
    background-color: #007bff;
    color: white;
}

.btn-view:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-edit {
    background-color: #17a2b8;
    color: white;
}

.btn-edit:hover {
    background-color: #138496;
    transform: translateY(-1px);
}

.btn-delete {
    background-color: var(--color-error);
    color: white;
}

.btn-delete:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

.btn-print {
    background-color: #6f42c1;
    color: white;
}

.btn-print:hover {
    background-color: #5a32a3;
    transform: translateY(-1px);
}

/* ============================================
   FILTROS
   ============================================ */

.filter-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.filter-group input,
.filter-group select {
    padding: 0.65rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    font-family: var(--font-family);
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* Contenedores y acciones de filtros */
.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filters-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-filter {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 48, 146, 0.3);
}

.btn-filter:active {
    transform: translateY(0);
}

.btn-clear {
    background-color: #f0f0f0;
    color: #333;
    padding: 0.65rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear:hover {
    background-color: #e0e0e0;
    border-color: #999;
    transform: translateY(-2px);
}

/* Contenedor de tabla y badges */
.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container thead {
    background-color: var(--color-gray-100);
}

.table-container th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--color-gray-200);
}

.table-container td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-gray-100);
    font-size: 0.95rem;
}

.table-container tbody tr:hover {
    background-color: var(--color-gray-50);
}

/* Badges para auditoría */
.usuario-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: #e3f2fd;
    color: #1976d2;
}

.action-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.action-crear {
    background-color: #d4edda;
    color: #155724;
}

.action-editar {
    background-color: #cfe2ff;
    color: #084298;
}

.action-eliminar {
    background-color: #f8d7da;
    color: #842029;
}

.action-actualizar {
    background-color: #fff3cd;
    color: #664d03;
}

.action-importar,
.action-exportar {
    background-color: #d1ecf1;
    color: #0c5460;
}

.timestamp {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    font-family: 'Courier New', monospace;
}

/* ============================================
   TABLAS
   ============================================ */

.data-table-wrapper {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.data-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-collapse: collapse;
}

.data-table thead {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: white;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.data-table tbody tr {
    transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-admin {
    background-color: var(--color-error);
    color: white;
}

.badge-empleado {
    background-color: #007bff;
    color: white;
}

.badge-vendedor {
    background-color: #007bff;
    color: white;
}

.badge-activo {
    background-color: var(--color-success);
    color: white;
}

.badge-inactivo {
    background-color: #6c757d;
    color: white;
}

.badge-minorista {
    background-color: #17a2b8;
    color: white;
}

.badge-mayorista {
    background-color: var(--color-warning);
    color: #333;
}

.badge-completada {
    background-color: var(--color-success);
    color: white;
}

.badge-procesada {
    background-color: var(--color-success);
    color: white;
}

.badge-pendiente {
    background-color: var(--color-warning);
    color: #333;
}

.badge-rechazada {
    background-color: var(--color-error);
    color: white;
}

.badge-anulada {
    background-color: #6c757d;
    color: white;
}

.stock-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stock-ok {
    background-color: #d4edda;
    color: #155724;
}

.stock-low {
    background-color: #fff3cd;
    color: #856404;
}

.stock-out {
    background-color: #f8d7da;
    color: #721c24;
}

/* ============================================
   ACCIONES
   ============================================ */

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================
   ESTADO VACÍO
   ============================================ */

.empty-state {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: #333;
    margin: 1rem 0;
}

.empty-state p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* ============================================
   INVENTARIO ESPECÍFICOS
   ============================================ */

.filters-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.2s;
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.table-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 20px;
    color: white;
}

.table-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

/* Tabla */
table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f8f9fa;
}

thead th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
}

tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tbody td {
    padding: 15px;
    font-size: 14px;
    color: #333;
}

/* Badge para tablas */
.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Acciones */
.actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

/* Media queries */
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .table-card {
        overflow-x: auto;
    }
    
    table {
        min-width: 600px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FORMULARIOS DE CREACIÓN/EDICIÓN
   ============================================ */

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(47, 48, 146, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.required {
    color: var(--color-error);
}

.hint {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.35rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.btn-submit {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 48, 146, 0.3);
}

.btn-cancel {
    background: #f8f9fa;
    color: #495057;
    padding: 0.875rem 2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.btn-cancel:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.btn-secondary {
    background: #f8f9fa;
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

/* Detalles de venta en devoluciones */
.venta-detalles {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
}

.venta-detalles h3 {
    margin: 0 0 1rem 0;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
}

.venta-detalles h4 {
    margin: 1.5rem 0 0.75rem 0;
    color: #333;
    font-size: 0.95rem;
}

.detalle-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.detalle-row:last-child {
    border-bottom: none;
}

.detalle-label {
    color: #6c757d;
    font-weight: 500;
}

.detalle-value {
    color: #333;
    font-weight: 600;
}

.detalles-tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.875rem;
}

.detalles-tabla thead {
    background: var(--color-gray-100);
}

.detalles-tabla th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    color: #495057;
    text-transform: uppercase;
}

.detalles-tabla td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.detalles-tabla tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .detalle-row {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ============================================
   INFORMACIÓN / DETALLES
   ============================================ */

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.info-card-header {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.info-value {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.info-text {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Diálogo de confirmación */
.dialog-container {
    max-width: 500px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.dialog-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.dialog-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.dialog-icon.warning {
    color: var(--color-error);
}

.dialog-title {
    color: var(--color-primary);
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.dialog-message {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.dialog-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: left;
}

.dialog-info h3 {
    margin: 0 0 0.75rem 0;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.dialog-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.dialog-info .info-row:last-child {
    border-bottom: none;
}

/* Botón imprimir */
.btn-print {
    background: var(--color-primary);
    color: white;
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-print:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(47, 48, 146, 0.3);
}

@media print {
    .btn-secondary, .action-buttons, .page-header-actions, .filter-card, .sidebar, .header, .user-info, .menu, .menu-section, .menu-item {
        display: none !important;
    }

    html, body {
        background: white;
        color: #000;
        height: auto;
    }

    .container {
        display: block;
        height: auto;
        grid-template-columns: none;
        grid-template-rows: none;
        padding: 0;
        margin: 0;
    }

    .main-content {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .page-header {
        border-bottom: 1px solid #000;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 12px;
    }

    .stat-card,
    .info-card,
    .filter-card {
        box-shadow: none;
        border: 1px solid #000;
        background: #fff;
        page-break-inside: avoid;
    }

    .data-table {
        width: 100%;
        border-collapse: collapse;
    }

    .data-table th,
    .data-table td {
        border: 1px solid #000;
        padding: 6px 8px;
    }

    .badge {
        border: 1px solid #000;
        color: #000;
        background: #fff;
    }

    .btn-sm,
    .btn-print {
        display: none !important;
    }

    @page {
        size: A4;
        margin: 12mm;
    }
}

/* ============================================
   FORMULARIO DE INGRESO DE MERCADERÍA
   ============================================ */

.form-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.form-section h3,
.products-section h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-accent);
}

.products-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}



.summary-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.summary-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.75rem;
    color: white;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.summary-row.total {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}



/* ============================================
   LOGIN PAGE - Página de Autenticación
   ============================================ */

.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 20px;
}

.login-header h1 {
    color: var(--color-primary);
    font-size: 28px;
    margin-bottom: 5px;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 48, 146, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.error-message {
    background-color: #fee;
    border: 1px solid #fcc;
    color: var(--color-secondary);
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.error-message.show {
    display: block;
}

/* ============================================
   FORGOT PASSWORD - Recuperación de Contraseña
   ============================================ */

.step-info {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.password-requirements {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #666;
}

.requirements-item {
    margin: 3px 0;
}

.requirements-item.met {
    color: #3c3;
}

/* ============================================
   AUTHENTICATION PAGE LAYOUT
   ============================================ */

body.auth-page {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 20px;
}

body.auth-page .container {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

.links {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.links a {
    color: var(--color-primary);
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/* ============================================
   CONFIGURACIÓN - Página de Configuración
   ============================================ */

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-gray-200);
}

.tab {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab:hover {
    color: var(--color-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.config-card {
    background: var(--color-gray-50);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.config-card h3 {
    font-size: 14px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.config-item {
    font-size: 13px;
    color: #666;
    padding: 5px 0;
}

/* ============================================
   BÚSQUEDA AVANZADA - Componentes de búsqueda
   ============================================ */

.search-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.type-btn {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-btn:hover {
    border-color: var(--color-primary);
    background: #f8fbff;
    color: var(--color-primary);
}

.type-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border-color: var(--color-primary);
}

.search-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(47, 48, 146, 0.1);
}

.search-button {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 48, 146, 0.3);
}

.filters-section {
    margin-bottom: 1.5rem;
}

/* ============================================
   DASHBOARD MEJORADO - KPIs y Gráficos
   ============================================ */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.kpi-card.alert {
    border-left-color: var(--color-warning);
    background: #fffbf0;
}

.kpi-card h3 {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.kpi-card.alert .kpi-value {
    color: var(--color-warning);
}

.kpi-subtext {
    font-size: 0.9rem;
    color: #999;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-container h3 {
    margin-top: 0;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.chart-wrapper {
    position: relative;
    height: 300px;
}

.tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.table-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table-card h3 {
    margin-top: 0;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.status-minorista {
    background-color: #cfe2ff;
    color: #084298;
}

.status-mayorista {
    background-color: #d1e7dd;
    color: #0f5132;
}

.period-info {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ============================================
   VENTAS - CREAR - Buscador de Productos
   ============================================ */

.product-search-section {
    margin-bottom: 2rem;
}

.search-input-group {
    position: relative;
}

.search-input-group .search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.search-input-group .search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(47, 48, 146, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-results-list {
    display: flex;
    flex-direction: column;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8fbff;
    padding-left: 1.25rem;
}

.result-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-main strong {
    color: var(--color-primary);
    font-weight: 600;
}

.result-code {
    background: #f0f0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.result-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
}

.result-category {
    background: #f0f0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.result-stock {
    color: #27ae60;
    font-weight: 500;
}

.search-no-results,
.search-error {
    text-align: center;
    padding: 1.5rem;
    color: #999;
}

.search-error {
    color: var(--color-secondary);
}

.products-added-section {
    margin-top: 2rem;
}

.products-added-section h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.75rem;
}



/* ============================================
   BOTONES - Estilos completosg
   ============================================ */

button[type="submit"],
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

button[type="submit"]:hover:not(:disabled),
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(47, 48, 146, 0.3);
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-back {
    background: #f0f0f0;
    color: #333;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background: #e8e8e8;
    border-color: #999;
}

/* ============================================
   UTILIDAD - Estilos Auxiliares
   ============================================ */

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

.mt-20 {
    margin-top: 20px;
}

code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* Estilos para Producto Items en Ventas */
.product-item {
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
}

.product-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e8e8;
}

.product-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-item-name strong {
    font-size: 15px;
    color: #333;
}

.product-unit {
    font-size: 13px;
    color: #999;
    font-weight: normal;
}

.btn-remove-product {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.btn-remove-product:hover {
    background: #ff5252;
}

.product-item-controls {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    align-items: flex-end;
    width: 100%;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.control-group label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.control-group select,
.control-group input[type="number"],
.control-group input[type="text"],
.control-group input[type="date"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.control-group select:focus,
.control-group input[type="number"]:focus,
.control-group input[type="text"]:focus,
.control-group input[type="date"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.2);
}

.stock-display,
.precio-display,
.total-item-display {
    background: white;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-weight: 600;
    font-size: 14px;
    display: block;
    text-align: center;
}

.total-item-display {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #0d47a1;
    font-size: 15px;
}

.precio-display {
    color: #27ae60;
}

.total-item {
    grid-column: 5;
}

.product-item-error {
    border-color: #ff6b6b;
    background: #ffe8e8;
}

@media (max-width: 1200px) {
    .product-item-controls {
        grid-template-columns: repeat(3, 1fr);
    }
    .total-item {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .product-item-controls {
        grid-template-columns: 1fr 1fr;
    }
}
