/* ── Base ── */
html { font-size: 17px; }   /* notch up: was browser default 16px */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #F8FAFC;
    color: #111827;
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
}
.page-wrapper { min-height: 100vh; }

/* Bump tables, since dbc.Table size="sm" reduces them */
.table { font-size: 0.95rem; }
.table.table-sm { font-size: 0.92rem; }
.table.table-sm td, .table.table-sm th { padding: 0.45rem 0.6rem; }

/* ── Top bar ── */
.topbar {
    background: #0F4C81;
    color: #fff;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.topbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.4px;
}
.topbar-user {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-right: 14px;
}
.topbar-logout {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 0.9rem;
    padding: 5px 14px;
    border-radius: 4px;
    cursor: pointer;
}
.topbar-logout:hover { background: rgba(255,255,255,0.28); }

/* ── Page content area ── */
.page-content { padding: 22px 32px 40px 32px; max-width: 1500px; margin: 0 auto; }

/* ── Login ── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #DCEAF8 0%, #F8FAFC 100%);
}
.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 42px;
    width: 440px;
    box-shadow: 0 8px 32px rgba(15,76,129,0.18);
    border: 1px solid #E5E7EB;
}
.login-logo  { font-size: 2.6rem; text-align: center; margin-bottom: 4px; }
.login-title {
    text-align: center;
    color: #0F4C81;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 1.35rem;
}
.login-subtitle {
    text-align: center;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 22px;
}
.login-card .form-label { font-weight: 600; font-size: 0.85rem; }

/* ── Headings ── */
h3 { color: #0F4C81; font-weight: 700; }

/* ── Heatmap legend chips ── */
.legend-chip {
    padding: 4px 10px;
    border-radius: 3px;
    color: #111827;
    font-weight: 500;
}

/* ── Cards ── */
.card { border: 1px solid #E5E7EB; }

/* ── Table header ── */
.table thead th {
    background: #F1F5F9;
    color: #0F4C81;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ── Hide browser's native password reveal button ── */
/* Edge/IE */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}
/* Chrome/Safari (caps key indicator + reveal) */
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-textfield-decoration-container {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
}

/* ── Password toggle button ── */
#login-pass-toggle {
    color: #6B7280;            /* slate-500 — muted but visible */
    border-color: #D1D5DB;
    background: #fff;
}
#login-pass-toggle:hover,
#login-pass-toggle:focus {
    color: #0F4C81;            /* brand primary on hover/focus */
    background: #F1F5F9;
    border-color: #D1D5DB;
}
#login-pass-toggle i { font-size: 1.05rem; }
