@import url("https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
    box-sizing: border-box;
}

body {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(inicio.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/* overlay oscuro más profesional */
body:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

/* CONTENEDOR PRINCIPAL */
.frame {
    position: relative;
    z-index: 1;
    height: 430px;
    width: 380px;
    backdrop-filter: blur(14px);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
}

/* TITULO */
.login {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* INPUT CONTAINER */
.email,
.password {
    width: 90%;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0.6rem 0;
}

/* INPUTS */
.email input,
.password input {
    width: 100%;
    padding: 12px 42px 12px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

/* PLACEHOLDER */
.email input::placeholder,
.password input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* FOCUS INPUT */
.email input:focus,
.password input:focus {
    border: 1px solid #ff3b3b;
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.4);
}

/* ICONOS */
.email img,
.password img {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    opacity: 0.85;
}

/* REMEMBER + FORGOT */
.remember_forgot {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
}

.remember {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.remember input {
    margin-right: 6px;
    width: 14px;
    height: 14px;
}

.forgot a {
    font-size: 14px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.forgot a:hover {
    color: #ff3b3b;
}

/* BOTON LOGIN */
.log {
    width: 90%;
    padding: 12px;
    margin-top: 1.3rem;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, #ff3b3b, #b80000);
    color: white;
    transition: all 0.3s ease;
}

.log:hover {
    transform: translateY(-2px);
    box-shadow: 0px 10px 25px rgba(255, 0, 0, 0.35);
}

/* EXTRA */
.reg {
    margin-top: 1.5rem;
    color: white;
}

/* ACCESIBILIDAD OCULTA */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}