/* =====================================================================
   AVANETCO client area theme (Twenty-One child)
   Same design language as www.avanetco.com: Outfit type, teal masthead
   with confetti and waves, yellow accent, pill buttons, soft cards.
   Loaded after the parent theme's CSS, so everything here overrides it.
   ===================================================================== */

@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --avn-brand: #01afa6;
    --avn-brand-ink: #00766e;
    --avn-brand-deep: #00665f;
    --avn-mast-a: #03423e;
    --avn-mast-b: #00706a;
    --avn-mast-c: #008c84;
    --avn-night: #062a28;
    --avn-accent: #ffce47;
    --avn-accent-deep: #f5b800;
    --avn-on-accent: #1b1f27;
    --avn-ink: #0f2427;
    --avn-ink-2: #4a5d63;
    --avn-ink-3: #6a7784;
    --avn-bg: #ffffff;
    --avn-bg-2: #f1f7f6;
    --avn-bg-3: #e4f2f0;
    --avn-page: #f4f8f8;
    --avn-line: #dfe9e8;
    --avn-shadow: 0 1px 2px rgb(8 60 56 / .06), 0 10px 30px rgb(8 60 56 / .08);
    --avn-shadow-lg: 0 2px 6px rgb(8 60 56 / .08), 0 24px 60px rgb(8 60 56 / .16);
    --avn-r: 18px;
    --avn-ease: cubic-bezier(.16, 1, .3, 1);
    --avn-font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --avn-top-h: 80px;
    --avn-confetti: url("../img/confetti.svg");
}

/* ---------- Base ---------- */
body.avn { font-family: var(--avn-font); font-size: 15px; color: var(--avn-ink); -webkit-font-smoothing: antialiased; }
.primary-bg-color { background-color: var(--avn-page); }
body.avn h1, body.avn h2, body.avn h3, body.avn h4, body.avn h5, body.avn h6,
body.avn .h1, body.avn .h2, body.avn .h3, body.avn .h4, body.avn .h5, body.avn .h6 { font-family: var(--avn-font); color: var(--avn-ink); font-weight: 700; letter-spacing: -.015em; }
body.avn .btn, body.avn .form-control, body.avn .custom-select, body.avn input, body.avn select, body.avn textarea, body.avn button { font-family: var(--avn-font); }
body.avn a { color: var(--avn-brand-ink); }
body.avn a:hover { color: var(--avn-brand-deep); }
body.avn ::selection { background: var(--avn-accent); color: var(--avn-on-accent); }
.text-primary { color: var(--avn-brand-ink) !important; }
.bg-primary, .badge-primary { background-color: var(--avn-brand-ink) !important; }
.border-primary { border-color: var(--avn-brand) !important; }

/* ---------- Layout width: Bootstrap 4 stops at 1140px; the website uses up to 1320px ---------- */
@media (min-width: 1400px) {
    body.avn .container { max-width: 1280px; }
    body.avn header.header .container { max-width: 1320px; }
}

