/* assets/login.css */

#auth {
    min-width: 100%;
    min-height: 100vh;
    background-image: url('../media/background_medical.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0px;
    position: relative;
}

/* Dark Overlay for better text contrast */
#auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    /* Slate 900 with opacity */
    backdrop-filter: blur(4px);
    /* Subtle blur effect */
    z-index: 0;
}

#auth-container {
    background: rgba(255, 255, 255, 0.95);
    /* High opacity white */
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    width: calc(90% - 64px);
    max-width: 440px;
    z-index: 1;
    /* Above overlay */
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#logo {
    width: 380px;
    /* Increased size */
    height: auto;
    object-fit: contain;
}

/* Typography Enhancements */
#titulo {
    font-size: 1.8rem;
    color: #1e293b;
    font-weight: 700;
}

#descricao {
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Form Styles */
label {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    position: relative;
}

label img {
    position: absolute;
    right: 12px;
    bottom: 18px;
    width: 20px;
    opacity: 0.5;
}

input {
    padding: 12px 16px;
    padding-right: 40px;
    /* Space for icon */
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.2s;
    outline: none;
    color: #1e293b;
    margin-top: 6px;
}

input:focus {
    border-color: #ef4444;
    /* Brand Red */
    background: #fff;
    outline: none;
}

/* Button Override */
.btn {
    background: #ef4444 !important;
    /* Brand Red */
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: transform 0.1s;
}

.btn:hover {
    background: #dc2626 !important;
    /* Darker Red */
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* Links */
a {
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

a:hover {
    color: #dc2626;
}

#form-login,
#form-registro,
#form-recuperacao,
#recuperacao-container {
    display: none;
    width: 100%;

    &.ativo {
        display: flex;
    }
}

#mensagem:empty,
#form-mensagem:empty {
    display: none;
}

.ver-senha {
    cursor: pointer;
}