/* ============================================================
   LOGIN
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #2c3e50;
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

.login-container { width: 100%; max-width: 380px; padding: 16px; }

.login-card { background: #fff; border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); overflow: hidden; }

.login-header { background: #1a6da8; padding: 22px 24px 18px; text-align: center; }
.login-titulo { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0.3px; margin-bottom: 3px; }
.login-subtitulo { color: rgba(255,255,255,0.82); font-size: 12px; }

.login-erro { display: flex; align-items: center; gap: 7px; padding: 10px 18px; background: #fdedec; color: #e74c3c; font-size: 12px; font-weight: 600; border-bottom: 1px solid #f5b7b1; }

.login-form { padding: 20px 22px 16px; display: flex; flex-direction: column; gap: 14px; }

.login-campo label { display: block; font-size: 10px; font-weight: 700; color: #7f8c8d; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }

.login-input-wrapper { display: flex; align-items: center; border: 1.5px solid #e4e6e8; border-radius: 4px; padding: 0 10px; transition: border-color 0.15s; background: #f9fafb; }
.login-input-wrapper:focus-within { border-color: #1a6da8; background: #fff; }

.login-icone { flex-shrink: 0; margin-right: 8px; }

.login-input-wrapper input { flex: 1; border: none; outline: none; height: 38px; font-size: 13px; color: #2c3e50; background: transparent; font-family: 'Segoe UI', Arial, sans-serif; }
.login-input-wrapper input::placeholder { color: #bdc3c7; }

.login-toggle-senha { background: none; border: none; cursor: pointer; padding: 3px; display: flex; align-items: center; margin-left: 4px; opacity: 0.7; }
.login-toggle-senha:hover { opacity: 1; }

.login-btn { width: 100%; height: 40px; background: #1a6da8; color: #fff; border: none; border-radius: 4px; font-size: 14px; font-weight: 700; cursor: pointer; transition: opacity 0.15s; margin-top: 2px; font-family: 'Segoe UI', Arial, sans-serif; }
.login-btn:hover { opacity: 0.9; }

.login-footer { padding: 12px 22px; text-align: center; border-top: 1px solid #f0f0f0; font-size: 10px; color: #bdc3c7; }