/* ---------- Header row 1: logo, site links, account ---------- */
header.header.avn-hdr { position: sticky; top: calc(var(--avn-top-h) * -1); z-index: 1030; background: #fff; }
.avn-top { background: #fff; }
.avn-top__in { display: flex; align-items: center; gap: 28px; height: var(--avn-top-h); }
.avn-brand { display: inline-flex; align-items: center; flex: none; }
header.header .avn-brand .logo-img { height: 58px; width: auto; max-width: none; max-height: none; display: block; }
.avn-links ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.avn-links a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 999px; color: var(--avn-ink-2) !important; font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.avn-links a:hover { color: var(--avn-brand-ink) !important; background: var(--avn-bg-2); text-decoration: none; }
.avn-acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.avn-icon-btn { position: relative; display: inline-grid; place-items: center; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--avn-bg-2); color: var(--avn-brand-ink) !important; font-size: 18px; cursor: pointer; transition: background-color .2s, color .2s; }
.avn-icon-btn:hover, .avn-icon-btn:focus { background: var(--avn-bg-3); color: var(--avn-brand-deep) !important; text-decoration: none; outline: none; }
.avn-icon-btn:focus-visible { box-shadow: 0 0 0 3px rgb(1 175 166 / .35); }
.avn-balance { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--avn-bg-2); color: var(--avn-ink) !important; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none !important; transition: background-color .2s, color .2s; }
.avn-balance i { color: var(--avn-brand-ink); font-size: 16px; }
.avn-balance:hover { background: var(--avn-bg-3); color: var(--avn-brand-deep) !important; }
@media (max-width: 575.98px) { .avn-balance i { display: none; } }
.avn-dot { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--avn-accent); color: var(--avn-on-accent); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.avn-dot--zero { display: none; }
body.avn .avn-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; transition: background-color .2s, color .2s, transform .2s var(--avn-ease), box-shadow .2s; }
body.avn .avn-btn--soft { background: var(--avn-bg-2); color: var(--avn-ink); }
body.avn .avn-btn--soft:hover { background: var(--avn-bg-3); color: var(--avn-brand-ink); }
body.avn .avn-btn--accent { background: var(--avn-accent); color: var(--avn-on-accent); box-shadow: 0 8px 22px rgb(255 206 71 / .35); }
body.avn .avn-btn--accent:hover { background: var(--avn-accent-deep); color: var(--avn-on-accent); transform: translateY(-1px); }
.avn-client { display: flex; align-items: center; height: 46px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--avn-bg-2); }
.avn-client__name { display: inline-flex; align-items: center; gap: 8px; max-width: 200px; color: var(--avn-ink) !important; font-weight: 600; text-decoration: none !important; }
.avn-client__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avn-client__name i { color: var(--avn-brand-ink); font-size: 18px; }
.avn-client__switch { display: grid; place-items: center; width: 34px; height: 34px; margin-left: 6px; border-radius: 50%; color: var(--avn-brand-ink) !important; }
.avn-client__switch:hover { background: #fff; }
header.header .avn-account { flex-direction: row; }
header.header .avn-account > li > a { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--avn-brand-ink); color: #fff !important; font-weight: 600; font-size: 15px; }
header.header .avn-account > li > a:hover { background: var(--avn-brand-deep); }
header.header .avn-account .dropdown-menu { position: absolute; }
header.header .avn-account .avn-acc-ico { font-size: 18px; }
header.header .avn-account .avn-acc-label { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avn-burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--avn-bg-2); color: var(--avn-ink); font-size: 20px; cursor: pointer; }
.avn-burger:focus { outline: none; box-shadow: 0 0 0 3px rgb(1 175 166 / .35); }
header.header .btn-return-to-admin { background: #fff4d1; color: #8a6200 !important; }

/* ---------- Header row 2: client area menu + domain search (sticky) ---------- */
header.header .avn-bar { position: relative; padding: 0; background: linear-gradient(180deg, var(--avn-bg-2), #e9f4f2); box-shadow: inset 0 1px 0 var(--avn-line); transition: box-shadow .3s; }
header.header .avn-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--avn-mast-a), var(--avn-brand) 45%, var(--avn-accent)); pointer-events: none; }
header.header.is-stuck .avn-bar { box-shadow: inset 0 1px 0 var(--avn-line), 0 12px 30px rgb(3 40 37 / .14); }
header.header .avn-bar > .container { position: relative; }
header.header .main-navbar-wrapper .navbar-collapse { padding: 0; min-height: 62px; }
#avn-nav { gap: 2px; }
#avn-nav > li > a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; color: var(--avn-ink); font-size: .97rem; font-weight: 560; white-space: nowrap; text-decoration: none; transition: background-color .2s, color .2s, box-shadow .2s; }
#avn-nav > li > a .avn-nav-ico, #avn-nav > li > a > i { color: var(--avn-brand-ink); font-size: 16px; width: 18px; text-align: center; }
#avn-nav > li > a:hover, #avn-nav > li.show > a { background: #fff; color: var(--avn-brand-ink); box-shadow: var(--avn-shadow); }
#avn-nav > li > a.dropdown-toggle::after { margin-left: 2px; opacity: .55; }
#avn-nav .badge { background: var(--avn-accent); color: var(--avn-on-accent); }

body.avn .dropdown-menu { padding: 8px; border: 1px solid var(--avn-line); border-radius: 16px; box-shadow: var(--avn-shadow-lg); font-size: .95rem; }
body.avn .dropdown-menu li.dropdown-item { padding: 0; background: none; }
body.avn .dropdown-menu a.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px !important; border-radius: 10px; color: var(--avn-ink); line-height: 1.3; white-space: nowrap; }
body.avn .dropdown-menu a.dropdown-item:hover, body.avn .dropdown-menu a.dropdown-item:focus { background: var(--avn-bg-3); color: var(--avn-brand-ink); }
body.avn .dropdown-item.active, body.avn .dropdown-item:active { background: var(--avn-bg-3); color: var(--avn-brand-ink); }
body.avn .dropdown-divider { border-color: var(--avn-line); margin: 6px 4px; }

