/* Gradiente animado com efeito de movimento no fundo */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body {
    background: linear-gradient(135deg, #1e1838, #2d2650, #41356f, #1a152d);
    background-size: 300% 300%;
    animation: gradientAnimation 12s ease infinite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow-x: hidden;
}

/* Container do Login e Recuperação */
.container-login {
    width: 100%;
    max-width: 450px;
    padding: 15px;
}

/* Estilização dos Cards */
.form-login, .form-recuperar {
    border: none;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden;
}

.card-body {
    padding: 2.5rem;
}

/* Títulos e Textos */
h2, h3 {
    font-weight: 700;
    color: #2d2650;
    font-size: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

/* Inputs modernos */
.form-control-lg {
    border-radius: 8px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 0.2rem rgba(255, 152, 0, 0.25);
}

/* Botão principal / enviar (Roxo escuro, fica laranja ao passar o mouse ou segurar/clicar) */
.btn-primary {
    background-color: #2d2650;
    border-color: #2d2650;
    color: #ffffff;
    /* border-radius: 8px;
    font-weight: 700;
    padding: 0.75rem; */
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #ff9800 !important;
    border-color: #ff9800 !important;
    color: #ffffff !important;
}

/* Botão cancelar / secundário (Roxo claro, fica laranja ao passar o mouse ou segurar/clicar) */
.btn-danger {
    background-color: #9c92c4;
    border-color: #9c92c4;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #ff9800 !important;
    border-color: #ff9800 !important;
    color: #ffffff !important;
}

/* Link "Esqueci minha senha" */
#recuperar {
    color: #2d2650;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

#recuperar:hover {
    color: #ff9800;
    text-decoration: underline;
}

/* Rodapé / Copyright */
.text-muted {
    font-size: 0.85rem;
    color: #71757a !important;
}