﻿body, html {
    height: 100%;
    margin: 0px;
    padding:0px;
    background-color:#333333;
}


.container {
    margin: 0px;
    padding: 0%;
    position: fixed;
    border:none;
    height:100%;
    width:100%;
}

.login-container {
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 70%;
    background-color: #C9E4CA;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
    margin-right: 25%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    float: left;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 600%;
}

    .login-form h2 {
        color: #4a4948;
        padding: 10px 20px;
        font-size: 24px;
        text-transform: uppercase;
       
    }

.input-field {
    width: 60% !important;
    padding: 15px;
    margin: 10px 0;
    border: solid;
    border-color: #C9E4CA;
    border-bottom: 2px solid #4a4948;
    border-radius: 5px;
    background: #ffffff;
    font-size: 20px;
    text-align: center;
}

#loginButton {
    background-color: #4a4948;
    border: none;
    color: white;
    padding: 15px;
    width: 60%;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s, color 0.3s, border 0.3s;
    margin-top: 10px;
    font-size: 20px;
}

    #loginButton:hover {
        background-color: white;
        color: #4a4948;
        border: 2px solid #4a4948;
        transform: scale(1.05);
    }

.forgot-password {
    margin-top: 10px;
    font-size: 14px;
    color: black;
    cursor: pointer;
}

#swal2-title {
    font-size: 30px !important;
}

.custom-confirm-button {
    background-color: #4a4948 !important; /* Fondo del botón */
    color: white !important; /* Texto del botón */
    border: 1px solid #4a4948 !important; /* Borde del botón */
    padding: 15px 30px !important; /* Tamaño del botón (más grande) */
    font-size: 1.5rem !important; /* Tamaño de fuente del botón (más grande) */
    transition: all 0.3s ease; /* Transición suave */
}

    /* Efecto hover para el botón */
    .custom-confirm-button:hover {
        background-color: #ffffff !important; /* Fondo blanco al pasar el cursor */
        color: #4a4948 !important; /* Texto gris oscuro al pasar el cursor */
        border: 1px solid #4a4948 !important; /* Borde gris oscuro */
    }

/* Estilo personalizado para el cuadro de diálogo */
.custom-popup {
    font-size: 1.2rem; /* Tamaño de fuente más grande para el popup */
}



#swal2-html-container{
    font-size:20px !important;
}






/* RESPONSIVE DESIGN */
@media (max-width: 1224px) {
    /* Para iPads y tabletas */
    .login-container {
        width: 50%;
        height: 60%;
        top: 25%;
        margin-right: 25%;
    }

    .login-form {
        width: 80% !important;
    }

    #loginButton {
        width: 78%;
    }

    
}

/* RESPONSIVE DESIGN */
@media (max-width: 1524px) {
    /* Para iPads y tabletas */
    .login-container {
        width:50%;
        height: 60%;
        top: 25%;
        margin-right: 25%;
    }

     .login-form {
        width: 80% !important;
    }

    #loginButton {
       
        width:78%;
    }


    
}

/* RESPONSIVE DESIGN */
@media (max-width: 2024px) {
    /* Para iPads y tabletas */
    .login-container {
        width: 50%;
        height: 60%;
        top: 25%;
        margin-right: 25%;
    }

    .login-form {
        width: 80% !important;
    }

    #loginButton {
        width: 100% !important;
    }

    .toggle-password {
        margin-top: -2% !important;
        margin-right: 11% !important;
    }

    .input-field {
        font-size: 20px;
        padding: 10px;
        width: 100% !important;
    }
}



/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    /* Para iPads y tabletas */
    .login-container {
        width: 100%;
        height: 60%;
        top: 25%;
        margin-right: 25%;
    }

    .login-form {
        width: 80% !important;
    }

    #loginButton {
       
        width:100% !important;
    }

    .toggle-password {
        margin-top: 3% !important;
        margin-right: 10% !important;
    }
    .input-field {
        font-size: 20px;
        padding: 10px;
        width: 100% !important;
    }
    
}

@media screen and (width: 820px) and (height: 1180px) {
    .login-form {
        width: 100% !important;
        margin-top: -20px;
    }

    .title-container {
        position: relative;
        padding: 2rem 3rem;
        isolation: isolate;
        margin-top: -40% !important;
        width: 98% !important;
        padding-left: 0%;
    }

    .toggle-password {
        margin-top: 10% !important;
        margin-right: 9% !important;
    }
}

@media (max-width: 768px) {
    /* Para tablets en orientación vertical */
    .login-container {
        width: 70%;
        height: auto;
        top: 25%;
        padding: 20px;
        right:-10%;
    }

    .login-form {
        width: 90% !important;
    }

    #loginButton {
        width: 100% !important;
    }

    .input-field {
        font-size: 20px;
        padding: 10px;
        width: 100% !important;
    }

    .toggle-password {
        margin-top: 0% !important;
        margin-right: 10% !important;
    }
    
}

@media (max-width: 480px) {
    /* Para celulares */
    .login-container {
        width: 90%;
        height: auto;
        top: 30%;
        border-radius: 10px;
        padding: 15px;
        right: -20%;
    }

    .login-form h2 {
        font-size: 20px;
    }

    .input-field {
        font-size: 14px;
        padding: 10px;
        width:100% !important;
    }

    #loginButton {
        font-size: 14px;
        padding: 10px;
        width: 100% !important;
    }

    .toggle-password {
        margin-top: -3% !important;
        margin-right: 10% !important;
    }

    .title-container {
        position: relative;
        padding: 3rem 5rem;
        isolation: isolate;
        margin-top: -15%;
        width: 60%;
    }

 
   
}
