:root { color: #172033; background: #f5f7fb; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.boot-screen, .login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.boot-screen { color: #5f6f8d; gap: 12px; }
.spinner { width: 26px; height: 26px; border: 3px solid #d6dfef; border-top-color: #246bce; border-radius: 50%; animation: spin .8s linear infinite; margin: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.login-card { width: min(100%, 420px); padding: 40px; background: #fff; border: 1px solid #e4e9f2; border-radius: 20px; box-shadow: 0 20px 60px rgb(24 47 89 / 10%); text-align: center; }
.brand-mark { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #1459bd, #277ce0); font-weight: 800; box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%); }
.login-card > .brand-mark { width: 52px; height: 52px; margin-bottom: 18px; font-size: 22px; }
.eyebrow { color: #246bce; font-size: 11px; font-weight: 800; letter-spacing: .12em; margin: 0 0 8px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: 28px; letter-spacing: -.03em; margin-bottom: 8px; }
h2 { font-size: 18px; margin-bottom: 8px; }
.muted, .login-note { color: #66738a; line-height: 1.55; }
.login-note { font-size: 12px; margin: 22px 0 0; }
.login-form { display: grid; gap: 16px; margin-top: 28px; text-align: left; }
.login-form label { display: grid; gap: 7px; color: #344057; font-weight: 650; font-size: 13px; }
.login-form input { min-height: 46px; width: 100%; border: 1px solid #d7deea; border-radius: 10px; padding: 0 12px; outline: none; color: #182033; }
.login-form input:focus { border-color: #2874d0; box-shadow: 0 0 0 3px rgb(40 116 208 / 13%); }
.primary-button, .secondary-button { min-height: 46px; border: 0; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 16px; font-weight: 750; cursor: pointer; }
.primary-button { color: #fff; background: #1765c4; }
.primary-button:hover { background: #1057ae; }
.primary-button:disabled { cursor: wait; opacity: .7; }
.secondary-button { color: #1d5eae; background: #edf5ff; margin-top: 12px; }
.link-button { margin-top: 16px; border: 0; padding: 0; color: #1d5eae; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.link-button:hover { text-decoration: underline; }
.alert { margin: 20px 0 -8px; border-radius: 10px; padding: 11px 12px; font-size: 13px; line-height: 1.4; text-align: left; }
.alert.error { background: #fff0f1; color: #aa2633; border: 1px solid #ffd2d7; }
.alert.success { background: #e9f8ed; color: #18753d; border: 1px solid #b9e7c3; }
.status-card { text-align: center; }
.status-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; background: #fff0f1; color: #c13946; font-weight: 800; font-size: 22px; margin-bottom: 18px; }
.app-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; min-height: 100vh; padding: 22px 14px; color: #dce9ff; background: #102542; }
.product { display: flex; align-items: center; gap: 11px; padding: 8px 10px 28px; }
.product .brand-mark { flex: 0 0 auto; }
.product strong, .product small { display: block; }
.product strong { color: #fff; font-size: 14px; }
.product small { color: #aac2e6; font-size: 11px; margin-top: 2px; }
.sidebar nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 9px; color: #c2d3ee; font-size: 14px; font-weight: 650; }
.nav-item:hover { color: #fff; background: rgb(255 255 255 / 8%); }
.nav-item.active { color: #fff; background: #1d62b3; box-shadow: inset 3px 0 0 #7fc0ff; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 0; }
.env-badge, .status-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 750; }
.env-badge { color: #b4d2fb; background: rgb(255 255 255 / 8%); }
.workspace { min-width: 0; }
.topbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 32px; border-bottom: 1px solid #e2e7f0; background: #fff; }
.crumb { margin: 0; color: #66738a; font-size: 13px; font-weight: 650; }
.admin-menu { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; color: #1459bd; background: #e5f0ff; border-radius: 50%; font-weight: 800; }
.admin-name strong, .admin-name small { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-name strong { font-size: 13px; }
.admin-name small { color: #6f7b90; font-size: 11px; text-transform: capitalize; }
.text-button { border: 0; color: #a52636; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.content { width: min(1280px, 100%); margin: 0 auto; padding: 36px 32px; }
.dashboard-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.dashboard-intro h1 { margin-bottom: 7px; }
.dashboard-intro > div > p:last-child { color: #66738a; margin: 0; }
.status-chip { color: #18753d; background: #e7f8eb; border: 1px solid #b9e7c3; }
.status-chip.success { margin-top: 5px; }
.metrics-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric-card, .content-card { background: #fff; border: 1px solid #e2e7f0; border-radius: 14px; box-shadow: 0 2px 8px rgb(24 47 89 / 3%); }
.metric-card { display: grid; gap: 10px; padding: 18px; }
.metric-card span { color: #68758a; font-size: 12px; font-weight: 700; }
.metric-card strong { color: #26364f; font-size: 17px; }
.metric-card small { color: #8792a5; font-size: 11px; line-height: 1.4; }
.content-card { padding: 24px; }
.content-card p { margin-bottom: 0; }
.empty-state { text-align: center; padding: 56px 24px; }
.empty-icon { color: #4f7cbb; font-size: 30px; margin-bottom: 12px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.page-heading h1 { margin-bottom: 7px; }
.page-heading > div > p:last-child, .section-title p { color: #66738a; margin: 0; }
.record-count { color: #52637e; background: #e9eef7; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 750; }
.directory-card { padding: 0; overflow: hidden; }
.directory-tools { display: flex; gap: 10px; padding: 16px; border-bottom: 1px solid #e7ebf2; background: #fbfcfe; }
.directory-tools input, .directory-tools select { min-height: 38px; border: 1px solid #d7deea; border-radius: 8px; padding: 0 10px; color: #26364f; background: #fff; }
.directory-tools input { flex: 1 1 260px; }.directory-tools select { flex: 0 0 auto; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
th { color: #68758a; background: #fafbfe; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
th, td { padding: 14px 16px; border-bottom: 1px solid #edf0f5; vertical-align: middle; font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; } tbody tr:hover { background: #fbfdff; }
td strong, td small { display: block; } td strong { color: #26364f; font-size: 13px; } td small { color: #7b879a; font-size: 11px; margin-top: 3px; }
.table-link:hover strong { color: #1765c4; text-decoration: underline; }.no-data { color: #78859b; text-align: center; padding: 34px; }
.status-dot { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; color: #59677c; background: #eef1f5; font-size: 11px; font-weight: 750; text-transform: capitalize; }
.status-dot.active { color: #18753d; background: #e7f8eb; }.status-dot.inactive, .status-dot.temporarily_closed { color: #a43a32; background: #ffefee; }.status-dot.opening_soon { color: #946012; background: #fff6de; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.detail-list { display: grid; gap: 12px; margin: 0; }.detail-list div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }.detail-list dt { color: #778398; font-size: 12px; }.detail-list dd { margin: 0; color: #27364d; font-size: 13px; word-break: break-word; }.section-title { margin-bottom: 15px; }.section-title h2 { margin-bottom: 4px; }
.form-card { margin-bottom: 18px; }.form-card h2 { margin-bottom: 14px; }.inline-form, .ticket-form { display: grid; gap: 10px; }.inline-form { grid-template-columns: minmax(140px, 1fr) minmax(180px, 1fr) 160px auto; }.ticket-form { grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(220px, 1.5fr) 140px auto; }.ticket-form textarea { grid-column: span 4; resize: vertical; }
.inline-form input, .inline-form select, .ticket-form input, .ticket-form select, .ticket-form textarea, .actions select { min-height: 38px; width: 100%; border: 1px solid #d7deea; border-radius: 8px; padding: 8px 10px; color: #26364f; background: #fff; }.form-note { font-size: 12px; margin: 12px 0 0 !important; }.actions { display: grid; min-width: 150px; gap: 6px; }.table-button { min-height: 30px; border: 1px solid #cbd7e8; border-radius: 7px; color: #2165bb; background: #fff; cursor: pointer; font-size: 11px; font-weight: 750; }.table-button.danger { color: #a52d3c; border-color: #f0c3ca; }.role-chip, .priority { display: inline-flex; border-radius: 999px; padding: 4px 7px; color: #355171; background: #edf2f8; font-size: 10px; font-weight: 750; text-transform: capitalize; margin: 1px; }.priority.high, .priority.critical { color: #a22d3d; background: #fff0f1; }.priority.medium { color: #966311; background: #fff6df; }.priority.low { color: #197343; background: #e9f8ed; }
.password-form { grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto; margin-top: 16px; }
@media (max-width: 1000px) { .metrics-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); } }
@media (max-width: 760px) { .app-shell { grid-template-columns: 1fr; }.sidebar { min-height: auto; padding: 12px; }.product { padding: 5px 7px 12px; }.sidebar nav { display: flex; overflow-x: auto; }.nav-item { white-space: nowrap; }.sidebar-footer { display: none; }.topbar { min-height: 66px; padding: 0 16px; }.content { padding: 24px 16px; }.admin-name { display: none; }.metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.login-card { padding: 30px 24px; }.directory-tools { flex-wrap: wrap; }.directory-tools input { flex-basis: 100%; }.detail-grid { grid-template-columns: 1fr; }.page-heading { align-items: flex-start; flex-direction: column; }.inline-form, .ticket-form, .password-form { grid-template-columns: 1fr; }.ticket-form textarea { grid-column: auto; } }
@media (max-width: 440px) { .metrics-grid { grid-template-columns: 1fr; }.text-button { font-size: 12px; } }
