body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Container Principal do Background */
.bg-login {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0b2239; /* Cor de fallback */
}

/* Camada da Imagem com Desfoque */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://smarteditora.com.br/wp-content/uploads/2020/05/professor_home2.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Nível do desfoque da imagem de fundo */
    transform: scale(1.1); /* Aumenta um pouco para não aparecer bordas brancas no blur */
    z-index: 1;
}

/* Camada Escura (Overlay) para contraste */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 34, 57, 0.55); /* Azul escuro com 65% de opacidade */
    z-index: 2;
}

/* Card de Login */
.login-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    width: 100%;
    max-width: 420px;
    padding: 1.25rem 1.75rem;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.brand-logo {
    max-width: 180px;
    max-height: 86px;
    height: auto;
    margin-bottom: 0.4rem;
}

.login-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.login-logo h2 {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.login-logo p {
    color: #718096;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Inputs e Botões */
.form-label {
    font-weight: 500;
    color: #4a5568;
    font-size: 0.85rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.3);
    border-color: #fd5622;
}

.btn-login {
    background-color: #fd5622;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.7rem;
    font-weight: 600;
    width: 100%;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #fd5622;
    transform: translateY(-2px);
}

.forgot-password {
    font-size: 0.85rem;
    color: #1a3f66;
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    color: #fd5622;
}