html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
    font-family: 'Mulish', sans-serif;

    background: #fdfaf6; 
}

/* REMOVIDO NA ALTERAÇÃO ÍCONES A ESQUERDA
body {
    display: block;
}
*/

.form-container {
    min-height: 100vh;
    width: 100%;
    padding: 40px 15px;
    color: #4b3f37; 
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-label {
    color: #5a463b; 
    display: block;        
    margin-bottom: 0.25rem;             
}

.form-control {
    background-color: #fff;
    border: 1px solid #dcd9d3;
    color: #4b3f37;
}
.form-control:focus {
    border-color: #c4a57a; 
    box-shadow: 0 0 0 0.25rem rgba(196, 165, 122, 0.25);
}

.btn-primary {
    background-color: #c4a57a;
    border-color: #c4a57a;
    font-weight: bold;
}
.btn-primary:hover {
    background-color: #b89b72; 
    border-color: #b89b72;
}

.form-container a {
    color: #c4a57a;
    font-weight: bold;
    text-decoration: none;
}
.form-container a:hover {
    text-decoration: underline;
}

/* REMOVIDO NA ALTERAÇÃO ÍCONES A ESQUERDA
.icone-senha {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2em;
    color: #666;
}
*/

.form-container form,
.form-container .text-center,
.form-container > h2,
.form-container > p,
.form-container > .alert {
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.brand-header {
    text-align: center;
    margin-bottom: 35px; 
    color: #5a463b;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem; 
    font-weight: 700;
    letter-spacing: 1px;
}

.form-container .mb-3 {
    margin-bottom: 1.25rem !important; 
}

@media (min-width: 768px) {
    body {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #e0e8ff 0%, #f3d9a9 100%);
    }

    .form-container {
        min-height: auto; 
        width: 90%; 
        max-width: 400px; 
        padding: 40px 30px;
        background-color: #fdfaf6;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: block; 
    }
}

/* Adicione estes estilos ao seu arquivo login.css ou crie um novo arquivo */

/* Estilo para o formulário durante o carregamento */
.form-container.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Animação para a mensagem de loading */
.loading-message {
    animation: pulse 2s infinite;
    border-left: 4px solid #0d6efd;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Estilo para o botão durante o carregamento */
button[type="submit"]:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed;
}

/* Overlay de carregamento (opcional - mais elaborado) */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}