@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    font-family: 'DM Sans', sans-serif;
    color: #14233e;
    background: #f5f7fb;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(ellipse at 50% -22%, #eaf1ff 0, transparent 48%), #f5f7fb; }
a { color: #286bdb; text-decoration: none; }
a:hover { color: #164da9; }
.site-header { height: 82px; max-width: 1240px; margin: 0 auto; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #14233e; font: 800 18px Manrope, sans-serif; letter-spacing: -.6px; }
.brand:hover { color: #14233e; }
.brand-logo { width: 42px; height: 42px; }
.brand strong { color: #3578d8; }
.header-login, .account-link, .text-button { color: #53637d; font-size: 14px; font-weight: 600; }
.account-menu { display: flex; align-items: center; gap: 20px; }
.account-menu form { margin: 0; }
.text-button { border: 0; background: transparent; cursor: pointer; }
.site-main { width: min(100% - 36px, 1120px); min-height: calc(100vh - 146px); margin: 0 auto; display: grid; place-items: center; padding: 32px 0 56px; }
.site-footer { max-width: 1240px; margin: 0 auto; padding: 20px 34px 28px; display: flex; justify-content: space-between; color: #8190a5; font-size: 12px; }
.auth-shell { width: min(100%, 1000px); min-height: 570px; display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; border: 1px solid #e4e9f0; border-radius: 28px; background: #fff; box-shadow: 0 28px 80px #20385e17, 0 4px 12px #20385e08; }
.auth-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px 42px; color: #fff; background: linear-gradient(150deg, #13233f 0%, #172e51 58%, #1a4560 100%); }
.auth-aside::before, .auth-aside::after { position: absolute; content: ''; width: 290px; height: 290px; border: 1px solid #8bdbd52b; border-radius: 50%; }
.auth-aside::before { right: -150px; bottom: -85px; box-shadow: 0 0 0 28px #8bdbd50b, 0 0 0 58px #8bdbd508, 0 0 0 90px #8bdbd505; }
.auth-aside::after { width: 190px; height: 190px; right: 48px; bottom: 25px; border-color: #77c8d129; }
.aside-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: #fff; font: 800 18px Manrope, sans-serif; }
.aside-brand img { width: 48px; height: 48px; }
.aside-copy { position: relative; z-index: 1; max-width: 360px; margin: auto 0; padding: 52px 0; }
.eyebrow { margin: 0 0 18px; color: #82e1d4; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.aside-copy h1 { margin: 0 0 18px; font: 800 clamp(34px, 4vw, 48px)/1.12 Manrope, sans-serif; letter-spacing: -2px; }
.aside-copy p { margin: 0; color: #c3d0df; font-size: 15px; line-height: 1.75; }
.aside-note { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: #b7c8d9; font-size: 12px; }
.secure-dot { width: 8px; height: 8px; border-radius: 50%; background: #69dfc9; box-shadow: 0 0 14px #69dfc9aa; }
.auth-content { display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(30px, 5vw, 68px); }
.auth-heading { margin-bottom: 30px; }
.auth-heading h2 { margin: 0 0 8px; color: #172742; font: 800 28px Manrope, sans-serif; letter-spacing: -.8px; }
.auth-heading p { margin: 0; color: #78869b; font-size: 14px; }
.validation-summary-errors, .text-danger { color: #bd3446; font-size: 13px; }
.validation-summary-errors ul { margin: 0 0 15px; padding-left: 19px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin: 0 0 8px; color: #34445d; font-size: 13px; font-weight: 700; }
.field input { width: 100%; height: 50px; border: 1px solid #dce3ec; border-radius: 11px; outline: none; padding: 0 15px; color: #1b2b45; background: #fbfcfe; font: inherit; transition: border-color .18s, box-shadow .18s, background .18s; }
.field input:focus { border-color: #568de4; background: #fff; box-shadow: 0 0 0 4px #568de41c; }
.field input::placeholder { color: #a6b0bf; }
.form-options { display: flex; justify-content: space-between; align-items: center; margin: 1px 0 24px; color: #65738a; font-size: 13px; }
.remember { display: inline-flex; align-items: center; gap: 8px; }
.remember input { accent-color: #3478de; }
.primary-button, .google-button { width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 11px; font: 700 14px 'DM Sans', sans-serif; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.primary-button { border: 0; color: #fff; background: linear-gradient(100deg, #286dd6, #4289ee); box-shadow: 0 8px 18px #3478de35; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 11px 22px #3478de48; }
.google-button { border: 1px solid #dce3ec; color: #34445d; background: #fff; }
.google-button:hover { background: #f8fafe; box-shadow: 0 5px 14px #20385e10; }
.google-g { width: 19px; height: 19px; }
.divider { display: flex; align-items: center; gap: 13px; margin: 23px 0; color: #9aa5b5; font-size: 11px; }
.divider::before, .divider::after { height: 1px; flex: 1; content: ''; background: #e9edf2; }
.auth-bottom { margin: 24px 0 0; color: #78869b; text-align: center; font-size: 13px; }
.auth-bottom a, .form-options a { font-weight: 700; }
.form-label { display: block; margin: 0 0 7px; color: #34445d; font-size: 13px; font-weight: 700; }
.form-control, .form-select { display: block; width: 100%; min-height: 44px; border: 1px solid #d6dfeb; border-radius: 9px; padding: 10px 12px; color: #1b2b45; background: #fff; font: inherit; line-height: 1.4; }
textarea.form-control { min-height: 112px; resize: vertical; }
.form-control:focus, .form-select:focus { border-color: #568de4; outline: 0; box-shadow: 0 0 0 3px #3478de24; }
.form-control[type="file"] { min-height: 0; padding: 8px; }
.form-text { display: block; margin-top: 6px; color: #78869b; font-size: 12px; line-height: 1.5; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mt-3 { margin-top: 16px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.text-muted, .text-secondary { color: #78869b; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid transparent; border-radius: 9px; padding: 10px 16px; font: 700 14px 'DM Sans', sans-serif; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn-primary { color: #fff; background: linear-gradient(100deg, #286dd6, #4289ee); box-shadow: 0 6px 14px #3478de2b; }
.btn-primary:hover { color: #fff; background: linear-gradient(100deg, #205fbe, #3478de); }
.btn-outline-primary { border-color: #b9cef0; color: #286dd6; background: #fff; }
.btn-outline-primary:hover { border-color: #286dd6; color: #205fbe; background: #f3f7ff; }
.btn-outline-secondary { border-color: #cbd5e1; color: #53637d; background: #fff; }
.btn-outline-secondary:hover { border-color: #97a8bf; color: #34445d; background: #f8fafe; }
.btn-outline-danger { border-color: #e4b7bd; color: #b42336; background: #fff; }
.btn-outline-danger:hover { border-color: #b42336; color: #9f1d2e; background: #fff8f8; }
.btn-sm { min-height: 32px; padding: 6px 11px; font-size: 12px; }
.btn-lg { min-height: 48px; padding: 12px 18px; font-size: 15px; }
.registration-page { width: min(100%, 760px); align-self: center; margin: auto; }
.registration-card { padding: clamp(24px, 5vw, 48px); border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; box-shadow: 0 18px 52px #20385e12; }
.registration-header { margin-bottom: 28px; text-align: center; }
.registration-header h1 { margin: 0 0 10px; color: #172742; font: 800 clamp(28px, 4vw, 36px)/1.15 Manrope, sans-serif; letter-spacing: -1px; }
.registration-header p { margin: 0; color: #78869b; line-height: 1.6; }
.registration-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.registration-field { min-width: 0; }
.registration-field-wide { grid-column: 1 / -1; }
.registration-field .form-label { margin-bottom: 7px; }
.registration-submit { margin-top: 24px; }
.account-page { width: min(100%, 1040px); align-self: start; }
.account-heading { margin-bottom: 26px; }
.account-heading .eyebrow { margin-bottom: 10px; color: #3478de; }
.account-heading h1 { margin: 0 0 8px; color: #172742; font: 800 clamp(30px, 4vw, 40px)/1.15 Manrope, sans-serif; letter-spacing: -1.2px; }
.account-subtitle, .account-card-company { margin: 0; color: #78869b; }
.account-page-menu { display: flex; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid #dfe6ef; }
.account-page-menu-link { padding: 0 2px 13px; color: #65738a; font-size: 14px; font-weight: 700; }
.account-page-menu-link:hover, .account-page-menu-link.active { color: #286bdb; }
.account-page-menu-link.active { border-bottom: 2px solid #3478de; }
.account-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.account-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px #20385e0a; }
.account-card-body { padding: 24px; }
.account-card h2 { margin: 0 0 6px; color: #172742; font: 700 20px Manrope, sans-serif; }
.account-card-company { min-height: 24px; margin-bottom: 20px; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.account-stats div { display: flex; flex-direction: column; gap: 4px; }
.account-stats span { color: #78869b; font-size: 12px; }
.account-stats strong { color: #172742; font-size: 20px; }
.account-card-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.account-card-actions .btn { font-size: 13px; }
.account-empty-state { padding: 28px; }
.account-empty-state h2 { margin-bottom: 10px; }
.account-empty-state p { margin: 0; color: #65738a; line-height: 1.7; }
.dashboard-body { width: 100%; min-height: 100vh; background: #f4f6f8; }
.dashboard-app { width: 100vw; max-width: none; min-width: 320px; min-height: 100vh; display: flex; align-items: stretch; }
.dashboard-workspace { flex: 1 1 0; min-width: 0; }
.dashboard-topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 30px; border-bottom: 1px solid #e8ebef; background: #fff; }
.dashboard-topbar-title { color: #183044; font-size: 14px; font-weight: 700; }
.dashboard-topbar-user { display: flex; align-items: center; gap: 10px; color: #546477; font-size: 13px; font-weight: 600; }
.dashboard-user-indicator { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #3478de; font-weight: 700; }
.dashboard-main { width: 100%; max-width: none; min-height: calc(100vh - 64px); margin: 0; display: block; padding: 26px 30px 40px; }
.dashboard-sidebar { position: sticky; top: 0; z-index: 1; flex: 0 0 248px; width: 248px; min-width: 0; height: 100vh; min-height: 100vh; display: flex; flex-direction: column; padding: 18px 14px; border-radius: 0; color: #dce8fa; background: linear-gradient(165deg, #13233f, #172e51); box-shadow: none; }
.sidebar-brand { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: -18px -14px 20px; padding: 0 18px; border-bottom: 1px solid #ffffff15; color: #f4f7fa; font: 800 16px Manrope, sans-serif; }
.sidebar-brand:hover { color: #fff; }
.sidebar-brand .brand-logo { width: 30px; height: 30px; }
.sidebar-brand strong { color: #fff; }
.sidebar-heading { padding: 0 10px 10px; color: #8393a2; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.sidebar-section-label { padding: 14px 10px 5px; color: #8393a2; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.sidebar-nav { display: grid; gap: 5px; }
.sidebar-link { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 9px; color: #aebbc7; font-size: 13px; font-weight: 600; }
.sidebar-link:hover { color: #fff; background: #ffffff12; }
.sidebar-link.active { color: #fff; background: #243d62; box-shadow: inset 3px 0 #4289ee; }
.sidebar-footer { margin-top: auto; padding: 16px 6px 0; border-top: 1px solid #ffffff1a; }
.sidebar-footer form { margin: 0; }
.sidebar-signout { width: 100%; min-height: 42px; border: 1px solid #ffffff2b; border-radius: 9px; color: #e8edf1; background: transparent; font: 700 13px 'DM Sans', sans-serif; cursor: pointer; text-align: left; padding: 0 12px; }
.sidebar-signout:hover { color: #fff; background: #ffffff12; }
.dashboard-content { min-width: 0; }
.dashboard-page { width: 100%; }
.dashboard-page-header { margin-bottom: 24px; }
.dashboard-page-header .eyebrow { margin-bottom: 10px; color: #3478de; }
.dashboard-page-header h1 { margin: 0 0 8px; color: #172742; font: 800 clamp(28px, 3vw, 36px)/1.15 Manrope, sans-serif; letter-spacing: -1px; }
.dashboard-page-header > p:not(.eyebrow) { margin: 0; color: #78869b; }
.dashboard-welcome { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 25px 28px; overflow: hidden; border-radius: 16px; color: #fff; background: linear-gradient(112deg, #286dd6 0%, #1d4d8c 58%, #13233f 100%); }
.dashboard-welcome .eyebrow { margin-bottom: 9px; color: #c9dcff; }
.dashboard-welcome h1 { margin: 0 0 7px; color: #fff; font: 800 clamp(23px, 3vw, 30px)/1.2 Manrope, sans-serif; letter-spacing: -.7px; }
.dashboard-welcome p:not(.eyebrow) { margin: 0; color: #e1ebff; font-size: 13px; }
.welcome-action { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #ffffff2b; border-radius: 9px; color: #fff; background: #ffffff1b; font-size: 12px; font-weight: 700; }
.welcome-action:hover { color: #fff; background: #ffffff2b; }
.dashboard-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 14px; }
.dashboard-section-heading h2 { margin: 0; color: #25364a; font: 700 17px Manrope, sans-serif; }
.dashboard-section-heading > span { color: #8390a0; font-size: 12px; }
.dashboard-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.dashboard-stat-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid #e2e8f0; border-radius: 15px; color: #53637d; background: #fff; box-shadow: 0 8px 24px #20385e0a; }
.dashboard-stat-card:hover { border-color: #b9d0f5; color: #286bdb; transform: translateY(-1px); }
.dashboard-stat-card span { font-size: 13px; font-weight: 600; }
.dashboard-stat-card strong { color: #172742; font: 800 32px Manrope, sans-serif; }
.dashboard-stat-card small { color: #7d8b9a; font-size: 11px; }
.account-dashboard-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dashboard-panel { padding: 22px; border: 1px solid #e2e8f0; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px #20385e0a; }
.dashboard-panel h2 { color: #172742; font: 700 18px Manrope, sans-serif; }
.dashboard-panel > p { color: #65738a; }
.dashboard-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.dashboard-panel-heading h2 { margin: 0 0 5px; }
.dashboard-panel-heading p { margin: 0; color: #8290a0; font-size: 12px; }
.panel-link { color: #286dd6; font-size: 12px; font-weight: 700; }
.dashboard-quick-links { display: grid; }
.dashboard-quick-links > a { min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; padding: 10px 4px; border-top: 1px solid #edf0f2; color: #34475a; font-size: 13px; font-weight: 600; }
.dashboard-quick-links > a:first-child { border-top: 0; }
.dashboard-quick-links > a:hover { color: #286dd6; }
.dashboard-quick-links > a > span:nth-child(1):not(:last-child) { grid-column: 1; color: #8390a0; font-size: 11px; font-weight: 400; }
.dashboard-quick-links > a > span:last-child { grid-column: 2; grid-row: 1 / span 2; }
.managed-card-row { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #edf0f2; }
.managed-card-row:first-child { border-top: 0; }
.managed-card-row > div { display: grid; gap: 3px; }
.managed-card-row > div span { color: #8390a0; font-size: 12px; }
.managed-card-row form { margin: 0; }
.account-empty-state h2 { margin-top: 0; }
.account-empty-state p { margin-bottom: 0; }
.dashboard-panel.table-responsive { padding: 10px 16px; }
.dashboard-panel .table { margin-bottom: 0; }
.dashboard-panel .table > :not(caption) > * > * { padding: 14px 10px; }
.dashboard-panel .table thead th { color: #65738a; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.dashboard-panel .list-group-item { border-color: #edf0f5; overflow-wrap: anywhere; }
.dashboard-page > .alert { border-radius: 12px; }
.dashboard-main .dashboard-page { width: 100%; max-width: none; }
.dashboard-main .dashboard-page-header h1 { max-width: none; }
.dashboard-main { color: #14233e; }
.dashboard-main .container, .dashboard-main .container-fluid { width: 100%; max-width: 1280px; margin: 0; padding-right: 0; padding-left: 0; }
.dashboard-main h1, .dashboard-main h2, .dashboard-main h3, .dashboard-main h4 { color: #172742; font-family: Manrope, sans-serif; }
.dashboard-main .row { display: flex; flex-wrap: wrap; margin: 0 -10px 16px; }
.dashboard-main .row > [class*="col-"] { min-width: 0; padding: 0 10px; }
.dashboard-main .col-12 { flex: 0 0 100%; max-width: 100%; }
.dashboard-main .nav { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dashboard-main .nav-item { margin: 0; padding: 0; list-style: none; }
.dashboard-main .nav-link { display: block; padding: 10px 12px; border-radius: 9px; color: #53637d; font-size: 14px; font-weight: 600; }
.dashboard-main .nav-link:hover { color: #286dd6; background: #eef4ff; }
.dashboard-main .nav-link.active { color: #286dd6; background: #e8f0ff; }
.dashboard-main hr { margin: 16px 0; border: 0; border-top: 1px solid #e2e8f0; opacity: 1; }
.dashboard-main label, .dashboard-main .form-label { display: block; margin: 0 0 6px; color: #34445d; font-size: 13px; font-weight: 600; }
.dashboard-main .form-control, .dashboard-main .form-select, .dashboard-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .dashboard-main select, .dashboard-main textarea { width: 100%; min-height: 44px; border: 1px solid #d6dfeb; border-radius: 9px; padding: 10px 12px; color: #1b2b45; background: #fff; font: inherit; line-height: 1.4; }
.dashboard-main textarea.form-control, .dashboard-main textarea { min-height: 96px; resize: vertical; }
.dashboard-main .form-control:focus, .dashboard-main .form-select:focus, .dashboard-main input:focus, .dashboard-main select:focus, .dashboard-main textarea:focus { border-color: #568de4; outline: 0; box-shadow: 0 0 0 3px #3478de24; }
.dashboard-main input[type="checkbox"], .dashboard-main input[type="radio"] { width: 16px; height: 16px; accent-color: #3478de; }
.dashboard-main .form-floating { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.dashboard-main .form-floating > label { position: static; order: -1; height: auto; padding: 0; color: #34445d; opacity: 1; transform: none; }
.dashboard-main .form-text { display: block; margin-top: 6px; color: #78869b; font-size: 12px; }
.dashboard-main .form-check { display: flex; align-items: center; gap: 8px; min-height: 24px; margin: 0; }
.dashboard-main .form-check label, .dashboard-main label.form-check { display: flex; align-items: center; gap: 8px; margin: 0; }
.dashboard-main .form-check-input { flex: 0 0 auto; margin: 0; }
.dashboard-main .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid transparent; border-radius: 9px; padding: 9px 15px; font: 700 13px 'DM Sans', sans-serif; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.dashboard-main .btn-primary { color: #fff; background: linear-gradient(100deg, #286dd6, #4289ee); box-shadow: 0 6px 14px #3478de2b; }
.dashboard-main .btn-primary:hover { color: #fff; background: linear-gradient(100deg, #205fbe, #3478de); }
.dashboard-main .btn-outline-primary { border-color: #b9cef0; color: #286dd6; background: #fff; }
.dashboard-main .btn-outline-primary:hover { border-color: #286dd6; color: #205fbe; background: #f3f7ff; }
.dashboard-main .btn-outline-secondary { border-color: #cbd5e1; color: #53637d; background: #fff; }
.dashboard-main .btn-outline-danger { border-color: #e4b7bd; color: #b42336; background: #fff; }
.dashboard-main .btn-sm { min-height: 32px; padding: 6px 11px; font-size: 12px; }
.dashboard-main .btn-lg { min-height: 48px; padding: 12px 18px; font-size: 15px; }
.dashboard-main .table { width: 100%; border-collapse: collapse; color: #24364b; vertical-align: middle; }
.dashboard-main .table th, .dashboard-main .table td { border-bottom: 1px solid #e9eef5; padding: 13px 10px; text-align: left; }
.dashboard-main .table thead th { color: #53637d; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.dashboard-main .table-striped tbody tr:nth-child(odd) { background: #f8faff; }
.dashboard-main .table-responsive { overflow-x: auto; }
.dashboard-main .list-group { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.dashboard-main .list-group-item { border-bottom: 1px solid #e9eef5; padding: 12px 10px; overflow-wrap: anywhere; }
.dashboard-main .alert { border: 1px solid #c9daf7; border-radius: 10px; padding: 12px 15px; color: #244b82; background: #eff5ff; }
.dashboard-main .text-muted, .dashboard-main .text-secondary { color: #78869b !important; }
.dashboard-main .text-danger, .dashboard-main .field-validation-error, .dashboard-main .validation-summary-errors { color: #b42336; }
.dashboard-main .validation-summary-errors ul { margin: 0 0 12px; padding-left: 20px; }
.dashboard-main .mb-3 { margin-bottom: 16px; }
.dashboard-main .mt-3 { margin-top: 16px; }
.dashboard-main .mb-4 { margin-bottom: 24px; }
@media (min-width: 761px) {
    .dashboard-main .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .dashboard-main .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .dashboard-main .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .dashboard-main .col-md-9 { flex: 0 0 75%; max-width: 75%; }
}
@media (max-width: 760px) {
    .site-header { height: 70px; padding: 0 20px; }
    .site-main { width: min(100% - 24px, 520px); min-height: calc(100vh - 130px); padding: 16px 0 28px; }
    .auth-shell { min-height: 0; grid-template-columns: 1fr; border-radius: 22px; }
    .auth-aside { min-height: 200px; padding: 25px 28px; }
    .aside-copy { padding: 24px 0 12px; }
    .aside-copy h1 { max-width: 420px; margin-bottom: 10px; font-size: 32px; }
    .aside-copy p { max-width: 440px; font-size: 13px; }
    .aside-note { display: none; }
    .auth-content { padding: 34px 28px 38px; }
    .site-footer { padding: 16px 20px 22px; }
}
@media (max-width: 760px) {
    .dashboard-sidebar { flex-basis: 208px; width: 208px; height: 100vh; min-height: 100vh; padding: 16px 10px; }
    .sidebar-brand { margin: -16px -10px 16px; padding: 0 14px; }
    .dashboard-topbar { padding: 0 18px; }
    .dashboard-main { padding: 18px 18px 28px; }
    .sidebar-heading { padding: 2px 8px 8px; }
    .sidebar-nav { grid-template-columns: 1fr; }
    .sidebar-link { min-height: 40px; padding: 0 9px; font-size: 13px; }
    .sidebar-footer { padding: 10px 0 0; }
    .dashboard-content { padding: 14px 0 22px; }
    .dashboard-stat-grid { grid-template-columns: 1fr; gap: 10px; }
    .account-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-stat-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 15px 18px; }
    .dashboard-stat-card strong { font-size: 26px; }
    .dashboard-panel { padding: 17px; }
    .account-menu { gap: 12px; }
    .account-menu .account-link:nth-of-type(2) { display: none; }
    .account-card-body, .account-empty-state { padding: 20px; }
    .account-card-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 520px) {
    .dashboard-app { flex-direction: column; }
    .dashboard-sidebar { position: relative; flex-basis: auto; width: 100%; height: auto; min-height: 0; padding: 12px; }
    .dashboard-workspace { flex: 1 1 auto; width: 100%; }
    .sidebar-brand { min-height: 40px; margin: -12px -12px 12px; padding: 0 14px; }
    .dashboard-topbar { height: 54px; padding: 0 14px; }
    .dashboard-main { min-height: 0; padding: 16px 12px 24px; }
    .dashboard-topbar-user > span:last-child { display: none; }
    .dashboard-welcome { align-items: flex-start; flex-direction: column; padding: 22px; }
    .welcome-action { align-self: flex-start; }
    .account-dashboard-stats { grid-template-columns: 1fr; }
    .sidebar-heading { padding: 2px 8px 8px; }
    .sidebar-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sidebar-link { min-height: 40px; padding: 0 9px; font-size: 13px; }
    .sidebar-footer { padding: 10px 0 0; }
    .dashboard-content { padding: 10px 4px 22px; }
}
@media (max-width: 430px) {
    .auth-content { padding: 30px 21px 32px; }
    .auth-aside { min-height: 180px; padding: 22px; }
    .aside-brand img { width: 40px; height: 40px; }
    .aside-copy h1 { font-size: 28px; }
    .site-footer { gap: 8px; flex-direction: column; }
}
@media (max-width: 600px) {
    .registration-fields { grid-template-columns: 1fr; gap: 16px; }
    .registration-field-wide { grid-column: auto; }
}
