/*
 * Oko by Rahmat — brand layer for WooCommerce, Dokan and the glass finish.
 * Each section is scoped to a body class added only when its module is on:
 *   .oko-woo-brand   → WooCommerce pages (account, cart, checkout, product)
 *   .oko-dokan-brand → Dokan seller dashboard and store pages
 *   .oko-glass       → frosted-glass details (header, search, bars, dialogs)
 */

/* =====================================================================
 * Shared button polish (all OkoLink buttons)
 * ===================================================================== */
.oko-btn { box-shadow: 0 1px 2px rgba(15, 92, 58, .12); transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.oko-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 92, 58, .18); }
.oko-btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(15, 92, 58, .12); }
.oko-btn--ghost, .oko-btn--ghost:hover { box-shadow: none; }
.oko-btn--ghost:focus, .oko-btn--ghost:focus-visible { background: transparent; color: var(--oko-green); }
.oko-btn.oko-btn--ghost.is-on, .oko-btn.oko-btn--ghost.is-on:hover, .oko-btn.oko-btn--ghost.is-on:focus { background: var(--oko-green); color: #fff; border-color: var(--oko-green); }
.oko-btn--danger:hover, .oko-btn--danger:focus { background: #fdecea !important; color: var(--oko-red) !important; }
.oko-btn--clay:hover, .oko-btn--clay:focus { background: #9a4a26; color: #fff; }
.oko-btn--sun:focus { color: #3b2a00; }
.oko-btn:focus { color: inherit; }
.oko-btn:not(.oko-btn--ghost):not(.oko-btn--sun):focus { color: #fff; }

/* =====================================================================
 * Glass finish (subtle, keeps the prototype look)
 * ===================================================================== */
.oko-glass .oko-header { background: rgba(251, 250, 246, .72); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 8px 24px rgba(15, 92, 58, .06); }
.oko-glass .oko-hero .oko-search { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .6); }
.oko-glass .oko-hero__badge, .oko-glass .oko-chip { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.oko-glass .oko-filters { background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--oko-shadow); }
.oko-glass .oko-cmpbar, .oko-glass .oko-bnav { background: rgba(255, 255, 255, .8); backdrop-filter: saturate(170%) blur(14px); -webkit-backdrop-filter: saturate(170%) blur(14px); }
.oko-glass .oko-dialog::backdrop { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.oko-glass .oko-toast { background: rgba(27, 36, 31, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.oko-glass .oko-lcard, .oko-glass .oko-pillar, .oko-glass .oko-panel { border-color: rgba(226, 231, 227, .9); }
.oko-glass .oko-pillar:hover, .oko-glass .oko-lcard:hover { box-shadow: 0 14px 34px rgba(15, 92, 58, .14); }
.oko-glass .oko-userchip, .oko-glass .oko-curtog { background: rgba(255, 255, 255, .7); }

/* =====================================================================
 * WooCommerce pages
 * ===================================================================== */
.oko-woo-brand.woocommerce-account .site-main,
.oko-woo-brand.woocommerce-cart .site-main,
.oko-woo-brand.woocommerce-checkout .site-main { padding-top: 34px; padding-bottom: 60px; }
.oko-woo-brand .page-header .entry-title { font-family: var(--oko-font-head); font-size: 2.1rem; }

.oko-woo-brand .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--oko-line); border-radius: var(--oko-radius); box-shadow: var(--oko-shadow); }
.oko-woo-brand .woocommerce-MyAccount-navigation li a { display: block; padding: .6rem .85rem; border-radius: 10px; color: var(--oko-muted); text-decoration: none; font-weight: 500; }
.oko-woo-brand .woocommerce-MyAccount-navigation li a:hover { background: var(--oko-green-soft); color: var(--oko-green); }
.oko-woo-brand .woocommerce-MyAccount-navigation li.is-active a { background: var(--oko-green); color: #fff; }
.oko-woo-brand .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--oko-line); border-radius: var(--oko-radius); padding: 24px; box-shadow: var(--oko-shadow); }
@media (max-width: 768px) {
	.oko-woo-brand .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
	.oko-woo-brand .woocommerce-MyAccount-content { margin-top: 14px; }
}

.oko-woo-brand .woocommerce a.button, .oko-woo-brand .woocommerce button.button, .oko-woo-brand .woocommerce input.button,
.oko-woo-brand .woocommerce #respond input#submit, .oko-woo-brand a.dokan-btn-theme, .oko-woo-brand .woocommerce .button.alt {
	background: var(--oko-green); color: #fff; border: 0; border-radius: 10px; padding: .62rem 1.1rem; font-weight: 700; text-decoration: none; box-shadow: 0 1px 2px rgba(15, 92, 58, .12);
}
.oko-woo-brand .woocommerce a.button:hover, .oko-woo-brand .woocommerce button.button:hover, .oko-woo-brand .woocommerce input.button:hover,
.oko-woo-brand .woocommerce .button.alt:hover, .oko-woo-brand a.dokan-btn-theme:hover { background: var(--oko-green-2); color: #fff; }
.oko-woo-brand .woocommerce-message, .oko-woo-brand .woocommerce-info { border-top-color: var(--oko-green); background: var(--oko-green-soft); border-radius: 10px; }
.oko-woo-brand .woocommerce-message::before, .oko-woo-brand .woocommerce-info::before { color: var(--oko-green); }
.oko-woo-brand .woocommerce-error { border-top-color: var(--oko-red); border-radius: 10px; }
.oko-woo-brand .woocommerce span.onsale { background: var(--oko-sun); color: #3b2a00; }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 10px 10px 0 0; background: #eef2ef; border-color: var(--oko-line); }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--oko-muted); font-weight: 600; }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--oko-green); }
.oko-woo-brand .woocommerce-breadcrumb, .oko-woo-brand .woocommerce-breadcrumb a { color: var(--oko-muted); font-size: .86rem; }
.oko-woo-brand .woocommerce .quantity .qty { width: 5em; border-radius: 10px; }

/* =====================================================================
 * Dokan seller dashboard and store pages
 * ===================================================================== */
.oko-dokan-brand {
	--dokan-sidebar-background-color: #0b2a1c;
	--dokan-sidebar-hover-background-color: #147a4d;
	--dokan-sidebar-text-color: #cfe0d5;
	--dokan-sidebar-hover-text-color: #ffffff;
	--dokan-button-background-color: #0f5c3a;
	--dokan-button-hover-background-color: #147a4d;
	--dokan-button-border-color: #0f5c3a;
	--dokan-button-hover-border-color: #147a4d;
	--dokan-button-text-color: #ffffff;
	--dokan-button-hover-text-color: #ffffff;
	--dokan-button-hover-color: #ffffff;
	--dokan-button-secondary-background-color: #ffffff;
	--dokan-button-secondary-hover-background-color: #e6f2ea;
	--dokan-button-secondary-text-color: #0f5c3a;
	--dokan-button-secondary-hover-text-color: #0f5c3a;
	--dokan-link-color: #147a4d;
	--dokan-link-hover-color: #0f5c3a;
	--dokan-success-background-color: #e6f2ea;
	--dokan-success-text-color: #0f5c3a;
	--dokan-warning-background-color: #fdf3dc;
	--dokan-warning-text-color: #8a5d00;
	--dokan-danger-background-color: #fdecea;
	--dokan-danger-text-color: #8c2216;
}
.oko-dokan-brand .dokan-dashboard-wrap,
.oko-dokan-brand .dokan-dashboard-wrap :is(p, span, a, button, input, select, textarea, label, td, th, li, div):not([class*="fa-"]):not([class*="dashicons"]) { font-family: var(--oko-font-body); }
.oko-dokan-brand .dokan-dashboard-wrap :is(h1, h2, h3, .entry-title) { font-family: var(--oko-font-head); color: var(--oko-ink); }
.oko-dokan-brand .dokan-dash-sidebar { background: linear-gradient(180deg, #0b2a1c 0%, #0f3d27 100%) !important; }
.oko-dokan-brand .dokan-dash-sidebar ul.dokan-dashboard-menu li a { border-radius: 10px; }
.oko-dokan-brand .dokan-dash-sidebar ul.dokan-dashboard-menu li.active > a,
.oko-dokan-brand .dokan-dash-sidebar ul.dokan-dashboard-menu li.active { background: #147a4d !important; color: #fff !important; }
.oko-dokan-brand .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover > a { background: rgba(255, 255, 255, .08); color: #fff; }
.oko-dokan-brand .dokan-dashboard-content { background: transparent; }
.oko-dokan-brand .dokan-dashboard-content :is(.dokan-panel, .dokan-dashboard-content-area, article) { border-radius: var(--oko-radius); }
.oko-dokan-brand .dokan-btn, .oko-dokan-brand .dokan-btn-theme, .oko-dokan-brand input.dokan-btn-theme { border-radius: 10px; font-weight: 700; }
.oko-dokan-brand .dokan-btn-theme, .oko-dokan-brand a.dokan-btn-theme, .oko-dokan-brand input[type="submit"].dokan-btn-theme { background-color: #0f5c3a !important; border-color: #0f5c3a !important; color: #fff !important; }
.oko-dokan-brand .dokan-btn-theme:hover, .oko-dokan-brand a.dokan-btn-theme:hover { background-color: #147a4d !important; border-color: #147a4d !important; }
.oko-dokan-brand .dokan-alert-warning, .oko-dokan-brand .dokan-error { background: #fdf3dc; border: 1px solid #f1dca8; color: #8a5d00; border-radius: 12px; }
.oko-dokan-brand .dokan-alert-success, .oko-dokan-brand .dokan-message { background: #e6f2ea; border: 1px solid #bfdcc8; color: #0f5c3a; border-radius: 12px; }
.oko-dokan-brand .dokan-dashboard-wrap a { color: var(--oko-green-2); }
.oko-dokan-brand .dokan-dash-sidebar a, .oko-dokan-brand .dokan-dash-sidebar a:hover { color: #cfe0d5; }
.oko-dokan-brand .dokan-dash-sidebar li.active a, .oko-dokan-brand .dokan-dash-sidebar li a:hover { color: #fff; }
.oko-dokan-brand .dokan-dashboard-wrap :is(input[type="text"], input[type="number"], input[type="email"], select, textarea, .dokan-form-control) { border-radius: 10px; border-color: var(--oko-line); }
/* React (v4) dashboard pieces that use the purple accent */
.oko-dokan-brand :is(.text-dokan-primary, .dokan-text-primary) { color: #0f5c3a !important; }
.oko-dokan-brand :is(.bg-dokan-primary, .dokan-bg-primary) { background-color: #0f5c3a !important; }
.oko-dokan-brand :is(.border-dokan-primary) { border-color: #0f5c3a !important; }
.oko-dokan-brand .dokan-dashboard-wrap button:not([class*="dokan-btn"]):hover { background-color: var(--oko-green-soft); color: var(--oko-green); }
.oko-dokan-brand .dokan-store-wrap .profile-frame, .oko-dokan-brand .dokan-single-store .profile-frame { border-radius: var(--oko-radius); overflow: hidden; }
.oko-dokan-brand.dokan-dashboard .oko-header { background: rgba(251, 250, 246, .97); }

/* =====================================================================
 * 0.6.0 — Glass buttons, focus rings, layout stability
 * ===================================================================== */
html { scrollbar-gutter: stable; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid rgba(63, 165, 100, .45); outline-offset: 2px; border-radius: 10px; }

/* Glossy, glass-like buttons: soft top light, inner edge, shine on hover */
.oko-glass .oko-btn { position: relative; overflow: hidden; isolation: isolate; border: 1px solid rgba(255, 255, 255, .14); background-image: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .04) 48%, rgba(0, 0, 0, .04) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(15, 92, 58, .14), 0 4px 12px rgba(15, 92, 58, .1); }
.oko-glass .oko-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; pointer-events: none; }
.oko-glass .oko-btn:hover::after { transform: translateX(120%); }
.oko-glass .oko-btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 22px rgba(15, 92, 58, .22); }
.oko-glass .oko-btn--sun { border-color: rgba(255, 255, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(138, 93, 0, .18), 0 6px 16px rgba(242, 177, 52, .28); }
.oko-glass .oko-btn--ghost { background: rgba(255, 255, 255, .55); background-image: none; border: 1.5px solid rgba(15, 92, 58, .55); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 2px rgba(15, 92, 58, .06); }
.oko-glass .oko-btn--ghost:hover { background: rgba(230, 242, 234, .85); border-color: var(--oko-green); }
.oko-glass .oko-btn--ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(63, 165, 100, .18) 50%, transparent 70%); }
.oko-glass .oko-btn.oko-btn--ghost.is-on { background: var(--oko-green); color: #fff; }
.oko-glass .oko-btn--on-dark { background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.oko-glass .oko-btn--on-dark:hover { background: rgba(255, 255, 255, .2); }
.oko-glass .oko-tabs a, .oko-glass .oko-seg a, .oko-glass .oko-chip { transition: background-color .15s, color .15s, box-shadow .15s; }
.oko-glass .oko-tabs a.is-on, .oko-glass .oko-seg a.is-on { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px rgba(15, 92, 58, .2); }
.oko-glass .oko-panel, .oko-glass.oko-woo-brand .woocommerce-MyAccount-content { box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, var(--oko-shadow); }
@media (prefers-reduced-motion: reduce) { .oko-glass .oko-btn::after { display: none; } .oko-btn:hover { transform: none; } }

/* WooCommerce and Dokan buttons get the same finish */
.oko-glass.oko-woo-brand .woocommerce :is(a.button, button.button, input.button),
.oko-glass.oko-dokan-brand :is(.dokan-btn-theme, a.dokan-btn-theme) { background-image: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 55%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px rgba(15, 92, 58, .14) !important; }

/* =====================================================================
 * Dokan dashboard: sidebar starts under the sticky header (no blank block)
 * ===================================================================== */
body { --oko-adminbar: 0px; }
body.admin-bar { --oko-adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --oko-adminbar: 46px; } }
.oko-dokan-brand .dokan-frontend-sidebar.fixed,
.oko-dokan-brand aside.dokan-frontend-sidebar {
	top: calc(var(--oko-adminbar) + var(--oko-head-h, 99px)) !important;
	height: calc(100vh - var(--oko-adminbar) - var(--oko-head-h, 99px)) !important;
	background: linear-gradient(180deg, #0b2a1c 0%, #0f3d27 100%) !important;
	overflow-y: auto;
	border-top-right-radius: 18px;
	box-shadow: 8px 0 30px rgba(11, 42, 28, .12);
}
.oko-dokan-brand .dokan-frontend-sidebar a { border-radius: 10px; }
.oko-dokan-brand.dokan-dashboard .oko-header { z-index: 900; }

/* Mobile: account menu becomes one swipeable row */
@media (max-width: 768px) {
	.oko-woo-brand .woocommerce-MyAccount-navigation ul { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 6px; padding: 6px; }
	.oko-woo-brand .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.oko-woo-brand .woocommerce-MyAccount-navigation li { flex: 0 0 auto; scroll-snap-align: start; }
	.oko-woo-brand .woocommerce-MyAccount-navigation li a { white-space: nowrap; padding: .5rem .8rem; }
	.oko-woo-brand .woocommerce-MyAccount-content { padding: 18px; }
}
.oko-woo-brand .woocommerce-info, .oko-woo-brand .woocommerce-message, .oko-woo-brand .woocommerce-error { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px 14px 44px; position: relative; }
.oko-woo-brand :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { position: absolute; left: 16px; top: 15px; }

/* Listing page tabs: clean pills instead of WooCommerce's boxed tabs */
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0 0 10px !important; margin: 26px 0 18px !important; border-bottom: 1px solid var(--oko-line); overflow-x: auto; }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs::before, .oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 999px !important; background: #eef2ef !important; flex: 0 0 auto; }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: .5rem 1rem !important; display: block; color: var(--oko-muted) !important; text-decoration: none; }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--oko-green) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px rgba(15, 92, 58, .2); }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.oko-woo-brand .woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-family: var(--oko-font-head); font-size: 1.4rem; }

/* =====================================================================
 * 0.7.0 — Dokan: brand palette for the React dashboard (replaces purple)
 * ===================================================================== */
:root:root, .oko-dokan-brand {
	--colors-primary-50: #e9f5ee; --colors-primary-100: #cfe8d9; --colors-primary-200: #a9d5b9; --colors-primary-300: #7fbf98;
	--colors-primary-400: #3fa564; --colors-primary-500: #0f5c3a; --colors-primary-600: #147a4d; --colors-primary-700: #0c4a2f;
	--colors-primary-800: #093a25; --colors-primary-900: #062a1b;
	--woocommerce: #0f5c3a; --wc-primary: #0f5c3a; --wc-primary-text: #ffffff;
}
.oko-dokan-brand .dokan-layout main :is(button, a):is([class*="bg-primary-500"], [class*="bg-primary-600"], [class*="bg-primary-700"]),
.oko-dokan-brand .dokan-dashboard-content :is(.dokan-btn, .dokan-btn-theme, .dokan-btn-success, .button-primary, input[type="submit"], button[type="submit"]):not(.oko-btn) {
	background-color: #0f5c3a !important; border-color: #0f5c3a !important; color: #fff !important; border-radius: 10px !important; font-weight: 700;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px rgba(15, 92, 58, .16) !important;
}
.oko-dokan-brand .dokan-layout main :is(button, a):is([class*="bg-primary-500"], [class*="bg-primary-600"]):hover,
.oko-dokan-brand .dokan-dashboard-content :is(.dokan-btn, .dokan-btn-theme, .dokan-btn-success, .button-primary, input[type="submit"], button[type="submit"]):not(.oko-btn):hover { background-color: #147a4d !important; border-color: #147a4d !important; }
.oko-dokan-brand .dokan-layout [class*="text-primary"] { color: #0f5c3a !important; }
.oko-dokan-brand .dokan-layout [class*="border-primary"] { border-color: #0f5c3a !important; }
.oko-dokan-brand .dokan-layout [class*="ring-primary"], .oko-dokan-brand .dokan-layout :focus-visible { --tw-ring-color: rgba(63, 165, 100, .45); }
.oko-dokan-brand .dokan-layout input[type="checkbox"]:checked, .oko-dokan-brand .dokan-layout input[type="radio"]:checked { accent-color: #0f5c3a; background-color: #0f5c3a; border-color: #0f5c3a; }
.oko-dokan-brand .dokan-frontend-sidebar a { background-color: transparent; color: #cfe0d5 !important; transition: background-color .15s, color .15s; }
.oko-dokan-brand .dokan-frontend-sidebar a:hover { background-color: rgba(255, 255, 255, .08) !important; color: #fff !important; }
.oko-dokan-brand .dokan-frontend-sidebar a[data-active="true"], .oko-dokan-brand .dokan-frontend-sidebar a[aria-current="page"] { background-color: #147a4d !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 16px rgba(0, 0, 0, .18) !important; }
.oko-dokan-brand { --colors-primary-hover: rgba(255, 255, 255, .08); }
.oko-dokan-brand .dokan-frontend-sidebar.bg-primary-500, .oko-dokan-brand aside.dokan-frontend-sidebar { background-color: #0b2a1c !important; }
.oko-dokan-brand .dokan-layout main { background: var(--oko-bg, #fbfaf6) !important; }
.oko-dokan-brand .dokan-layout main > header { background: rgba(255, 255, 255, .8) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.oko-dokan-brand .dokan-dashboard-content .dokan-panel, .oko-dokan-brand .dokan-dashboard-content .dokan-w8, .oko-dokan-brand .dokan-withdraw-content > div > div { border-radius: 14px; }

/* =====================================================================
 * Dokan: smooth loading while the dashboard app starts
 * ===================================================================== */
@keyframes oko-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes oko-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.oko-dokan-brand #dokan-vendor-dashboard-layout-root:not(:has(.dokan-frontend-layout)) {
	display: block; position: relative; min-height: calc(100vh - var(--oko-adminbar) - var(--oko-head-h, 99px));
	background:
		linear-gradient(90deg, transparent 0, rgba(255, 255, 255, .55) 50%, transparent 100%) 0 0 / 400px 100% no-repeat,
		linear-gradient(#e7ece8, #e7ece8) 298px 70px / min(420px, 40%) 34px no-repeat,
		linear-gradient(#eef2ef, #eef2ef) 298px 136px / calc(100% - 340px) 120px no-repeat,
		linear-gradient(#eef2ef, #eef2ef) 298px 276px / calc(100% - 340px) 120px no-repeat,
		linear-gradient(180deg, #0b2a1c, #0f3d27) 0 0 / 250px 100% no-repeat;
	animation: oko-shimmer 1.2s linear infinite;
}
.oko-dokan-brand #dokan-vendor-dashboard-layout-root:not(:has(.dokan-frontend-layout)) ~ *,
.oko-dokan-brand .dokan-dashboard-wrap:not(:has(*)) { visibility: hidden; }
.oko-dokan-brand .dokan-frontend-layout main > :not(header) { animation: oko-fade-up .3s ease both; }
@media (max-width: 782px) {
	.oko-dokan-brand #dokan-vendor-dashboard-layout-root:not(:has(.dokan-frontend-layout)) { background-position: 0 0, 20px 30px, 20px 90px, 20px 230px, -250px 0; }
}
@media (prefers-reduced-motion: reduce) { .oko-dokan-brand #dokan-vendor-dashboard-layout-root { animation: none !important; } .oko-dokan-brand .dokan-frontend-layout main > * { animation: none !important; } }

/* OkoLink pages inside the dashboard */
.oko-dpage__in { padding: 34px 40px 60px; font-family: var(--oko-font-body); color: var(--oko-ink); max-width: 1180px; }
.oko-dpage__head h1 { font-family: var(--oko-font-head); font-size: 2rem; margin: 0 0 18px; }
.oko-dpage .oko-orders > .oko-tabs { margin-top: 0; }
@media (max-width: 782px) { .oko-dpage__in { padding: 22px 16px 80px; } .oko-dpage__head h1 { font-size: 1.6rem; } }
.dokan-dashboard .oko-cmpbar, .dokan-dashboard .oko-bnav { display: none !important; }
