:root {
    --primary-color: #00BCD4;    /* Cyan para botões e links */
    --secondary-color: #1A237E;  /* Azul Marinho para hover e tons escuros */
    --bg-gradient: linear-gradient(135deg, #1A237E 0%, #00BCD4 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    
    /* NOVA CONFIGURAÇÃO DE FUNDO COM O SVG */
    background-color: var(--secondary-color); /* Cor de fallback */
    background-image: url('../images/bg-login.svg'); /* Ajuste o caminho da pasta onde salvou o SVG */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px); /* Efeito moderno de vidro fosco em cima do SVG */
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    transition: transform 0.3s ease;
    z-index: 10; /* Garante que o painel fique à frente das imagens */
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.login-header p {
    color: #777;
    font-size: 0.9rem;
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25); /* Corrigido para a cor primária */
    border-color: var(--primary-color);
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: #aaa;
}

.has-icon .form-control {
    border-left: none;
}

.btn-login {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4); /* Sombra combinando com a cor secundária */
    color: white;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #666;
}

.register-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Efeito de Loading Simples */
.btn-login.loading {
    pointer-events: none;
    opacity: 0.8;
}