/* CSS DE LA INTERFAZ PRINCIPAL (LOGIN) */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

main {
    height: 100vh;
    background: url('/img/FondoImg.jpg');
    background-size: cover;
    background-position: center;
}

a {
    text-decoration: none;
    color: #fff;
}

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.navbar .logo {
    font-size: 30px;
    font-weight: 700;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    position: relative;
    list-style: none;
    margin-left: 35px;
}

.navbar ul li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s;
}

.navbar ul li:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
}

.content {
    display: flex;
    align-items: center;
    gap: 80px;
    height: 100vh;
    padding: 50px 100px 0;
    color: #fff;
}

.info h1 {
    font-size: 50px;
}

.info p {
    margin: 10px 0 25px;
}

.btn {
    display: inline-block;
    padding: 12px 50px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.btn:hover {
    background: linear-gradient(135deg, #071d3a, #00634d);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 120, 100, .4);
}

.login-box {
    width: 450px;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(30px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 10px;
    padding: 50px 40px;
}

.login-box h1 {
    font-size: 36px;
    text-align: center;
    line-height: 1;
}

.login-box .input-box {
    position: relative;
    margin: 30px 0;
}

.login-box .input-box input {
    width: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    outline: none;
    border-radius: 40px;
    padding: 13px 50px 13px 20px;
    font-size: 16px;
    color: #fff;
}

.login-box .input-box input::placeholder {
    color: #fff;
}

.login-box .input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.login-box .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
}

.login-box .remember-forgot label {
    display: flex;
}

.login-box .remember-forgot label input {
    accent-color: #fff;
    margin-right: 6px;
}

.login-box .remember-forgot a:hover,
.login-box .register-link a:hover {
    text-decoration: underline;
}

.login-box .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.login-box .register-link {
    display: flex;
    justify-content: center;
    font-size: 14.5px;
    margin-top: 15px;
}

.login-box .register-link a {
    font-weight: 600;
    margin-left: 4px;
}

/* ESTILOS ALERTAS DE INICIO DE SESION */
.suyofact-alert{
    border-radius:20px !important;
    border:2px solid #00634d !important;
    box-shadow:
        0 0 25px rgba(0,120,80,.5),
        inset 0 0 20px rgba(0,0,0,.4);
}

.suyofact-alert .swal2-title{
    font-size:32px;
    color:white;
}

.suyofact-alert .swal2-html-container{
    font-size:16px;
    color:#eee;
}

.suyofact-alert .swal2-icon.swal2-success{
    border-color:#65d35b;
    color:#65d35b;
}

.suyofact-alert .swal2-timer-progress-bar{

    background:#00a86b;
}

.suyofact-alert b{
    color:#65d35b;
    font-size:22px;
}

.swal2-show{
    animation:
    swal2-show .5s ease;
}

@keyframes swal2-show{
    from{
        opacity:0;
        transform:
        translateY(-40px)
        scale(.8);
    }

    to{
        opacity:1;
        transform:
        translateY(0)
        scale(1);
    }
}

/*RESPONSIVE */

main {
    height: auto;
    min-height: 100vh;
}

.login-box {
    max-width: 100%;
}

.btn-menu-movil {
    display: none;
}

@media (max-width: 900px) {
    .navbar {
        padding: 20px 24px;
    }

    .navbar ul {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 240px;
        flex-direction: column;
        background: rgba(7, 29, 58, 0.97);
        backdrop-filter: blur(10px);
        padding: 90px 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 90;
    }

    .navbar ul.abierto {
        transform: translateX(0);
    }

    .navbar ul li {
        margin-left: 0;
        margin-bottom: 24px;
    }

    .btn-menu-movil {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 22px;
        cursor: pointer;
        z-index: 110;
        position: relative;
    }

    .content {
        flex-direction: column;
        justify-content: center;
        height: auto;
        min-height: 100vh;
        gap: 40px;
        padding: 110px 24px 40px;
        text-align: center;
    }

    .info h1 {
        font-size: 34px;
    }

    .login-box {
        width: 100%;
        padding: 36px 26px;
    }
}

@media (max-width: 420px) {
    .info h1 {
        font-size: 28px;
    }

    .login-box h1 {
        font-size: 28px;
    }

    .login-box {
        padding: 28px 20px;
    }
}