/* Importación de Fuente Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #f9fafb;      
    --bg-card: #ffffff;         
    --text-main: #111827;       
    --text-muted: #6b7280;      
    --primary: #3b82f6;         
    --primary-hover: #2563eb;
    --border: #e5e7eb;          
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 50px 20px;
}

/* --- LAYOUT PRINCIPAL --- */
.layout-principal {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

form {
    display: flex;
    flex-direction: column;
    gap: 25px; 
}

/* --- CONTENEDORES (Tarjetas) --- */
.tarjeta-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Títulos de las tarjetas (Producto, Proveedor, Reportes) */
.tarjeta-menu h2 {
    font-size: 20px; /* Aumentado de 16px a 20px */
    font-weight: 700; /* Más negrita */
    color: var(--text-main); /* Color más oscuro para que resalte */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

/* --- GRILLA DE BOTONES --- */
.grid-botones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

/* --- ESTILOS DE BOTONES --- */

/* Botones principales (Azules con borde) */
.btn-menu {
    background-color: var(--bg-card);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-menu:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.btn-menu:active {
    transform: scale(0.98);
}

/* Botones de Reportes (Grises oscuros, sólidos y elevados) */
.btn-menu-alt {
    background-color: #4b5563; /* Gris pizarra oscuro */
    color: #ffffff; /* Texto blanco */
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para dar volumen */
}

.btn-menu-alt:hover {
    background-color: #374151; /* Se oscurece más al pasar el mouse */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* La sombra crece */
}

.btn-menu-alt:active {
    transform: scale(0.98);
}