﻿@font-face {
    font-family: 'BDColonius';
    src: url('/fonts/BDColonius.otf') format('opentype');
}

@font-face {
    font-family: 'DunbarText-Medium';
    src: url('../fonts/DunbarText-Medium.woff') format('woff');
}

@font-face {
    font-family: 'DunbarText-Regular';
    src: url('../fonts/dunbar-text-regular.woff') format('woff');
}


@font-face {
    font-family: 'ArbotekThin';
    src: url('/fonts/fonnts.com-Arbotek_Thin.otf') format('opentype');
}

@font-face {
    font-family: 'Comfortaa';
    src: url('/fonts/Comfortaa-VariableFont_wght.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Dunbar', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-container {
    width: 100%;
    padding: 2rem;
    text-align: center;
    font-family: DunbarText, serif;
}

.logo-container {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 53px;
}

.logo {
    color: #2a8383;
    font-size: 50px;
    font-family: BDColonius, sans-serif;
    margin-bottom: 0;
    white-space: nowrap;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-top: 20px;
}

.illustration {
    width: 180px;
    height: 171px !important;
    background: #f0f7ff;
    border-radius: 15px;
    border: black !important;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent !important;
}

.main-form-container {
    background-color: #d7e3e4 !important;
    border-radius: 60px !important;
    padding: 25px !important;
    width: 560px;
    max-width: 100%;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
}

.input-container {
    max-width: 360px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #FEFDFA;
    border-radius: 14px;
    padding: 4px;
    padding-right: 10px;
}

input {
    width: 100%;
    padding: 12px 10px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    color: black;
    background: transparent;
    transition: border-color 0.3s ease;
}

    input:focus {
        border-color: #0D0630;
    }

.form-label {
    position: absolute;
    top: -20px;
    left: 14%;
    font-size: 12px;
    color: #898a8d;
    font-family: 'Comfortaa', sans-serif !important;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    font-weight: 400;
    transform: translateY(10px);
    display: none;
}

input:focus ~ .form-label,
input:not(:placeholder-shown) ~ .form-label {
    opacity: 1;
    transform: translateY(0);
}

input::placeholder {
    color: #898A8D;
}

.form-group input {
    width: 100%;
    max-width: 382px;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    padding-right: 2.5rem;
    background: transparent;
    color: #0d0630 !important;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Comfortaa', sans-serif;
}

    .form-group input::placeholder {
        color: #898a8d;
        font-size: 14px !important;
        font-family: 'Comfortaa', serif;
    }

.toggle-password {
    cursor: pointer;
    flex-shrink: 0;
}

.btn-login {
    background-color: #0d0630;
    color: #FEFDFA;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    margin: 20px auto 0;
    font-weight: bold;
    font-family: 'Comfortaa', serif;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

    .btn-login:hover {
        transform: scale(1.08);
        background-color: #190b63;
    }

    .btn-login:active {
        background-color: #1f0992;
    }

.links-container {
    margin-top: 2rem;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
    text-align: right;
}

    .links a {
        color: #0d0630;
        text-decoration: none;
        font-family: 'Comfortaa', serif;
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: bold;
        transition: color 0.3s ease;
    }

        .links a:hover {
            color: #2a8383 !important;
        }

.upgrade-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #0d0630;
    font-size: 13px;
    margin-top: 1rem;
    font-family: 'Comfortaa', serif;
    margin-top: 10rem;
}

    .upgrade-text img {
        width: 20px;
        height: 20px;
    }

.bold {
    font-weight: bold;
    font-size: medium;
    left: 334px;
}

.bold2 {
    font-weight: bold;
    font-size: medium;
    display: flex;
    position: relative;
    left: 355px;
}

.error-message {
    color: red;
    display: none;
    position: absolute;
    left: 100%;
    margin-left: -40px;
    white-space: nowrap;
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Comfortaa', sans-serif;
}

.color-xsd {
    margin-right: 10px;
    display: inline-flex;
    color: #37C7C7;
    font-family: 'Comfortaa', sans-serif;
    font-weight: bold;
    font-size: larger;
}

.image-left-container {
    display: flex;
    justify-content: flex-start;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 20px;
}

#yellowLine {
    position: absolute;
    left: 100px;
    top: 0px;
    display: block;
    height: 100%;
    z-index: -1;
    left: calc((100vw - 1000px) / 4);
}

#yellowLine2 {
    position: absolute;
    right: 0px;
    top: 200px;
    display: block;
    height: 50%;
    z-index: -1;
    right: calc((50vw - 1200px) / 4);
}

.vegas-timer {
    display: none !important;
}

.vegas-wrapper {
    display: none;
}

/* ============================================
   MEDIA QUERIES - RESPONSIVE
   ============================================ */

/* Tablets grandes y pantallas medianas */
@media only screen and (max-width: 1208px) {
    .main-form-container {
        width: 500px;
        padding: 20px !important;
    }

    .logo {
        font-size: 45px;
    }

    #yellowLine {
        left: 30px;
    }

    #yellowLine2 {
        right: 30px;
    }
}

/* Tablets */
@media only screen and (max-width: 992px) {
    .main-form-container {
        width: 450px;
    }

    .logo {
        font-size: 40px;
    }

    .logo-container {
        margin-bottom: 40px;
    }

    .illustration {
        width: 150px;
        height: 150px !important;
    }

    #yellowLine {
        left: 20px;
        width: auto;
    }

    #yellowLine2 {
        right: 20px;
        width: auto;
    }
}

