:root {
	--dot-orange: #f36c21;
	--dot-orange-dark: #d9550d;
	--dot-orange-soft: #fff3ea;
	--dot-navy: #10152f;
	--dot-navy-2: #171d42;
	--dot-ink: #111827;
	--dot-muted: #667085;
	--dot-border: #e6e8ef;
	--dot-bg: #f5f7fb;
	--dot-white: #ffffff;
	--dot-shadow: 0 18px 50px rgba(20, 27, 61, .09);
	--dot-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.dot-dealer-portal-page,
body.dot-dealer-login-page {
	margin: 0;
	background: var(--dot-bg);
	color: var(--dot-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.dot-dealer-portal-page #wpadminbar { display: none; }
body.dot-dealer-portal-page.admin-bar { margin-top: 0 !important; }
a { color: inherit; }
.dot-icon { width: 22px; height: 22px; display: inline-block; flex: 0 0 auto; }
.dot-wordmark { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; letter-spacing: .08em; color: #fff; white-space: nowrap; }
.dot-wordmark span { color: var(--dot-orange); }
.dot-logo-image { display: block; max-width: 150px; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.dot-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 800; color: var(--dot-orange); }

/* Login */
.dot-login-shell {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(380px, 540px) 1fr;
	background: #fff;
}
.dot-login-panel {
	padding: clamp(38px, 6vw, 86px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 2;
}
.dot-login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; color: var(--dot-navy); font-weight: 800; font-size: 18px; }
.dot-login-brand .dot-wordmark { color: var(--dot-navy); }
.dot-login-panel h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 52px); line-height: 1.02; color: var(--dot-navy); letter-spacing: -.04em; }
.dot-login-panel > p { margin: 0 0 32px; color: var(--dot-muted); line-height: 1.7; font-size: 16px; max-width: 520px; }
.dot-login-panel form { display: grid; gap: 18px; }
.dot-login-panel form p { margin: 0; }
.dot-login-panel label { display: block; font-size: 13px; font-weight: 700; color: var(--dot-ink); margin-bottom: 8px; }
.dot-login-panel input[type="text"],
.dot-login-panel input[type="password"] {
	width: 100%;
	border: 1px solid #d7dbe6;
	background: #fff;
	border-radius: 12px;
	padding: 14px 15px;
	font-size: 16px;
	outline: none;
	transition: .2s ease;
}
.dot-login-panel input[type="text"]:focus,
.dot-login-panel input[type="password"]:focus { border-color: var(--dot-orange); box-shadow: 0 0 0 4px rgba(243,108,33,.12); }
.dot-login-panel .login-remember label { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--dot-muted); }
.dot-login-panel .login-submit input {
	width: 100%; border: 0; border-radius: 12px; padding: 15px 18px; background: var(--dot-orange); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 10px 24px rgba(243,108,33,.24); transition: .2s ease;
}
.dot-login-panel .login-submit input:hover { background: var(--dot-orange-dark); transform: translateY(-1px); }
.dot-login-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font-size: 13px; }
.dot-login-links a { color: var(--dot-orange-dark); font-weight: 700; text-decoration: none; }
.dot-login-visual {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--dot-navy) 0%, #20295f 62%, #263171 100%);
	display: flex;
	align-items: flex-end;
	padding: clamp(48px, 7vw, 100px);
	color: #fff;
}
.dot-login-visual:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.dot-login-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.dot-login-orb-one { width: 420px; height: 420px; right: -100px; top: -90px; border: 62px solid rgba(243,108,33,.8); box-shadow: 0 0 100px rgba(243,108,33,.25); }
.dot-login-orb-two { width: 240px; height: 240px; left: 10%; top: 15%; border: 35px solid rgba(255,255,255,.07); }
.dot-login-visual-content { position: relative; z-index: 2; max-width: 620px; }
.dot-login-visual-content .dot-eyebrow { color: #ffad78; }
.dot-login-visual-content h2 { font-size: clamp(38px, 5vw, 70px); line-height: .98; letter-spacing: -.045em; margin: 16px 0 30px; }
.dot-login-visual-content ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.dot-login-visual-content li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: rgba(255,255,255,.82); }
.dot-login-visual-content li .dot-icon { color: var(--dot-orange); }

