/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "Poppins", Arial, sans-serif;
    background:
        linear-gradient(rgba(3, 8, 15, .88), rgba(3, 8, 15, .94)),
        url("Img/fondo-industrial.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
}

/* NAV */

nav {
    width: 100%;
    height: 68px;
    padding: 5px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 10, 18, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
}

.logoNav {
    width: 145px;
    height: auto;
    object-fit: contain;
}

.iconos_contenedor {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btnConfiguracion {
    width: 24px;
    height: 24px;
    object-fit: contain;
    cursor: pointer;
    opacity: .75;
    transition: .25s ease;
}

.btnConfiguracion:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* BOTÓN ATRÁS */

.btnTipoUno {
    width: 160px;
    text-decoration: none;
    font-family: oswaldRegular;
    font-size: 15px;
    color: whitesmoke;
    background-color: #E5560B;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    padding: 8px 12px;
    margin: 10px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.25);
}

.btnTipoUno a {
    text-decoration: none;
    color: inherit;
}

.btnTipoUno:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.35);
    background-color: #c4450a;
}

.btnTipoUno:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
    background-color: #a63a08;
}

/* CONTENEDOR */

.contenedorLogin {
    flex: 1;
    width: 100%;

    padding: 22px 20px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* MARCA */

.marcaEmpresa {
    text-align: center;
    margin-bottom: 18px;
}

.logoEmpresa {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logoEmpresa img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(229, 86, 11, .16));
}

.subtituloEmpresa {
    margin-top: 8px;
    color: rgba(255, 255, 255, .48);
    font-size: .72rem;
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* TARJETA */

.tarjetaInicio {
    width: 100%;
    max-width: 450px;
    padding: 28px 28px 24px;

    background: linear-gradient(145deg, rgba(24, 31, 43, .96), rgba(10, 16, 26, .98));
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .55);

    position: relative;
    overflow: hidden;
}

.tarjetaInicio::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;

    width: 140px;
    height: 140px;

    background: linear-gradient(135deg, rgba(255, 255, 255, .045), transparent 65%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}

/* ENCABEZADO */

.encabezadoTarjeta {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tituloInicio {
    font-size: 1.9rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 10px;
}

.descripcionInicio {
    color: rgba(255, 255, 255, .62);
    font-size: .85rem;
    line-height: 1.45;
}

/* FORMULARIO */

.formularioInicio {
    display: flex;
    flex-direction: column;
}

.etiquetaCampo {
    color: rgba(255, 255, 255, .86);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.filaEtiqueta {
    margin-top: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filaEtiqueta .etiquetaCampo,
.filaEtiqueta .enlaceRecuperacion {
    margin-bottom: 9px;
}

.enlaceRecuperacion {
    color: rgba(255, 255, 255, .36);
    font-size: .62rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: .25s ease;
}

.enlaceRecuperacion:hover {
    color: #E5560B;
}

/* INPUTS */

.grupoEntrada {
    width: 100%;
    height: 54px;
    padding: 0 18px;

    display: flex;
    align-items: center;

    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .025);

    transition: .25s ease;
}

.grupoEntrada:hover {
    border-color: rgba(229, 86, 11, .35);
}

.grupoEntrada:focus-within {
    border-color: rgba(229, 86, 11, .85);
    box-shadow: 0 0 0 3px rgba(229, 86, 11, .12);
}

.campoEntrada {
    width: 100%;

    background: transparent;
    border: none;
    outline: none;

    color: #fff;

    font-size: .9rem;
    font-weight: 500;
}

.campoEntrada::placeholder {
    color: rgba(255, 255, 255, .34);
}

/* BOTÓN INGRESAR */

.btnInicio {
    width: 100%;
    height: 56px;
    margin-top: 24px;

    border: none;
    cursor: pointer;

    background: #E5560B;
    color: #fff;

    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;

    box-shadow: 0 12px 26px rgba(229, 86, 11, .25);
    transition: .25s ease;
}

.btnInicio:hover {
    background: #ff6413;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(229, 86, 11, .34);
}

/* PIE TARJETA */

.pieTarjeta {
    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px solid rgba(255, 255, 255, .08);

    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.insigniaSeguridad {
    display: flex;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, .44);

    font-size: .58rem;
    text-transform: uppercase;
}

.puntoEstado {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E5560B;
}

/* PIE DE PÁGINA */

.piePagina {
    width: 100%;
    min-height: 42px;

    background: #E5560B;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 8px 12px;

    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;

    margin-top: auto;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    nav {
        height: 64px;
        padding: 0 18px;
    }

    .logoNav {
        width: 125px;
    }

    .iconos_contenedor {
        gap: 10px;
    }

    .btnConfiguracion {
        width: 22px;
        height: 22px;
    }

    .btnTipoUno {
        height: 34px;
        padding: 0 14px;
    }

    .btnTipoUno a {
        font-size: .65rem;
    }

    .contenedorLogin {
        padding: 18px 16px 26px;
    }

    .logoEmpresa img {
        max-width: 250px;
    }

    .subtituloEmpresa {
        font-size: .62rem;
        letter-spacing: 4px;
    }

    .tarjetaInicio {
        max-width: 100%;
        padding: 24px 22px 22px;
    }

    .tituloInicio {
        font-size: 1.6rem;
    }

    .descripcionInicio {
        font-size: .78rem;
    }

    .grupoEntrada {
        height: 50px;
    }

    .btnInicio {
        height: 52px;
    }

    .piePagina {
        min-height: 40px;
        font-size: .55rem;
        letter-spacing: 1.5px;
    }
}