/* --- RESET BÁSICO --- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    overflow: hidden;
}

/* --- VIDEO DE FONDO --- */
.video-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.45);
}

/* --- CONTENEDOR CENTRADO --- */
.contenedor-centro {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100vh;
}

/* --- CUADRO DEL LOGIN --- */
.form-login {
    width: 380px;
    padding: 35px;
    padding-top: 55px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);

    border-radius: 20px;
    border-top: 3px solid #ff7300;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);

    text-align: center;
    
     /* --- CENTRADO INTERNO --- */
    display: flex;
    flex-direction: column;
    align-items: center;   /* ✔ centra horizontalmente */
    text-align: center;    /* ✔ centra textos e inputs */

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ff7300;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);


}

form {
    width: 100%;  /* ✔ Hace que inputs no se peguen a la izquierda */
    display: flex;
    flex-direction: column;
    align-items: center;  /* ✔ centra inputs y botón */
}

/* --- LOGO --- */
.logo {
    width: 200px;
    display: block;
    margin: 0 auto 20px;
    margin: -40px auto 10px;  /* ← mueve el logo hacia arriba */
    padding: 0; 

    border: 2px solid rgba(255, 255, 255, 0.35); /* grosor, color, transparencia */
    border-radius: 5px;      /* redondeado del borde */
    padding: 1px;             /* espacio entre el borde y la imagen */

    backdrop-filter: blur(2px);   /* leve efecto glass */
}

/* --- TÍTULO --- */
.form-login h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 25px 0;
}

/* --- INPUTS --- */
.controls {
    width: 100%;
    padding: 12px 15px;

    margin-bottom: 18px;
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.06);
    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.25);

    outline: none;
    transition: 0.3s ease;
}

.controls::placeholder {
    color: #e5e5e5;
}

.controls:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: #ff7300;
}

.controls, .buttons {
    width: 90%;  /* ✔ mantiene el ancho bonito centrado */
}

/* --- BOTÓN --- */
.buttons {
    width: 100%;
    padding: 12px;
    border-radius: 8px;

    background: #ff7300;
    border: none;
    color: #fff;

    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;

    transition: 0.3s ease;
}

.buttons:hover {
    background: #e56600;
    transform: scale(1.03);
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {

    .form-login {
        width: 380px;         /* mantiene el tamaño original */
        max-width: 95%;       /* solo reduce si la pantalla es MUY pequeña */
        padding: 35px;
        padding-top: 55px;
    }

    .logo {
        width: 180px;         /* logo un poco más pequeño pero se mantiene elegante */
    }

    .controls,
    .buttons {
        width: 100%;          /* aprovecha el ancho disponible */
    }
}

/* SEPARAR BOTONES*/

.acciones {
    display: flex;
    gap: 15px; /* Espacio entre los botones */
}

.acciones .btn-orange {
    display: inline-block;
}



