/* Small SMS layout adjustments; DreamPOS and Stonixra provide the theme. */
.sms-school-logo { max-width: 160px; max-height: 100px; object-fit: contain; }
.face-guide-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #101e30; }
.face-guide-stage video { width: 100%; height: 100%; object-fit: contain; }
.face-guide-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.face-guide-oval { position: absolute; width: 43%; height: 72%; top: 14%; left: 28.5%; border: 3px dashed #efbc52; border-radius: 50%; pointer-events: none; transition: border-color .2s; }
.face-guide-stage[data-ready="true"] .face-guide-oval { border-color: #35cd96; }
.face-guide-stage[data-running="false"] .face-guide-oval { opacity: .4; }
.sms-enrollment-camera { max-width: 560px; }
.sms-face-captures { flex-wrap: wrap; }
.sms-quick-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.sms-quick-label > .sms-quick-label-text { color: inherit; }
.sms-quick-add { display: inline-flex; align-items: center; gap: 4px; border: 0; padding: 0; background: transparent; color: #3c8dbc; font-size: 13px; white-space: nowrap; }
.sms-quick-add:focus-visible { outline: 2px solid #3c8dbc; outline-offset: 3px; }
.sms-quick-modal .modal-body > .card { border: 0; margin-bottom: 0; }
.sms-quick-modal .modal-body > .card > .card-body { padding: 0; }
.table td .btn { white-space: nowrap; }
.sms-permissions .table td { white-space: normal; }
.sms-permissions td:last-child { width: 45%; min-width: 140px; }
.sms-directory-photo { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.sms-summary-card { color: inherit; }
.sms-summary-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 8px; background: #e7f4fb; color: #3c8dbc; font-size: 26px; }
.sms-message-preview { min-width: 180px; max-width: 340px; white-space: normal; }
.sms-message-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.sms-record-avatar { width: 48px; height: 48px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #e7f4fb; color: #3c8dbc; font-size: 22px; font-weight: 700; }
@media (max-width: 767.98px) { .page-header { gap: 12px; flex-wrap: wrap; } .page-header > .d-flex { flex-wrap: wrap; } .content .table-responsive { max-width: 100%; } }
.sms-login .main-wrapper { background: linear-gradient(135deg, #07172d, #123957); min-height: 100vh; }
.sms-login .login-wrapper { min-height: 100vh; height: auto; padding: 30px 12px; }
.login-logo { text-align: center; margin-bottom: 24px; }
.login-logo img { width: 100%; max-width: 340px; height: auto; }
.login-powered { margin: 20px 0 0; font-size: 12px; text-align: center; color: #64748b; }
.sms-password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #64748b; font-size: 20px; }
.header .header-left .logo img { max-width: 170px; max-height: 48px; }
.header .user-menu { padding-right: 20px; margin-left: auto; justify-content: flex-end; }
.sidebar .sidebar-menu ul li a[aria-disabled="true"] { cursor: default; }
/* The reference uses native sidebar scrolling, without a Slimscroll wrapper. */
#sidebar .sidebar-logo-pro { flex-shrink: 0; }
#sidebar .brand-tagline { white-space: nowrap; }
#sidebar .sidebar-menu > ul > li.submenu-open > ul > li.submenu > ul > li > a span {
    white-space: normal;
    overflow: visible;
    line-height: 1.45;
}
@media (max-width: 991.98px) { .header .main-header > .header-left { display: flex; justify-content: center; } }
