/* Container Principal */
.login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1410px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    max-width: 900px;
}

.auth-card {
    background: #ffffff;
    padding: 3.5rem; /* Aumentei o respiro interno para parecer menos apertado */
    border-radius: 1.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); /* Sombra um pouco mais suave e profunda */
    height: 100%;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #718096;
    font-size: 0.9rem;
}

form, .alert-custom {
    width: 70%;
    margin: 0 auto;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.85rem;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: #a0aec0;
}

.input-wrapper input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.6rem;
    outline: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.input-wrapper input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.error-message {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.alert-custom.success {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    color: #2f855a;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    background: var(--blue, #e53e3e);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.6rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    filter: brightness(1.1);
    gap: 1rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
}

.auth-footer a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.3rem;
}