/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(../img/fondo__incio\ de\ seseion.jpg) center center / cover  no-repeat;
    background-position: center 70%;
    overflow-x: hidden;
}

/* CONTENEDOR DE CRISTAL */
.formulario {
    position: relative;
    width: 420px; /* Ancho perfecto para que no se vea estirado */
    background: rgba(255, 255, 255, 0);   
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    padding: 40px; 
    color: beige;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    text-align: center;
}

.formulario h1 {
    font-size: 30px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
}

/* GRUPOS DE ENTRADA */
.input-group {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 15px 0; /* Espaciado uniforme */
}

.input-group input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 16px;
    color: #fff;
    padding: 0 45px 0 20px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0);
}

::placeholder {
  color: #000;
}

.input-group i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #ffd700;
}

/* CHECKBOX VER CONTRASEÑA */
.rememberp {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0 20px 5px;
    font-size: 14px;
}

.rememberp input {
    margin-right: 10px;
    accent-color: #ffd700;
    cursor: pointer;
}

/* BOTÓN DE ACCIÓN */
.iniciar input {
    width: 100%;
    height: 50px;
    background: #ffd700;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    color: #000;
    font-weight: 700;
    transition: 0.3s;
}

.iniciar input:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* LINKS INFERIORES */
.links-container {
    margin-top: 25px;
    font-size: 14px;
}

.links-container p {
    margin-bottom: 8px;
}

.links-container a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.links-container a:hover {
    text-decoration: underline;
}

/* BOTÓN VOLVER */
.back {
    position: absolute;
    top: 25px;
    left: 20px;
}

.back i {
    font-size: 32px;
    color: #ffd700;
    transition: 0.3s;
}

.back i:hover {
    transform: translateX(-5px);
    color: #fff;
}

/* FOOTER SOCIAL MEDIA */
footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

footer i {
    font-size: 35px;
    color: #fff;
    transition: 0.3s;
}

footer i:hover {
    color: #ffd700;
    transform: scale(1.1);
}