/* Portal layout */
.dot-portal { min-height: 100vh; background: var(--dot-bg); }
.dot-sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	width: 270px;
	background: linear-gradient(180deg, var(--dot-navy), #0b1028 100%);
	color: #fff;
	z-index: 50;
	display: flex;
	flex-direction: column;
	box-shadow: 12px 0 40px rgba(8, 12, 31, .08);
}
.dot-sidebar-brand { min-height: 86px; display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dot-sidebar-brand > div { display: grid; gap: 2px; }
.dot-sidebar-brand strong { font-size: 16px; }
.dot-sidebar-brand span { color: rgba(255,255,255,.5); font-size: 11px; }
.dot-sidebar-nav { padding: 20px 14px; display: grid; gap: 5px; overflow-y: auto; }
.dot-sidebar-nav a { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 0 13px; border-radius: 11px; color: rgba(255,255,255,.68); text-decoration: none; font-weight: 650; font-size: 14px; transition: .18s ease; }
.dot-sidebar-nav a:hover, .dot-sidebar-nav a.active { color: #fff; background: rgba(255,255,255,.09); }
.dot-sidebar-nav a.active { box-shadow: inset 3px 0 0 var(--dot-orange); }
.dot-sidebar-nav .dot-icon { width: 19px; height: 19px; }
.dot-sidebar-footer { margin-top: auto; padding: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.dot-user-mini { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.dot-user-mini > div:last-child { min-width: 0; display: grid; gap: 2px; }
.dot-user-mini strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot-user-mini span { color: rgba(255,255,255,.48); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot-avatar { width: 35px; height: 35px; border-radius: 10px; background: linear-gradient(135deg, var(--dot-orange), #ff9453); color: #fff; display: inline-grid; place-items: center; font-weight: 850; flex: 0 0 auto; }
.dot-logout { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.58); text-decoration: none; font-size: 12px; font-weight: 700; }
.dot-logout:hover { color: #fff; }
.dot-logout .dot-icon { width: 17px; height: 17px; }
.dot-main { margin-left: 270px; min-height: 100vh; }
.dot-topbar { height: 76px; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--dot-border); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; position: sticky; top: 0; z-index: 30; }
.dot-topbar-copy { display: grid; gap: 2px; }
.dot-topbar-copy strong { color: var(--dot-navy); font-size: 16px; }
.dot-topbar-copy span { color: var(--dot-muted); font-size: 12px; }
.dot-topbar-actions { display: flex; align-items: center; gap: 10px; }
.dot-icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--dot-border); background: #fff; border-radius: 12px; color: var(--dot-muted); text-decoration: none; }
.dot-icon-button:hover { color: var(--dot-orange); border-color: #f6bd9c; }
.dot-profile-chip { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border-radius: 13px; text-decoration: none; color: var(--dot-ink); font-size: 13px; font-weight: 700; }
.dot-profile-chip:hover { background: #f6f7fa; }
.dot-profile-chip .dot-avatar { width: 33px; height: 33px; }
.dot-mobile-menu { display: none; border: 0; background: transparent; padding: 8px; color: var(--dot-navy); cursor: pointer; }
.dot-content { padding: 32px; max-width: 1580px; margin: 0 auto; }

/* Hero */
.dot-hero-section { scroll-margin-top: 96px; }
.dot-hero { min-height: 350px; border-radius: 26px; background: linear-gradient(115deg, #161d45 0%, var(--dot-navy) 56%, #20295e 100%); color: #fff; overflow: hidden; position: relative; display: grid; grid-template-columns: 1.15fr .85fr; box-shadow: var(--dot-shadow); }
.dot-hero-copy { padding: clamp(35px, 5vw, 70px); position: relative; z-index: 2; align-self: center; }
.dot-hero-copy .dot-eyebrow { color: #ffad78; }
.dot-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -.05em; margin: 14px 0 20px; max-width: 760px; }
.dot-hero p { color: rgba(255,255,255,.7); line-height: 1.7; font-size: 16px; max-width: 690px; margin: 0; }
.dot-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dot-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 800; border: 1px solid transparent; transition: .18s ease; }
.dot-button:hover { transform: translateY(-1px); }
.dot-button .dot-icon { width: 18px; height: 18px; }
.dot-button-primary { background: var(--dot-orange); color: #fff; box-shadow: 0 12px 28px rgba(243,108,33,.24); }
.dot-button-primary:hover { background: var(--dot-orange-dark); color: #fff; }
.dot-button-secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.15); }
.dot-button-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }
.dot-button-light { background: #fff; color: var(--dot-navy); }
.dot-button-light:hover { color: var(--dot-orange-dark); }
.dot-hero-art { position: relative; min-height: 350px; display: grid; place-items: center; }
.dot-hero-art:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 60% 44%, rgba(243,108,33,.18), transparent 42%); }
.dot-hero-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.dot-hero-ring.ring-one { width: 360px; height: 360px; }
.dot-hero-ring.ring-two { width: 270px; height: 270px; border-color: rgba(243,108,33,.42); }
.dot-hero-ring.ring-three { width: 170px; height: 170px; background: rgba(243,108,33,.12); border: 22px solid rgba(243,108,33,.42); box-shadow: 0 0 70px rgba(243,108,33,.2); }
.dot-dcms-mark { width: 170px; height: 170px; display: grid; place-items: center; align-content: center; position: relative; z-index: 2; font-weight: 900; font-size: 33px; letter-spacing: -.04em; }
.dot-dcms-mark span { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 6px; }
.dot-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.dot-stat-card { background: #fff; border: 1px solid var(--dot-border); border-radius: 16px; min-height: 92px; padding: 18px; display: flex; align-items: center; gap: 13px; box-shadow: 0 8px 24px rgba(20,27,61,.04); }
.dot-stat-card > div { display: grid; gap: 4px; min-width: 0; }
.dot-stat-card span { color: var(--dot-muted); font-size: 11px; font-weight: 700; }
.dot-stat-card strong { color: var(--dot-navy); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot-stat-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.dot-stat-icon .dot-icon { width: 20px; height: 20px; }
.dot-stat-icon.orange { background: #fff1e8; color: var(--dot-orange); }
.dot-stat-icon.blue { background: #edf4ff; color: #2869d8; }
.dot-stat-icon.green { background: #eafaf2; color: #14945a; }
.dot-stat-icon.purple { background: #f3efff; color: #7455d9; }

/* Sections and cards */
.dot-portal-section { padding-top: 38px; scroll-margin-top: 82px; }
.dot-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 16px; }
.dot-section-heading h2 { margin: 4px 0 0; color: var(--dot-navy); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.dot-section-heading > span { color: var(--dot-muted); font-size: 12px; font-weight: 700; }
.dot-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.dot-link-card { min-height: 126px; background: #fff; border: 1px solid var(--dot-border); border-radius: 17px; padding: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: start; text-decoration: none; box-shadow: 0 8px 24px rgba(20,27,61,.035); transition: .18s ease; }
.dot-link-card:hover { border-color: rgba(243,108,33,.45); box-shadow: 0 16px 38px rgba(20,27,61,.08); transform: translateY(-2px); }
.dot-link-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--dot-orange-soft); color: var(--dot-orange); }
.dot-link-icon .dot-icon { width: 22px; height: 22px; }
.dot-link-content { display: grid; gap: 7px; min-width: 0; }
.dot-link-content strong { color: var(--dot-navy); font-size: 15px; }
.dot-link-content span { color: var(--dot-muted); line-height: 1.5; font-size: 12px; }
.dot-link-arrow { color: #a7adba; }
.dot-link-arrow .dot-icon { width: 18px; height: 18px; }
.dot-link-card:hover .dot-link-arrow { color: var(--dot-orange); }

/* Notices */
.dot-notice-list { display: grid; gap: 12px; }
.dot-notice-card { background: #fff; border: 1px solid var(--dot-border); border-radius: 16px; padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.dot-notice-icon { width: 42px; height: 42px; border-radius: 12px; background: #fff1e8; color: var(--dot-orange); display: grid; place-items: center; }
.dot-notice-card > div > span { color: var(--dot-muted); font-size: 11px; font-weight: 700; }
.dot-notice-card h3 { margin: 4px 0 7px; font-size: 16px; color: var(--dot-navy); }
.dot-notice-card p { margin: 0; color: var(--dot-muted); line-height: 1.6; font-size: 13px; }

/* Resources */
.dot-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dot-resource-card { background: #fff; border: 1px solid var(--dot-border); border-radius: 16px; padding: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; text-decoration: none; transition: .18s ease; }
.dot-resource-card:hover { border-color: rgba(243,108,33,.4); box-shadow: 0 12px 30px rgba(20,27,61,.06); }
.dot-resource-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #f3f5f9; color: var(--dot-navy); }
.dot-resource-copy { display: grid; gap: 3px; min-width: 0; }
.dot-resource-copy small { color: var(--dot-orange); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 850; }
.dot-resource-copy strong { color: var(--dot-navy); font-size: 14px; }
.dot-resource-copy span { color: var(--dot-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot-empty-state { grid-column: 1 / -1; border: 1px dashed #cfd4df; border-radius: 16px; min-height: 190px; display: grid; place-items: center; align-content: center; text-align: center; padding: 28px; color: var(--dot-muted); }
.dot-empty-state .dot-icon { width: 34px; height: 34px; color: var(--dot-orange); margin-bottom: 10px; }
.dot-empty-state h3 { color: var(--dot-navy); margin: 0 0 5px; }
.dot-empty-state p { margin: 0; font-size: 13px; }

/* Profile */
.dot-profile-grid { display: grid; grid-template-columns: 340px 1fr; gap: 15px; }
.dot-profile-card, .dot-profile-details { background: #fff; border: 1px solid var(--dot-border); border-radius: 17px; padding: 22px; }
.dot-profile-card { display: flex; align-items: center; gap: 17px; }
.dot-profile-avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--dot-orange), #ff9d5e); font-size: 25px; font-weight: 900; }
.dot-profile-card h3 { margin: 0 0 5px; color: var(--dot-navy); }
.dot-profile-card p { margin: 0; color: var(--dot-muted); font-size: 13px; }
.dot-profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dot-profile-details > div { display: grid; gap: 5px; padding: 4px 0; }
.dot-profile-details span { color: var(--dot-muted); font-size: 11px; font-weight: 700; }
.dot-profile-details strong { color: var(--dot-navy); font-size: 13px; word-break: break-word; }

/* Support */
.dot-support-section { padding-bottom: 44px; }
.dot-support-card { background: linear-gradient(120deg, var(--dot-orange) 0%, #ef5c0d 100%); color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 46px); display: flex; justify-content: space-between; align-items: center; gap: 40px; overflow: hidden; position: relative; }
.dot-support-card:after { content: ""; position: absolute; width: 310px; height: 310px; border-radius: 50%; border: 55px solid rgba(255,255,255,.1); right: -100px; top: -120px; }
.dot-support-card > div { position: relative; z-index: 2; }
.dot-support-card .dot-eyebrow { color: rgba(255,255,255,.7); }
.dot-support-card h2 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.04em; max-width: 700px; }
.dot-support-card p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.6; max-width: 700px; }
.dot-support-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 250px; }
.dot-support-actions > span { text-align: center; font-size: 11px; color: rgba(255,255,255,.72); }

.dot-access-message { min-height: 100vh; display: grid; place-items: center; align-content: center; text-align: center; padding: 30px; background: var(--dot-bg); }
.dot-access-message h2 { color: var(--dot-navy); font-size: 34px; margin: 0 0 8px; }
.dot-access-message p { color: var(--dot-muted); max-width: 550px; margin: 0 0 20px; }
.dot-sidebar-overlay { display: none; }

@media (max-width: 1180px) {
	.dot-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dot-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dot-hero { grid-template-columns: 1fr .65fr; }
}

@media (max-width: 900px) {
	.dot-login-shell { grid-template-columns: 1fr; }
	.dot-login-visual { min-height: 430px; }
	.dot-sidebar { transform: translateX(-100%); transition: transform .22s ease; }
	.dot-sidebar.open { transform: translateX(0); }
	.dot-main { margin-left: 0; }
	.dot-mobile-menu { display: inline-flex; }
	.dot-topbar { padding: 0 18px; }
	.dot-content { padding: 22px 18px; }
	.dot-sidebar-overlay { display: block; position: fixed; inset: 0; background: rgba(7, 11, 29, .45); z-index: 40; opacity: 0; visibility: hidden; transition: .2s ease; }
	.dot-sidebar-overlay.show { opacity: 1; visibility: visible; }
	.dot-hero { grid-template-columns: 1fr; }
	.dot-hero-art { min-height: 240px; }
	.dot-profile-grid { grid-template-columns: 1fr; }
	.dot-support-card { flex-direction: column; align-items: flex-start; }
	.dot-support-actions { width: 100%; min-width: 0; }
}

@media (max-width: 640px) {
	.dot-login-panel { padding: 32px 22px; }
	.dot-login-visual { padding: 35px 24px; min-height: 390px; }
	.dot-login-links { flex-direction: column; gap: 10px; }
	.dot-topbar-copy span, .dot-profile-chip > span:last-child { display: none; }
	.dot-topbar-actions { gap: 3px; }
	.dot-content { padding: 16px 12px; }
	.dot-hero { border-radius: 18px; }
	.dot-hero-copy { padding: 30px 22px; }
	.dot-hero-art { display: none; }
	.dot-hero h1 { font-size: 38px; }
	.dot-hero-actions { flex-direction: column; }
	.dot-button { width: 100%; }
	.dot-stat-grid, .dot-link-grid, .dot-resource-grid { grid-template-columns: 1fr; }
	.dot-stat-card { min-height: 82px; }
	.dot-section-heading { align-items: flex-start; }
	.dot-section-heading > span { display: none; }
	.dot-link-card { min-height: 112px; padding: 17px; }
	.dot-profile-details { grid-template-columns: 1fr; }
	.dot-support-card { border-radius: 18px; }
}