/* Store: the long list of groups opens as a wide multi-column panel */
@media (min-width: 1200px) {
    header.header #avn-nav > li.avn-has-mega { position: static; }
    header.header .avn-mega { left: 15px; right: 15px; top: calc(100% + 6px); columns: 6 160px; column-gap: 12px; padding: 18px 20px; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; }
    header.header .avn-mega > li { break-inside: avoid; }
    header.header .avn-mega > .dropdown-divider { display: none; }
    header.header .avn-mega a.dropdown-item { padding: 5px 8px !important; white-space: normal; font-size: .93rem; }
}
.avn-flag { flex: none; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background-image: url("../img/flags.webp"); background-size: 1000% 1000%; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); vertical-align: middle; }

.avn-dsearch { flex: 0 0 300px; width: 300px; display: flex; align-items: center; gap: 4px; height: 46px; margin-left: 16px; padding: 4px 4px 4px 20px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgb(8 60 56 / .06), 0 6px 18px rgb(8 60 56 / .07); }
.avn-dsearch:focus-within { box-shadow: 0 0 0 2px var(--avn-brand); }
.avn-dsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--avn-ink); font-size: 1rem; outline: none; }
.avn-dsearch input::placeholder { color: var(--avn-ink-3); }
.avn-dsearch button { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--avn-accent); color: var(--avn-on-accent); cursor: pointer; }
.avn-mobile { display: none; }

@media (max-width: 1399.98px) {
    #avn-nav > li > a { padding: 0 8px; gap: 6px; font-size: .93rem; }
    .avn-dsearch { flex: 0 0 210px; width: 210px; margin-left: 8px; }
    .avn-top__in { gap: 18px; }
    .avn-links a { padding: 0 9px; font-size: .85rem; }
}
@media (max-width: 1199.98px) {
    :root { --avn-top-h: 68px; }
    header.header.avn-hdr { top: 0; }
    header.header.is-stuck { box-shadow: 0 8px 24px rgb(3 40 37 / .12); }
    header.header .avn-brand .logo-img { height: 50px; }
    header.header .avn-bar { background: #fff; box-shadow: none; }
    header.header .avn-bar::after { display: none; }
    header.header .main-navbar-wrapper .navbar-collapse { min-height: 0; max-height: calc(100vh - var(--avn-top-h)); overflow-y: auto; overscroll-behavior: contain; }
    header.header .main-navbar-wrapper .navbar-collapse.show, header.header .main-navbar-wrapper .navbar-collapse.collapsing { border-top: 1px solid var(--avn-line); padding: 12px 0 24px; }
    .avn-dsearch { order: -1; flex: none; width: 100%; margin: 0 0 10px; background: var(--avn-bg-2); box-shadow: none; }
    #avn-nav > li { border-bottom: 1px solid var(--avn-line); }
    #avn-nav > li > a { width: 100%; height: 54px; padding: 0 4px; border-radius: 0; font-size: 1.02rem; }
    #avn-nav > li > a:hover, #avn-nav > li.show > a { background: none; box-shadow: none; }
    #avn-nav .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 12px; columns: 2 150px; column-gap: 8px; }
    #avn-nav .dropdown-menu > li { break-inside: avoid; }
    header.header .avn-bar > .container { padding-left: 15px; padding-right: 15px; }
    .avn-mobile { display: block; margin-top: 14px; }
    .avn-mobile__links { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
    .avn-mobile__links a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--avn-bg-2); color: var(--avn-ink) !important; font-weight: 600; font-size: .95rem; text-decoration: none; }
    .avn-mobile__links i { color: var(--avn-brand-ink); }
    .avn-mobile__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .avn-mobile__btns .avn-btn { justify-content: center; }
}
@media (max-width: 575.98px) {
    .avn-top__in { gap: 8px; }
    header.header .avn-brand .logo-img { height: 38px; }
    .avn-acts { gap: 6px; }
    .avn-icon-btn, .avn-burger { width: 40px; height: 40px; font-size: 16px; }
    .avn-balance { height: 40px; padding: 0 10px; font-size: 13px; }
    .avn-mobile__account { margin-bottom: 14px; }
    .avn-mobile__account > li > a { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--avn-brand-ink); color: #fff !important; font-weight: 600; }
    .avn-mobile__account .dropdown-menu { position: static; float: none; box-shadow: none; border: 0; padding: 6px 0 0; }
    header.header .avn-account > li > a { padding: 0 12px; height: 42px; }
}

