﻿/* ============================================================
   PALETA DE COLORES VITELO
   ============================================================ */

:root {
    --vitelo-orange: #F28C28;
    --vitelo-orange-light: #F7D9A0;
    --vitelo-blue: #0A3D62;
    --vitelo-blue-hover: #0C4A78;
    --vitelo-gold: #D4AF37;
    --vitelo-gold-hover: #C49A2F;
    --vitelo-white: #FFFFFF;
    --vitelo-black: #1B1B1B;
    --vitelo-gray: #E8E8E8;
}

/* ============================================================
   ESTILO GLOBAL
   ============================================================ */

body {
    background-color: var(--vitelo-blue);
    font-family: 'Segoe UI', sans-serif;
    color: var(--vitelo-white);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

/* ============================================================
   CONTENEDORES Y CARDS
   ============================================================ */

.card {
    background: var(--vitelo-white);
    border-radius: 12px;
    border: 2px solid var(--vitelo-gold);
    padding: 20px;
    margin-bottom: 20px;
    color: var(--vitelo-black);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ============================================================
   BOTONES PRINCIPALES (Main.aspx)
   ============================================================ */

.btn-vitelo {
    background-color: var(--vitelo-orange);
    color: var(--vitelo-white);
    border: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 20px;
    width: 100%;
    margin-bottom: 15px;
    margin-top:20px;
    transition: 0.2s ease-in-out;
}

    .btn-vitelo:hover {
        background-color: var(--vitelo-orange-light);
        color: var(--vitelo-black);
    }

/* ============================================================
   BOTONES GLOBALES
   ============================================================ */

.botones-formulario {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.btn-form-vitelo {
    background-color: var(--vitelo-blue);
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

    .btn-form-vitelo:hover {
        background-color: var(--vitelo-blue-hover);
    }

.btn-form-cancelar {
    background-color: var(--vitelo-gold);
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

    .btn-form-cancelar:hover {
        background-color: var(--vitelo-gold-hover);
    }

/* ============================================================
   FORMULARIOS
   ============================================================ */

input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid var(--vitelo-gold);
    margin-bottom: 15px;
    font-size: 16px;
}

input[type="password"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid var(--vitelo-gold);
    margin-bottom: 15px;
    font-size: 16px;
}

label {
    font-size: 16px;
    font-weight: 500;
}

/* ============================================================
   MENÚ PRINCIPAL
   ============================================================ */

.main-container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
}

.main-logo-container {
    background: #FFFFFF;
    padding: 5px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.main-logo {
    width: 220px;
    height: auto;
}

/* ============================================================
   TABLAS
   ============================================================ */

.tabla-vitelo {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .tabla-vitelo th {
        background-color: #f2f2f2;
        text-align: center;
        padding: 12px;
        font-weight: bold;
        border-bottom: 2px solid #ddd;
    }

    .tabla-vitelo td {
        text-align: center;
        padding: 10px;
        border-bottom: 1px solid #e0e0e0;
    }

    .tabla-vitelo tr:nth-child(even) {
        background-color: #fafafa;
    }

/* ============================================================
   FILTROS
   ============================================================ */

.filtros-dashboard {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

    .filtros-dashboard label {
        font-weight: bold;
    }

/* ============================================================
   GRÁFICA
   ============================================================ */

.grafica-container {
    background: var(--vitelo-white);
    border-radius: 12px;
    border: 2px solid var(--vitelo-gold);
    padding: 20px;
    margin-top: 20px;
}

#graficaConversion {
    width: 100% !important;
    height: 400px !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 900px) {
    .btn-vitelo {
        font-size: 22px;
    }
}

/* ============================================================
   DASHBOARD MÓVIL
   ============================================================ */

@media (max-width: 768px) {

    /* Card */
    .card-dashboard-mobile {
        padding: 15px !important;
        border-radius: 12px;
    }

    /* Filtros */
    .filtros-dashboard {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

        .filtros-dashboard input,
        .filtros-dashboard select {
            width: 100% !important;
            font-size: 16px !important;
        }

    /* Botón Filtrar */
    .btn-form-vitelo {
        width: 100% !important;
        padding: 12px !important;
        font-size: 16px !important;
    }

    /* Tabla */
    .tabla-wrapper-mobile {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-top: 15px;
    }

    .tabla-vitelo {
        width: 700px !important;
        font-size: 14px !important;
    }

    /* Gráfica */
    .grafica-container {
        padding: 10px !important;
    }

    #graficaConversion {
        height: auto !important;
    }

    /* Botones finales */
    .botones-formulario {
        flex-direction: column !important;
        gap: 12px !important;
    }
}
.login-form {
    padding-top: 10px;
}