/* Tablets pequeñas */
@media only screen and (max-width: 768px) {
    .main-container {
        padding: 0 15px;
    }

    .main-form-container {
        width: 100%;
        max-width: 400px;
        border-radius: 40px !important;
        padding: 20px !important;
    }

    .logo {
        font-size: 38px;
    }

    .logo-image {
        height: 35px;
    }

    .form-label {
        left: 10%;
    }

    .links-container {
        justify-content: center;
        text-align: center;
    }

    .links {
        align-items: center;
        text-align: center;
    }

    .bold, .bold2 {
        position: static;
        left: auto;
    }

    .upgrade-text {
        margin-top: 5rem;
    }

    #yellowLine {
        left: 10px;
        width: auto;
    }

    #yellowLine2 {
        right: 10px;
        width: auto;
        top: 150px;
    }
}

/* Móviles grandes */
@media only screen and (max-width: 576px) {
    body {
        overflow: auto;
    }

    .main-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 20px 15px;
        overflow: auto;
        width: 100%;
    }

    .login-container {
        padding: 1rem;
    }

    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .logo {
        font-size: 36px;
    }

    .logo-image {
        height: 30px;
        margin-top: 0;
    }

    .main-form-container {
        width: 100%;
        max-width: 100%;
        border-radius: 30px !important;
        padding: 20px 15px !important;
    }

    .illustration {
        width: 130px;
        height: 130px !important;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .input-container {
        max-width: 100%;
    }

    .form-group input {
        max-width: 100%;
        font-size: 16px;
    }

    .btn-login {
        width: 100%;
        max-width: 200px;
        padding: 10px 14px;
        font-size: 15px;
    }

    .links-container {
        margin-top: 1.5rem;
        justify-content: center;
    }

    .links {
        align-items: center;
        font-size: 13px;
    }

    .bold, .bold2 {
        display: block;
        position: static;
        left: auto;
        margin-right: 0 !important;
        text-align: center;
    }

    .error-message {
        position: relative;
        left: auto;
        margin-left: 0;
        margin-top: 5px;
        transform: none;
        display: block;
        text-align: center;
    }

    .form-label {
        left: 5%;
        font-size: 11px;
    }

    .upgrade-text {
        margin-top: 3rem;
        font-size: 12px;
        flex-direction: column;
        gap: 0.3rem;
    }

    /* Líneas visibles en móviles */
    #yellowLine {
        left: 5px;
        width: auto;
        opacity: 0.7;
    }

    #yellowLine2 {
        right: -55px;
        width: 200PX;
        top: -51px;
        opacity: 0.7;
    }
}

/* Móviles pequeños */
@media only screen and (max-width: 400px) {
    .logo {
        font-size: 32px;
    }

    .logo-container {
        gap: 10px;
        margin-bottom: 25px;
    }

    .main-form-container {
        padding: 15px 10px !important;
        border-radius: 25px !important;
    }

    .illustration {
        width: 110px;
        height: 110px !important;
    }

    .form-group input {
        font-size: 14px;
        padding: 0.7rem;
    }

    .btn-login {
        font-size: 14px;
        padding: 9px 12px;
    }

    .links {
        font-size: 12px;
    }

    #yellowLine {
        left: 3px;
        opacity: 0.6;
    }

    #yellowLine2 {
        right: 3px;
        opacity: 0.6;
    }
}

/* Móviles muy pequeños */
@media only screen and (max-width: 320px) {
    .logo {
        font-size: 28px;
    }

    .main-form-container {
        padding: 12px 8px !important;
    }

    .form-group input {
        font-size: 13px;
        padding: 0.6rem;
    }

    .btn-login {
        font-size: 13px;
        padding: 8px 10px;
    }

    #yellowLine {
        left: 2px;
        opacity: 0.5;
    }

    #yellowLine2 {
        right: 2px;
        opacity: 0.5;
    }
}

/* Pantallas muy grandes */
@media only screen and (min-width: 1920px) {
    .main-form-container {
        width: 600px;
    }

    .logo {
        font-size: 55px;
    }

    #yellowLine {
        left: calc((100vw - 1200px) / 4);
    }
}
}
    /* Ajusta más propiedades si es necesario para mejorar la legibilidad en pantallas muy pequeñas */
}


/* Media query para pantallas medianas (hasta 1440px) */
/*
@media only screen and (max-width: 1440px) and (min-width: 1209px) {
    .image-left-container {
        position: absolute;
        left: 30px;
        height: 1410px;
        top: -90px;
        width: 50%;
        max-width: 20px;
        display: flex;
        justify-content: flex-start;
        padding: 1px;
    }

    .image-right-container {
        position: absolute;
        left: 1100px;
        height: 500px;
        width: 50%;
        max-width: 20px;
        display: flex;
        justify-content: flex-start;
        padding: 1px;
    }

    .logo-image {
        height: 50px;
        width: 140px;
    }

    .logo {
        color: #5995ed;
        font-size: 38px;
        font-family: BDColonius, sans-serif;
        margin-bottom: 0;
        white-space: nowrap;
    }
    */
}
