
:root {
    --zc-bg: #f4f7fb;
    --zc-bg-2: #eaf8f0;
    --zc-panel: #ffffff;
    --zc-panel-soft: #f9fbfd;
    --zc-text: #111827;
    --zc-muted: #6b7280;
    --zc-line: #d9e2ec;
    --zc-dark: #111827;
    --zc-dark-2: #1f2937;
    --zc-primary: #16a34a;
    --zc-primary-2: #0f7a37;
    --zc-accent: #facc15;
    --zc-danger: #b91c1c;
    --zc-warning: #b45309;
    --zc-shadow: 0 14px 34px rgba(15, 23, 42, .10), 0 3px 10px rgba(15, 23, 42, .06);
    --zc-shadow-soft: 0 8px 22px rgba(15, 23, 42, .07);
    --zc-shadow-hover: 0 18px 42px rgba(15, 23, 42, .16), 0 5px 14px rgba(15, 23, 42, .10);
}

* {
    box-sizing: border-box;
    border-radius: 0 !important;
}

html {
    scroll-behavior: smooth;
}

body.app-body {
    min-height: 100vh;
    margin: 0;
    color: var(--zc-text);
    background:
        radial-gradient(circle at 8% 8%, rgba(22, 163, 74, .12), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(250, 204, 21, .12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--zc-bg) 45%, #eef4f9 100%);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

a {
    color: #0f766e;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

a:hover {
    color: #064e3b;
    text-decoration: none;
}

img, iframe {
    max-width: 100%;
}

.site-header {
    position: relative;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .98), rgba(31, 41, 55, .98) 55%, rgba(15, 122, 55, .98)),
        radial-gradient(circle at 15% 0%, rgba(250, 204, 21, .18), transparent 35%);
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 16px 35px rgba(15, 23, 42, .28);
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
    opacity: .7;
}

.header-inner {
    position: relative;
    z-index: 1;
    padding-top: 18px;
    padding-bottom: 18px;
}

.header-top {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
}

.brand-card,
.language-card {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    box-shadow: 0 8px 20px rgba(0,0,0,.16);
    backdrop-filter: blur(8px);
}

.brand-card {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 14px 16px;
    flex: 1;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-right: 12px;
    border: 1px solid rgba(250, 204, 21, .8);
    background: rgba(250, 204, 21, .14);
    color: var(--zc-accent);
    font-weight: 900;
    font-size: 25px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.brand-title {
    display: block;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .01em;
    word-break: break-word;
}

.brand-title:hover {
    color: var(--zc-accent);
}

.brand-subtitle {
    margin-top: 4px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.language-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    min-width: 176px;
}

.language-card span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.language-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 36px;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.06);
    font-weight: 800;
}

.language-card a.active,
.language-card a:hover {
    background: #ffffff;
    color: var(--zc-dark);
    border-color: #ffffff;
    transform: translateY(-1px);
}

.site-nav {
    margin-top: 14px;
}

.nav-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 10px;
}

.site-nav-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 12px 13px;
    color: rgba(255,255,255,.86);
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.07);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    overflow: hidden;
}

.site-nav-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background .18s ease;
}

.site-nav-card i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    font-size: 17px;
}

.site-nav-card span {
    font-weight: 750;
    line-height: 1.15;
}

.site-nav-card:hover,
.site-nav-card.active {
    color: var(--zc-dark);
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 12px 28px rgba(0,0,0,.24);
    transform: translateY(-2px);
}

.site-nav-card:hover::before,
.site-nav-card.active::before {
    background: var(--zc-accent);
}

.site-nav-card:hover i,
.site-nav-card.active i {
    color: var(--zc-primary-2);
    border-color: #d1d5db;
    background: #f8fafc;
}

.site-main {
    position: relative;
}

.site-main > .container {
    max-width: 1180px;
    padding-top: 24px;
    padding-bottom: 26px;
}

