﻿/*.main-login {
    display: flex;
    height: 100vh;
    background-color: #F4F6F9;
}

.login-container {
    display: flex;
    flex-direction: column;
    margin: auto;
    background-color: white;
    padding: 40px 20px;
    width: 400px;
    border-radius: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    gap: 30px;
}

.icon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
}

.login-header {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-title {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}

.login-title-2 {
    text-align: center;
}


.login-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 5px;
}

.section-label {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 5px;
}

.login-label-form {
    font-size: 13px;
}

.section-label .helper-input {
    font-size: 11px;
    color: red;
}

.login-input {
    height: 30px;
    border: solid 1px #2A4D69;
    border-radius: 5px;
    padding: 0px 10px;
    transition: outline-color .2s ease-in-out;
}

    .login-input:focus {
        outline-color: #FF6C37;
    }

.login-btn {
    border: transparent;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #2A4D69;
    color: white;
    font-size: 15px;
    transition: background-color .3s ease-in-out;
}

    .login-btn:hover {
        background-color: #FF6C37;
    }

.message-sesion {
    position: fixed;
    left: 0px;
    bottom: 0px;
    background-color: #FF6C37;
    opacity: 0;
    width: 100%;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    transition: opacity .4s ease;

    @starting-style {
        opacity: 0;
    }
}

    .message-sesion.show {
        opacity: 1;
    }

.validate-sesion {
    position: fixed;
    top: 0px;
    opacity: 0;
    left: 0px;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.185);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity .3s ease;

    @starting-style {
        opacity: 0;
    }
}

    .validate-sesion.is-active {
        opacity: 1;
        display: flex;
    }

.container-validate {
    background-color: white;
    height: auto;
    padding: 10px;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-wrap: no-wrap;
    font-size: 12px;
    border-radius: 10px;
    box-shadow: rgba(183, 217, 253, 0.2) 0px 8px 24px;
    gap: 5px;
}


@media (max-width: 700px) {
    .main-login {
        background-color: white;
    }

    .login-container {
        width: 100%;
        box-shadow: none;
    }
}
*/

:root {
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --primary-blue: #34495e; /* Azul marino del dashboard */
    --accent-orange: #ff8a50; /* Basado en el avatar del usuario */
    --success-green: #27ae60;
    --text-gray: #555;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


.main-login {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: var(--primary-blue);
}

.login-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

    .login-card h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .login-card p {
        color: var(--text-gray);
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

.section-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.login-label-form {
    font-size: 13px;
}

.section-label .helper-input {
    font-size: 11px;
    color: red;
    margin-bottom: 5px;
}

.btn-login {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

    .btn-login:hover {
        background-color: #2c3e50;
    }

.footer-links {
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

    .footer-links a {
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 600;
    }

/* Simulación del logo del sistema */
.logo-placeholder {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-sesion {
    position: fixed;
    left: 0px;
    bottom: 0px;
    background-color: #FF6C37;
    opacity: 0;
    width: 100%;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    transition: opacity .4s ease;
    z-index: 100;

    @starting-style {
        opacity: 0;
    }
}



    .message-sesion.show {
        opacity: 1;
    }


.validate-sesion {
    position: fixed;
    top: 0px;
    opacity: 0;
    left: 0px;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.185);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity .3s ease;

    @starting-style {
        opacity: 0;
    }
}

    .validate-sesion.is-active {
        opacity: 1;
        display: flex;
    }
.container-validate {
    background-color: white;
    height: auto;
    padding: 10px;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-wrap: no-wrap;
    font-size: 12px;
    border-radius: 10px;
    box-shadow: rgba(183, 217, 253, 0.2) 0px 8px 24px;
    gap: 5px;
}

@media (max-width: 700px) {
    .main-login {
        background-color: white;
    }

    .login-card {
        width: 100%;
        box-shadow: none;
    }
}



.container-login {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 450px;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

    .header svg {
        background: #fdf2e9; /* Fondo suave para el icono */
        padding: 15px;
        border-radius: 50%;
        margin-bottom: 1rem;
    }

h1 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
}

p.subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.2rem;
}

/* Requisitos de contraseña */
.requirements {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .requirements h2 {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 0;
        color: #888;
    }

.requirement-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 0.4rem;
}

    .requirement-item.valid {
        color: var(--success-green);
    }

.dot {
    height: 6px;
    width: 6px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.valid .dot {
    background-color: var(--success-green);
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
}

    .btn-submit:hover {
        background-color: #2c3e50;
        transform: translateY(-1px);
    }

    .btn-submit:active {
        transform: translateY(0);
    }

.requirement-item.valid {
    color: #27ae60;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .requirement-item.valid .dot {
        background-color: #27ae60;
    }

.error-span {
    padding-top: 5px;
    display: flex;
    justify-content: center;
}

.error-text {
    font-size: .8rem;
    color: red;
}