/* =========================================================
   GymControl — estilos principales
   ========================================================= */

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --sidebar-bg: #1e1b4b;
    --sidebar-hover: #312e81;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-body: #f5f6fa;
    --border-color: #e5e7eb;
    --radius: 12px;
    --sidebar-width: 250px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-dark);
    margin: 0;
}

/* ---------- Login ---------- */
.login-body {
    background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-wrapper { width: 100%; max-width: 400px; }
.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
}
.login-brand { text-align: center; margin-bottom: 28px; }
.login-icon {
    width: 56px; height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin: 0 auto 14px;
}
.login-brand h1 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.login-brand p { color: var(--text-muted); font-size: 14px; margin: 0; }
.login-card .form-label { font-weight: 600; font-size: 13px; }
.login-card .btn-primary {
    background: var(--primary); border: none; font-weight: 700;
    border-radius: 10px;
}
.login-card .btn-primary:hover { background: var(--primary-dark); }
.login-card .input-group-text { background: #f9fafb; }
.login-card .form-control { border-radius: 0 10px 10px 0; }
.login-card .input-group-text { border-radius: 10px 0 0 10px; }

/* ---------- App shell ---------- */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 1040;
    transition: transform 0.25s ease;
}
.sidebar-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 22px 20px;
    font-weight: 800; font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-brand i { color: #a5b4fc; font-size: 22px; }

.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    color: #c7d2fe;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 4px;
    transition: background 0.15s, color 0.15s;
}
.sidebar-nav a i { font-size: 17px; width: 20px; text-align: center; }
.sidebar-nav a:hover { background: var(--sidebar-hover); color: #fff; }
.sidebar-nav a.active { background: var(--primary); color: #fff; }

.sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.logout-link {
    display: flex; align-items: center; gap: 10px;
    color: #fca5a5; text-decoration: none; font-weight: 600; font-size: 14px;
    padding: 8px 10px; border-radius: 8px;
}
.logout-link:hover { background: rgba(248,113,113,0.1); color: #fecaca; }

.sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1030;
}

.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 14px 24px;
    display: flex; align-items: center; gap: 16px;
    position: sticky; top: 0; z-index: 1020;
}
.btn-toggle-sidebar {
    display: none;
    background: none; border: none; font-size: 22px; color: var(--text-dark);
}
.topbar-title { font-size: 19px; font-weight: 800; margin: 0; flex: 1; }
.topbar-user { display: flex; align-items: center; gap: 10px; }
.user-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px;
}
.user-info { display: flex; flex-direction: column; line-height: 1.2; }
.user-name { font-weight: 700; font-size: 13.5px; }
.user-role { font-size: 12px; color: var(--text-muted); }

.page-content { padding: 24px; flex: 1; }

