/* ========================= */
/* LOGIN */
/* ========================= */

body.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(-45deg, #0f2027, #203a43, #2c7744, #0f2027);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
}

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 45px;
    border-radius: 25px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
}

.login-card input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
}

.login-card input:focus {
    outline: none;
    box-shadow: 0 0 0 2px white;
}

.login-card .btn {
    width: 100%;
}

.error-msg {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #ffdddd;
}

.login-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-footer a {
    color: white;
    text-decoration: underline;
}

.back-home {
    position: absolute;
    top: 25px;
    left: 25px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

/* ========================= */
/* BOTÃO LOGIN PREMIUM */
/* ========================= */

.login-card .btn-primary {
    background: linear-gradient(135deg, #2c7744, #16a34a);
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.login-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.login-card .btn-primary:active {
    transform: scale(0.98);
}