/* ==================== RESET & BASE ==================== */
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
}

/* ==================== CONTAINER PRINCIPAL ==================== */
.login-container {
    background: white;
    padding: 2.8rem 2.2rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    margin: 1rem;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2441D6, #6610f2);
}

/* Logo */
.app-logo i {
    font-size: 3rem;
    color: #2441D6;
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

/* Título */
.login-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin: 1.2rem 0 2rem;
}

/* ==================== FORMULÁRIO ==================== */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2441D6;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
    outline: none;
}

/* Botão Login Principal */
.btn-login {
    background: #2441D6;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-login:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
    color: white;
}

/* Botão Biometria */
.btn-biometria {
    background: #f8f9fa;
    color: #212529;
    border: 2px solid #2441D6;
    border-radius: 10px;
    padding: 0.85rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-biometria:hover {
    background: #2441D6;
    color: white;
    transform: translateY(-2px);
}

/* Outros estilos */
.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
}

.footer-links a:hover {
    color: #2441D6;
}