/* ---------- Componentes reutilizables ---------- */
.card-panel {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 22px;
    margin-bottom: 22px;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex; align-items: center; gap: 16px;
}
.stat-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.stat-icon.blue   { background: #eef2ff; color: #4f46e5; }
.stat-icon.green  { background: #ecfdf5; color: #10b981; }
.stat-icon.red    { background: #fef2f2; color: #ef4444; }
.stat-icon.amber  { background: #fffbeb; color: #f59e0b; }
.stat-value { font-size: 24px; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.btn-primary { background: var(--primary); border-color: var(--primary); font-weight: 600; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); font-weight: 600; }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }

.table thead th {
    font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--text-muted); font-weight: 700; border-bottom-width: 1px;
}
.table td { vertical-align: middle; font-size: 14.5px; }

.badge { font-weight: 600; font-size: 11.5px; padding: 5px 10px; border-radius: 20px; }

.form-label { font-weight: 600; font-size: 13.5px; }
.form-control, .form-select { border-radius: 8px; }

.avatar-sm {
    width: 34px; height: 34px; border-radius: 50%;
    object-fit: cover; background: var(--primary-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.show { transform: translateX(0); }
    .sidebar-overlay.show { display: block; }
    .main-content { margin-left: 0; }
    .btn-toggle-sidebar { display: block; }
    .page-content { padding: 16px; }
    .topbar { padding: 12px 16px; }
    .topbar-title { font-size: 16px; }
    .user-info { display: none; }
}

@media (max-width: 575px) {
    .stat-card { padding: 16px; }
    .stat-value { font-size: 20px; }
    .card-panel { padding: 16px; }
}

/* ---------- Interfaz GymControl Pro ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --sidebar-bg: #0f172a;
    --sidebar-hover: #1e293b;
    --bg-body: #f1f5f9;
    --border-color: #e2e8f0;
    --surface-muted: #f8fafc;
    --success: #059669;
}

body { letter-spacing: -0.01em; }
.sidebar { box-shadow: 8px 0 28px rgba(15, 23, 42, .08); }
.sidebar-brand { padding: 24px 20px; letter-spacing: -0.03em; }
.sidebar-brand i { color: #60a5fa; }
.sidebar-nav { padding-top: 20px; }
.sidebar-nav a { color: #cbd5e1; border: 1px solid transparent; }
.sidebar-nav a:hover { background: rgba(255,255,255,.07); }
.sidebar-nav a.active { background: #2563eb; box-shadow: 0 6px 14px rgba(37,99,235,.28); }
.topbar { min-height: 70px; padding: 13px 28px; box-shadow: 0 1px 0 rgba(15,23,42,.03); }
.topbar-title { font-size: 20px; letter-spacing: -0.03em; }
.page-content { max-width: 1600px; width: 100%; margin: 0 auto; padding: 28px; }
.card-panel, .stat-card { border: 0; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 20px rgba(15,23,42,.035); }
.card-panel { border-radius: 16px; }
.stat-card { border-radius: 16px; padding: 21px; transition: transform .18s ease, box-shadow .18s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.stat-icon { border-radius: 14px; }
.stat-value { font-size: 26px; letter-spacing: -0.04em; }
.btn { border-radius: 9px; padding: .52rem .9rem; }
.btn-primary { box-shadow: 0 3px 8px rgba(37,99,235,.2); }
.form-control, .form-select { border-color: #cbd5e1; min-height: 42px; }
.form-control:focus, .form-select:focus { border-color: #60a5fa; box-shadow: 0 0 0 .22rem rgba(37,99,235,.12); }
.table > :not(caption) > * > * { padding: .84rem .75rem; }
.table-hover tbody tr:hover > * { background: #f8fbff; }

.dashboard-welcome {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 28px 30px; margin-bottom: 24px; overflow: hidden; position: relative;
    color: #fff; border-radius: 18px;
    background: linear-gradient(115deg, #0f172a 0%, #172554 57%, #1d4ed8 100%);
    box-shadow: 0 12px 28px rgba(30,64,175,.2);
}
.dashboard-welcome::after { content: ''; width: 240px; height: 240px; border: 35px solid rgba(255,255,255,.06); border-radius: 50%; position: absolute; right: -70px; top: -105px; }
.dashboard-welcome > * { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; gap: 7px; align-items: center; color: #bfdbfe; text-transform: uppercase; font-weight: 800; font-size: 11px; letter-spacing: .09em; }
.dashboard-welcome h2 { margin: 7px 0 3px; font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.dashboard-welcome p { margin: 0; color: #cbd5e1; }
.dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dashboard-actions .btn-light { color: #1e3a8a; font-weight: 700; }
.dashboard-actions .btn-primary { background: #fff; color: #1d4ed8; border-color: #fff; box-shadow: none; }
.dashboard-panel h6 { font-size: 15px; }
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 { letter-spacing: -.03em; }.page-content .text-muted { color: #64748b !important; }
.operational-strip { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr) 1.25fr; align-items: center; gap: 14px; padding: 15px 18px; margin: 16px 0 22px; background: #fff; border: 1px solid #e2e8f0; border-radius: 15px; box-shadow: 0 2px 10px rgba(15,23,42,.035); }.operational-title, .operational-metric { display: flex; align-items: center; gap: 10px; }.operational-title strong, .operational-title small, .operational-metric strong, .operational-metric small { display: block; }.operational-title strong { color: #334155; font-size: 13px; }.operational-title small, .operational-metric small { color: #94a3b8; font-size: 10.5px; }.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 5px #ecfdf5; }.operational-metric { padding-left: 14px; border-left: 1px solid #e2e8f0; }.operational-metric i { width: 32px; height: 32px; display: grid; place-items: center; color: #2563eb; background: #eff6ff; border-radius: 9px; }.operational-metric strong { color: #1e293b; font-size: 15px; letter-spacing: -.03em; }.operational-progress { padding-left: 14px; border-left: 1px solid #e2e8f0; }.operational-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 6px; color: #64748b; font-size: 11px; font-weight: 700; }.operational-progress strong { color: #2563eb; }.operational-progress .progress { height: 6px; background: #e2e8f0; border-radius: 99px; }.operational-progress .progress-bar { background: linear-gradient(90deg, #2563eb, #60a5fa); border-radius: inherit; }

.notification-menu { margin-right: 4px; }
.global-search-button { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 11px; color: #64748b; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 11px; font-size: 13px; font-weight: 600; transition: .15s; }.global-search-button:hover { color: #2563eb; border-color: #bfdbfe; background: #eff6ff; }.global-search-button kbd { padding: 1px 5px; color: #94a3b8; background: #fff; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 10px; }
.search-modal { border: 0; border-radius: 16px; box-shadow: 0 20px 45px rgba(15,23,42,.18); }.search-modal .modal-title { font-weight: 800; letter-spacing: -.03em; }.search-modal .modal-header p { margin: 3px 0 0; color: #64748b; font-size: 13px; }.search-modal-input .input-group-text { background: #f8fafc; color: #64748b; }.search-modal-input .form-control { min-height: 47px; }.search-page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }.search-page-head .eyebrow { color: #2563eb; }.search-page-head h2 { margin: 7px 0 0; font-weight: 800; font-size: 25px; letter-spacing: -.04em; }.search-page-form { padding: 12px; }.search-page-form .input-group-text { background: #f8fafc; }.search-page-form .form-control { min-height: 46px; }.member-result-card { height: 100%; padding: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 3px 14px rgba(15,23,42,.04); }.member-result-card.is-archived { opacity: .75; }.member-result-avatar { width: 50px; height: 50px; flex: 0 0 50px; object-fit: cover; border-radius: 15px; background: #dbeafe; }.member-result-avatar.initials { display: grid; place-items: center; color: #1d4ed8; font-size: 17px; font-weight: 800; }.member-result-card h3 { margin: 0; overflow: hidden; font-size: 16px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }.member-result-card h3 + span { color: #64748b; font-size: 12px; }.min-w-0 { min-width: 0; }.member-result-data { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 0 0 20px; }.member-result-data div { min-width: 0; }.member-result-data dt { color: #94a3b8; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }.member-result-data dd { margin: 3px 0 0; overflow: hidden; color: #334155; font-size: 12.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.search-empty { padding: 60px 20px; color: #64748b; text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; }.search-empty i { color: #60a5fa; font-size: 38px; }.search-empty h3 { margin: 10px 0 5px; color: #334155; font-size: 17px; font-weight: 800; }.search-empty p { margin: 0; font-size: 13px; }
.notification-button { position: relative; border: 0; width: 42px; height: 42px; border-radius: 12px; background: #f1f5f9; color: #334155; font-size: 19px; transition: .15s ease; }
.notification-button:hover, .notification-button:focus { background: #e0e7ff; color: var(--primary); }
.notification-count { position: absolute; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; right: -4px; top: -4px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; border: 2px solid #fff; }
.notification-dropdown { width: min(380px, calc(100vw - 28px)); border: 0; border-radius: 15px; box-shadow: 0 18px 45px rgba(15,23,42,.18); overflow: hidden; margin-top: 10px; }
.notification-head { padding: 16px 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
.notification-head strong { display: block; font-size: 14px; }.notification-head small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.notification-item { display: flex; align-items: center; gap: 11px; padding: 12px 17px; color: var(--text-dark); text-decoration: none; border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.notification-item:hover { background: #f8fafc; color: var(--text-dark); }.notification-item strong,.notification-item small { display: block; }.notification-item strong { font-size: 13px; }.notification-item small { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.notification-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; color: #d97706; background: #fffbeb; }.notification-icon.urgent { background: #fef2f2; color: #dc2626; }
.notification-empty { min-height: 115px; display: grid; place-content: center; gap: 7px; text-align: center; color: var(--text-muted); font-size: 13px; }.notification-empty i { color: var(--success); font-size: 26px; }
.notification-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 17px; color: var(--primary); text-decoration: none; font-weight: 700; font-size: 13px; background: #f8fafc; }
.logout-link { cursor: pointer; }.logout-link:hover { background: rgba(248,113,113,.12); }
.expiry-banner { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 28px; color: #92400e; background: #fffbeb; border-bottom: 1px solid #fde68a; font-size: 13px; }
.expiry-banner-content { display: flex; align-items: center; gap: 9px; }.expiry-banner-icon { color: #d97706; font-size: 17px; }.expiry-banner-link { white-space: nowrap; color: #92400e; font-weight: 800; text-decoration: none; }.expiry-banner-link:hover { color: #78350f; text-decoration: underline; }

@media (max-width: 767px) {
    .dashboard-welcome { align-items: flex-start; flex-direction: column; padding: 23px; }.dashboard-welcome h2 { font-size: 23px; }
    .page-content { padding: 18px; }.topbar { padding: 11px 18px; }.notification-menu { margin-left: auto; }
    .expiry-banner { padding: 9px 18px; align-items: flex-start; flex-direction: column; gap: 3px; }.expiry-banner-link { margin-left: 26px; }
    .global-search-button span, .global-search-button kbd { display: none; }.global-search-button { width: 42px; justify-content: center; padding: 0; }.search-page-head { align-items: flex-start; flex-direction: column; }
    .operational-strip { grid-template-columns: 1fr 1fr; }.operational-title, .operational-progress { grid-column: span 2; }.operational-metric:nth-child(2) { border-left: 0; }.operational-progress { padding: 12px 0 0; border-left: 0; border-top: 1px solid #e2e8f0; }
}

/* ---------- Acceso premium ---------- */
.login-body { position: relative; overflow-x: hidden; background: #071225; }
.login-scene { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(circle at 15% 18%, #1e40af 0, transparent 30%), radial-gradient(circle at 85% 83%, #0f766e 0, transparent 28%), linear-gradient(135deg, #071225 0%, #0f1c38 50%, #0b1630 100%); }
.login-orb { position: absolute; display: block; border-radius: 50%; filter: blur(1px); opacity: .65; }.orb-one { width: 430px; height: 430px; top: -210px; right: 18%; background: radial-gradient(circle, rgba(96,165,250,.55), rgba(37,99,235,0)); }.orb-two { width: 350px; height: 350px; bottom: -175px; left: 11%; background: radial-gradient(circle, rgba(45,212,191,.35), rgba(13,148,136,0)); }
.login-grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.login-wrapper { position: relative; z-index: 1; width: min(1040px, 100%); max-width: 1040px; min-height: 640px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; border-radius: 24px; overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.login-showcase { min-height: 620px; padding: 42px 48px; display: flex; flex-direction: column; color: #fff; background: linear-gradient(145deg, rgba(15,23,42,.94), rgba(30,64,175,.79)); }
.showcase-brand { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }.showcase-brand i { color: #60a5fa; font-size: 24px; }
.showcase-copy { margin: auto 0 28px; }.login-kicker { display: inline-block; color: #60a5fa; font-size: 10px; font-weight: 800; letter-spacing: .13em; }.showcase-copy h1 { margin: 12px 0 15px; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.05em; }.showcase-copy p { max-width: 400px; color: #cbd5e1; line-height: 1.7; font-size: 15px; }
.showcase-features { display: grid; gap: 12px; color: #e2e8f0; font-size: 13px; font-weight: 600; }.showcase-features span { display: flex; align-items: center; gap: 9px; }.showcase-features i { color: #5eead4; font-size: 16px; }.showcase-footer { padding-top: 34px; color: #94a3b8; font-size: 12px; }.status-dot { width: 8px; height: 8px; display: inline-block; margin-right: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.12); }
.login-card { margin: 0; padding: 56px 48px 32px; border-radius: 0; display: flex; flex-direction: column; justify-content: center; box-shadow: none; }.login-brand { text-align: left; margin-bottom: 30px; }.login-brand .login-icon { width: 48px; height: 48px; margin: 0 0 18px; color: #2563eb; background: #eff6ff; border-radius: 14px; font-size: 21px; }.login-brand .login-kicker { color: #2563eb; }.login-brand h2 { font-size: 27px; font-weight: 800; letter-spacing: -.045em; margin: 7px 0 5px; }.login-brand p { font-size: 13.5px; }
.login-card .form-label { margin-bottom: 7px; color: #334155; }.login-card .input-group { position: relative; }.login-card .input-group-text { width: 44px; justify-content: center; color: #64748b; background: #f8fafc; border-color: #cbd5e1; }.login-card .form-control { min-height: 46px; border-color: #cbd5e1; font-size: 14px; box-shadow: none; }.login-card .form-control:focus { border-color: #60a5fa; }.login-password-toggle { position: absolute; z-index: 4; right: 4px; top: 4px; width: 37px; height: 37px; padding: 0; color: #64748b; border: 0; }.login-password-toggle:hover { color: #2563eb; background: #eff6ff; }.login-submit { min-height: 47px; font-weight: 800; letter-spacing: -.01em; }.login-submit i { margin-left: 5px; transition: transform .2s; }.login-submit:hover i { transform: translateX(3px); }.login-security { margin: 22px 0 0; text-align: center; color: #94a3b8; font-size: 11.5px; }.login-security i { color: #10b981; margin-right: 4px; }
.user-picker-list { display: grid; gap: 8px; max-height: 242px; overflow-y: auto; padding-right: 3px; }.user-picker-option { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px; text-align: left; color: #334155; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; transition: .16s ease; }.user-picker-option:hover { border-color: #93c5fd; background: #f8fbff; transform: translateX(2px); }.user-picker-option > span:nth-child(2) { flex: 1; min-width: 0; }.user-picker-option strong, .user-picker-option small { display: block; }.user-picker-option strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.user-picker-option small { margin-top: 1px; color: #94a3b8; font-size: 11px; }.user-picker-option > i { color: #94a3b8; font-size: 14px; }.picker-avatar { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; color: #1d4ed8; background: #dbeafe; border-radius: 11px; font-size: 13px; font-weight: 800; }.login-selected-user { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 18px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; }.login-selected-user > span:nth-child(2) { flex: 1; }.login-selected-user small, .login-selected-user strong { display: block; }.login-selected-user small { color: #94a3b8; font-size: 11px; }.login-selected-user strong { color: #334155; font-size: 13px; }.login-selected-user .btn-link { padding: 3px 5px; color: #2563eb; font-size: 12px; font-weight: 700; text-decoration: none; }
@media (max-width: 820px) { .login-wrapper { width: min(470px, 100%); display: block; min-height: 0; border-radius: 20px; }.login-showcase { display: none; }.login-card { min-height: 0; padding: 46px 36px 30px; border-radius: 20px; } }
@media (max-width: 430px) { .login-body { padding: 14px; }.login-card { padding: 38px 25px 25px; }.login-brand h2 { font-size: 24px; } }

.visits-hero { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 27px; margin-bottom: 22px; color: #fff; background: linear-gradient(120deg, #0f766e, #0f766e 40%, #0891b2); border-radius: 17px; box-shadow: 0 12px 25px rgba(13,148,136,.18); }.visits-hero .eyebrow { color: #ccfbf1; }.visits-hero h2 { margin: 7px 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -.04em; }.visits-hero p { margin: 0; color: #ccfbf1; font-size: 13px; }.visits-hero-stats { display: flex; gap: 25px; }.visits-hero-stats div { min-width: 86px; }.visits-hero-stats strong, .visits-hero-stats span { display: block; }.visits-hero-stats strong { font-size: 22px; font-weight: 800; letter-spacing: -.04em; }.visits-hero-stats span { margin-top: 2px; color: #ccfbf1; font-size: 11px; }
@media (max-width: 767px) { .visits-hero { align-items: flex-start; flex-direction: column; }.visits-hero-stats { width: 100%; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); } }

.daily-briefing { display: grid; grid-template-columns: 88px minmax(230px, 1fr) auto auto; align-items: center; gap: 24px; padding: 18px 22px 18px 18px; margin-bottom: 22px; background: #fffdfa; border: 1px solid #ded8d0; border-radius: 17px; box-shadow: 0 5px 20px rgba(41,37,36,.055); }.briefing-date { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9a3412; background: #fff1e8; border-radius: 13px; }.briefing-date span, .briefing-date small { font-size: 10px; font-weight: 800; letter-spacing: .08em; }.briefing-date strong { font-size: 31px; line-height: 1; letter-spacing: -.07em; }.briefing-main .eyebrow { color: #c2410c; }.briefing-main h2 { margin: 5px 0 3px; color: #292524; font-size: 23px; font-weight: 800; }.briefing-main p { margin: 0; color: #57534e; font-size: 13px; }.briefing-main p strong { color: #c2410c; }.briefing-health { display: flex; align-items: center; gap: 9px; min-width: 150px; padding: 0 19px; border-left: 1px solid #ded8d0; }.briefing-health strong, .briefing-health small { display: block; }.briefing-health strong { color: #292524; font-size: 12px; }.briefing-health small { color: #78716c; font-size: 10.5px; }.briefing-actions { display: flex; gap: 8px; }.briefing-actions .btn { white-space: nowrap; font-size: 12px; }.briefing-actions .btn-outline-primary { color: #9a3412; border-color: #fed7aa; background: #fffaf5; }.briefing-actions .btn-outline-primary:hover { color: #fff; background: #d95d1f; border-color: #d95d1f; }
@media (max-width: 1050px) { .daily-briefing { grid-template-columns: 76px 1fr auto; gap: 16px; }.briefing-health { display: none; }.briefing-actions { grid-column: 2 / -1; } }
@media (max-width: 575px) { .daily-briefing { grid-template-columns: 68px 1fr; gap: 13px; padding: 13px; margin-bottom: 16px; }.briefing-date strong { font-size: 25px; }.briefing-main h2 { font-size: 18px; }.briefing-main p { font-size: 11.5px; line-height: 1.45; }.briefing-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }.briefing-actions .btn { display: flex; justify-content: center; padding: .55rem .35rem; font-size: 11px; }.briefing-actions .btn span { display: inline; } }
.operational-strip { background: #fffdfa; border-color: #ded8d0; }.operational-title strong { color: #292524; font-size: 14px; }.operational-title small, .operational-metric small { color: #57534e; font-size: 11.5px; font-weight: 600; }.operational-metric strong { color: #1c1917; font-size: 17px; }.operational-progress > div:first-child { color: #57534e; font-size: 11.5px; }.operational-progress > div:first-child strong { color: #9a3412; }.operational-metric, .operational-progress { border-color: #ded8d0; }
@media (max-width: 575px) { .page-content { padding: 13px; }.topbar { gap: 8px; padding: 10px 13px; }.topbar-title { font-size: 15px; }.notification-button, .global-search-button { width: 38px; height: 38px; }.operational-strip { grid-template-columns: 1fr; gap: 11px; padding: 16px; }.operational-title, .operational-progress { grid-column: span 1; }.operational-metric, .operational-metric:nth-child(2), .operational-progress { padding: 10px 0 0; border-top: 1px solid #ded8d0; border-left: 0; }.operational-title { padding-bottom: 3px; }.dashboard-welcome { margin-bottom: 16px; }.dashboard-actions { width: 100%; }.dashboard-actions .btn { flex: 1; font-size: 12px; padding: .55rem .5rem; }.stat-card { padding: 14px; gap: 11px; }.stat-icon { width: 42px; height: 42px; font-size: 18px; }.stat-value { font-size: 21px; }.stat-label { color: #57534e; font-size: 11.5px; }.card-panel { padding: 15px; border-radius: 13px; }.table > :not(caption) > * > * { padding: .68rem .5rem; font-size: 13px; } }
