:root {
  color-scheme: light;
  --ink: #202326;
  --muted: #777f85;
  --line: #e7e9eb;
  --accent: #bd202b;
  --accent-dark: #9f1822;
  --accent-rgb: 189, 32, 43;
  --focus-ring: 0 0 0 3px rgba(189, 32, 43, .18);
  --soft: #f7f8f8;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.login-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

.showroom-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  align-items: flex-end;
  padding: clamp(36px, 6.5vw, 96px);
  color: #fff;
  background: #273647;
}

.showroom-image, .showroom-shade { position: absolute; inset: 0; }
.showroom-image { background: url("../img/showroom.png") center center / cover no-repeat; transform: scale(1.015); }
.showroom-shade { background: linear-gradient(180deg, rgba(13, 24, 36, .03) 25%, rgba(12, 21, 31, .16) 48%, rgba(12, 21, 31, .78) 100%); }
.showroom-content, .image-caption { position: relative; z-index: 1; }
.showroom-content { max-width: 590px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 25px; font-size: 14px; font-weight: 700; letter-spacing: .16em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #e34249; box-shadow: 0 0 0 5px rgba(227, 66, 73, .16); }
.showroom-content h1 { margin: 0 0 18px; color: #fff; font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 65px); font-weight: 600; letter-spacing: -.055em; line-height: 1.08; }
.showroom-content h1 em { color: #f0c9c5; font-style: normal; }
.showroom-content p { max-width: 370px; margin: 0; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.7; }
.image-caption { position: absolute; right: 32px; bottom: 30px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.72); font-size: 14px; }

.form-panel { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 54px 48px 26px; }
.form-wrap { width: min(100%, 420px); margin: auto; }
.brand { display: flex; justify-content: center; margin-bottom: 54px; }
.brand img { display: block; width: 120px; height: auto; }
.welcome-copy { margin-bottom: 32px; }
.section-label { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .14em; }
.welcome-copy h2 { margin: 11px 0 8px; font-family: var(--font-display); font-size: 35px; font-weight: 700; letter-spacing: -.045em; }
.welcome-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.form-label { margin-bottom: 9px; color: #33383c; font-size: 14px; font-weight: 600; }
.label-row { display: flex; align-items: center; justify-content: space-between; }
.text-link, .registration-note a, .form-footer a { color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover, .registration-note a:hover, .form-footer a:hover { color: var(--accent-dark); text-decoration: underline; }
.input-wrap { position: relative; }
.input-icon { position: absolute; top: 50%; left: 15px; z-index: 2; color: #899096; font-size: 17px; transform: translateY(-50%); }
.form-control { min-height: 51px; padding: 12px 15px 12px 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; box-shadow: none; }
.form-control::placeholder { color: #a0a6aa; }
.form-control:focus { border-color: #d88d92; box-shadow: 0 0 0 3px rgba(189, 32, 43, .09); }
.pin-input { padding-right: 48px; }
.pin-resend-wrap { display: flex; justify-content: flex-end; margin-top: 12px; }
.pin-resend-link { padding: 0; border: 0; background: transparent; color: var(--accent); font: 600 14px/1.5 var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
.pin-resend-link:hover:not(:disabled) { color: var(--accent-dark); }
.pin-resend-link:disabled { color: #9aa1a6; cursor: not-allowed; text-decoration: none; }
.pin-resend-link:focus-visible { border-radius: 3px; outline: 2px solid rgba(189, 32, 43, .35); outline-offset: 3px; }
.input-action { position: absolute; top: 50%; right: 12px; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #838b90; font-size: 18px; transform: translateY(-50%); }
.input-action:hover { background: var(--soft); color: var(--ink); }
.submit-button { display: flex; width: 100%; min-height: 51px; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; border: 0; border-radius: 8px; background: var(--accent); font-size: 14px; font-weight: 600; transition: background .2s, transform .2s; }
.submit-button:hover, .submit-button:focus-visible { background: var(--accent-dark); }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled, .submit-button:disabled:hover, .submit-button:disabled:focus, .submit-button:disabled:focus-visible, .submit-button:disabled:active { border-color: #e2e5e8; background: #e2e5e8; color: #7c858c; box-shadow: none; cursor: not-allowed; opacity: 1; transform: none; }
.form-status { min-height: 0; color: var(--accent-dark); font-size: 14px; }
.form-status:not(:empty) { margin-top: 12px; }
.access-note { display: flex; align-items: center; gap: 11px; margin-top: 29px; padding: 14px 15px; border: 1px solid #edf0f0; border-radius: 8px; background: #fafbfb; color: #687177; font-size: 14px; }
.note-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #f8eeee; color: var(--accent); font-size: 16px; }
.registration-note { display: flex; justify-content: center; gap: 5px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.form-footer { display: flex; width: min(100%, 960px); justify-content: space-between; gap: 16px; color: #989ea2; font-size: 14px; }
.form-footer a { color: #777f85; font-size: 14px; font-weight: 500; }

.bmc-navbar { position: sticky; top: 0; z-index: 20; min-height: 66px; padding: 0; border-bottom: 1px solid #e8ebef; background: #fff; }
.bmc-navbar > .container-xl { min-height: 72px; }
.bmc-navbar .navbar-brand { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; margin-right: 30px; padding: 0; overflow: hidden; border: 1px solid #626b75; border-radius: 19px; background: none; box-shadow: 0 1px 2px rgba(25,31,37,.12); }
.bmc-navbar .navbar-brand img { display: block; width: 40px; height: 40px; border-radius: 8px; background: #fff; object-fit: contain; }
.bmc-navbar .navbar-nav .nav-link { position: relative; gap: 8px; padding-right: 12px; padding-left: 12px; color: #65717e; font-size: 14px; font-weight: 500; }
.bmc-navbar .navbar-nav .nav-link:hover, .bmc-navbar .navbar-nav .nav-link.active { color: var(--accent); }
.bmc-navbar .navbar-nav .nav-link { transition: color .16s ease, background-color .16s ease; }
.bmc-navbar .navbar-nav .nav-link.active { border-radius: 9px; background: #f4f5f6; }
.bmc-navbar .navbar-nav .nav-link:hover .nav-link-icon, .bmc-navbar .navbar-nav .nav-link.active .nav-link-icon { color: var(--accent); }
.bmc-navbar .navbar-nav .nav-link.active::after { display: none; }
.bmc-navbar .navbar-collapse .navbar-nav { gap: 8px; }
.bmc-navbar .nav-link-icon { display: inline-flex; width: 20px; align-items: center; justify-content: center; color: #87919a; font-size: 18px; }
.bmc-navbar .navbar-nav.flex-row > .nav-link { position: relative; display: inline-flex; align-items: center; }
.bmc-navbar .notification-wrap { position: relative; display: inline-flex; align-items: center; }
.bmc-navbar .bmc-notification { font-size: 18px; }
.bmc-navbar .notification-badge { position: absolute; top: -5px; right: -5px; display: grid; min-width: 25px; height: 25px; place-items: center; padding: 0 5px; border: 2px solid #fff; border-radius: 13px; background: var(--accent); color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1; }
.notification-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; width: min(360px, calc(100vw - 30px)); overflow: hidden; border: 1px solid #e8ebed; border-radius: 12px; background: #fff; box-shadow: 0 16px 45px rgba(25,34,40,.14); }
.notification-panel[hidden] { display: none; }
.notification-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 17px 13px; border-bottom: 1px solid #f0f1f2; }
.notification-panel-heading > div, .notification-item-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.notification-panel-heading strong { color: #2e3438; font-size: 14px; font-weight: 700; }
.notification-panel-heading small { color: #8a9398; font-size: 14px; }
.notification-panel-count { display: grid; min-width: 28px; height: 28px; place-items: center; padding: 0 7px; border-radius: 14px; background: #fbefef; color: var(--accent); font-size: 14px; font-weight: 700; }
.notification-list { max-height: 300px; overflow-y: auto; }
.notification-item { display: flex; width: 100%; align-items: center; gap: 10px; padding: 12px 15px; border: 0; border-bottom: 1px solid #f2f3f3; background: #fff; color: inherit; text-align: left; transition: background-color .15s ease; }
.notification-item:hover { background: #fafbfb; }
.notification-item-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 9px; background: #fbefef; color: var(--accent); font-size: 17px; }
.notification-item-copy { flex: 1; }
.notification-item-copy strong { color: #42494d; font-size: 14px; font-weight: 600; }
.notification-item-copy small { overflow: hidden; color: #899398; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.notification-item-arrow { color: #a4adb2; font-size: 17px; }
.notification-more { margin: 0; padding: 9px 15px; color: #838d92; font-size: 14px; }
.notification-footer { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 16px; border: 0; border-top: 1px solid #f0f1f2; background: #fafbfb; color: var(--accent); font-size: 14px; font-weight: 600; text-align: left; }
.notification-footer:hover { background: #f6f7f7; color: var(--accent-dark); }
.notification-empty { display: flex; align-items: center; flex-direction: column; gap: 5px; padding: 26px 18px; text-align: center; }
.notification-empty > span { display: grid; width: 35px; height: 35px; margin-bottom: 4px; place-items: center; border-radius: 50%; background: #eff7f1; color: #578462; font-size: 17px; }
.notification-empty strong { color: #4a5357; font-size: 14px; }
.notification-empty small { color: #929b9f; font-size: 14px; }
.bmc-navbar .bmc-profile { display: flex; align-items: center; gap: 9px; margin-left: 13px; border: 0; background: transparent; text-align: left; }
.bmc-navbar .profile-copy { display: flex; flex-direction: column; gap: 1px; }
.bmc-navbar .profile-copy strong { color: #2f3336; font-size: 14px; font-weight: 600; }
.bmc-navbar .profile-copy small { color: #8c9397; font-size: 14px; }
.avatar { display: inline-grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f8e9e9; color: #a6222c; font-size: 14px; font-weight: 700; }
.demo-ribbon { display: flex; min-height: 36px; align-items: center; gap: 8px; margin-bottom: 30px; padding: 8px 13px; border: 1px solid #f0e4c8; border-radius: 8px; background: #fcf8ef; color: #94732f; font-size: 14px; font-weight: 600; }
.demo-ribbon > i { font-size: 14px; }
.demo-ribbon span { color: #8b806b; font-size: 14px; font-weight: 400; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 27px; }
.bmc-dashboard .page-heading.page-header { flex-direction: row; align-items: flex-end; }
.section-label { display: block; color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .13em; }
.page-heading h1 { margin: 7px 0 6px; color: #262a2d; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.045em; }
.page-heading p { margin: 0; color: #707a81; font-size: 14px; }
.page-heading .btn, .panel .btn { font-size: 14px; font-weight: 600; }
.btn { border-radius: 8px; transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.btn-primary { border: 1px solid var(--accent); background: var(--accent); color: #fff; box-shadow: none; }
.btn-primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); color: #fff; }
.btn-primary:focus { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: none; }
.btn-primary:active, .btn-primary.active { border-color: #861720; background: #861720; color: #fff; }
.btn:focus:not(:focus-visible) { outline: none; box-shadow: none !important; }
.btn:focus-visible { outline: 2px solid rgba(var(--accent-rgb), .48); outline-offset: 2px; box-shadow: none !important; }
.btn-primary.btn-primary:active, .btn-primary.btn-primary.active, .btn-primary.btn-primary.show,
.btn-check:checked + .btn-primary, .btn-primary.btn-primary:first-child:active,
:not(.btn-check) + .btn-primary.btn-primary:active {
  border-color: #861720 !important;
  background-color: #861720 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.btn-light-outline.btn-light-outline:active, .btn-light-outline.btn-light-outline.active,
.btn-light-outline.btn-light-outline.show, .btn-check:checked + .btn-light-outline,
.btn-light-outline.btn-light-outline:first-child:active,
:not(.btn-check) + .btn-light-outline.btn-light-outline:active {
  border-color: #dfe2e4 !important;
  background-color: #f4f5f6 !important;
  color: #4d555a !important;
  box-shadow: none !important;
}
.page-heading .btn { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 0 18px; border-radius: 8px; }
.page-heading .btn > i { font-size: 17px; opacity: .9; }
.btn-light-outline { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dfe2e4; border-radius: 8px; background: #fff; color: #4d555a; }
.btn-light-outline:hover { border-color: #d7a0a4; background: #fffafa; color: var(--accent-dark); }
.bmc-dashboard :is(.btn, button, a, .table-action, .filter-tab, .method-card):focus-visible { outline: 2px solid rgba(var(--accent-rgb), .42); outline-offset: 2px; box-shadow: none !important; }
.bmc-dashboard :is(.btn, button, a):focus:not(:focus-visible) { outline: none; box-shadow: none !important; }
.bmc-dashboard :is(.btn, button) > i { font-weight: 400; opacity: .88; vertical-align: -1px; }
.bmc-dashboard i[class^="ri-"], .bmc-dashboard i[class*=" ri-"] { font-weight: 400; -webkit-font-smoothing: antialiased; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 19px; }
.admin-stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
.stat-card { min-height: 112px; margin: 0; border-color: #e9ebec; border-radius: 10px; box-shadow: 0 1px 2px rgba(31,41,55,.035); }
.stat-card .card-body { display: flex; align-items: center; gap: 15px; padding: 20px 21px; }
.stat-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #fbefef; color: #b42630; font-size: 20px; }
.stat-icon.amber { background: #fbf5e9; color: #b38222; }
.stat-icon.blue { background: #edf3f9; color: #5279a3; }
.stat-icon.green { background: #edf6f0; color: #448258; }
.stat-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.stat-copy span { color: #69747b; font-size: 14px; }
.stat-copy strong { color: #292e31; font-family: var(--font-display); font-size: 25px; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
.stat-copy small { color: #89939a; font-size: 14px; }
.content-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin-bottom: 19px; }
.admin-content-grid { grid-template-columns: 1fr 280px; }
.panel { border: 1px solid #e9ebec; border-radius: 10px; background: #fff; }
.quick-panel, .info-panel, .admin-shortcuts { padding: 22px 24px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel-heading h2 { margin: 4px 0 0; color: #282d30; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.panel-heading-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; background: #fbefef; color: var(--accent); font-size: 18px; }
.panel-intro { max-width: 490px; margin: 14px 0 19px; color: #727d84; font-size: 14px; line-height: 1.7; }
.form-label { margin-bottom: 8px; color: #41484c; font-size: 14px; font-weight: 600; }
.form-control, .form-select { min-height: 43px; padding: 10px 12px; border: 1px solid #e4e7e8; border-radius: 7px; color: #343a3d; font-family: var(--font-body); font-size: 14px; box-shadow: none; }
.form-control:focus, .form-select:focus { border-color: #d88d92; box-shadow: 0 0 0 3px rgba(189,32,43,.08); }
.input-wrap .form-control { min-height: 48px; padding-left: 42px; }
.input-wrap .input-icon { left: 14px; font-size: 16px; }
.quick-input { display: flex; gap: 9px; }
.quick-input .input-wrap { flex: 1; }
.quick-input .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 7px; white-space: nowrap; }
.inline-hint { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: #9aa1a4; font-size: 14px; }
.inline-hint i { color: #84928a; font-size: 13px; }
.mini-steps { display: grid; gap: 13px; margin-top: 20px; }
.mini-steps > div { display: flex; align-items: flex-start; gap: 11px; }
.mini-steps > div > span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f8eeee; color: var(--accent); font-size: 14px; font-weight: 700; }
.mini-steps p { display: flex; flex-direction: column; gap: 2px; margin: 1px 0 0; }
.mini-steps b { color: #3a4043; font-size: 14px; }
.mini-steps small { color: #899196; font-size: 14px; }
.table-panel { overflow: hidden; padding: 21px 23px 7px; }
.panel-heading-row { margin-bottom: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--accent-dark); }
.button-link { border: 0; padding: 0; background: transparent; cursor: pointer; }
.app-table { margin: 0; vertical-align: middle; }
.app-table thead th { padding: 12px 12px; border-bottom: 1px solid #eaeced; background: #fafbfb; color: #78838a; font-size: 14px; font-weight: 600; white-space: nowrap; }
.app-table tbody td { padding: 13px 12px; border-color: #f0f1f2; color: #59646b; font-size: 14px; white-space: nowrap; }
.app-table tbody tr:last-child td { border-bottom: 0; }
.table-main { color: #33393c; font-size: 14px; font-weight: 600; }
.table-secondary { display: block; margin-top: 3px; color: #858f95; font-size: 14px; }
.verification-table .verification-number-heading, .verification-table tbody td:first-child { width: 130px; min-width: 130px; }
.verification-number { display: inline-flex; min-width: 38px; min-height: 28px; align-items: center; justify-content: center; padding: 3px 9px; border: 1px solid #e9ecee; border-radius: 7px; background: #f7f8f8; color: #59636a; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.method-label { display: inline-flex; align-items: center; gap: 6px; color: #626d74; font-size: 14px; }
.method-label i { color: #858d91; font-size: 15px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.status-badge > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-verificata, .status-attivo { background: #eef6f0; color: #488259; }
.status-in_attesa, .status-invitato, .status-sospeso { background: #fbf5e9; color: #a97d2b; }
.status-scaduta, .status-disabilitato { background: #f2f3f3; color: #858d91; }
.table-action { display: inline-grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #8a9296; font-size: 16px; }
.table-action:hover { background: #f5f6f6; color: var(--accent); }
.operator-cell { display: inline-flex; align-items: center; gap: 8px; color: #4f575b; font-size: 14px; }
.avatar-small { width: 34px; height: 34px; font-size: 14px; }
.empty-state { display: flex; min-height: 185px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state > span { display: grid; width: 42px; height: 42px; margin-bottom: 9px; place-items: center; border-radius: 50%; background: #f7f8f8; color: #969ea2; font-size: 19px; }
.empty-state strong { color: #474e52; font-size: 14px; }
.empty-state p { margin: 4px 0 0; color: #899399; font-size: 14px; }
.app-footer { display: flex; justify-content: space-between; padding: 15px clamp(24px,5vw,76px); border-top: 1px solid #eff0f1; color: #a2a8ab; font-size: 14px; }
.app-footer b { padding: 0 4px; color: #c5c9cb; }

.verification-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 18px; }
.verification-main { display: grid; gap: 17px; }
.step-panel { display: flex; gap: 18px; padding: 24px; }
.step-number { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid #eedbdb; border-radius: 50%; color: var(--accent); font-size: 14px; font-weight: 700; }
.step-content { flex: 1; }
.step-content h2 { margin: 5px 0 5px; color: #282d30; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.step-content > p { margin: 0 0 18px; color: #838b90; font-size: 14px; line-height: 1.6; }
.step-content > .form-label { display: block; }
.verification-summary { margin-top: 18px; padding: 16px; border: 1px solid #eceeef; border-radius: 8px; background: #fafbfb; }
.verification-summary-heading { display: flex; align-items: center; gap: 9px; color: #394044; font-size: 14px; }
.verification-summary-heading > i { color: var(--accent); font-size: 17px; }
.verification-summary p { margin: 8px 0 12px; color: #788187; font-size: 14px; line-height: 1.6; }
.verification-expiries { display: flex; flex-wrap: wrap; gap: 9px; }
.verification-expiries span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 6px; background: #fff; color: #6f787e; font-size: 14px; }
.verification-expiries i { color: var(--accent); font-size: 13px; }
.verification-expiries b { color: #333a3e; font-weight: 600; }
.verification-submit { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; }
.method-cards { display: grid; gap: 9px; }
.method-card { display: flex; width: 100%; align-items: center; gap: 13px; padding: 14px; border: 1px solid #e7e9ea; border-radius: 8px; background: #fff; text-align: left; transition: border-color .18s, background .18s, transform .18s; }
.method-card:hover { transform: translateY(-1px); border-color: #d5a2a5; background: #fffdfd; }
.method-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #fbefef; color: var(--accent); font-size: 19px; }
.method-icon.blue-icon { background: #edf3f9; color: #5279a3; }
.method-card > span:nth-child(2) { display: grid; gap: 4px; }
.method-card b { color: #343a3d; font-size: 14px; }
.method-card small { color: #8c9498; font-size: 14px; line-height: 1.5; }
.method-arrow { margin-left: auto; color: #a2a8ab; font-size: 16px; }
.privacy-panel { position: sticky; top: 96px; padding: 23px; }
.privacy-icon { display: grid; width: 39px; height: 39px; margin-bottom: 15px; place-items: center; border-radius: 10px; background: #f7f1e7; color: #a47c31; font-size: 19px; }
.privacy-panel h3 { margin: 0 0 8px; color: #363c3f; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.privacy-panel p { color: #848c91; font-size: 14px; line-height: 1.7; }
.privacy-panel > div { display: flex; align-items: center; gap: 7px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #eff0f0; color: #737b80; font-size: 14px; }
.privacy-panel > div i { color: #9f7e3e; font-size: 14px; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: -3px 0 14px; }
.filter-tabs { display: flex; align-items: center; gap: 5px; }
.filter-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 0; border-radius: 7px; background: transparent; color: #667179; font-size: 14px; }
.filter-tab > span { display: inline-grid; min-width: 20px; height: 20px; place-items: center; border-radius: 10px; background: #f2f3f3; color: #707b82; font-size: 14px; }
.filter-tab.active { background: #fbefef; color: var(--accent); font-weight: 600; }
.filter-tab.active > span { background: #f4dfe0; color: var(--accent); }
.table-search { position: relative; display: flex; width: min(235px, 100%); align-items: center; }
.table-search > i { position: absolute; left: 11px; color: #959da1; font-size: 14px; }
.table-search input { width: 100%; min-height: 40px; padding: 8px 11px 8px 34px; border: 1px solid #e2e6e8; border-radius: 8px; outline: 0; color: #414b51; font-size: 14px; }
.table-search input:focus { border-color: #d9a4a8; box-shadow: var(--focus-ring); }
.table-footnote { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #858f95; font-size: 14px; }
.table-footnote i { font-size: 13px; }

.count-pill { padding: 6px 9px; border-radius: 20px; background: #fbf5e9; color: #a97d2b; font-size: 14px; font-weight: 600; }
.approvals-panel { margin-bottom: 18px; padding: 20px 23px 8px; border-color: #eee4d0; background: #fffefa; }
.approvals-panel .panel-heading { margin-bottom: 14px; }
.approval-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #f1ede4; }
.approval-person { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.approval-person strong { color: #41474a; font-size: 14px; }
.approval-person small { overflow: hidden; color: #7e898f; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.approval-date { color: #8c969c; font-size: 14px; }
.btn-success-soft, .btn-danger-soft { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d5e7da; border-radius: 8px; background: #f0f7f2; color: #477d55; font-weight: 600; transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.btn-success-soft:hover { background: #e3f1e7; color: #356843; }
.btn-danger-soft { border-color: #f0d9db; background: #fcf0f1; color: #aa3039; }
.btn-danger-soft:hover { background: #f8e3e4; color: #91212a; }
.btn-success-soft.btn-success-soft:active, .btn-success-soft.btn-success-soft.active, .btn-check:checked + .btn-success-soft { border-color: #c6dfcd !important; background-color: #e3f1e7 !important; color: #356843 !important; box-shadow: none !important; }
.btn-danger-soft.btn-danger-soft:active, .btn-danger-soft.btn-danger-soft.active, .btn-check:checked + .btn-danger-soft { border-color: #ebc9cc !important; background-color: #f8e3e4 !important; color: #91212a !important; box-shadow: none !important; }
.approval-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.approval-row .btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
.approval-row .btn > i { font-size: 14px; }
.admin-shortcuts .panel-heading { margin-bottom: 16px; }
.shortcut-stat { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid #f0f1f1; }
.shortcut-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: #f8eeee; color: var(--accent); font-size: 16px; }
.shortcut-icon.amber-icon { background: #fbf5e9; color: #a97d2b; }
.shortcut-stat > div { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.shortcut-stat b { color: #414b51; font-size: 14px; }
.shortcut-stat small { color: #899399; font-size: 14px; }
.shortcut-stat > a { color: #879198; font-size: 17px; }

.access-page { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 45px 20px 20px; background: #f7f8f8; }
.back-login { position: absolute; top: 28px; left: max(24px, calc((100vw - 620px) / 2)); display: inline-flex; align-items: center; gap: 7px; color: #737b80; font-size: 14px; text-decoration: none; }
.back-login:hover { color: var(--accent); }
.access-card { width: min(100%, 590px); padding: 35px 40px; box-shadow: 0 10px 40px rgba(31,39,44,.04); }
.access-card .brand { display: flex; justify-content: center; margin-bottom: 26px; }
.access-card .brand img { width: 120px; }
.access-card h1 { margin: 7px 0 8px; color: #252a2d; font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -.04em; }
.access-lead { margin: 0 0 22px; color: #7d858a; font-size: 14px; line-height: 1.7; }
.access-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; padding: 12px; border-radius: 7px; background: #f7f8f8; color: #788085; font-size: 14px; line-height: 1.6; }
.access-consent i { flex: 0 0 auto; color: #888f93; font-size: 14px; }
.access-card .submit-button { margin-top: 17px; }
.access-help { margin-top: 22px; color: #81898d; font-size: 14px; text-align: center; }
.access-help a { color: var(--accent); font-weight: 600; text-decoration: none; }
.access-footer { margin: 20px 0 0; color: #a1a7aa; font-size: 14px; }
.success-state { padding: 35px 5px; text-align: center; }
.success-state > span:first-child { display: grid; width: 52px; height: 52px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: #edf6f0; color: #448258; font-size: 25px; }
.success-state .section-label { margin-bottom: 6px; }
.success-state h1 { margin-bottom: 8px; }
.success-state p { margin: 0 auto 20px; max-width: 390px; color: #7d858a; font-size: 14px; line-height: 1.7; }
.success-state .btn { font-size: 14px; }

.modal-content { overflow: hidden; border: 1px solid #eceeef; border-radius: 12px; box-shadow: 0 18px 70px rgba(23,31,36,.15); }
.modal-header { padding: 21px 23px 15px; border-bottom-color: #eff0f0; }
.modal-header .section-label { margin-bottom: 4px; }
.modal-title { margin: 0; color: #292e31; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.035em; }
.modal-body { padding: 18px 23px 20px; }
.modal-intro { color: #737d83; font-size: 14px; line-height: 1.6; }
.modal-body .form-label { margin-bottom: 9px; color: #41484c; font-size: 14px; }
.modal-body .form-control, .modal-body .form-select { min-height: 48px; font-size: 14px; }
.modal-footer { display: flex; flex-wrap: wrap; gap: 8px; padding: 13px 23px 19px; border-top: 1px solid #eff0f0; }
.modal-footer > :not(:first-child) { margin-left: 0; }
.modal-footer .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
.modal-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; padding: 13px; border-radius: 7px; background: #f7f8f8; color: #707a80; font-size: 14px; line-height: 1.6; }
.modal-note > i { flex: 0 0 auto; color: #879096; font-size: 16px; }
.detail-email { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid #eff0f0; }
.detail-email > i { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #f8eeee; color: var(--accent); font-size: 17px; }
.detail-email > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.detail-email small, .detail-grid small { color: #858e93; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.detail-email strong { overflow-wrap: anywhere; color: #3d4448; font-size: 14px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 17px 0; }
.detail-grid > div { display: flex; flex-direction: column; gap: 4px; }
.detail-grid b { color: #535b5f; font-size: 14px; font-weight: 600; }
.operator-account-details { gap: 14px; padding: 19px 0 7px; }
.operator-account-details > div { min-width: 0; min-height: 68px; justify-content: center; gap: 7px; padding: 12px 14px; border: 1px solid #eceeef; border-radius: 8px; background: #fafbfb; }
.operator-account-details small { font-size: 14px; }
.operator-account-details b { overflow-wrap: anywhere; color: #42494d; font-size: 14px; font-weight: 600; line-height: 1.35; }
.operator-account-action { min-height: 46px !important; padding: 0 20px !important; font-size: 14px !important; font-weight: 600; }
.verified-banner { display: flex; align-items: center; gap: 7px; padding: 11px; border-radius: 7px; background: #eef6f0; color: #488259; font-size: 14px; }
.verified-banner i { font-size: 15px; }
.pending-banner { background: #f3f6fa; color: #5279a3; }
.otp-code-display { margin: 6px auto 13px; color: #24292c; font-family: var(--font-display); font-size: 33px; font-weight: 700; letter-spacing: .2em; text-align: center; }
.otp-confirm-row { display: flex; gap: 8px; }
.otp-confirm-row .form-control { max-width: 170px; letter-spacing: .18em; }
.otp-inline-form { display: flex; flex: 1 0 100%; gap: 7px; }
.otp-inline-form .form-control { max-width: 150px; min-height: 35px; }
.invite-link-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 9px 8px 12px; border: 1px solid #e9ebec; border-radius: 7px; background: #fbfbfb; }
.invite-link-box code { overflow: hidden; color: #636b6f; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.app-toast { border-radius: 8px; background: #292e31; color: #fff; box-shadow: 0 8px 28px rgba(20,25,28,.18); }
.toast-body { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.toast-body > i { color: #9bd2a7; font-size: 16px; }

.demo-accounts { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 19px; flex-wrap: wrap; }
.demo-accounts > span { flex-basis: 100%; color: #a2a8ab; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-align: center; }
.demo-accounts button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #eceeef; border-radius: 6px; background: #fff; color: #737b80; font-size: 14px; }
.demo-accounts button:hover { border-color: #dcb2b5; color: var(--accent); }
.demo-accounts b { color: #454b4f; font-size: 14px; }
.ajax-route { min-height: 100%; animation: route-enter .18s ease-out; }
.ajax-route-workspace { background: transparent; }
.route-loading { display: flex; min-height: 70vh; align-items: center; justify-content: center; gap: 10px; color: #858d91; font-size: 14px; }
.route-loading .spinner-border { width: 17px; height: 17px; border-width: 2px; color: var(--accent); }
@keyframes route-enter { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.bmc-dashboard { min-height: 100vh; background: #f5f7fb; }
.bmc-dashboard .page-body { min-height: calc(100vh - 120px); padding: 26px 0 42px; }
.bmc-dashboard .page-heading { margin-bottom: 21px; }
.bmc-dashboard .page-heading h1 { font-size: 27px; }
.bmc-dashboard .panel.card { box-shadow: 0 1px 2px rgba(31,41,55,.035); }
.bmc-dashboard .footer { border-top: 1px solid #e8ebef; background: transparent; color: #97a1aa; font-size: 14px; }
.bmc-dashboard .footer .container-xl { display: flex; justify-content: space-between; gap: 12px; }

@media (max-width: 900px) {
  .showroom-panel { padding: 42px; }
  .showroom-content h1 { font-size: clamp(36px, 5.2vw, 52px); }
  .form-panel { padding-right: 34px; padding-left: 34px; }
  .brand { margin-bottom: 42px; }
  .bmc-navbar .navbar-brand { margin-right: 20px; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-grid, .admin-content-grid { grid-template-columns: 1fr; }
  .admin-shortcuts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .admin-shortcuts .panel-heading, .admin-shortcuts .btn { grid-column: 1 / -1; }
  .verification-layout { grid-template-columns: minmax(0,1fr) 240px; }
}

@media (max-width: 680px) {
  .login-shell { display: block; }
  .showroom-panel { min-height: 250px; height: 31vh; max-height: 340px; padding: 30px 26px; }
  .showroom-image { background-position: center 58%; }
  .showroom-shade { background: linear-gradient(90deg, rgba(12,21,31,.63), rgba(12,21,31,.15)), linear-gradient(0deg, rgba(12,21,31,.55), transparent 80%); }
  .showroom-content { align-self: flex-end; }
  .eyebrow { margin-bottom: 12px; font-size: 14px; }
  .showroom-content h1 { margin-bottom: 8px; font-size: clamp(29px, 8vw, 40px); }
  .showroom-content p { max-width: 290px; font-size: 14px; }
  .image-caption { display: none; }
  .form-panel { min-height: calc(100vh - 250px); padding: 29px 25px 20px; }
  .form-wrap { width: min(100%, 420px); }
  .brand { margin-bottom: 29px; }
  .brand img { width: 120px; }
  .welcome-copy { margin-bottom: 24px; }
  .welcome-copy h2 { font-size: 30px; }
  .form-footer { margin-top: 35px; }
  .bmc-navbar .navbar-brand { width: 50px; height: 50px; flex-basis: 50px; margin-right: 10px; border-radius: 18px; }
  .bmc-navbar .navbar-brand img { width: 40px; height: 40px; }
  .bmc-navbar .navbar-nav .nav-link.active::after { display: none; }
  .bmc-navbar .navbar-collapse { padding: 9px 0 4px; }
  .bmc-navbar .profile-copy { display: none; }
  .bmc-dashboard .container-xl { padding-right: 15px; padding-left: 15px; }
  .bmc-dashboard .footer .container-xl { flex-direction: column; }
  .demo-ribbon { align-items: flex-start; flex-wrap: wrap; margin-bottom: 21px; font-size: 14px; }
  .demo-ribbon span { flex-basis: 100%; padding-left: 22px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 20px; }
  .bmc-dashboard .page-heading.page-header { align-items: flex-start; flex-direction: column; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { max-width: 500px; font-size: 14px; line-height: 1.6; }
  .stats-grid, .admin-stats { grid-template-columns: 1fr; gap: 9px; }
  .stat-card { min-height: 85px; }
  .stat-card .card-body { padding: 14px; }
  .stat-icon { width: 37px; height: 37px; }
  .stat-copy strong { font-size: 22px; }
  .content-grid, .admin-content-grid, .verification-layout { grid-template-columns: 1fr; gap: 12px; }
  .quick-panel, .info-panel, .admin-shortcuts { padding: 17px; }
  .quick-input { align-items: stretch; flex-direction: column; }
  .quick-input .btn { min-height: 42px; }
  .table-panel { padding: 17px 12px 5px; }
  .panel-heading h2 { font-size: 15px; }
  .table-toolbar { align-items: flex-start; flex-direction: column; }
  .filter-tabs { width: 100%; overflow: auto; }
  .filter-tab { padding: 8px 10px; font-size: 14px; white-space: nowrap; }
  .table-search { width: 100%; }
  .app-table { min-width: 680px; }
  .verification-layout { display: flex; flex-direction: column; }
  .verification-main { width: 100%; }
  .privacy-panel { position: static; width: 100%; }
  .step-panel { gap: 12px; padding: 18px 14px; }
  .step-number { width: 36px; height: 36px; font-size: 14px; }
  .method-card { gap: 9px; padding: 11px; }
  .method-icon { width: 34px; height: 34px; font-size: 17px; }
  .approval-row { flex-wrap: wrap; }
  .approval-date { display: none; }
  .approval-actions { margin-left: auto; }
  .access-page { justify-content: flex-start; padding: 68px 15px 20px; }
  .back-login { top: 24px; left: 20px; }
  .access-card { padding: 25px 20px; }
  .modal-header { padding: 18px 17px 13px; }
  .modal-body { padding: 16px 17px; }
  .modal-footer { padding: 12px 17px 16px; }
  .otp-confirm-row { align-items: stretch; flex-direction: column; }
  .otp-confirm-row .form-control { max-width: none; }
  .admin-shortcuts { grid-template-columns: 1fr; }
  .admin-shortcuts .panel-heading, .admin-shortcuts .btn { grid-column: auto; }
}

@media (max-width: 380px) {
  .form-panel { padding-right: 19px; padding-left: 19px; }
  .form-footer { flex-direction: column; gap: 6px; text-align: center; }
  .registration-note { flex-wrap: wrap; }
}
