.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--gema-login-url);
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.logo-overlay {
    background-image: var(--gema-login-url);
    background-size: cover;
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.login-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.tharot-logo {
    color: var(--gema-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    text-align: left;
}

.login-title {
    color: var(--gema-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    background: #f5f6f8;
    border: 1px solid #dedede;
    border-radius: 20px;
    width: 100%;
    padding: 0.5em 1em;
}

.form-input:focus {
    outline: none;
    border-color: var(--gema-secondary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.login-button {
    width: 100%;
    background: var(--gema-secondary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.login-button:hover {
    background: #856f50;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.alert {
    background: #ffebee;
    color: #c62828;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gema-secondary);
    font-size: 0.9rem;
}

.loading-spinner {
    display: none;
    flex-direction: column;
    gap: 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--gema-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.forgotPassword {
    text-decoration: none !important;
    color: var(--gema-secondary) !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        flex: 0.4;
    }

    .login-right {
        flex: 0.6;
    }

    .login-form-container {
        padding: 1rem;
    }
}

.sombra {
box-shadow: 0px 1px 8px #142e6e1a;
    -webkit-box-shadow: 0px 1px 8px #142e6e1a;
    -moz-bbox-shadow: 0px 1px 8px #142e6e1a;
    border-radius: 10px;
    opacity: 1;
    background: white;
}

/* LOGIN */

.fondo_login_tharot {
    background-size: cover;
    border-radius: 10px 0px 0px 10px;
}

@media (max-width: 992px) {
    .fondo_login_tharot {
        height: 200px;
        border-radius: 10px 10px 0px 0px;

    }

    .tharot-logo{
        font-size: 1.5rem;
    }
}

.barra {
    height: 6px;
    background: #e4eaf0;
    border-radius: 5px;
}