/* Anonymous professional theme. Loaded after legacy styles; business state colors remain intact. */
:root {
  --ab-ink: #24324b;
  --ab-muted: #637089;
  --ab-primary: #39408e;
  --ab-accent: #007d95;
  --ab-border: #dfe5ef;
  --ab-canvas: #f3f5fa;
  --ab-shadow: 0 6px 24px rgba(36, 50, 75, .06);
}
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--ab-ink); font-size: 14px; line-height: 1.6; background: var(--ab-canvas); }
a { color: var(--ab-primary); }
a:hover { color: #262d72; }
h1, h2, h3, h4 { font-family: inherit; letter-spacing: -.025em; }
.btn { border-radius: 7px !important; font-weight: 600; padding: 9px 16px; transition: background-color .15s, box-shadow .15s; }
.btn-xs { padding: 3px 8px; }
.btn-sm { padding: 6px 12px; }
.btn-primary, .btn.blue:not(.btn-outline) { background: var(--ab-primary); border-color: var(--ab-primary); }
.btn-primary:hover, .btn.blue:not(.btn-outline):hover { background: #2b3276; border-color: #2b3276; }
.btn-info { background: #e8f4f6; border-color: #c9e5ea; color: #006b80; }
.btn-info:hover { background: #d7edf1; border-color: #aed3dc; color: #005468; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #00a9e0; outline-offset: 3px; }
.form-control { border-radius: 7px !important; border-color: #cbd4e2; color: var(--ab-ink); box-shadow: none; min-height: 38px; }
textarea.form-control { min-height: 100px; }
.form-control:focus { border-color: var(--ab-primary); box-shadow: 0 0 0 3px rgba(57, 64, 142, .12); }
.form-control[disabled], .form-control[readonly] { background: #edf0f5; }
.control-label { font-size: 13px !important; font-weight: 600 !important; color: #46546b; }
.select2-container--bootstrap .select2-selection { border-radius: 7px !important; border-color: #cbd4e2; box-shadow: none; }
.page-header.navbar { background: #fff !important; background-image: none !important; border-bottom: 1px solid var(--ab-border); box-shadow: 0 2px 12px rgba(36,50,75,.04); }
.page-header.navbar .page-logo { background: #fff; }
.page-header.navbar .top-menu .navbar-nav > li.dropdown-user > .dropdown-toggle > .username,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-user > .dropdown-toggle > i { color: var(--ab-ink) !important; }
.page-header.navbar .top-menu .navbar-nav > li.dropdown-user > .dropdown-toggle:hover { background: #f0f3fa; }
.page-header.navbar .menu-toggler.responsive-toggler { background-color: var(--ab-primary); border-radius: 4px; }
.page-sidebar, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover { background: #fff; border-right: 1px solid var(--ab-border); }
.page-sidebar .page-sidebar-menu > li.nav-item { border-left: 0; margin: 4px 10px; }
.page-sidebar .page-sidebar-menu > li.nav-item > a { border: 0; border-radius: 8px !important; color: #4d5a72; padding: 12px 14px; font-weight: 600; }
.page-sidebar .page-sidebar-menu > li.nav-item > a > i { color: #76839b; }
.page-sidebar .page-sidebar-menu > li.nav-item:hover > a,
.page-sidebar .page-sidebar-menu > li.nav-item.open > a,
.page-sidebar .page-sidebar-menu > li.nav-item.active > a { background: #edf0fb; color: var(--ab-primary); }
.page-sidebar .page-sidebar-menu > li.nav-item.open { border-left: 0; }
.page-sidebar .page-sidebar-menu .sub-menu { background: #f8f9fc; border-radius: 8px !important; }
.page-sidebar .page-sidebar-menu .sub-menu li > a { color: #4d5a72; }
.page-sidebar .page-sidebar-menu .sub-menu li:hover > a { background: #edf0fb !important; color: var(--ab-primary); }
.page-sidebar .page-sidebar-menu > li.heading { padding: 16px 24px; }
.page-sidebar .page-sidebar-menu > li.heading h4 { font-size: 12px; line-height: 1.6; letter-spacing: .05em; overflow-wrap: anywhere; color: var(--ab-muted) !important; }
.page-sidebar .socials { max-width: none; margin: 8px 16px; padding: 10px 12px; gap: 10px; align-items: center; background: #f6f8fc; border-radius: 8px !important; }
.page-sidebar .socials img { width: 24px; height: 24px; object-fit: contain; }
.page-sidebar .socials p { font-size: 12px; color: var(--ab-muted); margin: 0; }
#menu-logo { margin: 20px auto; background-size: contain; width: 160px; height: 110px; }
.page-sidebar .alert-custom { margin: 12px 16px !important; font-size: 12px; }
.page-content-wrapper .page-content { background: var(--ab-canvas); padding: 28px; }
.page-content .page-bar { background: transparent; border-bottom: 1px solid var(--ab-border); margin-bottom: 24px; box-shadow: none; }
.page-bar .page-breadcrumb > li > a, .page-bar .page-breadcrumb > li > span { color: var(--ab-muted); font-size: 12px; }
.page-title { font-weight: 600; color: var(--ab-ink); }
.portlet, .panel { border-radius: 12px !important; box-shadow: var(--ab-shadow); }
.portlet.light, .portlet.light.bordered, .panel { background: #fff; border: 1px solid var(--ab-border) !important; }
.portlet.light { padding: 20px 24px; }
.portlet.light.bordered.lilla { background: #fff !important; border-top: 3px solid var(--ab-primary) !important; }
.portlet.light > .portlet-title { border-bottom-color: #edf0f5; }
.portlet.light > .portlet-title > .caption { color: var(--ab-ink) !important; font-weight: 600; }
.panel-heading { padding: 16px 20px; border-bottom-color: var(--ab-border); border-radius: 12px 12px 0 0 !important; }
.panel-body { padding: 20px; }
.panel-body.home { background: #fff !important; background-image: none !important; }
.table { font-size: 13px; }
.table > thead > tr > th { background: #f6f8fc; color: #4d5a72; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--ab-border); padding: 12px 10px; vertical-align: middle; }
.table > tbody > tr > td { padding: 11px 10px; border-top-color: #edf0f5; vertical-align: middle; }
.table-bordered, .table-bordered > tbody > tr > td, .table-bordered > thead > tr > th { border-color: var(--ab-border); }
.table-hover > tbody > tr:hover { background-color: #f0f4fc; }
.dataTables_wrapper .dataTables_filter input { border-radius: 7px !important; border: 1px solid #cbd4e2; }
.pagination > li > a, .pagination > li > span { border-color: var(--ab-border); color: var(--ab-primary); }
.pagination > .active > a, .pagination > .active > span { background: var(--ab-primary); border-color: var(--ab-primary); color: #fff; }
.alert, .note { border-radius: 8px !important; padding: 14px 18px; }
.alert-custom { background: #edf0fb !important; color: #303875; border: 1px solid #d9def6; margin-left: 0 !important; padding: 14px 18px !important; }
.note.note-success { background: #eaf6f1 !important; border-color: #22845f !important; color: #1c6048; }
fieldset.fieldset { background: #f3f4fc; border: 1px solid #d9def6; border-radius: 8px !important; padding: 16px; margin-bottom: 18px; }
fieldset.fieldset h3 { color: var(--ab-primary) !important; }
.modal-content, .dropdown-menu { border-radius: 10px !important; border: 1px solid var(--ab-border); box-shadow: 0 16px 48px rgba(36,50,75,.15); }
.modal-header { background: #f8f9fc; border-radius: 10px 10px 0 0 !important; padding: 18px 24px; }
.modal-body, .modal-footer { padding: 20px 24px; }
/* Auth pages: applies to login, recovery and registration without changing form endpoints. */
body.login { min-height: 100vh; background: radial-gradient(ellipse at top left, #e6e9fb, transparent 60%), radial-gradient(ellipse at bottom right, #e0f1f5, transparent 55%), #f3f5fa !important; }
.login .logo { margin: 0 auto; padding-top: 40px; }
.login .logo img { max-width: 150px; height: auto; border-radius: 10px !important; }
.login .content { width: 460px; max-width: calc(100% - 32px); margin: 24px auto 48px; padding: 32px; background: #fff; border: 1px solid var(--ab-border); border-radius: 16px !important; box-shadow: 0 20px 60px rgba(36,50,75,.10); }
.login .content h3 { color: var(--ab-ink); font-size: 26px; font-weight: 600 !important; text-align: left; margin: 0 0 12px; }
.login .content .login-form, .login .content .forget-form { text-align: left; }
.login .content .form-control { background: #f9fafe; border: 1px solid #cbd4e2; color: var(--ab-ink); height: 46px; }
.login .content .form-control:focus { border-color: var(--ab-primary); box-shadow: 0 0 0 3px rgba(57,64,142,.12); }
.login .content .form-actions { margin: 0; padding: 8px 0 22px; border-bottom: 1px solid var(--ab-border); }
.login .content .alert-custom { margin: 20px 0 16px !important; }
.login .content .btn-info { display: block; white-space: normal; }
.auth-eyebrow { color: var(--ab-accent); font-size: 11px; letter-spacing: .14em; font-weight: 700; margin-bottom: 10px; }
.auth-intro { color: var(--ab-muted); margin-bottom: 26px; }
.login .content .auth-label { display: block; font-size: 13px; font-weight: 600; color: #46546b; margin-bottom: 7px; }
@media (max-width: 991px) { .page-content-wrapper .page-content { padding: 18px; } .page-sidebar { border: 1px solid var(--ab-border); border-radius: 10px !important; } }
@media (max-width: 480px) { .login .content { padding: 24px; } .login .logo { padding-top: 24px; } .portlet.light { padding: 16px; } .page-content-wrapper .page-content { padding: 12px; } .btn { white-space: normal; } }
@media print { body, .page-content-wrapper .page-content { background: #fff !important; } .portlet, .panel { box-shadow: none; } }
/* Dashboard sections use existing role checks and routes. */
.dashboard-intro { padding: 8px 0 24px; margin-bottom: 20px; border-bottom: 1px solid var(--ab-border); }
.dashboard-intro h1 { font-size: 30px; font-weight: 600; margin: 0 0 12px; }
.dashboard-intro > p:last-child { color: var(--ab-muted); margin-bottom: 0; }
.panel-body.home > .row .note.note-success { background: #f8f9fe !important; border: 1px solid var(--ab-border) !important; border-left: 4px solid var(--ab-primary) !important; padding: 24px; }
.panel-body.home .note h1 { color: var(--ab-ink); font-size: 22px; font-weight: 600; text-align: left; margin: 0 0 20px; }
.panel-body.home .note h1 i { color: var(--ab-accent); margin-right: 12px; }
.panel-body.home .note > p { display: flex; flex-wrap: wrap; gap: 10px; text-align: left; }
.login.registration-page .content { width: 800px; }
@media (max-width: 480px) { .dashboard-intro h1 { font-size: 24px; } .panel-body.home > .row .note.note-success { padding: 18px; } .panel-body.home .note > p > .btn { width: 100%; } }
/* Request filters: remove nested Bootstrap columns that squeezed labels. */
.request-filters .form-body { padding: 20px 0 0; }
.request-filters .form-body > .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin: 0 0 20px; }
.request-filters .form-body > .row:first-child { grid-template-columns: minmax(120px, .65fr) minmax(0, 1.4fr) minmax(150px, .85fr) minmax(0, 1.4fr); }
.request-filters .form-body > .row > [class*='col-md-'] { float: none; width: auto; padding: 0; min-width: 0; }
.request-filters .form-group.row { margin: 0; }
.request-filters .form-group.row > label { display: block; float: none; width: auto; padding: 0; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #46546b; }
.request-filters .form-group.row > [class*='col-md-'] { float: none; width: auto; padding: 0; }
.request-filters .form-control { width: 100%; height: 42px; }
.request-filters .form-group:has(input[type='checkbox']) { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 10px 14px; background: #f6f8fc; border: 1px solid var(--ab-border); border-radius: 8px; }
.request-filters .form-group:has(input[type='checkbox']) > label { margin: 0; flex: 1; }
.request-filters input[type='checkbox'] { width: 17px; height: 17px; margin: 0; accent-color: var(--ab-primary); cursor: pointer; }
.request-filters .form-group.row > div > label { margin: 0; display: flex; align-items: center; }
.request-filters .form-actions { display: flex; gap: 10px; padding: 20px 0 0; margin: 4px 0 0; background: transparent; border-top: 1px solid var(--ab-border); }
.request-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding: 16px 20px; margin-bottom: 24px; background: #fff; border: 1px solid var(--ab-border); border-radius: 10px; font-size: 13px; color: var(--ab-muted); }
.request-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.request-legend .badge { width: 12px; height: 12px; min-width: 12px; padding: 0; border-radius: 3px !important; }
.request-legend .badge-white { border: 1px solid #b5bed0; }
@media (max-width: 1100px) { .request-filters .form-body > .row:first-child { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .request-filters .form-body > .row, .request-filters .form-body > .row:first-child { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
/* Bootstrap clearfix pseudo-elements must not occupy CSS grid cells. */
.request-filters .form-body > .row::before, .request-filters .form-body > .row::after { display: none; }
.request-filters .form-group:has(input[type='checkbox']) { border-radius: 8px !important; }
.request-legend { border-radius: 10px !important; }
.request-legend .badge:empty { display: inline-block; }
.request-filters .form-body > .row { align-items: end; }

/* Neutral identity: abstract geometry, without company names or contact details. */
.page-header.navbar .page-logo > a { display: flex; align-items: center; gap: 10px; height: 50px; text-decoration: none; }
.page-header.navbar .page-logo .neutral-symbol { width: 34px; height: 34px; flex-shrink: 0; }
.workspace-name { color: #14243e; font-size: 14px; font-weight: 700; line-height: 1.25; }
.workspace-name small { display: block; color: #6b7890; font-size: 8px; letter-spacing: .1em; margin-top: 4px; }
.page-sidebar-closed .workspace-name { display: none; }
.account-symbol { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 9px !important; background: #edf2f9; color: #39408e; margin-right: 7px; }
.workspace-art { position: relative; overflow: hidden; margin: 24px 16px; padding: 132px 20px 24px; background: linear-gradient(145deg, #14243e, #233452); color: #d3dceb; border: 1px solid #30445f; border-radius: 16px !important; }
.workspace-art > img { position: absolute; top: -18px; left: -12px; width: calc(100% + 24px); height: 175px; object-fit: contain; pointer-events: none; }
.workspace-art .workspace-kicker { color: #84dfd3; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.workspace-art h3 { color: #fff; font-size: 25px; font-weight: 600; line-height: 1.15; margin: 10px 0 14px; }
.workspace-art > p:not(.workspace-kicker) { font-size: 12px; line-height: 1.7; }
.workspace-status { display: flex; align-items: center; gap: 7px; font-size: 10px; margin-top: 24px; color: #9eb3d0; }
.workspace-status > span { width: 6px; height: 6px; border-radius: 50% !important; background: #5eead4; }
.page-sidebar-closed .workspace-art { display: none; }
body.login { background: radial-gradient(ellipse at 15% 0%, #254367 0, transparent 55%), radial-gradient(ellipse at 95% 90%, #233750 0, transparent 50%), #101c30 !important; }
.login .logo { padding-top: 42px; }
.login .logo .neutral-symbol { width: 72px; max-width: 72px; height: 72px; border-radius: 22px !important; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.login .content { border: 1px solid rgba(255,255,255,.35); box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.login .copyright { color: #a4b5cf; padding: 0 20px 28px; font-size: 12px; }
.dashboard-intro { position: relative; overflow: hidden; padding: 30px 34px; border: 0; border-radius: 15px !important; color: #c9d7eb; background: #14243e url('../../../brand/field.svg') no-repeat right center / 360px auto; }
.dashboard-intro .auth-eyebrow { color: #79d9ce; }
.dashboard-intro h1 { color: #fff; max-width: 650px; font-size: 32px; line-height: 1.2; }
.dashboard-intro > p:last-child { color: #c9d7eb; max-width: 610px; margin-bottom: 0; }
@media (max-width: 767px) { .dashboard-intro { padding: 24px; background-size: 250px auto; background-position: right -100px center; } .dashboard-intro h1 { font-size: 26px; max-width: 330px; } .dashboard-intro > p:last-child { max-width: 320px; } .workspace-art { display: none; } }
@media print { .dashboard-intro { background: #fff; color: #24324b; border: 1px solid #dfe5ef; } .dashboard-intro h1 { color: #24324b; } }
