/* Sleek Fitness - sectioned home menus and simple cards (phone first) */
.sf-wrap { max-width: 960px; margin: 0 auto; padding: 12px 16px 80px; font-family: 'Quicksand', sans-serif; }
.sf-title { text-align: center; font-size: 1.5em; font-weight: 500; color: #222; margin: 8px 0 4px; }
.sf-sub { text-align: center; color: #666; font-size: .95em; margin-bottom: 12px; }
.sf-section { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.12); padding: 12px 12px 4px; margin: 14px 0; }
.sf-section h3 { font-size: 1em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b5f3a; margin: 0 0 10px; }
.sf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
@media (min-width: 600px) { .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sf-tile { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px; border: 1px solid #e3e0d3; border-radius: 8px;
  background: #faf9f5; color: #263238 !important; font-weight: 700; font-size: .98em; line-height: 1.2; text-decoration: none !important; cursor: pointer; position: relative; }
.sf-tile:hover, .sf-tile:focus { background: #f1eee2; border-color: #cfc8ad; }
.sf-tile img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }
.sf-badge { position: absolute; top: 6px; right: 6px; background: #e53935; color: #fff; border-radius: 10px; font-size: .75em; padding: 1px 7px; }
.sf-stat { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 6px 0 2px; }
.sf-stat div { background: #fff; border-radius: 8px; padding: 8px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.1); text-align: center; min-width: 90px; }
.sf-stat b { display: block; font-size: 1.3em; }
.sf-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.12); padding: 14px 16px; margin: 12px 0; font-size: 15px; line-height: 1.5; color: #222; }
.sf-card h4 { margin: 0 0 6px; font-size: 1.1em; font-weight: 700; }
.sf-muted { color: #666; font-size: .92em; }
.sf-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sf-btn { display: inline-block; border: 0; border-radius: 6px; padding: 9px 16px; font-weight: 700; color: #fff !important; background: #1e88e5; cursor: pointer; text-decoration: none !important; font-size: 15px; }
.sf-btn.green { background: #2e7d32; } .sf-btn.red { background: #c62828; } .sf-btn.grey { background: #607d8b; }
.sf-btn[disabled] { opacity: .6; }
.sf-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.sf-tabs a { padding: 6px 12px; border-radius: 16px; background: #fff; border: 1px solid #ccc; color: #333 !important; cursor: pointer; text-decoration: none !important; }
.sf-tabs a.on { background: #263238; color: #fff !important; border-color: #263238; }
.sf-form label { display: block; font-weight: 700; font-size: 14px; margin: 12px 0 4px; color: #333; }
.sf-form input[type=text], .sf-form input[type=email], .sf-form input[type=tel], .sf-form input[type=number], .sf-form input[type=date],
.sf-form input[type=password], .sf-form select, .sf-form textarea {
  width: 100%; height: auto; min-height: 42px; padding: 8px 10px; border: 1px solid #c9c9c9 !important; border-radius: 6px; font-size: 16px; background: #fff; box-sizing: border-box; }
.sf-form textarea { min-height: 80px; }
.sf-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-form .req { color: #c62828; }
.sf-form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.sf-form .check input { width: auto; height: auto; margin-top: 4px; }
.sf-hide { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-ok { background: #e8f5e9; border-left: 4px solid #2e7d32; }
.sf-warn { background: #fff8e1; border-left: 4px solid #f9a825; }
.sf-tag { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: .8em; font-weight: 700; background: #eceff1; }
.sf-tag.pending { background: #fff3e0; color: #e65100; } .sf-tag.approved { background: #e8f5e9; color: #1b5e20; } .sf-tag.rejected { background: #ffebee; color: #b71c1c; }
/* the old theme styles "input ~ span" as an underline; undo that inside checkbox labels */
.sf-form .check > span, .sf-form .check > span span { display: inline; position: static; width: auto; height: auto; background: none; }
.sf-form .check { width: 100%; max-width: 100%; position: static; float: none; }
.sf-form .check > span { flex: 1 1 auto; display: block; }

[ng-cloak], .ng-cloak { display: none !important; }

/* ---------- Registration form ---------- */
.sf-regform-head { text-align: center; border: 2px solid #0b1426; border-radius: 10px; padding: 12px; background: #fff; }
.sf-regform-head .t { display: inline-block; border: 2px solid #0b1426; border-radius: 8px; padding: 2px 14px; font-weight: 800; color: #0b1426; letter-spacing: .04em; }
.sf-regform-head img { max-width: 220px; width: 70%; margin: 8px auto 2px; display: block; }
.sf-regform-head .g { font-weight: 800; color: #0b1426; }
.sf-regform-head .a { font-size: .9em; color: #333; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chips label { display: flex !important; align-items: center; gap: 6px; margin: 0 !important; padding: 8px 12px; border: 1px solid #c9c9c9; border-radius: 20px; background: #fff; font-weight: 600 !important; cursor: pointer; width: auto !important; position: static !important; }
.sf-chips label.on { background: #0b1426; border-color: #0b1426; color: #fff; }
.sf-chips input { width: auto !important; height: auto !important; min-height: 0 !important; margin: 0; }
.sf-photo-pick { display: flex; gap: 12px; align-items: center; }
.sf-photo-box { width: 104px; height: 128px; border: 2px dashed #9fa8da; border-radius: 6px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; color: #5c6bc0; overflow: hidden; background: #f5f6ff; flex: 0 0 104px; }
.sf-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.sf-preview { display: none; margin-top: 6px; }
.sf-preview img { max-width: 100%; max-height: 180px; border-radius: 6px; border: 1px solid #ddd; }
.sf-pdf-chip { display: inline-block; padding: 6px 10px; border-radius: 6px; background: #e8eaf6; color: #0b1426; font-weight: 700; }
.sf-busy { display: none; color: #777; font-size: 13px; margin-left: 6px; }
.sf-terms { max-height: 320px; overflow-y: auto; border: 1px solid #ccc; border-radius: 6px; padding: 10px 12px; background: #fafafa; font-size: 13.5px; line-height: 1.5; }
.sf-terms h5 { font-size: 13.5px; font-weight: 800; margin: 10px 0 2px; color: #0b1426; }
.sf-terms p { margin: 0 0 6px; }
.sf-terms-intro, .sf-terms-note { background: #fff8e1; padding: 6px 8px; border-radius: 4px; }
.sf-sig-wrap { border: 1px solid #9e9e9e; border-radius: 6px; background: #fff; position: relative; }
#sigPad { display: block; width: 100%; height: 160px; touch-action: none; }
.sf-sig-hint { position: absolute; left: 10px; bottom: 6px; color: #bbb; font-size: 12px; pointer-events: none; }
.sf-error { color: #c62828; font-weight: 700; margin-top: 4px; }
.sf-field-err { border-color: #c62828 !important; box-shadow: 0 0 0 2px rgba(198,40,40,.15); }
.sf-form input[type=file] { width: 100%; max-width: 100%; box-sizing: border-box; font-size: 14px; padding: 6px 0; border: 0 !important; min-height: 0; height: auto; }
.sf-thumb { width: 64px; height: 78px; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; float: right; margin-left: 10px; background: #f5f5f5; }

/* ---------- Features: members, attendance, invoices, training ---------- */
.sf-search { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px; margin: 6px 0; box-sizing: border-box; background: #fff; }
.sf-mrow { display: flex; gap: 12px; align-items: center; text-decoration: none !important; color: #222 !important; padding: 10px 12px; margin: 8px 0; }
.sf-mrow:hover { background: #fafafa; }
.sf-mrow-main { flex: 1; min-width: 0; }
.sf-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #eee; flex: 0 0 46px; border: 1px solid #ddd; }
.sf-avatar.big { width: 72px; height: 72px; flex-basis: 72px; }
.sf-avatar.small { width: 26px; height: 26px; flex-basis: 26px; vertical-align: middle; margin-right: 6px; }
.sf-profile-head { display: flex; gap: 14px; align-items: center; }
.sf-list-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 2px; border-bottom: 1px solid #eee; font-size: 14.5px; }
.sf-list-row:last-child { border-bottom: 0; }
.sf-list-row > span:nth-child(2) { margin-left: auto; text-align: right; }
.sf-x { color: #c62828 !important; font-size: 20px; font-weight: 700; cursor: pointer; padding: 0 6px; text-decoration: none !important; }
.sf-progress { height: 10px; background: #eceff1; border-radius: 6px; overflow: hidden; margin: 8px 0 4px; }
.sf-progress > div { height: 100%; background: #2e7d32; }
.sf-inline-input { flex: 1; min-width: 140px; min-height: 38px; padding: 6px 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; }
.sf-form .three { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
@media (min-width: 600px) { .sf-form .three { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sf-table-wrap { overflow-x: auto; }
.sf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sf-table th, .sf-table td { border-bottom: 1px solid #e5e5e5; padding: 6px 8px; text-align: left; white-space: nowrap; }
.sf-table th { background: #f5f5f5; font-weight: 700; }
.sf-member-card { max-width: 340px; margin: 12px auto; text-align: center; border: 2px solid #0b1426; }
.sf-member-card canvas { display: block; margin: 10px auto; max-width: 100%; height: auto; }
.sf-bad { background: #ffebee; border-left: 4px solid #c62828; }
.sf-scan-result h4 { margin: 0 0 4px; }
.sf-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 4px; }
@media (min-width: 600px) { .sf-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sf-kpi { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.12); padding: 10px 12px; text-decoration: none !important; color: #263238 !important; display: block; }
.sf-kpi b { display: block; font-size: 1.45em; line-height: 1.2; }
.sf-kpi span { font-size: .85em; color: #607d8b; }
.sf-kpi.warn b { color: #e65100; } .sf-kpi.bad b { color: #c62828; } .sf-kpi.good b { color: #2e7d32; }
.sf-invoice { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.12); padding: 18px; max-width: 760px; margin: 8px auto; font-size: 14.5px; }
.sf-inv-head { display: flex; justify-content: space-between; gap: 10px; border-bottom: 2px solid #0b1426; padding-bottom: 10px; }
.sf-inv-title { font-weight: 800; color: #0b1426; font-size: 18px; }
.sf-inv-to { margin: 12px 0; }
.sf-inv-table td { white-space: normal; }
@media print {
  #header, .uk-offcanvas, .noprint, .sf-tabs, .sf-row { display: none !important; }
  body { background: #fff !important; }
  .sf-wrap { padding: 0; max-width: none; }
  .sf-invoice, .sf-card { box-shadow: none; }
  .sf-invoice { max-width: none; margin: 0; }
}

/* Notifications */
.sf-notif { display: block; text-decoration: none !important; color: #222 !important; cursor: pointer; }
.sf-notif.unread { border-left: 4px solid #1e88e5; background: #f3f8fe; }
.sf-notif.unread b::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1e88e5; margin-right: 6px; vertical-align: middle; }
.sf-pick { background: #fff; border: 1px solid #ddd; border-radius: 6px; margin-top: 4px; }
.sf-pick a { display: block; padding: 8px 10px; border-bottom: 1px solid #eee; cursor: pointer; color: #222 !important; text-decoration: none !important; }
.sf-notif { display: flex; gap: 12px; align-items: flex-start; }
.sf-notif-ico { font-size: 22px; line-height: 1.2; flex: none; width: 28px; text-align: center; }
.sf-notif-main { display: block; min-width: 0; }
.sf-notif-main b, .sf-notif-body, .sf-notif-main .sf-muted { display: block; }
.sf-notif.unread b::before { display: none; }
.sf-notif.unread .sf-notif-main b::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1e88e5; margin-left: 6px; vertical-align: middle; }
.sf-msg { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: #e3f2fd; color: #0d47a1; font-size: 14px; }
.sf-help { margin-top: 10px; padding: 10px 12px; background: #fff; border: 1px solid #f0d58a; border-radius: 8px; font-size: 14px; }
.sf-help ol, .sf-steps { padding-left: 20px; margin: 6px 0 10px; }
.sf-help li, .sf-steps li { margin-bottom: 6px; }
.sf-tip { margin-top: 10px; font-size: 13px; }
.sf-switch { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #eee; font-weight: 400; cursor: pointer; }
.sf-switch input { width: 20px; height: 20px; }
.sf-tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-tchips a { padding: 5px 10px; border-radius: 14px; background: #eef2ff; color: #283593 !important; font-size: 13px; cursor: pointer; text-decoration: none !important; }
.sf-count { float: right; font-weight: 400; color: #888; font-size: 12px; }
.sf-dt { width: 100%; height: 40px; border: 1px solid #ccc; border-radius: 6px; padding: 4px 8px; }
.sf-npreview { background: #2b2b2b; color: #eee; border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.sf-npreview b { color: #fff; display: block; margin-top: 4px; }
.sf-npreview-head { font-size: 12px; color: #bbb; display: flex; align-items: center; gap: 6px; }
.sf-npreview-head img { width: 18px; height: 18px; border-radius: 50%; }
.sf-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: #555; }
.sf-tag.pending { background: #fff3cd; }

/* Chat */
.sf-chat, .sf-chat-admin, .sf-chat textarea, .sf-chat button { font-family: Roboto, "Segoe UI", Arial, Helvetica, sans-serif; }
.sf-chat { display: flex; flex-direction: column; height: calc(100vh - 62px); height: calc(100dvh - 62px); max-width: 760px; margin: 0 auto; background: #ece5dd; }
.sf-chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; border-bottom: 1px solid #ddd; flex: none; }
.sf-chat-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.sf-chat-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sf-chat-who b { font-size: 16px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-chat-who span { font-size: 12px; color: #666; }
.sf-chat-call, .sf-chat-back { font-size: 22px; text-decoration: none !important; padding: 4px 6px; cursor: pointer; color: #333 !important; }
.sf-chat-back { display: none; }
.sf-chat-body { flex: 1; overflow-y: auto; padding: 10px 10px 4px; -webkit-overflow-scrolling: touch; }
.sf-chat-empty { margin: 30px auto; max-width: 300px; text-align: center; background: #fff8e1; border-radius: 10px; padding: 14px; font-size: 14px; color: #5d4200; }
.sf-chat-day { text-align: center; margin: 10px 0 6px; }
.sf-chat-day span { background: #dfe7ee; color: #455a64; font-size: 12px; padding: 3px 10px; border-radius: 10px; }
.sf-bubble { max-width: 78%; margin: 3px 0; padding: 7px 10px 5px; border-radius: 10px; font-size: 15px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.12); word-wrap: break-word; overflow-wrap: anywhere; clear: both; }
.sf-bubble.them { background: #fff; float: left; border-top-left-radius: 2px; }
.sf-bubble.me { background: #dcf8c6; float: right; border-top-right-radius: 2px; }
.sf-bubble.sending { opacity: .6; }
.sf-chat-body > div::after { content: ''; display: block; clear: both; }
.sf-bubble-text { white-space: pre-wrap; color: #111; }
.sf-bubble-meta { font-size: 11px; color: #777; text-align: right; margin-top: 2px; }
.sf-ticks { letter-spacing: -3px; margin-left: 2px; }
.sf-ticks.seen { color: #1e88e5; }
.sf-bubble-img { display: block; max-width: 240px; width: 100%; min-height: 60px; border-radius: 6px; margin-bottom: 4px; background: #eee; cursor: pointer; }
.sf-bubble-doc { display: block; padding: 8px; background: rgba(0,0,0,.05); border-radius: 6px; margin-bottom: 4px; cursor: pointer; color: #0d47a1 !important; }
.sf-chat-input { display: flex; align-items: flex-end; gap: 6px; padding: 8px; background: #f0f0f0; flex: none; }
.sf-chat-field { flex: 1; background: #fff; border-radius: 20px; padding: 6px 12px; min-width: 0; }
.sf-chat-field textarea { width: 100%; border: 0; outline: 0; resize: none; font-size: 15px; line-height: 1.35; max-height: 110px; min-height: 22px; background: transparent; padding: 2px 0; }
.sf-chat-filechip { font-size: 12px; background: #e3f2fd; border-radius: 10px; padding: 2px 8px; margin-bottom: 4px; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-chat-filechip a { margin-left: 6px; cursor: pointer; font-weight: bold; }
.sf-chat-attach { font-size: 22px; cursor: pointer; padding: 6px 4px; margin: 0; }
.sf-chat-attach input { display: none; }
.sf-chat-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #2e7d32; color: #fff; font-size: 20px; flex: none; cursor: pointer; }
.sf-chat-send[disabled] { background: #9e9e9e; }
.sf-chat-err { background: #ffebee; color: #b71c1c; padding: 6px 12px; font-size: 13px; flex: none; }
.sf-quick { display: flex; gap: 6px; overflow-x: auto; padding: 6px 8px 0; background: #f0f0f0; flex: none; }
.sf-quick a { flex: none; background: #fff; border: 1px solid #c5cae9; color: #283593 !important; border-radius: 14px; padding: 4px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; text-decoration: none !important; }
.sf-chat-actions { justify-content: center; margin: 0; padding: 4px 0 6px; background: #f0f0f0; flex: none; }
.sf-chat-actions .sf-btn { font-size: 12px; padding: 5px 10px; }
.sf-chat-admin { max-width: 1100px; margin: 0 auto; }
.sf-chat-list { padding: 0 12px 12px; }
.sf-thread { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 12px; margin: 6px 0; text-decoration: none !important; color: #222 !important; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.sf-thread.active { outline: 2px solid #1e88e5; }
.sf-thread.unread b { color: #1b5e20; }
.sf-thread-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sf-thread-top { display: flex; justify-content: space-between; gap: 8px; }
.sf-thread-top small { color: #777; white-space: nowrap; }
.sf-thread-last { color: #666; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-thread-badge { background: #2e7d32; color: #fff; border-radius: 12px; min-width: 22px; height: 22px; font: bold 12px/22px Arial, sans-serif; text-align: center; padding: 0 6px; }
.sf-chat-conv { height: calc(100vh - 62px); height: calc(100dvh - 62px); }
@media (max-width: 899px) {
  .sf-chat-admin.open .sf-chat-list { display: none; }
  .sf-chat-admin .sf-chat-back { display: inline; }
}
@media (min-width: 900px) {
  .sf-chat-admin { display: grid; grid-template-columns: 360px 1fr; gap: 12px; align-items: start; }
  .sf-chat-list { max-height: calc(100vh - 70px); overflow-y: auto; }
}
.sf-tile .sf-badge-chat { background: #2e7d32; color: #fff; border-radius: 10px; font-size: 12px; padding: 0 7px; margin-left: 6px; }

/* ---- live chat console (visitors + members) ---- */
.sf-lc-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.sf-lc-me { font-size: 12px; font-weight: normal; color: #2e7d32; }
.sf-lc-sound { margin-left: auto; font-size: 12px; font-weight: normal; cursor: pointer; color: #455a64 !important; background: #fff; border: 1px solid #cfd8dc; border-radius: 14px; padding: 3px 10px; text-decoration: none !important; }
.sf-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: transparent; vertical-align: middle; margin-right: 4px; }
.sf-dot.on { background: #00c853; }
.sf-av-wrap { position: relative; flex: none; }
.sf-av-wrap .sf-dot { position: absolute; right: -1px; bottom: 1px; margin: 0; width: 12px; height: 12px; border: 2px solid #fff; }
.sf-av-wrap .sf-dot:not(.on) { display: none; }
.sf-av-letter { display: inline-block; width: 40px; height: 40px; border-radius: 50%; background: #5c6bc0; color: #fff; font: bold 17px/40px Arial, sans-serif; text-align: center; flex: none; }
.sf-chat-head .sf-av-letter { width: 38px; height: 38px; line-height: 38px; }
.sf-tag.web { background: #e8eaf6; color: #283593; font-size: 10.5px; padding: 1px 6px; }
.sf-typing-txt, .sf-online { color: #2e7d32; font-style: italic; }
.sf-online { font-style: normal; margin-left: 4px; }
.sf-offline { color: #90a4ae; margin-left: 4px; font-style: normal; }
.sf-chat-call.sf-wa { font: bold 12px/1 Arial, sans-serif; color: #fff !important; background: #25d366; border-radius: 50%; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.sf-lc-info { background: #e8eaf6; color: #37474f; font-size: 12.5px; padding: 7px 12px; line-height: 1.45; }
.sf-lc-info a { color: #283593 !important; font-weight: bold; cursor: pointer; }
.sf-typing-bubble { width: 58px; padding: 10px 12px !important; }
.sf-typing-bubble span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: #90a4ae; animation: sfDot 1.2s infinite; }
.sf-typing-bubble span:nth-child(2) { animation-delay: .2s; }
.sf-typing-bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes sfDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---- live chat console: views, visitors online, canned, settings, files ---- */
.sf-lc-tools { margin-left: auto; display: inline-flex; gap: 6px; flex-wrap: wrap; }
.sf-lc-tools .sf-lc-sound { margin-left: 0; }
.sf-lc-views { display: flex; gap: 0; margin: 8px 0 6px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.sf-lc-views a { flex: 1; text-align: center; padding: 9px 4px; font-size: 13.5px; color: #455a64 !important; cursor: pointer; text-decoration: none !important; border-bottom: 3px solid transparent; }
.sf-lc-views a.on { color: #0b1426 !important; border-bottom-color: #0b1426; font-weight: bold; }
.sf-lc-views b { background: #2e7d32; color: #fff; border-radius: 10px; padding: 0 6px; font-size: 11px; margin-left: 2px; }
.sf-lc-views b.v { background: #1e88e5; }
.sf-desk-hint { background: #fff3e0; color: #e65100; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; margin-bottom: 6px; }
.sf-lc-dates { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: #546e7a; margin: 2px 0 4px; }
.sf-lc-dates input { border: 1px solid #ccc; border-radius: 6px; padding: 3px 6px; font-size: 12.5px; }
.sf-lc-dates a { cursor: pointer; color: #0b1426 !important; }
.sf-lc-count { font-size: 12.5px; color: #607d8b; margin: 4px 2px; }
.sf-thread-loc { color: #90a4ae; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-tag.off { background: #fff3e0; color: #e65100; font-size: 10.5px; padding: 1px 6px; }
.sf-visitor { padding: 10px 12px !important; }
.sf-v-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.sf-v-top small { margin-left: auto; color: #78909c; }
.sf-v-row { font-size: 13px; color: #37474f; margin: 2px 0; word-break: break-word; }
.sf-v-ip { color: #90a4ae; font-size: 11.5px; margin-left: 4px; }
.sf-invite-form textarea, .sf-canned-form textarea, .sf-canned-form input, .sf-canned-form select, .sf-lc-settings textarea, .sf-lc-settings input[type=number] {
  width: 100%; box-sizing: border-box; border: 1px solid #ccc; border-radius: 8px; padding: 8px; font: 14px Roboto, Arial, sans-serif; margin: 4px 0; }
.sf-lc-settings input[type=number] { width: 90px; }
.sf-lc-settings label { display: block; margin: 8px 0; font-size: 13.5px; }
.sf-lc-settings label.sf-check input { margin-right: 6px; }
.sf-canned-body { font-size: 13px; color: #546e7a; margin: 4px 0 8px; white-space: pre-wrap; }
.sf-slash { background: #fff; border-top: 1px solid #e0e5ec; max-height: 200px; overflow-y: auto; }
.sf-slash a { display: block; padding: 7px 12px; font-size: 13.5px; color: #263238 !important; cursor: pointer; text-decoration: none !important; }
.sf-slash a.on, .sf-slash a:hover { background: #e8eaf6; }
.sf-slash small { color: #78909c; margin-left: 6px; }
.sf-lc-older { display: block; text-align: center; font-size: 12.5px; color: #0b1426 !important; cursor: pointer; margin: 2px 0 8px; }
.sf-bubble-video { max-width: 260px; background: #000; }
.sf-bubble-audio { width: 240px; max-width: 100%; display: block; margin: 2px 0 4px; }
.sf-bubble-doc small { display: block; color: #78909c; font-size: 11.5px; }
.sf-progress { height: 4px; background: #cfd8dc; border-radius: 2px; margin-top: 5px; overflow: hidden; }
.sf-progress i { display: block; height: 100%; background: #0b1426; width: 0; }
.sf-chat-actions .sf-btn { margin: 2px; }

/* ---- fingerprint device page ---- */
.sf-bio-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; }
.sf-bio-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 6px; }
.sf-bio-stats div { background: #f5f7fb; border-radius: 10px; padding: 8px 6px; text-align: center; }
.sf-bio-stats b { display: block; font-size: 20px; color: #0b1426; }
.sf-bio-stats span { font-size: 11.5px; color: #607d8b; }
@media (max-width: 480px) { .sf-bio-stats { grid-template-columns: repeat(2, 1fr); } }
.sf-bio-meta { font-size: 12px; margin-bottom: 6px; word-break: break-word; }
.sf-bio .sf-warn { background: #fff3e0; color: #8d4b00; border-radius: 8px; padding: 8px 10px; margin: 6px 0; font-size: 13.5px; }
.sf-bio .sf-warn a { cursor: pointer; font-weight: bold; }
.sf-bio .sf-ok-box { background: #e8f5e9; border-radius: 8px; padding: 8px 10px; margin: 6px 0; font-size: 13.5px; }
.sf-bio .sf-inline { box-shadow: none; border: 1px solid #e0e5ec; margin: 6px 0; }
.sf-bio .sf-punch small { color: #90a4ae; }
.sf-bio label input[type=date] { border: 1px solid #ccc; border-radius: 6px; padding: 3px 6px; }
.sf-bio-setup ol { padding-left: 20px; line-height: 1.55; font-size: 14px; }
.sf-bio-setup li { margin-bottom: 6px; }
.sf-bio-vals { margin: 6px 0; border-collapse: collapse; }
.sf-bio-vals td { padding: 3px 12px 3px 0; border: 0 !important; border-bottom: 1px solid #eceff1 !important; font-size: 13.5px; background: none; }
.sf-bio-vals { border: 0 !important; }
.sf-bio-check .sf-check-row { border-radius: 8px; padding: 8px 10px; margin: 6px 0; font-size: 13.5px; }
.sf-bio-check .sf-check-row.ok { background: #e8f5e9; color: #1b5e20; }
.sf-bio-check .sf-check-row.bad { background: #ffebee; color: #8e1b1b; }
.sf-bio-check .sf-check-row div { color: #37474f; margin-top: 2px; }
.sf-bio .sf-log { font-size: 12.5px; align-items: flex-start; }
.sf-bio .sf-log-reply { max-width: 45%; word-break: break-all; text-align: right; }
/* enquiries, payments, dashboard, booking */
.sf-red { color: #c62828; }
.sf-bar { display: inline-block; width: 80px; height: 8px; background: #eceff1; border-radius: 4px; vertical-align: middle; overflow: hidden; }
.sf-bar i { display: block; height: 100%; background: #2e7d32; }
.sf-stage-btns .sf-btn { font-size: 13px; padding: 6px 10px; margin: 2px; }
.sf-lead .sf-row .sf-btn, .sf-payrow .sf-row .sf-btn { font-size: 13px; padding: 6px 11px; margin: 2px 2px 2px 0; }
.sf-pay-box h4 { margin-top: 0; }
.sf-pay-safe { margin-top: 14px; text-align: center; }
.sf-chart { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding: 6px 0 0; border-bottom: 1px solid #cfd8dc; }
.sf-chart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; height: 100%; }
.sf-chart .col i { display: block; width: 100%; max-width: 34px; background: #1e88e5; border-radius: 3px 3px 0 0; min-height: 1px; }
.sf-chart .col i.alt { background: #e53935; }
.sf-chart .col small { font-size: 10px; color: #607d8b; white-space: nowrap; }
.sf-chart-x { display: flex; gap: 4px; }
.sf-chart-x span { flex: 1; text-align: center; font-size: 10px; color: #607d8b; min-width: 0; overflow: hidden; white-space: nowrap; }
.sf-legend { font-size: 12px; color: #546e7a; margin: 4px 0; }
.sf-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #1e88e5; margin: 0 4px 0 10px; }
.sf-legend i.alt { background: #e53935; }
.sf-heat { font-size: 10px; margin-top: 6px; }
.sf-heat-row { display: grid; grid-template-columns: 38px repeat(7, minmax(0, 1fr)); gap: 2px; margin-bottom: 2px; }
.sf-heat-row span { text-align: center; padding: 3px 0; border-radius: 2px; color: #263238; }
.sf-slot { border-left: 4px solid #1e88e5; }
.sf-slot.full { border-left-color: #c62828; }
.sf-slot.mine { border-left-color: #2e7d32; background: #f1f8e9; }
.sf-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 700px) { .sf-week { grid-template-columns: 1fr; } }
.sf-week .day h5 { margin: 4px 0; font-size: 13px; }
.sf-week .sf-card { padding: 8px; margin: 0 0 6px; font-size: 13px; }
