﻿/* =====================================================
   ALMACEN SYSTEM - ESTILOS PROFESIONALES MODERNOS
   Versión 2.0 - Diseño elegante y corporativo
   ===================================================== */

/* Inter se carga con <link> en Site.Master / Login (evitar @import que puede tumbar el archivo). */

/* =====================================================
   VARIABLES DE DISEÑO MODERNO
   ===================================================== */
:root {
    /* Colores principales */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-soft: #eff6ff;
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --secondary-light: #8b5cf6;
    /* Colores de estado */
    --success: #10b981;
    --success-dark: #059669;
    --success-light: #d1fae5;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --warning-light: #fed7aa;
    --info: #06b6d4;
    --info-dark: #0891b2;
    --info-light: #cffafe;
    /* Escala de grises */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    /* Sombras */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* Bordes */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    /* Transiciones */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   RESET GLOBAL
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.5;
    font-size: 0.875rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.login-body,
.login-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* =====================================================
   INPUT CON ÍCONOS DENTRO - ESTILOS GLOBALES
   ===================================================== */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-fast);
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
    background: var(--gray-50);
}

    .input-field.with-icon {
        padding-left: 2.5rem;
        padding-right: 1rem;
    }

    .input-field.with-icon-right {
        padding-right: 2.5rem;
        padding-left: 1rem;
    }

    .input-field.with-both-icons {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .input-field:focus {
        outline: none;
        border-color: var(--primary);
        background: white;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

        .input-field:focus + .input-icon {
            color: var(--primary);
        }

    .input-field:hover:not(:focus) {
        border-color: var(--gray-300);
        background: white;
    }

/* Password toggle dentro del input */
.password-wrapper {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1.125rem;
    transition: var(--transition-fast);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

    .password-toggle-btn:hover {
        color: var(--primary);
    }

/* Select personalizado con ícono */
.select-wrapper {
    position: relative;
}

    .select-wrapper .input-icon {
        pointer-events: none;
    }

    .select-wrapper select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
        background-position: right 0.75rem center;
        background-repeat: no-repeat;
        background-size: 1.25rem;
        padding-right: 2.5rem;
    }

/* Textarea con ícono */
.textarea-wrapper {
    position: relative;
}

    .textarea-wrapper .input-icon {
        top: 1rem;
        transform: none;
    }

/* =====================================================
   LOGIN - ESTILOS ESPECÍFICOS
   ===================================================== */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.login-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition-normal);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.login-header p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* =====================================================
   FORMULARIOS GENERALES
   ===================================================== */
.form-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.form-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

    .form-header h2 {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--gray-800);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .form-header p {
        font-size: 0.813rem;
        color: var(--gray-500);
        margin-top: 0.25rem;
    }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-label {
    display: block;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

    .input-label .required {
        color: var(--danger);
        margin-left: 0.25rem;
    }

/* =====================================================
   BOTONES
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.813rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

.btn-success {
    background: var(--success);
    color: white;
}

    .btn-success:hover {
        background: var(--success-dark);
    }

.btn-danger {
    background: var(--danger);
    color: white;
}

    .btn-danger:hover {
        background: var(--danger-dark);
    }

.btn-warning {
    background: var(--warning);
    color: white;
}

    .btn-warning:hover {
        background: var(--warning-dark);
    }

.btn-secondary {
    background: var(--gray-500);
    color: white;
}

    .btn-secondary:hover {
        background: var(--gray-600);
    }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
}

    .btn-outline:hover {
        background: var(--gray-100);
        border-color: var(--gray-400);
    }

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-top: 0.5rem;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

/* =====================================================
   ALERTAS
   ===================================================== */
.alert {
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
    font-size: 0.813rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInDown 0.3s ease;
}

    .alert i {
        font-size: 1rem;
    }

.alert-danger {
    background: linear-gradient(135deg, var(--danger-light) 0%, #fff5f5 100%);
    color: var(--danger-dark);
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: linear-gradient(135deg, var(--warning-light) 0%, #fffbeb 100%);
    color: var(--warning-dark);
    border-left: 4px solid var(--warning);
}

.alert-success {
    background: linear-gradient(135deg, var(--success-light) 0%, #ecfdf5 100%);
    color: var(--success-dark);
    border-left: 4px solid var(--success);
}

.alert-info {
    background: linear-gradient(135deg, var(--info-light) 0%, #ecfeff 100%);
    color: var(--info-dark);
    border-left: 4px solid var(--info);
}

/* =====================================================
   TABLAS
   ===================================================== */
.table-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .table-header h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--gray-800);
    }

.table-responsive {
    overflow-x: auto;
}

.data-table, .Grid {
    width: 100%;
    border-collapse: collapse;
}

    .data-table th, .Grid th {
        padding: 0.875rem 1rem;
        text-align: left;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--gray-500);
        background: var(--gray-50);
        border-bottom: 1px solid var(--gray-200);
    }

    .data-table td, .Grid td {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        color: var(--gray-700);
        border-bottom: 1px solid var(--gray-100);
    }

    .data-table tr:hover, .Grid tr:hover {
        background: var(--gray-50);
    }

/* =====================================================
   TARJETAS DE ESTADÍSTICAS
   ===================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.stat-info h3 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.5;
}

/* =====================================================
   BADGES
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 9999px;
}

.badge-success {
    background: var(--success-light);
    color: var(--success-dark);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning-dark);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger-dark);
}

.badge-info {
    background: var(--info-light);
    color: var(--info-dark);
}

.badge-primary {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

/* =====================================================
   FILTROS Y BÚSQUEDA
   ===================================================== */
.filters-bar {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    border: 1px solid var(--gray-200);
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

    .filter-group label {
        display: block;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--gray-500);
        margin-bottom: 0.25rem;
    }

/* =====================================================
   PAGINACIÓN
   ===================================================== */
.pagination {
    display: flex;
    justify-content: flex-end;
    gap: 0.25rem;
    margin-top: 1.5rem;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--gray-600);
    background: white;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

    .pagination-item:hover {
        background: var(--gray-100);
    }

    .pagination-item.active {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        color: white;
        border-color: transparent;
    }

/* =====================================================
   MODALES
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-container {
    background: white;
    border-radius: var(--radius-2xl);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-2xl);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--gray-400);
}

    .modal-close:hover {
        color: var(--danger);
    }

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* =====================================================
   ENLACES
   ===================================================== */
.login-links {
    text-align: center;
    margin-top: 1.5rem;
}

    .login-links a {
        color: var(--primary);
        text-decoration: none;
        font-size: 0.813rem;
        transition: var(--transition-fast);
    }

        .login-links a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* =====================================================
   ANIMACIONES
   ===================================================== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .filters-bar {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .btn-group {
        flex-direction: column;
    }

        .btn-group .btn {
            width: 100%;
        }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .login-card, .form-card {
        padding: 1.5rem;
    }

    .input-field {
        padding: 0.625rem 0.875rem;
    }

        .input-field.with-icon {
            padding-left: 2.25rem;
        }

    .input-icon {
        left: 0.75rem;
        font-size: 0.875rem;
    }

    .password-toggle-btn {
        right: 0.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-card, .form-card {
        padding: 1.25rem;
    }

    .input-field {
        padding: 0.5rem 0.75rem;
        font-size: 0.813rem;
    }

        .input-field.with-icon {
            padding-left: 2rem;
        }

    .input-icon {
        left: 0.625rem;
        font-size: 0.813rem;
    }
}

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--gray-500);
    }

/* =====================================================
   IMPRESIÓN
   ===================================================== */
@media print {
    .sidebar, .top-bar, .btn, .actions, .filters-bar {
        display: none;
    }

    .main-content {
        margin: 0;
        padding: 0;
    }

    body {
        background: white;
    }
}

/* =====================================================
   SHELL APP + BOOTSTRAP 5.3 + DRAWER
   ===================================================== */
:root {
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
}

body.app-body {
    background: #f0f2f5;
    min-height: 100vh;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1040;
    transition: transform 0.2s ease;
}

.sidebar-header,
.user-info-sidebar,
.logout-section {
    padding: 1.25rem 1.25rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 700;
}

.user-info-sidebar {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 1rem 1rem;
    border-radius: 0.75rem;
}

.user-almacen {
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 1.25rem;
    margin-top: 0.5rem;
}

.nav-menu {
    list-style: none;
    padding: 0 1rem;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 0.625rem;
    min-height: 44px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    min-height: 44px;
}

.main-content {
    margin-left: 280px;
    padding: 1.5rem;
    width: 100%;
}

.app-nav-toggle {
    display: none;
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1100;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0.5rem;
    background: #1a1a2e;
    color: #fff;
}

.app-nav-backdrop {
    display: none;
}

@media (max-width: 768px) {
    .app-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    body.nav-open .sidebar,
    body.nav-open #appSidebar {
        transform: translateX(0) !important;
    }

    .main-content {
        margin-left: 0 !important;
        padding-top: 4rem;
    }

    body.nav-open .app-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1030;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.action-btn {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 44px;
}

@media (max-width: 992px) {
    .stats-grid,
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