.page-hero {
    position: relative;
    margin-bottom: 18px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.96)),
        radial-gradient(circle at 95% 10%, rgba(22, 163, 74, .14), transparent 34%);
    border: 1px solid var(--zc-line);
    box-shadow: var(--zc-shadow);
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(22, 163, 74, .14);
    background: rgba(22, 163, 74, .06);
    transform: rotate(16deg);
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 18px;
    align-items: stretch;
}

.hero-title,
.page-title {
    margin: 0;
    color: var(--zc-dark);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.025em;
}

.page-title {
    font-size: clamp(26px, 3vw, 36px);
}

.hero-subtitle,
.page-subtitle {
    margin: 10px 0 0;
    max-width: 760px;
    color: var(--zc-muted);
    font-size: 16px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid #dbe7df;
    background: #f3fbf6;
    color: #065f46;
    font-weight: 700;
    font-size: 13px;
}

.ui-card,
.form-container,
.stats,
.card {
    background: var(--zc-panel);
    border: 1px solid var(--zc-line);
    box-shadow: var(--zc-shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ui-card {
    padding: 22px;
    margin-bottom: 18px;
}

.ui-card.lift-card:hover,
.action-card:hover,
.stat-card:hover,
.small-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--zc-shadow-hover);
    border-color: #bddac8;
}

.card {
    border: 1px solid var(--zc-line);
}

.card-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--zc-line);
    font-weight: 800;
}

.section-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 850;
    color: var(--zc-dark);
}

.section-subtitle {
    margin-top: -6px;
    margin-bottom: 16px;
    color: var(--zc-muted);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card {
    position: relative;
    min-height: 128px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--zc-line);
    box-shadow: var(--zc-shadow-soft);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stat-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 86px;
    height: 86px;
    background: rgba(22, 163, 74, .09);
    border: 1px solid rgba(22, 163, 74, .12);
    transform: rotate(12deg);
}

