/*
  Design tokens and component styles adapted from arangfoolad.com's real production
  stylesheet (public/assets/css/website/website_public.css and friends, recovered from the
  site's cPanel backup) to keep the same visual identity on the new AhanSell codebase.
  Simplified: the old site's swiper/mega-menu/cart-slider JS interactivity is dropped since
  this is a B2B quote/invoice site, not a cart checkout — colors, spacing and layout carry over.
*/
:root {
    --body-bg: #edf0f7;
    --text-color: #444;
    --logo-color: #1e3765;
    --purple-color: #1d67a9;
    --white-color: #fff;
    --boxes-bg: #fff;
    --black-color: #000;
    --blue-color: #007bff;
    --light-blue: #90c5ff;
    --gray-color: #878a91;
    --light-color: #d7d8de;
    --super-light: #f5f5f6;
    --green-color: #07a350;
    --red-color: #d80949;
}

* {
    box-sizing: border-box;
}

/* Reference sites in this industry (assen.ir, markazeahan.com, ahanonline.com) run a compact,
   information-dense type scale: 14-16px body text, 20-24px headings, 12-14px table/price cells —
   not the larger marketing-site scale this started from. 15px keeps 1rem legible while the
   individual sizes below were brought down to match that convention. */
html {
    font-size: 15px;
    /* Prevent any wide child (header nav, RTL table overflow, etc.) from creating a
       horizontal page scrollbar. Vertical scroll is unaffected. */
    overflow-x: clip;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
    max-width: 100%;
    overflow-x: clip;
    background: var(--body-bg);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Homepage / public chrome: keep document scroll locked even when RTL children overflow left. */
body > main {
    overflow-x: clip;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: var(--blue-color);
    color: var(--white-color);
    font-family: inherit;
    font-size: 1.3rem;
    cursor: pointer;
}
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-green { background: var(--green-color); }
.btn-primary { background: var(--purple-color); }
.btn-outline { background: transparent; border: 2px solid var(--logo-color); color: var(--logo-color); }

input[type="text"], input[type="number"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 8px 12px;
    background: var(--super-light);
    border: 1px solid var(--light-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1.3rem;
    color: var(--text-color);
}
label { font-size: 1.15rem; color: var(--gray-color); }

table { border-collapse: collapse; width: 100%; }
table.styled-table th, table.styled-table td {
    padding: 10px;
    border-bottom: 1px solid var(--light-color);
    text-align: right;
    font-size: 1.15rem;
}
table.styled-table th { color: var(--gray-color); font-weight: 600; background: var(--super-light); }
table.styled-table tr:hover td { background: #fafbfd; }

/* ============ Header ============ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: var(--boxes-bg);
    box-shadow: 0 0 25px -10px var(--light-blue);
}
#site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
#site-header .logo-link { display: flex; align-items: center; gap: 10px; height: 44px; }
#site-header .logo-link img { height: 100%; width: auto; }
#site-header .logo-wordmark { font-size: 1.5rem; font-weight: 800; color: var(--logo-color); }
#site-header nav { display: flex; gap: 4px; }
#site-header nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 500;
}
#site-header nav a:hover { background: var(--super-light); color: var(--blue-color); }
#site-header .header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--blue-color);
    color: var(--white-color);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.3rem;
}
@media screen and (max-width: 820px) {
    #site-header nav { display: none; }
}

/* ============ Footer ============ */
#site-footer { margin-top: 60px; background: var(--boxes-bg); border-top: 1px solid var(--light-color); }
#site-footer .container { padding: 30px 16px; }
#site-footer .footer-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
#site-footer .footer-col { min-width: 180px; }
#site-footer .footer-col h4 { font-size: 1.35rem; color: var(--logo-color); margin-bottom: 12px; }
#site-footer .footer-col li { margin-bottom: 8px; font-size: 1.15rem; color: var(--gray-color); }
#site-footer .footer-col li a:hover { color: var(--blue-color); }
#site-footer-copyright { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--light-color); text-align: center; font-size: 1.1rem; color: var(--gray-color); }

/* ============ Home: hero ============ */
.hero-banner { border-radius: 15px; overflow: hidden; margin: 16px 0; }
.hero-banner img { width: 100%; display: block; }

/* ============ Home: category boxes ============ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 30px auto;
}
.category-box { text-align: center; display: block; }
/* The weight-calculator hub reuses .category-box but with a plain icon rather than a photo thumb. */
.category-box > img {
    width: 56px; height: 56px;
    object-fit: contain;
    padding: 14px;
    border-radius: 16px;
    background: var(--logo-color);
    box-sizing: content-box;
    margin: 0 auto;
    display: block;
    transition: transform .2s ease, background .2s ease;
}
.category-box:hover > img { transform: translateY(-3px) scale(1.05); background: var(--purple-color); }
.category-box-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50px;
    border-left: 2px solid var(--blue-color);
    border-bottom: 2px solid var(--blue-color);
    background: var(--super-light);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.category-box-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.category-box:hover .category-box-thumb { transform: translateY(-4px); box-shadow: 0 16px 28px -16px rgba(30, 55, 101, .35); }
.category-box:hover .category-box-thumb img { transform: scale(1.06); }
.category-box-title { margin-top: 12px; color: var(--logo-color); font-size: 1.3rem; font-weight: 700; transition: color .15s ease; }
.category-box:hover .category-box-title { color: var(--purple-color); }

/* ============ Home: content box ============ */
.content-box {
    max-width: 1280px;
    margin: 24px auto;
    padding: 28px 26px;
    border-radius: 20px;
    background: var(--boxes-bg);
    border: 1px solid var(--light-color);
    box-shadow: 0 10px 34px -22px rgba(30, 55, 101, .28);
}
.content-box h1 {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.01em;
    margin-bottom: 12px;
    color: var(--logo-color);
}
.content-box h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.005em;
    margin: 4px 0 18px;
    padding-bottom: 12px;
    color: var(--logo-color);
    border-bottom: 1px solid var(--super-light);
}

/* ============ Product list / price table ============ */
.price-table-wrap { overflow-x: auto; }
.price-cell-today { font-weight: 700; color: var(--purple-color); }
.price-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 8px;
    background: var(--super-light);
    color: var(--gray-color);
    font-size: 1.05rem;
}

/* ============ Single product page ============ */
.product-page { max-width: 1280px; margin: 20px auto; padding: 10px; }
.product-top {
    display: grid;
    grid-template-columns: 340px 1fr 320px;
    gap: 20px;
    background: var(--boxes-bg);
    border-radius: 15px;
    padding: 20px;
}
.product-image-box { border-radius: 12px; overflow: hidden; background: var(--super-light); }
.product-image-box img { width: 100%; height: 100%; object-fit: cover; }
.product-title { font-size: 1.6rem; color: var(--text-color); margin-bottom: 4px; }
.product-subtitle { font-size: 1.15rem; color: var(--gray-color); }
.product-attributes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.product-attribute-chip {
    display: flex; align-items: center; gap: 6px; padding: 6px 16px;
    background: var(--super-light); border: 1px solid var(--gray-color); border-radius: 10px; font-size: 1.15rem;
}
.product-attribute-chip .label { color: var(--gray-color); }
.product-attribute-chip .value { font-weight: 600; }
.product-sell-box { border: 1px solid var(--light-color); border-radius: 15px; overflow: hidden; height: fit-content; }
.product-sell-price-head { background: var(--blue-color); text-align: center; padding: 16px; }
.product-sell-price-head strong { color: var(--white-color); font-size: 1.7rem; }
.product-sell-body { padding: 14px; }
@media screen and (max-width: 960px) {
    .product-top { grid-template-columns: 1fr; }
}

/* ============ Shipping calculator card ============ */
.shipping-calc-card {
    max-width: 640px;
    margin: 20px auto;
    padding: 20px;
    background: var(--boxes-bg);
    border-radius: 15px;
    border: 1px solid var(--light-color);
}
.shipping-calc-card h3 { color: var(--logo-color); margin-bottom: 14px; }
.field-row { margin-bottom: 12px; }
.field-row label { display: block; margin-bottom: 5px; }
.shipping-calc-card .field-row input[type="search"],
.shipping-calc-card .field-row select,
.shipping-calc-card .field-row input[type="number"] { width: 100%; max-width: 100%; box-sizing: border-box; }
.city-hint { margin: 6px 0 0; color: var(--gray-color); font-size: 0.9rem; }
.city-picked { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.city-picked span { font-weight: 600; }
.city-suggest {
    list-style: none; margin: 6px 0 0; padding: 0;
    border: 1px solid var(--light-color); border-radius: 10px; overflow: hidden;
    max-height: 240px; overflow-y: auto; background: var(--white-color, #fff);
}
.city-suggest li { border-bottom: 1px solid var(--light-color); }
.city-suggest li:last-child { border-bottom: none; }
.city-suggest button {
    display: block; width: 100%; text-align: right; padding: 10px 12px;
    border: none; background: transparent; cursor: pointer; font: inherit;
}
.city-suggest button:hover { background: var(--super-light); }
.city-suggest-warn { color: var(--gray-color); font-size: 0.85rem; }
.shipping-result { margin-top: 14px; padding: 12px; background: var(--super-light); border-radius: 10px; font-weight: 600; color: var(--logo-color); }

/* Says whether the quote came from a real waybill for this route or from the distance tariff —
   quiet, but never omitted: an estimate shown as a firm price is the failure mode here. */
.shipping-source { margin: 8px 0 0; font-size: 0.88rem; color: var(--gray-color); }

/* Itemised shipping breakdown — every surcharge the waybill carries, shown as its own line. */
.shipping-breakdown { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 0.95rem; }
.shipping-breakdown th,
.shipping-breakdown td { padding: 9px 10px; border-bottom: 1px solid var(--light-color); text-align: right; }
.shipping-breakdown thead th { background: var(--super-light); color: var(--gray-color); font-weight: 600; font-size: 0.85rem; }
.shipping-breakdown .basis-hint { color: var(--gray-color); font-size: 0.85rem; }
.shipping-breakdown .amount { text-align: left; direction: ltr; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shipping-breakdown tfoot td { border-bottom: none; border-top: 2px solid var(--logo-color); font-weight: 700; color: var(--logo-color); font-size: 1.05rem; }
.breakdown-note { margin-top: 8px; color: var(--gray-color); font-size: 0.85rem; }
/* The hint column narrows rather than disappearing on phones: hiding it would leave the
   footer's colspan=2 spanning one more column than the body rows still render. */
@media screen and (max-width: 520px) {
    .shipping-breakdown th,
    .shipping-breakdown td { padding: 8px 5px; }
    .shipping-breakdown .basis-hint { font-size: 0.75rem; }
}

/* ============ Weight calculator card ============ */
.weight-calc-card {
    max-width: 640px;
    margin: 20px 0;
    padding: 20px;
    background: var(--boxes-bg);
    border-radius: 15px;
    border: 1px solid var(--light-color);
}
.weight-calc-result { margin-top: 14px; padding: 12px; background: var(--super-light); border-radius: 10px; font-weight: 600; color: var(--logo-color); }
.weight-calc-disclaimer { margin-top: 14px; font-size: 1.1rem; color: var(--gray-color); }
.density-toggle { display: flex; gap: 8px; }
.density-btn { flex: 1; padding: 9px; border-radius: 9px; border: 1.5px solid var(--light-color); background: #fff; font-size: 1.1rem; font-weight: 600; color: var(--text-color); text-align: center; font-family: inherit; cursor: pointer; }
.density-btn.active { border-color: var(--purple-color); background: #eaf1fb; color: var(--purple-color); }
.weight-calc-sub { display: block; margin-top: 4px; font-size: 1.1rem; font-weight: 500; color: var(--gray-color); }
.weight-calc-table-head { margin: 22px 0 10px; font-size: 1.2rem; color: var(--logo-color); }
/* The geometric formula reads a few percent over the DIN table on purpose; this callout is what
   stops that looking like a bug, so it is styled as a note rather than an error. */
.weight-calc-compare {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--light-color);
    border-inline-start: 4px solid var(--purple-color);
    background: #fff;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

/* ============ Weight pages: category rail + section diagrams ============ */
/* Two columns on desktop with the rail second in the source order: the article is what the
   visitor came for, so it comes first for a screen reader and on a phone. */
.weight-calc-layout { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }
.weight-calc-layout > .content-box { grid-column: 1; grid-row: 1; min-width: 0; }
.weight-calc-layout > .weight-cat-rail { grid-column: 2; grid-row: 1; }

.weight-cat-rail {
    position: sticky;
    top: 90px;
    padding: 18px;
    background: var(--boxes-bg);
    border: 1px solid var(--light-color);
    border-radius: 15px;
}
.weight-cat-rail-title { display: block; margin-bottom: 14px; font-weight: 700; color: var(--logo-color); text-align: center; }
.weight-cat-rail ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.weight-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 12px 6px;
    border: 1.5px solid var(--light-color);
    border-radius: 12px;
    background: #fff;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
/* The icons came across as pure white on transparent — they were drawn for the old site's blue
   tiles, and on a white card they are invisible. The tile is restored rather than recolouring the
   artwork, which is also what the previous design looked like. */
.weight-cat-item img {
    width: 40px; height: 40px;
    object-fit: contain;
    padding: 7px;
    border-radius: 10px;
    background: var(--logo-color);
    box-sizing: content-box;
}
.weight-cat-item.active img { background: var(--purple-color); }
.weight-cat-item:hover { border-color: var(--purple-color); color: var(--purple-color); transform: translateY(-2px); }
.weight-cat-item.active { border-color: var(--purple-color); background: #eaf1fb; color: var(--purple-color); }
.weight-cat-rail-cta {
    display: block;
    margin-top: 14px;
    padding: 10px;
    border-radius: 10px;
    background: var(--super-light);
    font-size: 1.05rem;
    text-align: center;
    color: var(--logo-color);
    font-weight: 600;
}

.section-diagram { margin: 18px 0 22px; padding: 14px; background: var(--super-light); border-radius: 14px; }
.section-diagram svg,
.section-diagram img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.section-diagram figcaption { margin-top: 10px; font-size: 1.05rem; color: var(--gray-color); text-align: center; }
/* Tokens the inline SVGs draw with, so one edit here restyles all six. */
.section-diagram { --sd-face: #dfe4ec; --sd-edge: #8d9aae; --sd-dim: var(--logo-color); }
.sd .sd-label { font-family: inherit; font-size: 21px; font-weight: 700; }
.sd .sd-note { font-family: inherit; font-size: 17px; opacity: .75; }

/* ============ Price category page: the expert who covers this category ============ */
.cat-expert {
    margin: 0 0 22px;
    padding: 16px 18px;
    background: var(--super-light);
    border: 1px solid var(--light-color);
    border-inline-start: 4px solid var(--purple-color);
    border-radius: 14px;
}
.cat-expert-head { margin: 0 0 12px; font-size: 1.25rem; color: var(--logo-color); }
.cat-expert-person { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cat-expert-person + .cat-expert-person { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--light-color); }
.cat-expert-photo,
.cat-expert-fallback-avatar {
    width: 56px; height: 56px; flex: 0 0 56px;
    border-radius: 50%;
    object-fit: cover;
}
.cat-expert-fallback-avatar {
    display: grid; place-items: center;
    background: var(--logo-color); color: #fff;
    font-weight: 700; font-size: 1.1rem;
}
.cat-expert-meta { display: flex; flex-direction: column; gap: 2px; margin-inline-end: auto; }
.cat-expert-name { font-weight: 700; color: var(--logo-color); font-size: 1.2rem; }
.cat-expert-role { font-size: 1.05rem; color: var(--gray-color); }
.cat-expert-fallback { margin: 0 0 12px; color: var(--text-color); }
.cat-expert-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-expert-actions a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.cat-expert-call { background: var(--logo-color); color: #fff; }
.cat-expert-wa { background: var(--green-color); color: #fff; }
.cat-expert-tel { background: #fff; border: 1.5px solid var(--light-color); color: var(--logo-color); }
.cat-cross-links { margin-top: 20px; color: var(--gray-color); }

@media screen and (max-width: 900px) {
    /* Rail moves above the article and goes horizontal — sticky would eat a third of a phone screen. */
    .weight-calc-layout { grid-template-columns: 1fr; }
    .weight-calc-layout > .content-box { grid-column: 1; grid-row: 2; }
    .weight-calc-layout > .weight-cat-rail { grid-column: 1; grid-row: 1; position: static; }
    .weight-cat-rail ul { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 520px) {
    .weight-cat-rail ul { grid-template-columns: repeat(2, 1fr); }
    .weight-cat-item { font-size: 1rem; }
    .cat-expert-meta { margin-inline-end: 0; }
    .cat-expert-actions { width: 100%; }
}

/* ============ Weight page: method cards / tip / size table (رویه صفحات جدول وزن) ============ */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 16px; }
.method-card { background: var(--super-light); border-radius: 14px; padding: 16px; }
.method-card b { display: block; color: var(--logo-color); font-size: 1.1rem; margin-bottom: 6px; }
.method-card span { font-size: 1rem; color: var(--text-color); line-height: 1.8; }
.tip-note { display: flex; gap: 8px; align-items: flex-start; background: #e4f7ee; color: #0f5132; border-radius: 10px; padding: 12px 14px; font-size: 1rem; line-height: 1.8; }
.tip-note svg { flex-shrink: 0; margin-top: 2px; color: var(--green-color); }
table.size-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
table.size-table th, table.size-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--super-light); font-size: 1.05rem; }
table.size-table th { background: var(--super-light); color: var(--gray-color); font-weight: 700; font-size: 1rem; }
table.size-table td.size-cell { font-weight: 700; color: var(--logo-color); }
table.size-table td.std-cell { font-weight: 700; direction: ltr; text-align: right; }
@media (max-width: 700px) { .method-grid { grid-template-columns: 1fr; } }

/* ============ Lead form (درخواست مشاوره) ============ */
.lead-form-card {
    max-width: 640px;
    margin: 20px 0;
    padding: 20px;
    background: var(--boxes-bg);
    border-radius: 15px;
    border: 1px solid var(--light-color);
}
.lead-form-card h3 { color: var(--logo-color); margin-bottom: 6px; }
.lead-form-hint { color: var(--gray-color); font-size: 1.1rem; margin-bottom: 14px; }
.lead-form-card input, .lead-form-card textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--light-color); border-radius: 8px; font-family: inherit; font-size: 1.2rem;
}
.lead-form-success { padding: 14px; background: #e2f7ec; color: var(--green-color); border-radius: 10px; font-weight: 600; }
.lead-form-error { color: var(--red-color); font-weight: 600; margin-bottom: 10px; }

/* ============ Contact page ============ */
.contact-info { margin: 16px 0 24px; }
.contact-info-row { margin-bottom: 8px; }
.contact-info-row strong { color: var(--logo-color); margin-left: 6px; }

/* ============ Category page — manufacturer filter ============ */
.manufacturer-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.manufacturer-filter a {
    padding: 6px 14px; border-radius: 20px; background: var(--super-light); color: var(--text-color); font-size: 1.1rem;
}
.manufacturer-filter a.active { background: var(--logo-color); color: var(--white-color); }

/* ============ Hero slider (admin-managed, /admin/header-slider) ============ */
/* Fixed height (not min-height): every slide — image or gradient-only, short or long copy —
   fills the exact same box, so switching slides never shifts the page below it. Kept to a
   standard, modest banner height rather than a large full-bleed hero. */
.hero-slider { position: relative; overflow: hidden; border-radius: 0 0 20px 20px; height: 300px; }
.hero-slider .slide { position: absolute; inset: 0; display: none; align-items: center; }
.hero-slider .slide.active { display: flex; }
.hero-slider .slide-bg { position: absolute; inset: 0; }
.hero-slider .slide-bg .pattern { position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.9) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.hero-slider .slide-bg .diag { position: absolute; left: -10%; top: -30%; width: 60%; height: 160%; background: rgba(255,255,255,.05); transform: rotate(-16deg); }
.hero-slider .slide-content { position: relative; z-index: 2; max-width: 560px; }
.hero-slider .slide-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 1.05rem; padding: 5px 14px; border-radius: 30px; margin-bottom: 12px; backdrop-filter: blur(2px); }
.hero-slider .slide-title { font-size: 1.9rem; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; color: #fff; margin: 0 0 10px; }
.hero-slider .slide-desc { font-size: 1.15rem; color: rgba(255,255,255,.86); line-height: 1.7; margin: 0 0 18px; max-width: 480px; }
.hero-slider .slide-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 10px; font-weight: 700; font-size: 1.15rem; }
.hero-slider .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; color: #fff; backdrop-filter: blur(3px); }
.hero-slider .slider-arrow:hover { background: rgba(255,255,255,.3); }
.hero-slider .slider-arrow.next { right: 18px; }
.hero-slider .slider-arrow.prev { left: 18px; }
.hero-slider .slider-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 8px; }
.hero-slider .slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; padding: 0; transition: all .2s ease; }
.hero-slider .slider-dot.active { width: 22px; border-radius: 5px; background: #fff; }
@media (max-width: 760px) {
    .hero-slider { height: 260px; }
    .hero-slider .slide-title { font-size: 1.5rem; }
    .hero-slider .slide-desc { font-size: 1.05rem; }
    .hero-slider .slider-arrow { width: 32px; height: 32px; }
    .hero-slider .slider-arrow.next { right: 8px; }
    .hero-slider .slider-arrow.prev { left: 8px; }
}

/* ============ Index2: price ticker ============ */
.ticker-wrap { background: var(--logo-color); overflow: hidden; position: relative; height: 3.1rem; display: flex; align-items: center; border-radius: 10px; margin: 16px 0; }
.ticker-label { flex-shrink: 0; font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,.55); padding: 0 16px; white-space: nowrap; }
.ticker-track { display: flex; align-items: center; gap: 32px; white-space: nowrap; animation: ticker-scroll 32s linear infinite; padding-left: 100%; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.ticker-item { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; color: #fff; }
.ticker-item b { font-weight: 700; }
.ticker-item .t-val { color: rgba(255,255,255,.9); direction: ltr; }
.t-up { color: #5fe0a0; }
.t-down { color: #ff9db8; }

/* ============ Index2: compact intro ============ */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #e3edfa; color: var(--purple-color); font-weight: 700; font-size: 1.05rem; letter-spacing: -.005em; padding: 6px 16px; border-radius: 30px; margin-bottom: 14px; }
.intro-lead { color: var(--gray-color); font-size: 1.2rem; line-height: 1.85; max-width: 680px; margin-top: 10px; }

/* ============ Index2: price-list filters ============ */
.price-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; padding: 14px; background: var(--super-light); border-radius: 14px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.chip { padding: 6px 16px; border-radius: 20px; background: var(--boxes-bg); border: 1px solid var(--light-color); color: var(--text-color); font-weight: 700; font-size: 1.1rem; }
.chip.active { background: var(--purple-color); border-color: var(--purple-color); color: #fff; }
.filter-select, .filter-search { width: auto; }
.filter-search { min-width: 200px; }
.vat-toggle { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 600; color: var(--logo-color); background: #e4f7ee; padding: 8px 14px; border-radius: 9px; white-space: nowrap; }
.vat-toggle input { width: 17px; height: 17px; accent-color: var(--green-color); }

/* ============ Index2: price board ============ */
.price-board { background: var(--boxes-bg); border: 1px solid var(--light-color); border-radius: 16px; overflow: hidden; padding: 4px 16px 0; }
.prod-name { font-weight: 700; color: var(--logo-color); }
.prod-unit { color: var(--gray-color); font-size: 1.1rem; }
.price-val { font-weight: 800; direction: ltr; }
.price-board-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 1.1rem; color: var(--gray-color); flex-wrap: wrap; gap: 8px; }
.empty-state { padding: 30px 16px; text-align: center; color: var(--gray-color); font-size: 1.2rem; }

/* ============ Index2: experts / meet-the-team section ============ */
.experts-section {
    position: relative;
    overflow: hidden;
    max-width: 1280px;
    margin: 24px auto;
    padding: 34px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #16294a, var(--logo-color));
    color: #fff;
}
.experts-section .pattern { position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(rgba(255,255,255,.9) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.experts-section .diag { position: absolute; left: -8%; top: -40%; width: 50%; height: 180%; background: rgba(255,255,255,.04); transform: rotate(-16deg); }
.experts-head { position: relative; z-index: 1; max-width: 680px; margin-bottom: 26px; }
.experts-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 1.05rem; padding: 5px 14px; border-radius: 30px; margin-bottom: 14px; backdrop-filter: blur(2px); }
.experts-title { font-size: 1.55rem; font-weight: 800; line-height: 1.4; color: #fff; margin: 0 0 10px; }
.experts-lead { color: rgba(255,255,255,.82); font-size: 1.15rem; line-height: 1.85; margin: 0 0 20px; }
.experts-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.experts-cta-btn { background: #fff; color: var(--logo-color); font-weight: 700; }
.experts-cta-btn:hover { background: #eef2f8; }
.experts-social { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 1.1rem; padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; }
.experts-social:hover { background: rgba(255,255,255,.1); color: #fff; }

.experts-track {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 2px 10px;
    margin: 0 -2px;
    scrollbar-width: none;
}
.experts-track::-webkit-scrollbar { display: none; }
.expert-card {
    flex: 0 0 76%;
    scroll-snap-align: start;
    background: #fff;
    color: var(--text-color);
    border-radius: 18px;
    padding: 22px 18px 20px;
    text-align: center;
    box-shadow: 0 16px 34px -20px rgba(0,0,0,.55);
    transition: transform .18s ease, box-shadow .18s ease;
}
.expert-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.expert-photo { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; border: 3px solid var(--super-light); box-shadow: 0 4px 14px rgba(30,55,101,.2); }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expert-avatar-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--purple-color), var(--logo-color)); }
.expert-name { font-size: 1.2rem; font-weight: 700; color: var(--logo-color); margin-bottom: 4px; }
.expert-role { display: inline-block; font-size: 1rem; font-weight: 600; color: var(--purple-color); background: #e3edfa; padding: 3px 13px; border-radius: 20px; margin-bottom: 16px; }
.expert-contacts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.expert-contact-row { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 10px; background: var(--super-light); border-radius: 10px; font-size: 1.05rem; font-weight: 700; color: var(--text-color); direction: ltr; }
.expert-contact-row svg { flex-shrink: 0; color: var(--purple-color); }
.expert-ext { direction: rtl; font-size: .92rem; color: var(--gray-color); font-weight: 500; }
.expert-whatsapp { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border-radius: 10px; background: var(--green-color); color: #fff; font-weight: 700; font-size: 1.05rem; }
.expert-whatsapp:hover { background: #068a44; }

@media (min-width: 720px) {
    .experts-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); overflow: visible; }
    .expert-card { flex: initial; }
}
@media (max-width: 719px) {
    .experts-section { padding: 28px 18px; }
    .experts-title { font-size: 1.3rem; }
}

/* ============ Index2: gold & currency ============ */
.gold-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gold-card { background: var(--boxes-bg); border: 1px solid var(--light-color); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.gold-label { font-size: 1.1rem; color: var(--gray-color); font-weight: 600; }
.gold-price { font-size: 1.4rem; font-weight: 800; color: var(--logo-color); direction: ltr; }
.gold-note { display: block; margin-top: 14px; font-size: 1.1rem; color: var(--gray-color); }
@media (max-width: 900px) { .gold-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ Index2: order + intro ============ */
.order-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.mini-features { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 20px; }
.mini-features li { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.mini-features svg { flex-shrink: 0; color: var(--green-color); }
.order-card { background: var(--boxes-bg); border: 1px solid var(--logo-color); border-radius: 18px; padding: 24px; }
.order-card h3 { font-size: 1.45rem; margin-bottom: 4px; color: var(--logo-color); }
.order-card .sub { font-size: 1.1rem; color: var(--gray-color); margin-bottom: 16px; display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 1.05rem; color: var(--gray-color); font-weight: 600; }
.order-submit { width: 100%; margin-top: 14px; }
.order-note { font-size: 1.05rem; color: var(--gray-color); margin-top: 10px; text-align: center; }
@media (max-width: 900px) { .order-intro-grid { grid-template-columns: 1fr; } }

/* ============ Index2: weight-calc promo band ============ */
.promo-band { background: linear-gradient(90deg, #16294a, var(--logo-color)); border-radius: 20px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; }
.promo-band .promo-text { display: flex; align-items: center; gap: 16px; }
.promo-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.promo-band h3 { color: #fff; font-size: 1.4rem; margin: 0; }
.promo-band p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-top: 4px; }
@media (max-width: 700px) { .promo-band { flex-direction: column; align-items: flex-start; text-align: right; } }

/* ============ Admin (compact Vazirmatn — px so rem inflation from html{font-size:15px} does not apply) ============ */
.admin-shell button,
.admin-shell input,
.admin-shell select,
.admin-shell textarea {
    font-family: inherit;
    font-size: var(--admin-fs);
}
.admin-page { max-width: 1280px; margin: 16px auto; padding: 0 16px; }
.admin-page h1 { font-size: var(--admin-fs-title); font-weight: 700; color: var(--logo-color); margin: 0 0 12px; }
.admin-page h2 { font-size: var(--admin-fs-lg); font-weight: 650; color: var(--purple-color); margin: 16px 0 8px; }
.admin-page p { font-size: var(--admin-fs); margin: 0 0 10px; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.admin-toolbar .btn-link { padding: 6px 12px; border-radius: 8px; background: var(--super-light); color: var(--blue-color); font-weight: 600; font-size: var(--admin-fs); }
.admin-toolbar .btn-link:hover { background: var(--light-blue); }
.admin-card {
    background: var(--boxes-bg);
    border: 1px solid var(--light-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.admin-shell table.styled-table th,
.admin-shell table.styled-table td {
    font-size: var(--admin-fs-sm);
    padding: 8px 10px;
    line-height: 1.4;
    vertical-align: top;
}
.admin-shell table.styled-table th { font-size: 11px; letter-spacing: .01em; }
.error-message { color: var(--red-color); font-weight: 600; margin: 10px 0; font-size: var(--admin-fs); }
.status-badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: var(--admin-fs-sm); font-weight: 600; }
.status-badge.draft { background: var(--super-light); color: var(--gray-color); }
.status-badge.confirmed { background: #e3f1ff; color: var(--blue-color); }
.status-badge.cancelled { background: #fde3ec; color: var(--red-color); }
.status-badge.converted { background: #e2f7ec; color: var(--green-color); }
.action-btn { padding: 4px 10px; font-size: var(--admin-fs-sm); border-radius: 6px; }
.action-btn.danger { background: var(--red-color); }

/* Searchable product picker (replaces unreadable native <select> for long Persian names) */
.admin-product-picker { position: relative; min-width: 240px; max-width: 340px; font-size: var(--admin-fs-sm); }
.admin-product-picker-trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    width: 100%; padding: 6px 10px; border: 1px solid var(--light-color); border-radius: 8px;
    background: #fff; cursor: pointer; text-align: right;
}
.admin-product-picker-label {
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: var(--admin-fs-sm); line-height: 1.35; font-weight: 500;
}
.admin-product-picker-caret { color: var(--gray-color); flex-shrink: 0; font-size: 11px; }
.admin-product-picker-panel {
    position: absolute; z-index: 40; top: calc(100% + 4px); right: 0; left: 0;
    background: #fff; border: 1px solid var(--light-color); border-radius: 10px;
    box-shadow: 0 8px 24px rgba(26, 35, 50, .12); overflow: hidden;
}
.admin-product-picker-search {
    width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--light-color);
    padding: 8px 10px; font-size: var(--admin-fs-sm); outline: none; background: #f7f9fc;
}
.admin-product-picker-list {
    list-style: none; margin: 0; padding: 4px 0; max-height: 240px; overflow-y: auto;
}
.admin-product-picker-option {
    display: block; width: 100%; text-align: right; border: 0; background: transparent;
    padding: 7px 10px; cursor: pointer; font-family: inherit; font-size: var(--admin-fs-sm);
    line-height: 1.4; color: var(--text-color); white-space: normal; word-break: break-word;
}
.admin-product-picker-option:hover,
.admin-product-picker-option.is-selected { background: #eef6ff; color: var(--logo-color); }
.admin-product-picker-empty { padding: 10px; color: var(--gray-color); font-size: var(--admin-fs-sm); }

/* ============ Admin shell (sidebar + topbar) ============ */
.admin-shell {
    display: flex;
    min-height: 100vh;
    background: var(--super-light);
    --admin-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
    --admin-fs: 13px;
    --admin-fs-sm: 12px;
    --admin-fs-lg: 15px;
    --admin-fs-title: 18px;
    font-family: var(--admin-font);
    font-size: var(--admin-fs);
    line-height: 1.45;
    color: var(--text-color);
}
.admin-sidebar { width: 220px; flex-shrink: 0; background: #1a2332; color: #c5d0dc; padding: 14px 0; overflow-y: auto; }
.admin-sidebar-brand { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 14px; font-weight: 700; font-size: 15px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; }
.admin-sidebar-brand span { font-size: 11px; font-weight: 400; color: #7b8fa3; }
.admin-nav-link, .admin-nav-group-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 14px; color: #c5d0dc; text-decoration: none; background: none; border: none; font-family: inherit; font-size: 13px; text-align: right; cursor: pointer; box-sizing: border-box; }
.admin-nav-group { margin: 0; }
.admin-nav-group > summary { list-style: none; }
.admin-nav-group > summary::-webkit-details-marker { display: none; }
.admin-nav-link:hover, .admin-nav-group-toggle:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav-link.active { background: rgba(26,187,156,.12); color: #1abb9c; border-right: 3px solid #1abb9c; }
.admin-nav-group-toggle .chevron { transition: transform .15s; flex-shrink: 0; }
.admin-nav-group[open] > .admin-nav-group-toggle .chevron { transform: rotate(180deg); }
.admin-nav-sub { display: flex; flex-direction: column; padding-bottom: 4px; }
.admin-nav-sub a { padding: 6px 14px 6px 14px; padding-right: 28px; color: #97a5b8; text-decoration: none; font-size: 12px; }
.admin-nav-sub a:hover { color: #fff; }
.admin-nav-sub a.active { color: #1abb9c; font-weight: 600; }
.admin-main { flex: 1; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; background: #fff; border-bottom: 1px solid var(--light-color); }
.admin-topbar-title { font-weight: 600; color: var(--gray-color); font-size: 13px; }
.admin-topbar-right { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.admin-topbar-user { font-weight: 600; }
.admin-topbar-right button { background: none; border: none; color: var(--red-color); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 13px; }
@media (max-width: 900px) {
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; padding: 10px 0; }
}

/* ============ Admin dashboard widgets (KPI cards + charts) ============ */
.dash-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.dash-toolbar .btn-link { padding: 8px 16px; border-radius: 8px; background: var(--super-light); color: var(--blue-color); font-weight: 600; border: none; cursor: pointer; font-family: inherit; font-size: 1.15rem; }
.dash-section { margin-bottom: 26px; }
.dash-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; border-bottom: 2px solid var(--logo-color); padding-bottom: 6px; }
.dash-section-head h2 { margin: 0; font-size: 1.35rem; color: var(--purple-color); }
.dash-section-head a { font-size: 1.1rem; color: var(--blue-color); }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.kpi-row.col-3 { grid-template-columns: repeat(3, 1fr); }
.kpi-row.col-2 { grid-template-columns: repeat(2, 1fr); }
.kpi-card { background: var(--boxes-bg); border: 1px solid var(--light-color); border-radius: 10px; padding: 14px 16px; }
.kpi-card.kpi-primary { border-top: 3px solid var(--logo-color); }
.kpi-card.kpi-warn { border-top: 3px solid #f59f00; background: #fff8ec; }
.kpi-card a.kpi-card-link { text-decoration: none; color: inherit; display: block; }
.kpi-label { font-size: 1.05rem; color: var(--gray-color); margin-bottom: 6px; }
.kpi-value { font-size: 1.9rem; font-weight: 700; color: var(--logo-color); }
.kpi-meta { font-size: 1.05rem; color: var(--gray-color); margin-top: 4px; }
.kpi-meta.up { color: var(--green-color); }
.kpi-meta.down { color: var(--red-color); }
.shortcut-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.shortcut-btn { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 10px; background: var(--logo-color); color: #fff; font-weight: 700; text-decoration: none; font-size: 1.2rem; }
.shortcut-btn.secondary { background: var(--boxes-bg); color: var(--logo-color); border: 1px solid var(--logo-color); }
.chart-panel { background: var(--boxes-bg); border: 1px solid var(--light-color); border-radius: 10px; padding: 14px 16px; }
.chart-panel-title { font-size: 1.15rem; font-weight: 600; color: var(--gray-color); margin-bottom: 10px; }
.sparkline-bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; }
.sparkline-bars .bar { flex: 1; background: var(--logo-color); border-radius: 2px 2px 0 0; min-height: 2px; }
.sys-list { display: flex; flex-direction: column; gap: 6px; }
.sys-row { display: flex; justify-content: space-between; font-size: 1.15rem; padding: 4px 0; border-bottom: 1px dashed var(--light-color); }
.sys-row b { color: var(--gray-color); }
.not-configured-box { background: var(--super-light); border: 1px dashed var(--gray-color); border-radius: 10px; padding: 20px; color: var(--gray-color); text-align: center; }
@media (max-width: 900px) { .kpi-row, .kpi-row.col-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kpi-row, .kpi-row.col-3, .kpi-row.col-2 { grid-template-columns: 1fr; } }

/* ============ Widget-manager modal ============ */
.widget-manager-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.widget-manager-modal { background: #fff; border-radius: 14px; padding: 22px; max-width: 460px; width: 100%; max-height: 80vh; overflow-y: auto; }
.widget-manager-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--light-color); }
.widget-manager-row span { flex: 1; }
.widget-manager-row button { padding: 2px 10px; border-radius: 6px; border: 1px solid var(--light-color); background: #fff; cursor: pointer; }
.widget-manager-row button:disabled { opacity: .3; cursor: default; }

/* ============ Blazor framework defaults (kept from template) ============ */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
