/* ================================
   ESTILOS BASE
   ================================ */
body {
    font-family: 'Inter', sans-serif;
}

/* ================================
   VARIÁVEIS DE CORES
   ================================ */
:root {
    --banco-blue: #00305b;
    --banco-light-blue: #004080;
}

.bg-banco-blue {
    background-color: var(--banco-blue);
}

.bg-banco-light-blue {
    background-color: var(--banco-light-blue);
}

.text-banco-blue {
    color: var(--banco-blue);
}

.border-banco-blue {
    border-color: var(--banco-blue);
}

.focus\:border-banco-blue:focus {
    border-color: var(--banco-blue);
}

.hover\:bg-banco-light-blue:hover {
    background-color: var(--banco-light-blue);
}

/* ================================
   ANIMAÇÕES
   ================================ */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================
   ESTILOS DO CAMPO DE SENHA
   ================================ */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--banco-blue);
}

/* ================================
   ESTILOS DOS INPUTS
   ================================ */
.login-input {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    font-size: 14px;
    transition: all 0.2s;
}

.login-input:focus {
    outline: none;
    border-color: var(--banco-blue);
    box-shadow: 0 0 0 3px rgba(0, 48, 91, 0.1);
    background-color: white;
}

/* ================================
   ESTILOS DOS BOTÕES
   ================================ */
.btn-primary {
    background-color: var(--banco-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: var(--banco-light-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 48, 91, 0.2);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

/* ================================
   OVERLAY DE CARREGAMENTO
   ================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
