* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html,
body {
    min-height: 100%;
    background-color: #000;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 2
}

.container h1 {
    text-align: center;
    color: white
}

.login-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.login-video,
video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: transparent;
}

.capa {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 166, 130, 0.1);
    z-index: 1;
    pointer-events: none;
}

.img {
    width: 75%;
    margin: 1%;
    display: block;
    margin: auto;
    margin-top: 4%;
    margin-bottom: 4%;
}

.wrapper {
    width: 40%;
    max-width: 390px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(2px);
    color: #fff;
    border-radius: 12px;
    padding: 30px 40px;
}

.wrapper > p {
    text-align: center;
    margin-bottom: 25px;
}

.wrapper h1 {
    font-size: 25px;
    text-align: center;
}

.wrapper .spacer {
    margin-top: 20px;
    font-size: 16.5px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 3px red;
}

.wrapper .input-box {
    position: relative;
    width: 100%;
    height: 40px;

    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    font-size: 14px;
    color: #fff;
    padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
    color: #fff;
}

.input-box .icon {
    position: absolute;
    right: 20px;
    top: 30%;
    transform: translate(-50%);
    font-size: 16px;
    cursor: pointer;
}

.error-message{
    background-color: rgba(255, 0, 0, 0.3);
    color: white;
    font-size: 15px;
    padding: 10px;
    border-radius: 5px;
}

.wrapper .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: 50px 0 20px;
}

.remember-forgot label input {
    accent-color: #fff;
    margin-right: 3px;
}

.remember-forgot a {
    color: #fff;
    text-decoration: none;

}

.remember-forgot a:hover {
    text-decoration: underline;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 15px;
    color: #333;
    font-weight: 600;
    display: grid;
    place-content: center;
}

.wrapper .cargando {
    pointer-events: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgb(6, 175, 128);
    animation: cargando 1s ease infinite;
}

@keyframes cargando {
    0% {
        transform: rotate(0turn);
    }
    100% {
        transform: rotate(1turn);
    }
}

.wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 25px 0 35px;
}

.register-link a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

.register-link p a:hover {
    text-decoration: underline;
}

.mt{
    margin-top: 15px;
}

@media (width < 500px) {

    .container {
        margin: auto;
    }

    .wrapper {
        width: 100%;
        max-width: 360px;
    }

    .wrapper > p {
        font-size: 15.5px;
    }

    .wrapper .remember-forgot {
        font-size: 13px;
        margin: 50px 0 20px;
    }

    .wrapper .register-link {
        font-size: 13px;
    }

    video {
        height: 100vh;
    }
}

@media (width < 925px) {

    .container {
        margin: auto;
    }

    .wrapper {
        width: 100%;
        max-width: 360px;
    }
}

/* Ajusta el reCAPTCHA para pantallas pequeñas */
@media (max-width: 950px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
        -webkit-transform: scale(0.90);
        -webkit-transform-origin: 0 0;
    }
}

@media (max-width: 370px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
        -webkit-transform: scale(0.83);
        -webkit-transform-origin: 0 0;
    }
}









