/* ==========================================================
   CONFIGURACIÓN GENERAL
   ========================================================== */
* {
    box-sizing: border-box;
}
html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}
html {
    background-color: #003EF2;
}
body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #003EF2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 12px;
    position: relative;
    overflow-x: hidden;
}
/* ==========================================================
   FONDO
   ========================================================== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../img/backtech.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}
/* ==========================================================
   CONTENEDOR PRINCIPAL
   ========================================================== */
.formulario {
    width: 100%;
    max-width: 520px;
    padding: 25px 32px 26px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.20);
    position: relative;
    z-index: 5;
}
/* ==========================================================
   LOGO
   ========================================================== */
.formulario > p:first-child {
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
}
.formulario img {
    width: 45% !important;
    min-width: 150px;
    max-width: 230px;
    height: auto;
}
/* ==========================================================
   TÍTULO LAB ESINTEC
   ========================================================== */
.formulario h1 {
    text-align: center;
    color: #003EF2;
    font-size: 30px;
    font-weight: 700;
    margin-top: -20px !important;
    margin-bottom: 12px;
}
/* ==========================================================
   TÍTULO SOLICITUD
   ========================================================== */
.formulario h1 + p {
    text-align: center;
    margin-top: 0;
    margin-bottom: 8px;
    color: #111111;
    font-size: 14px;
    line-height: 1.3;
}
/* ==========================================================
   DESCRIPCIÓN
   ========================================================== */
.descripcion {
    text-align: center;
    color: #5b6473;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 15px;
}
/* ==========================================================
   FORMULARIO
   ========================================================== */
form {
    width: 100%;
}
/* ==========================================================
   CAMPOS
   ========================================================== */
.campo {
    width: 100%;
    margin-bottom: 8px;
}
/* ==========================================================
   LABEL
   ========================================================== */
.campo label {
    display: block;
    margin-bottom: 4px;
    color: #242c3a;
    font-size: 12px;
    font-weight: 600;
}
/* ==========================================================
   CONTENEDOR VALIDACIÓN
   ========================================================== */
.input-validacion {
    position: relative;
    width: 100%;
}
/* ==========================================================
   INPUT Y SELECT
   ========================================================== */
.input-validacion input,
.input-validacion select {
    width: 100%;
    height: 33px;
    padding: 4px 36px 4px 10px;
    border: 1px solid #cbd3df;
    border-radius: 7px;
    background-color: #ffffff;
    color: #1e293b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    outline: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}
/* ==========================================================
   PLACEHOLDER
   ========================================================== */
.input-validacion input::placeholder {
    color: #94a3b8;
}
/* ==========================================================
   FOCUS
   ========================================================== */
.input-validacion input:focus,
.input-validacion select:focus {
    border-color: #245cff;
    box-shadow:
        0 0 0 2px rgba(36, 92, 255, 0.08);
}
/* ==========================================================
   SELECT
   ========================================================== */
.input-validacion select {
    cursor: pointer;
}
/* ==========================================================
   ESTADO ✓ / ×
   ========================================================== */
.estado-campo {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    pointer-events: none;
    z-index: 10;
}
/* ==========================================================
   CAMPO VÁLIDO
   ========================================================== */
.campo-valido {
    border-color: #159447 !important;
    background-color: #fbfffc !important;
    box-shadow:
        0 0 0 1px rgba(21, 148, 71, 0.07) !important;
}
.estado-valido {
    display: flex;
    color: #159447;
}
/* ==========================================================
   CAMPO INVÁLIDO
   ========================================================== */
.campo-invalido {
    border-color: #d93025 !important;
    background-color: #fffdfd !important;
    box-shadow:
        0 0 0 1px rgba(217, 48, 37, 0.05) !important;
}
.estado-invalido {
    display: flex;
    color: #d93025;
}
/* ==========================================================
   MENSAJE VALIDACIÓN
   ========================================================== */
.mensaje-validacion {
    display: block;
    min-height: 11px;
    margin-top: 1px;
    color: #d93025;
    font-size: 10px;
    line-height: 1.2;
}
/* ==========================================================
   TEXTO DE AYUDA
   ========================================================== */
.ayuda {
    display: block;
    margin-top: 1px;
    color: red;
    font-size: 11px;
    line-height: 1.25;
}
/* ==========================================================
   CAMPO VÁLIDO CON FOCUS
   ========================================================== */
.campo-valido:focus {
    outline: none;
    border-color: #159447 !important;
    box-shadow:
        0 0 0 2px rgba(21, 148, 71, 0.08) !important;
}
/* ==========================================================
   CAMPO INVÁLIDO CON FOCUS
   ========================================================== */
.campo-invalido:focus {
    outline: none;
    border-color: #d93025 !important;
    box-shadow:
        0 0 0 2px rgba(217, 48, 37, 0.08) !important;
}
/* ==========================================================
   BOTÓN
   ========================================================== */
button {
    width: 100%;
    height: 38px;
    margin-top: 4px;
    padding: 8px 15px;
    border: 0;
    border-radius: 7px;
    background-color: #245cff;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow:
        0 4px 12px rgba(36, 92, 255, 0.20);
    transition:
        background-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
/* ==========================================================
   HOVER BOTÓN
   ========================================================== */
button:hover:not(:disabled) {
    background-color: #1648d3;
    transform: translateY(-1px);
    box-shadow:
        0 5px 14px rgba(36, 92, 255, 0.25);
}
/* ==========================================================
   BOTÓN DESHABILITADO
   ========================================================== */
button:disabled {
    background-color: #aebbd9;
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.80;
}
/* ==========================================================
   AUTOCOMPLETADO
   ========================================================== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #1e293b;
    -webkit-box-shadow:
        0 0 0 1000px #ffffff inset;
    transition:
        background-color 5000s ease-in-out 0s;
}
/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 600px) {
    body {
        padding: 10px 7px;
        align-items: flex-start;
    }
    .formulario {
        margin-top: 10px;
        padding: 18px 15px 20px;
        border-radius: 12px;
    }
    .formulario img {
        width: 48% !important;
        min-width: 140px;
        max-width: 200px;
    }
    .formulario h1 {
        font-size: 25px;
        margin-top: -16px !important;
        margin-bottom: 9px;
    }
    .formulario h1 + p {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .descripcion {
        font-size: 11px;
        margin-bottom: 12px;
    }
    .campo {
        margin-bottom: 6px;
    }
    .campo label {
        font-size: 11px;
    }
    .input-validacion input,
    .input-validacion select {
        height: 32px;
        padding:
            4px 32px
            4px 9px;
        font-size: 11px;
    }
    .estado-campo {
        right: 8px;
        font-size: 14px;
    }
    .mensaje-validacion {
        font-size: 9px;
    }
    .ayuda {
        font-size: 11px;
		color: red;
    }
    button {
        height: 36px;
        font-size: 11px;
    }
}