.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    margin-top: 8rem;
    background: transparent;
}

.login-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 3rem 4rem;
    width: 100%;
    max-width: 480px;
    border: 1px solid #e0e0e0;
}

.login-title {
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-align: center;
    color: #333;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.login-subtext {
    text-align: center;
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

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

.form-group label {
    display: block;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #555;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #f5f5f5;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    background: #ececec;
    outline: none;
}

.feedback {
    min-height: 2.4rem;
    font-size: 1.4rem;
    color: #d32f2f;
    text-align: center;
    margin: 0.5rem 0 1rem 0;
}

.btn-login {
    width: 100%;
    padding: 0.8rem;
    background: #f08080;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: background 0.25s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    letter-spacing: 0.05em;
}

.btn-login:hover {
    background: #e06666;
}

.btn-login:active {
    transform: scale(0.97);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner {
    font-size: 1.8rem;
}

.login-help {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #888;
}

/* Popup de sessão expirada - estilo similar ao popup do formulario.php */
.popup-session {
    background-color: #ffcccc;
    color: #8b0000;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
    border-left: 4px solid #d32f2f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popup-session i {
    font-size: 1.8rem;
}

/* Popup flutuante (usado para erros de login também) */
.popup {
    position: fixed;
    bottom: -10em;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffcccc;
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s ease;
    max-width: 90%;
    text-align: center;
}

.popup.show {
    bottom: 5em;
    opacity: 1;
}

.popup.hidden {
    opacity: 0;
    bottom: -10em;
}

/* Responsivo */
@media (max-width: 768px) {
    .login-card {
        padding: 2rem;
    }
    .login-title {
        font-size: 2rem;
    }
    .form-group input {
        font-size: 1.3rem;
    }
    .btn-login {
        font-size: 1.5rem;
    }
}