/* ---------- Teal band with breadcrumb and wave (the masthead of every page) ---------- */
.master-breadcrumb.avn-band { position: relative; isolation: isolate; padding: 22px 0 58px; background: linear-gradient(160deg, var(--avn-mast-a) 0%, var(--avn-mast-b) 48%, var(--avn-mast-c) 100%); overflow: hidden; }
.master-breadcrumb.avn-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--avn-confetti) repeat; background-size: 360px 180px; opacity: .9; }
.master-breadcrumb.avn-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 220px at 88% 10%, rgb(255 255 255 / .12), transparent 65%); pointer-events: none; }
.master-breadcrumb.avn-band .breadcrumb { margin: 0; padding: 0; background: transparent; font-size: .95rem; font-weight: 500; }
.master-breadcrumb.avn-band .breadcrumb-item, .master-breadcrumb.avn-band .breadcrumb-item.active { color: #fff; }
.master-breadcrumb.avn-band .breadcrumb-item a { color: rgb(255 255 255 / .78); }
.master-breadcrumb.avn-band .breadcrumb-item a:hover { color: #fff; }
.master-breadcrumb.avn-band .breadcrumb-item + .breadcrumb-item::before { color: rgb(255 255 255 / .45); }
.avn-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; display: block; }
.avn-wave__glow { fill: rgb(255 255 255 / .38); }
.avn-wave__fill { fill: var(--avn-page); }
#main-body { position: relative; padding-top: 18px; padding-bottom: 20px; }

/* ---------- Buttons ---------- */
body.avn .btn { border-radius: 12px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
body.avn .btn-lg { border-radius: 14px; }
body.avn .btn-primary, body.avn .btn-info { background-color: var(--avn-brand-ink); border-color: var(--avn-brand-ink); color: #fff; }
body.avn .btn-primary:hover, body.avn .btn-primary:focus, body.avn .btn-primary:not(:disabled):not(.disabled):active,
body.avn .btn-info:hover, body.avn .btn-info:focus { background-color: var(--avn-brand-deep); border-color: var(--avn-brand-deep); color: #fff; }
body.avn .btn-primary:focus, body.avn .btn-success:focus, body.avn .btn-default:focus { box-shadow: 0 0 0 3px rgb(1 175 166 / .3); }
body.avn .btn-success { background-color: var(--avn-accent); border-color: var(--avn-accent); color: var(--avn-on-accent); }
body.avn .btn-success:hover, body.avn .btn-success:focus, body.avn .btn-success:not(:disabled):not(.disabled):active { background-color: var(--avn-accent-deep); border-color: var(--avn-accent-deep); color: var(--avn-on-accent); }
body.avn .btn-outline-primary { color: var(--avn-brand-ink); border-color: var(--avn-brand); }
body.avn .btn-outline-primary:hover { background-color: var(--avn-brand-ink); border-color: var(--avn-brand-ink); color: #fff; }
body.avn .btn-default, body.avn .btn-secondary, body.avn .btn-light { background-color: #fff; border: 1px solid var(--avn-line); color: var(--avn-ink); }
body.avn .btn-default:hover, body.avn .btn-secondary:hover, body.avn .btn-light:hover { background-color: var(--avn-bg-2); border-color: var(--avn-brand); color: var(--avn-brand-ink); }
body.avn .btn-link { color: var(--avn-brand-ink); }

/* ---------- Cards, sidebar, lists ---------- */
body.avn .card { border: 1px solid var(--avn-line); border-radius: var(--avn-r); box-shadow: var(--avn-shadow); }
body.avn .card > .card-header:first-child { border-radius: calc(var(--avn-r) - 1px) calc(var(--avn-r) - 1px) 0 0; }
body.avn .card > .card-footer:last-child { border-radius: 0 0 calc(var(--avn-r) - 1px) calc(var(--avn-r) - 1px); }
body.avn .card-header { background-color: #fff; border-bottom-color: var(--avn-line); }
body.avn .card-footer { background-color: var(--avn-bg-2); border-top-color: var(--avn-line); }
.primary-content .card-title { font-weight: 700; }
.sidebar .card-sidebar .card-header { background: linear-gradient(120deg, color-mix(in srgb, var(--avn-brand) 12%, #fff), #fff); }
.sidebar .card-sidebar .card-title, .sidebar .card-sidebar .card-title i { color: var(--avn-mast-a); }
body.avn .list-group-item { border-color: var(--avn-line); color: var(--avn-ink); }
body.avn .list-group-item-action:hover { background-color: var(--avn-bg-2); color: var(--avn-brand-ink); }
body.avn .list-group-item.active { background-color: var(--avn-brand-ink); border-color: var(--avn-brand-ink); color: #fff; }
body.avn .list-group-item.active .badge { background: #fff; color: var(--avn-brand-ink); }

/* ---------- Forms ---------- */
body.avn .form-control, body.avn .custom-select { border-color: var(--avn-line); border-radius: 12px; color: var(--avn-ink); }
body.avn .form-control:focus, body.avn .custom-select:focus { border-color: var(--avn-brand); box-shadow: 0 0 0 3px rgb(1 175 166 / .18); }
body.avn .input-group-text { background-color: var(--avn-bg-2); border-color: var(--avn-line); color: var(--avn-ink-2); }
body.avn .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--avn-brand-ink); border-color: var(--avn-brand-ink); }
body.avn .custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 3px rgb(1 175 166 / .2); }
body.avn .form-check-input:checked { accent-color: var(--avn-brand-ink); }
body.avn label { color: var(--avn-ink); }

/* ---------- Tables, tabs, pagination, alerts, progress ---------- */
body.avn .table th, body.avn .table td { border-color: var(--avn-line); }
body.avn .table thead th { background: var(--avn-bg-2); color: var(--avn-ink-2); font-weight: 600; border-bottom: 1px solid var(--avn-line); }
body.avn .table-hover tbody tr:hover { background-color: var(--avn-bg-2); }
body.avn .nav-tabs { border-bottom-color: var(--avn-line); }
body.avn .nav-tabs .nav-link { border-radius: 12px 12px 0 0; color: var(--avn-ink-2); }
body.avn .nav-tabs .nav-link.active, body.avn .nav-tabs .nav-item.show .nav-link { color: var(--avn-brand-ink); border-color: var(--avn-line) var(--avn-line) #fff; font-weight: 600; }
body.avn .nav-pills .nav-link.active { background-color: var(--avn-brand-ink); }
body.avn .page-link { color: var(--avn-brand-ink); border-color: var(--avn-line); }
body.avn .page-item.active .page-link { background-color: var(--avn-brand-ink); border-color: var(--avn-brand-ink); color: #fff; }
body.avn .dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--avn-brand-ink) !important; color: #fff !important; border-color: var(--avn-brand-ink) !important; }
body.avn .alert { border-radius: 14px; }
body.avn .alert-info { background-color: #e6f6f4; border-color: #c3e8e3; color: #075750; }
body.avn .progress-bar { background-color: var(--avn-brand); }
body.avn .badge { border-radius: 999px; font-weight: 600; padding: .35em .7em; }
body.avn .modal-content { border: 0; border-radius: 20px; box-shadow: var(--avn-shadow-lg); }
body.avn .popover { border-color: var(--avn-line); border-radius: 14px; box-shadow: var(--avn-shadow-lg); font-family: var(--avn-font); }

/* ---------- Client area home, homepage and misc Twenty-One pieces ---------- */
body.avn .tiles .tile { border-radius: var(--avn-r); transition: transform .2s var(--avn-ease), box-shadow .2s; }
body.avn .tiles .tile:hover { transform: translateY(-2px); box-shadow: var(--avn-shadow-lg); }
body.avn .tiles .tile .stat { font-family: var(--avn-font); font-weight: 700; }
body.avn .tiles .tile i { color: var(--avn-brand); }
.action-icon-btns a { border-radius: var(--avn-r); border: 1px solid var(--avn-line); box-shadow: var(--avn-shadow); color: var(--avn-ink); font-weight: 600; }
.action-icon-btns a .ico-container { background: var(--avn-bg-3); color: var(--avn-brand-ink); }
.action-icon-btns a:hover { border-color: var(--avn-brand); color: var(--avn-brand-ink); text-decoration: none; }
.action-icon-btns a:hover .ico-container { background: var(--avn-brand-ink); color: #fff; }
body.avn .home-domain-search { position: relative; isolation: isolate; margin-top: -24px; background: transparent !important; }
body.avn .home-domain-search > .container > div { border-radius: 24px; background: linear-gradient(135deg, #fff, var(--avn-bg-2)); box-shadow: var(--avn-shadow); border: 1px solid var(--avn-line); }
body.avn .home-domain-search .input-group-wrapper { border-radius: 999px; box-shadow: var(--avn-shadow); }
body.avn .home-domain-search .input-group-wrapper .form-control { border-radius: 999px 0 0 999px; height: 56px; font-size: 1.1rem; padding-left: 24px; }
body.avn .home-domain-search .input-group-wrapper .btn { height: 56px; }
body.avn .home-domain-search .input-group-append .btn:last-child { border-radius: 0 999px 999px 0; }
.card-columns.home .card .btn { border-radius: 999px; }
.client-home-cards .card .card-header .btn { border-radius: 999px; }
body.avn .announcement-single, body.avn .kb-category, body.avn .kb-article-item { border-radius: 14px; }

/* ---------- Footer ---------- */
footer.footer.avn-ftr { position: relative; margin-top: 90px; padding: 64px 0 28px; background: var(--avn-night); color: rgb(255 255 255 / .72); font-size: .95rem; }
.avn-ftr__wave { position: absolute; left: 0; right: 0; top: -69px; width: 100%; height: 70px; display: block; fill: var(--avn-night); }
.avn-ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.avn-ftr__brand img { height: 58px; width: auto; padding: 6px 10px; border-radius: 14px; background: #fff; }
.avn-ftr__about p { margin: 18px 0; max-width: 34ch; line-height: 1.6; }
.avn-ftr__contact, .avn-ftr__links { list-style: none; margin: 0; padding: 0; }
.avn-ftr__contact li + li, .avn-ftr__links li + li { margin-top: 10px; }
footer.footer.avn-ftr a { color: rgb(255 255 255 / .8); text-decoration: none; }
footer.footer.avn-ftr a:hover { color: var(--avn-accent); }
.avn-ftr__contact i { width: 20px; color: var(--avn-accent); }
.avn-ftr__title { margin: 6px 0 16px; color: #fff; font-weight: 700; font-size: 1.05rem; }
.avn-ftr__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .1); }
.avn-ftr__pay-label { color: #fff; font-weight: 600; }
.avn-ftr__pay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.avn-ftr__pay li { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 8px; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); color: #fff; font-size: .88rem; font-weight: 600; }
.avn-ftr__pay svg { width: 30px; height: 30px; flex: none; }
.avn-ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); }
footer.footer.avn-ftr .copyright { margin: 0; text-align: left; font-size: .9rem; }
footer.footer.avn-ftr .btn { height: 40px; padding: 0 16px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: #fff; line-height: 38px; }
footer.footer.avn-ftr .btn:hover { background: rgb(255 255 255 / .16); }
@media (max-width: 991.98px) { .avn-ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) {
    .avn-ftr__grid { grid-template-columns: 1fr; gap: 28px; }
    .avn-ftr__pay li span { display: none; }
    .avn-ftr__pay li { padding: 0 7px; }
    .avn-ftr__bottom { justify-content: center; text-align: center; }
    footer.footer.avn-ftr .copyright { text-align: center; }
}

/* =====================================================================
   Order form: standard_cart
   ===================================================================== */
body.avn #order-standard_cart { font-size: 15px; }
body.avn #order-standard_cart .header-lined h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 750; margin-bottom: 6px; }
body.avn #order-standard_cart .header-lined p { color: var(--avn-ink-2); }
body.avn #order-standard_cart label, body.avn #order-standard_cart p.domain-renewal-desc { color: var(--avn-ink-2); }
body.avn #order-standard_cart .sub-heading { border-top-color: var(--avn-line); }
body.avn #order-standard_cart .sub-heading span, body.avn #order-standard_cart .sub-heading-borderless span { color: var(--avn-brand-ink); background: var(--avn-page); font-weight: 600; }
body.avn #order-standard_cart .field, body.avn #order-standard_cart .form-control { border-color: var(--avn-line); border-radius: 12px; color: var(--avn-ink); }
body.avn #order-standard_cart .form-control:focus, body.avn #order-standard_cart .field:focus { border-color: var(--avn-brand); box-shadow: 0 0 0 3px rgb(1 175 166 / .18); }

/* Category sidebar: a scrolling list with flags instead of a 100-item wall */
body.avn #order-standard_cart .cart-sidebar .card { overflow: hidden; }
body.avn #order-standard_cart .cart-sidebar .card-header { background: linear-gradient(120deg, color-mix(in srgb, var(--avn-brand) 12%, #fff), #fff); }
body.avn #order-standard_cart .cart-sidebar .card-title, body.avn #order-standard_cart .cart-sidebar .card-title i { color: var(--avn-mast-a); }
body.avn #order-standard_cart .cart-sidebar .list-group { max-height: 460px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
body.avn #order-standard_cart .cart-sidebar .list-group-item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: .94rem; }
body.avn #order-standard_cart .cart-sidebar .list-group-item.active { background: var(--avn-brand-ink); border-color: var(--avn-brand-ink); color: #fff; }
body.avn #order-standard_cart .cart-sidebar .avn-flag { width: 20px; height: 20px; }

/* Product listing: plan cards in a grid, like the website */
body.avn #order-standard_cart .products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin: 16px 0; }
body.avn #order-standard_cart .products > .row { display: contents; }
body.avn #order-standard_cart .products .row > [class*="col-"] { max-width: none; padding: 0; flex: none; width: auto; }
body.avn #order-standard_cart .products .product { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; background: #fff; border: 1px solid var(--avn-line); border-radius: 20px; box-shadow: var(--avn-shadow); transition: transform .25s var(--avn-ease), box-shadow .25s, border-color .25s; }
body.avn #order-standard_cart .products .product:hover { transform: translateY(-3px); box-shadow: var(--avn-shadow-lg); border-color: color-mix(in srgb, var(--avn-brand) 45%, var(--avn-line)); }
body.avn #order-standard_cart .products .product header { margin: 0; padding: 20px 22px 8px; background: transparent; border-radius: 20px 20px 0 0; }
body.avn #order-standard_cart .products .product header span { font-size: 1.2rem; font-weight: 700; color: var(--avn-ink); }
body.avn #order-standard_cart .products .product header .qty { color: var(--avn-ink-3); font-style: normal; }
body.avn #order-standard_cart .products .product div.product-desc { float: none; width: auto; padding: 4px 22px 0; font-size: .92rem; color: var(--avn-ink-2); }
body.avn #order-standard_cart .products .product div.product-desc p { margin-bottom: 8px; }
body.avn #order-standard_cart .products .product div.product-desc ul { list-style: none; margin: 0; padding: 0; }
body.avn #order-standard_cart .products .product div.product-desc li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--avn-line); }
body.avn #order-standard_cart .products .product div.product-desc li .feature-value { order: 2; margin-left: auto; color: var(--avn-ink); font-weight: 700; }
body.avn #order-standard_cart .products .product footer { float: none; width: auto; margin: auto 0 0; padding: 16px 22px 22px; text-align: left; font-size: .88rem; color: var(--avn-ink-3); }
body.avn #order-standard_cart .products .product div.product-pricing { margin-bottom: 14px; line-height: 1.35; }
body.avn #order-standard_cart .products .product div.product-pricing span.price { display: inline-block; margin-top: 2px; font-size: 1.9rem; font-weight: 750; letter-spacing: -.02em; color: var(--avn-ink); }
body.avn #order-standard_cart .products .product div.product-pricing br + br { display: none; }
body.avn #order-standard_cart .btn-order-now { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border-radius: 999px !important; font-size: 1rem; }

/* Configure product */
body.avn #order-standard_cart .product-info { background: #fff; border: 1px solid var(--avn-line); border-radius: var(--avn-r); box-shadow: var(--avn-shadow); padding: 18px 22px; }
body.avn #order-standard_cart .product-info .product-title { color: var(--avn-ink); font-weight: 700; }
body.avn #order-standard_cart .panel-addon { border-radius: 16px; border-color: var(--avn-line); overflow: hidden; }
body.avn #order-standard_cart .panel-addon .panel-add, body.avn #order-standard_cart .panel-addon-selected .panel-add { background-color: var(--avn-brand-ink); }
body.avn #order-standard_cart .panel-addon-selected { border-color: var(--avn-brand); }
body.avn #order-standard_cart .domain-selection-options .option { border-radius: 14px; background: #fff; border: 1px solid var(--avn-line); }
body.avn #order-standard_cart .domain-selection-options .option-selected { background: var(--avn-bg-3); border-color: var(--avn-brand); }

/* Order summary */
body.avn #order-standard_cart .order-summary { overflow: hidden; background: linear-gradient(160deg, var(--avn-mast-a), var(--avn-mast-b)); border: 0; border-radius: 20px; box-shadow: var(--avn-shadow-lg); }
body.avn #order-standard_cart .order-summary h2 { padding: 14px 0; font-size: 1.15rem; font-weight: 700; }
body.avn #order-standard_cart .summary-container { background: #fff; }
body.avn #order-standard_cart .order-summary .total-due-today .amt { color: var(--avn-ink); font-weight: 750; }
body.avn #order-standard_cart .order-summary .btn-checkout, body.avn #order-standard_cart .btn-checkout { border-radius: 999px; }

/* View cart */
body.avn #order-standard_cart .view-cart-items-header { background: var(--avn-mast-a); border-radius: 14px 14px 0 0; }
body.avn #order-standard_cart .view-cart-items { border-radius: 0 0 14px 14px; overflow: hidden; border: 1px solid var(--avn-line); border-top: 0; }
body.avn #order-standard_cart .view-cart-items .item:nth-child(even) { background: var(--avn-bg-2); }
body.avn #order-standard_cart .view-cart-items .item-domain { color: var(--avn-brand-ink); }
body.avn #order-standard_cart .empty-cart .btn { background: var(--avn-brand-ink); border-radius: 999px; }
body.avn #order-standard_cart .view-cart-tabs .tab-content, body.avn #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"] { background: var(--avn-bg-2); }
body.avn #order-standard_cart .view-cart-tabs .tab-content { border-radius: 0 14px 14px 14px; }
body.avn #order-standard_cart .view-cart-promotion-code { border-radius: 12px; border-color: var(--avn-brand); }
body.avn #order-standard_cart .view-cart-gateway-checkout { background: var(--avn-bg-2); border-radius: 14px; }
body.avn #order-standard_cart .apply-credit-container { background: var(--avn-bg-2); border-radius: 14px; }

/* Domain checker: the teal masthead look */
body.avn .domain-checker-container { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px !important; background: linear-gradient(160deg, var(--avn-mast-a) 0%, var(--avn-mast-b) 48%, var(--avn-mast-c) 100%) !important; box-shadow: var(--avn-shadow-lg); }
body.avn .domain-checker-container::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--avn-confetti) repeat; background-size: 360px 180px; opacity: .9; }
body.avn .domain-checker-bg { background-image: none !important; padding: 56px 0 !important; }
body.avn .domain-checker-container .input-group-box { border-radius: 18px; padding: 8px; box-shadow: 0 14px 40px rgb(0 30 28 / .3); }
body.avn .domain-checker-container .input-group-box .form-control { border: 0; box-shadow: none; font-size: 1.1rem; }
body.avn #order-standard_cart .domain-checker-available { color: #0b8a4f; }
body.avn #order-standard_cart .domain-checker-unavailable, body.avn #order-standard_cart .domain-checker-invalid { color: #c9364a; }
body.avn #order-standard_cart .domain-lookup-result .btn-add-to-cart, body.avn #order-standard_cart .spotlight-tlds .btn, body.avn #order-standard_cart .suggested-domains .btn { border-radius: 999px; }
body.avn #order-standard_cart .spotlight-tlds .spotlight-tld { border-radius: 16px; }
body.avn #order-standard_cart .suggested-domains { border-radius: 16px; overflow: hidden; }
body.avn #order-standard_cart .domain-pricing .tld-pricing-header { overflow: hidden; border-radius: 14px 14px 0 0; background: var(--avn-mast-a); color: #fff; font-weight: 600; }
body.avn #order-standard_cart .domain-pricing .tld-pricing-header div, body.avn #order-standard_cart .domain-pricing .tld-pricing-header div:nth-child(odd) { background-color: transparent; border-color: var(--avn-brand); border-radius: 0; }
body.avn #order-standard_cart .domain-pricing .tld-pricing-header .col-4:nth-child(2), body.avn #order-standard_cart .domain-pricing .tld-pricing-header .col-xs-4:nth-child(2) { border-color: var(--avn-accent); }
body.avn #order-standard_cart .domain-pricing .tld-row { border-bottom-color: var(--avn-line); background: #fff; }
body.avn #order-standard_cart .domain-pricing .tld-row.highlighted { background: var(--avn-bg-2); }
body.avn #order-standard_cart .domain-pricing .two-row-center { border-right-color: var(--avn-bg-3); }
body.avn #order-standard_cart .tld-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
body.avn #order-standard_cart .tld-filters a.badge { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--avn-line); color: var(--avn-ink); font-size: .88rem; }
body.avn #order-standard_cart .tld-filters a.badge:hover { border-color: var(--avn-brand); color: var(--avn-brand-ink); text-decoration: none; }
body.avn #order-standard_cart .tld-filters a.badge-success { background: var(--avn-brand-ink); border-color: var(--avn-brand-ink); color: #fff; }
body.avn #order-standard_cart .domain-promo-box { border-radius: 18px; }

/* =====================================================================
   Order form: legacy_boxes (still used by some product groups).
   Switching those groups to standard_cart is recommended.
   ===================================================================== */
body.avn #order-boxes { font-family: var(--avn-font); }
body.avn #order-boxes .header-lined h1 { font-weight: 750; }
body.avn #order-boxes .fields-container { border-radius: var(--avn-r); border-color: var(--avn-line); overflow: hidden; }
body.avn #order-boxes .fields-container .field-row { border-color: var(--avn-line); }
body.avn #order-boxes .btn-primary { border-radius: 999px; }

@media (max-width: 991.98px) {
    header.header .avn-account .avn-acc-label { display: none; }
    header.header .avn-account > li > a { width: 46px; padding: 0; justify-content: center; }
    header.header .avn-account > li > a.dropdown-toggle::after { display: none; }
}