.stat-label {
    position: relative;
    z-index: 1;
    color: var(--zc-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stat-value {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    color: var(--zc-dark);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.16;
    font-weight: 900;
    word-break: break-word;
}

.stat-note {
    position: relative;
    z-index: 1;
    margin-top: 5px;
    color: var(--zc-muted);
    font-size: 13px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.action-card {
    display: block;
    min-height: 132px;
    padding: 18px;
    color: var(--zc-dark);
    background: #ffffff;
    border: 1px solid var(--zc-line);
    box-shadow: var(--zc-shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.action-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #065f46;
    border: 1px solid #dbe7df;
    background: #f3fbf6;
}

.action-card b {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.action-card span {
    color: var(--zc-muted);
    font-size: 13px;
}

.btn,
button,
input[type="submit"] {
    border-radius: 0 !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(15, 23, 42, .12);
}

.btn-primary,
.btn-success {
    border-color: var(--zc-primary) !important;
    background: var(--zc-primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-success:hover {
    border-color: var(--zc-primary-2) !important;
    background: var(--zc-primary-2) !important;
}

.btn-outline-dark {
    border-color: var(--zc-dark) !important;
    color: var(--zc-dark) !important;
}

.btn-outline-dark:hover {
    color: #ffffff !important;
    background: var(--zc-dark) !important;
}

.form-control,
input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
    border-radius: 0 !important;
    border-color: #cbd5e1;
    min-height: 44px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.form-control:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: var(--zc-primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .13);
    outline: none;
}

.input-help {
    display: block;
    margin-top: 7px;
    color: var(--zc-muted);
    font-size: 13px;
}

.copy-row {
    display: flex;
    gap: 0;
}

.copy-row input,
.copy-row textarea {
    flex: 1;
    min-width: 0;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
}

.copy-row .btn,
.copy-row button {
    flex: 0 0 auto;
    min-width: 110px;
}

.progress {
    height: 16px;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}

.progress-bar {
    background: linear-gradient(90deg, var(--zc-primary), #22c55e);
    transition: width .45s ease;
}

.alert {
    border-radius: 0 !important;
    border-width: 1px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.alert-success {
    color: #064e3b;
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.alert-warning {
    color: #7c2d12;
    background: #fffbeb;
    border-color: #fde68a;
}

.alert-danger {
    color: #7f1d1d;
    background: #fef2f2;
    border-color: #fecaca;
}

.alert-info {
    color: #164e63;
    background: #ecfeff;
    border-color: #a5f3fc;
}

.ad-slot {
    width: 100%;
    margin: 0 0 18px;
    padding: 12px;
    text-align: center;
    background: rgba(255,255,255,.72);
    border: 1px dashed #cbd5e1;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.ad-slot.compact {
    padding: 9px;
    margin-bottom: 14px;
}


/* Global horizontal banner directly after the menu. */
.after-menu-banner-area {
    position: relative;
    z-index: 2;
    padding-top: 12px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .06), rgba(255, 255, 255, 0));
}

.after-menu-banner-area .container {
    max-width: 1180px;
}

.after-menu-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.after-menu-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    margin: 0;
    padding: 10px 12px;
    background: rgba(255,255,255,.84);
    border: 1px dashed #cbd5e1;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .07);
}

.after-menu-ad-secondary {
    min-height: 54px;
    padding: 8px 12px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .055);
}

.after-menu-ad iframe,
.after-menu-ad img,
.after-menu-ad embed,
.after-menu-ad object {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.after-menu-placeholder {
    width: 100%;
    min-height: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #0f766e;
    text-align: center;
    background: linear-gradient(135deg, rgba(236, 253, 245, .72), rgba(248, 250, 252, .82));
    border: 1px solid rgba(187, 247, 208, .85);
}

.after-menu-placeholder strong {
    color: var(--zc-dark);
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.after-menu-placeholder span {
    color: var(--zc-muted);
    font-size: 13px;
}

.after-menu-placeholder-secondary {
    min-height: 38px;
    gap: 2px;
}

.after-menu-placeholder-secondary strong {
    font-size: 13px;
}

.after-menu-placeholder-secondary span {
    font-size: 12px;
}

.ad-slot img,
.ui-card img,
.table img,
.referral-banner-preview img {
    max-width: 100%;
    height: auto;
}

.table-wrap,
.table-responsive {
    border: 1px solid var(--zc-line);
    box-shadow: var(--zc-shadow-soft);
    background: #ffffff;
}

.table {
    margin-bottom: 0;
    background: #ffffff;
}

.table th {
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--zc-line) !important;
}

.table td,
.table th {
    vertical-align: middle !important;
}

.empty-state {
    padding: 24px;
    color: var(--zc-muted);
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.content-page {
    font-size: 16px;
}

.content-page h1,
.content-page h2,
.content-page h3 {
    margin-top: 18px;
    margin-bottom: 10px;
    color: var(--zc-dark);
    font-weight: 850;
}

.content-page p:last-child,
.ui-card p:last-child {
    margin-bottom: 0;
}

.faucet-panel,
.verify-panel,
.converter-panel,
.bonus-panel,
.multicap-panel {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.captcha-image {
    width: 400px;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--zc-line);
    box-shadow: var(--zc-shadow-soft);
    background: #fff;
}

.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,.78);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 0;
}

.site-footer a {
    color: #ffffff;
    font-weight: 700;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
}

.footer-links a:hover {
    background: #ffffff;
    color: var(--zc-dark);
}

@media (max-width: 1199.98px) {
    .stat-grid,
    .action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .header-top {
        display: block;
    }
    .language-card {
        justify-content: flex-start;
        margin-top: 10px;
        min-width: 0;
    }
    .nav-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.app-body {
        font-size: 14px;
    }

    .after-menu-banner-area {
        padding-top: 8px;
    }
    .after-menu-stack {
        gap: 8px;
    }
    .after-menu-ad {
        min-height: 68px;
        padding: 8px;
    }
    .after-menu-ad-secondary {
        min-height: 46px;
    }
    .after-menu-placeholder {
        min-height: 54px;
        padding: 8px;
    }
    .after-menu-placeholder-secondary {
        min-height: 34px;
    }
    .site-main > .container {
        padding-top: 16px;
        padding-bottom: 18px;
    }
    .page-hero,
    .zc-page-hero,
    .ui-card,
    .zc-card {
        padding: 18px;
    }
    .stat-grid,
    .action-grid,
    .nav-card-grid {
        grid-template-columns: 1fr;
    }
    .site-nav-card {
        min-height: 54px;
    }
    .copy-row {
        display: block;
    }
    .copy-row .btn,
    .copy-row button {
        width: 100%;
        margin-top: 7px;
        min-height: 42px;
    }
    .footer-grid {
        display: block;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        margin-top: 12px;
    }
}

@media (max-width: 420px) {
    .brand-card {
        align-items: flex-start;
    }
    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .brand-title {
        font-size: 19px;
    }
    .language-card {
        flex-wrap: wrap;
    }
}

/* Compatibility helpers for legacy faucet/check templates and extra comfort UI. */
.page-kicker,
.zc-page-kicker,
.zc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    padding: 7px 10px;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.zc-page-hero {
    position: relative;
    margin-bottom: 18px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.96)),
        radial-gradient(circle at 95% 10%, rgba(22, 163, 74, .14), transparent 34%);
    border: 1px solid var(--zc-line);
    box-shadow: var(--zc-shadow);
    overflow: hidden;
}

.zc-page-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(22, 163, 74, .14);
    background: rgba(22, 163, 74, .06);
    transform: rotate(16deg);
}

.zc-page-hero > * {
    position: relative;
    z-index: 1;
}

.zc-page-title {
    margin: 0;
    color: var(--zc-dark);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.025em;
}

.zc-page-subtitle {
    margin: 10px 0 0;
    max-width: 760px;
    color: var(--zc-muted);
    font-size: 16px;
}

.zc-card {
    padding: 22px;
    margin-bottom: 18px;
    background: var(--zc-panel);
    border: 1px solid var(--zc-line);
    box-shadow: var(--zc-shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zc-card:hover {
    box-shadow: var(--zc-shadow-hover);
    border-color: #bddac8;
}

.zc-center-card { text-align: center; }
.zc-stack > * + * { margin-top: 14px; }
.zc-muted { color: var(--zc-muted) !important; }

.zc-ad-slot,
.zc-banner-wrap {
    width: 100%;
    margin: 0 0 18px;
    padding: 12px;
    text-align: center;
    background: rgba(255,255,255,.72);
    border: 1px dashed #cbd5e1;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.zc-ad-slot img,
.zc-banner-wrap img {
    max-width: 100%;
    height: auto;
}

.zc-feature-icon,
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 8px 18px rgba(15,23,42,.08);
    font-size: 30px;
}

.content-page ul,
.content-page ol {
    padding-left: 22px;
}

.content-page li {
    margin-bottom: 7px;
}

.content-page a {
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .zc-page-hero,
    .zc-card {
        padding: 18px;
    }
    .zc-feature-icon,
    .feature-icon {
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
    .table-responsive table {
        min-width: 640px;
    }
}

/* Lightweight icon fallback: no external icon font is required. */
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif !important;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}
.bi-speedometer2::before { content: "▣"; }
.bi-coin::before { content: "◉"; }
.bi-wallet2::before { content: "▰"; }
.bi-people::before { content: "◎"; }
.bi-star::before { content: "★"; }
.bi-calculator::before { content: "∑"; }
.bi-info-square::before { content: "i"; }
.bi-shield-check::before { content: "✓"; }
.bi-mouse2::before { content: "▧"; }
.bi-ui-checks-grid::before { content: "▦"; }
.bi-door-open::before { content: "↪"; }
.bi-house::before { content: "⌂"; }
.bi-box-arrow-in-right::before { content: "→"; }
.bi-lightning-charge::before { content: "⚡"; }
.bi-gift::before { content: "◆"; }
.bi-droplet::before { content: "●"; }
.bi-keyboard::before { content: "⌨"; }
.bi-trophy::before { content: "★"; }


/* Layout polish: equal-height cards where Bootstrap columns sit side by side. */
.row > [class*="col-"] {
    margin-bottom: 18px;
}
@media (min-width: 768px) {
    .row > [class*="col-"] > .ui-card,
    .row > [class*="col-"] > section.ui-card,
    .row > [class*="col-"] > .zc-card,
    .row > [class*="col-"] > section.zc-card,
    .row > [class*="col-"] > .card {
        height: calc(100% - 18px);
        margin-bottom: 0;
    }
}
.ui-card,
.zc-card,
.stat-card,
.action-card,
.card {
    min-width: 0;
}
.stat-card,
.action-card {
    display: flex;
    flex-direction: column;
}
.action-card span,
.stat-note {
    margin-top: auto;
}
.section-title + .section-subtitle,
.section-title + p {
    margin-bottom: 14px;
}
.display-4 {
    word-break: break-word;
}
@media (max-width: 767.98px) {
    .row > [class*="col-"] {
        margin-bottom: 12px;
    }
    .row > [class*="col-"] > .ui-card,
    .row > [class*="col-"] > section.ui-card,
    .row > [class*="col-"] > .zc-card,
    .row > [class*="col-"] > section.zc-card,
    .row > [class*="col-"] > .card {
        height: auto;
    }
}

/* Ticket system UI */
.ticket-help-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ticket-list-head,
.ticket-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.ticket-count-badge,
.ticket-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid var(--zc-line);
    background: #f8fafc;
    color: var(--zc-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.ticket-badge-success { background: #ecfdf5; border-color: #bbf7d0; color: #065f46; }
.ticket-badge-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.ticket-badge-muted { background: #f1f5f9; border-color: #cbd5e1; color: #475569; }
.ticket-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.ticket-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--zc-line);
    background: #fff;
    color: var(--zc-dark);
    font-weight: 800;
    box-shadow: var(--zc-shadow-soft);
}
.ticket-tabs a:hover,
.ticket-tabs a.active {
    border-color: var(--zc-primary);
    color: #065f46;
    background: #f3fbf6;
    transform: translateY(-2px);
}
.ticket-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--zc-line);
    background: #fff;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .05);
    color: var(--zc-dark);
}
.ticket-row:hover,
.ticket-row.active {
    border-color: #bddac8;
    box-shadow: var(--zc-shadow-hover);
    transform: translateY(-2px);
}
.ticket-row-main {
    min-width: 0;
}
.ticket-row-main strong,
.ticket-row-main span {
    display: block;
}
.ticket-row-main strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ticket-row-main span {
    margin-top: 5px;
    color: var(--zc-muted);
    font-size: 13px;
}
.ticket-textarea {
    min-height: 150px;
    resize: vertical;
}
.ticket-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.ticket-thread {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0;
}
.ticket-message {
    padding: 14px;
    border: 1px solid var(--zc-line);
    background: #f8fafc;
}
.ticket-message.is-admin {
    border-color: #bbf7d0;
    background: #f3fbf6;
}
.ticket-message.is-user {
    border-color: #dbe3ec;
    background: #ffffff;
}
.ticket-message-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--zc-muted);
    font-size: 13px;
}
.ticket-message-meta strong {
    color: var(--zc-dark);
}
.ticket-message-body {
    color: var(--zc-dark);
    line-height: 1.6;
    word-break: break-word;
}
.ticket-reply-form {
    padding-top: 16px;
    border-top: 1px solid var(--zc-line);
}
.bi-chat-dots::before { content: "✉"; }

@media (max-width: 767.98px) {
    .ticket-list-head,
    .ticket-detail-head,
    .ticket-row,
    .ticket-message-meta {
        display: block;
    }
    .ticket-badge,
    .ticket-count-badge {
        margin-top: 10px;
    }
    .ticket-tabs a {
        flex: 1 1 100%;
    }
    .ticket-row .ticket-badge {
        width: 100%;
    }
}
