/* Zenvik presentation overrides kept clear of WHMCS runtime contracts. */

:root {
    --zt-primary-blue: #043a7e;
    --zt-gold: #7a6200;
    --zt-accent: #dfa408;
    --zt-dark: #0f172a;
    --zt-ink: #1e293b;
    --zt-muted: #64748b;
    --zt-border: #dbe3ef;
    --zt-soft: #f6f9fc;
    --zt-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.zt-home,
.zt-dashboard,
#main-body,
.main-content,
.home-domain-search,
.home-domain-search .container,
.home-domain-search .input-group,
.card,
.panel {
    max-width: 100%;
    min-width: 0;
}

.zt-home,
.zt-dashboard {
    color: var(--zt-ink);
    font-family: "Inter", "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zt-header,
.zt-footer {
    font-family: "Inter", "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zt-header {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: var(--zt-shadow-soft);
}

.zt-client-bar {
    padding: 0;
    background: var(--zt-dark);
    color: #e2e8f0;
}

.zt-client-bar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.zt-client-alerts,
.zt-active-client,
.zt-active-client .btn-group {
    min-width: 0;
}

.zt-notification-btn,
.zt-active-client .btn {
    color: #e2e8f0;
    border: 0;
    background: transparent;
    font-weight: 700;
}

.zt-notification-btn:hover,
.zt-notification-btn:focus,
.zt-active-client .btn:hover,
.zt-active-client .btn:focus {
    color: #ffffff;
}

.zt-notification-count {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    border-radius: 999px;
    background: var(--zt-accent);
    color: var(--zt-primary-blue);
    font-size: 0.75rem;
    font-weight: 800;
}

.zt-active-client .input-group-text {
    border: 0;
    color: #bfdbfe;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 700;
}

.zt-navbar {
    background: #ffffff;
}

.zt-navbar-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.zt-brand {
    flex: 0 0 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 10px 0;
}

.zt-logo-img {
    width: auto;
    max-width: 210px;
    max-height: 42px;
    object-fit: contain;
}

.zt-brand-fallback {
    display: none;
}

.zt-menu-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: var(--zt-primary-blue);
    background: #ffffff;
}

.zt-menu-button:hover,
.zt-menu-button:focus {
    border-color: var(--zt-accent);
    color: var(--zt-primary-blue);
    background: #f8fafc;
}

.zt-navbar-collapse {
    flex: 1 1 100%;
    min-width: 0;
}

.zt-primary-nav {
    margin: 0;
    min-width: 0;
}

.zt-primary-nav > li {
    min-width: 0;
}

.zt-primary-nav > li > a,
.zt-primary-nav .nav-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #334155;
    font-size: 0.91rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.zt-primary-nav > li > a:hover,
.zt-primary-nav > li > a:focus,
.zt-primary-nav > li.show > a,
.zt-primary-nav .nav-link:hover,
.zt-primary-nav .nav-link:focus {
    color: var(--zt-primary-blue);
    background: rgba(223, 164, 8, 0.12);
}

.zt-primary-nav .dropdown-menu,
.zt-account-menu .dropdown-menu {
    min-width: 220px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: var(--zt-shadow-soft);
}

.zt-primary-nav .dropdown-item,
.zt-account-menu .dropdown-item {
    border-radius: 8px;
    color: #334155;
    font-weight: 700;
}

.zt-primary-nav .dropdown-item:hover,
.zt-primary-nav .dropdown-item:focus,
.zt-account-menu .dropdown-item:hover,
.zt-account-menu .dropdown-item:focus {
    color: var(--zt-primary-blue);
    background: rgba(223, 164, 8, 0.14);
}

.zt-header-actions {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.zt-localisation-btn,
.zt-cart-btn,
.zt-account-menu > li > a {
    min-height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
}

.zt-localisation-btn {
    gap: 8px;
    max-width: 190px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    color: #334155;
    background: #f8fafc;
}

.zt-localisation-btn:hover,
.zt-localisation-btn:focus {
    border-color: rgba(223, 164, 8, 0.6);
    color: var(--zt-primary-blue);
    background: #ffffff;
}

.zt-localisation-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zt-flag-wrap {
    width: 18px;
    display: inline-flex;
    flex: 0 0 18px;
}

.zt-cart-btn {
    position: relative;
    width: 44px;
    color: var(--zt-primary-blue);
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.zt-cart-btn:hover,
.zt-cart-btn:focus {
    color: var(--zt-primary-blue);
    border-color: var(--zt-accent);
    background: #f8fafc;
}

.zt-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 999px;
    color: var(--zt-primary-blue);
    background: var(--zt-accent);
    font-size: 0.72rem;
    font-weight: 900;
}

.zt-account-menu {
    margin: 0;
    flex: 0 0 auto;
}

.zt-account-menu > li > a {
    padding: 9px 18px !important;
    color: var(--zt-primary-blue) !important;
    background: var(--zt-accent);
    box-shadow: 0 8px 18px rgba(223, 164, 8, 0.24);
}

.zt-account-menu > li > a:hover,
.zt-account-menu > li > a:focus,
.zt-account-menu > li.show > a {
    color: var(--zt-primary-blue) !important;
    background: #e9b12a;
}

.zt-header-search {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.zt-header-search .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.zt-header-search .form-inline {
    justify-content: flex-end;
}

.zt-header-search .input-group {
    width: min(100%, 440px);
}

.zt-home img,
.zt-dashboard img {
    max-width: 100%;
    height: auto;
}

.zt-home a:hover,
.zt-home a:focus,
.zt-dashboard a:hover,
.zt-dashboard a:focus {
    text-decoration: none;
}

.zt-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 32px;
    align-items: center;
    min-height: 560px;
    padding: 72px 40px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 84% 12%, rgba(223, 164, 8, 0.18), transparent 28%),
        linear-gradient(135deg, #043a7e 0%, #0456b8 52%, #082f63 100%);
    color: #ffffff;
}

.zt-home-hero-content h1,
.zt-home-hero-content p,
.zt-home-kicker,
.zt-hero-highlights li {
    color: #ffffff;
}

.zt-home-hero-content h1 {
    max-width: 820px;
    margin: 18px 0;
    font-size: 3.35rem;
    font-weight: 800;
    line-height: 1.08;
}

.zt-home-hero-content p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.12rem;
    line-height: 1.7;
}

.zt-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.zt-home-actions,
.zt-hero-highlights,
.zt-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.zt-hero-highlights {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.zt-hero-highlights li {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    font-weight: 700;
}

.zt-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
}

.zt-btn-primary {
    color: var(--zt-dark);
    background: var(--zt-accent);
}

.zt-btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.zt-home-hero-panel,
.zt-hero-metric,
.zt-product-card,
.zt-category-card,
.zt-feature-card,
.zt-action-card,
.zt-stat-card,
.zt-home-panel {
    min-width: 0;
    border: 1px solid var(--zt-border);
    border-radius: 8px;
    background: #ffffff;
}

.zt-home-hero-panel,
.zt-hero-metric {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.68);
    color: #ffffff;
}

.zt-home-section,
.zt-dashboard-section,
.zt-panels-section {
    padding: 64px 0;
}

.zt-section-heading,
.zt-dashboard-section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.zt-section-label,
.zt-dashboard-kicker,
.zt-stat-label {
    color: var(--zt-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.zt-product-groups,
.zt-category-grid,
.zt-feature-grid,
.zt-migration-grid,
.zt-action-grid,
.zt-support-grid,
.zt-mini-grid,
.zt-stat-grid,
.zt-client-tools,
.zt-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.zt-product-card,
.zt-category-card,
.zt-feature-card,
.zt-action-card,
.zt-stat-card,
.zt-home-panel {
    padding: 22px;
}

.zt-domain-actions,
.zt-migration-section,
.zt-support-center,
.zt-split-section,
.zt-dashboard-welcome,
.zt-dashboard-secure,
.zt-final-cta {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--zt-border);
    border-radius: 8px;
    background: #ffffff;
}

.zt-split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.zt-stat-value {
    display: block;
    color: var(--zt-dark);
    font-size: 1.8rem;
    font-weight: 800;
}

.zt-stat-blue {
    color: var(--zt-primary-blue);
}

.zt-stat-green {
    color: #0f766e;
}

.zt-stat-gold {
    color: #a16207;
}

.zt-stat-red {
    color: #b91c1c;
}

#frmDomainHomepage .home-domain-search {
    background:
        radial-gradient(circle at 82% 12%, rgba(223, 164, 8, 0.16), transparent 28%),
        linear-gradient(135deg, #043a7e 0%, #0456b8 52%, #082f63 100%);
    color: #ffffff;
}

#frmDomainHomepage .home-domain-search h2 {
    color: #ffffff;
}

.footer .nav {
    flex-wrap: wrap;
}

.zt-footer {
    padding: 80px 0 30px;
    background:
        linear-gradient(135deg, var(--zt-primary-blue) 0%, #082f63 58%, var(--zt-dark) 100%);
    color: #ffffff;
}

.zt-footer .container {
    max-width: 1280px;
}

.zt-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.85fr) minmax(170px, 0.9fr) minmax(220px, 1fr);
    gap: 40px;
}

.zt-footer-column {
    min-width: 0;
}

.zt-footer-column h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 800;
}

.zt-footer-company p {
    max-width: 420px;
    margin: 20px 0 0;
    color: #94a3b8;
    line-height: 1.75;
}

.zt-footer-brand {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--zt-shadow-soft, 0 10px 30px rgba(0, 0, 0, 0.08));
}

.zt-footer-logo {
    width: auto;
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
}

.zt-whatsapp-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--zt-primary-blue);
    background: var(--zt-accent);
    font-weight: 800;
}

.zt-whatsapp-btn:hover,
.zt-whatsapp-btn:focus {
    color: var(--zt-primary-blue);
    background: #e9b12a;
}

.zt-footer-links,
.zt-footer-contact,
.zt-footer-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.zt-footer-links li + li,
.zt-footer-contact li + li {
    margin-top: 12px;
}

.zt-footer-links a,
.zt-footer-contact a {
    color: #94a3b8;
    font-weight: 600;
}

.zt-footer-links a:hover,
.zt-footer-links a:focus,
.zt-footer-contact a:hover,
.zt-footer-contact a:focus {
    color: #ffffff;
}

.zt-footer-contact span {
    display: block;
    margin-bottom: 2px;
    color: var(--zt-accent);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.zt-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 58px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zt-footer-bottom .copyright {
    color: #64748b;
    font-size: 0.9rem;
}

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

.zt-footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #94a3b8;
}

.zt-footer-social a:hover,
.zt-footer-social a:focus {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1200px) {
    .zt-navbar-inner {
        flex-wrap: nowrap;
    }

    .zt-navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        flex-basis: auto;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }

    .zt-primary-nav {
        flex: 1 1 auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .zt-primary-nav > li > a,
    .zt-primary-nav .nav-link {
        padding: 10px 11px !important;
    }

    .zt-header-actions {
        white-space: nowrap;
    }

    .zt-account-menu > li > a {
        white-space: nowrap;
    }
}

@media (max-width: 1199.98px) {
    .zt-navbar-inner {
        flex-wrap: wrap;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .zt-navbar-collapse {
        width: 100%;
        padding: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--zt-shadow-soft);
    }

    .zt-primary-nav,
    .zt-header-actions,
    .zt-account-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .zt-primary-nav > li > a,
    .zt-primary-nav .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 12px 14px !important;
        white-space: normal;
    }

    .zt-primary-nav .dropdown-menu,
    .zt-account-menu .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 4px 0 10px;
        box-shadow: none;
    }

    .zt-header-actions {
        gap: 10px;
        justify-content: stretch;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid #e2e8f0;
    }

    .zt-localisation-btn,
    .zt-account-menu > li > a {
        width: 100%;
        max-width: 100%;
    }

    .zt-cart-btn {
        align-self: flex-start;
    }

    .zt-header-search {
        display: none;
    }

    .zt-home-hero,
    .zt-split-section {
        grid-template-columns: 1fr;
    }

    .zt-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .zt-client-bar-inner,
    .zt-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .zt-active-client,
    .zt-active-client .btn-group {
        width: 100%;
        flex-wrap: wrap;
    }

    .zt-logo-img {
        max-width: 180px;
        max-height: 38px;
    }

    .zt-menu-button {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .zt-home-hero,
    .zt-domain-actions,
    .zt-migration-section,
    .zt-support-center,
    .zt-dashboard-welcome,
    .zt-dashboard-secure,
    .zt-final-cta {
        padding: 24px;
    }

    .zt-home-hero-content h1 {
        font-size: 2.35rem;
    }

    .zt-product-groups,
    .zt-category-grid,
    .zt-feature-grid,
    .zt-migration-grid,
    .zt-action-grid,
    .zt-support-grid,
    .zt-mini-grid,
    .zt-stat-grid,
    .zt-client-tools,
    .zt-quick-actions {
        grid-template-columns: 1fr;
    }

    .home-domain-search .input-group {
        display: flex;
        flex-wrap: wrap;
    }

    .home-domain-search .input-group .form-control,
    .home-domain-search .input-group .btn {
        width: 100%;
        border-radius: 4px;
    }

    .home-domain-search .input-group .btn {
        margin-top: 8px;
    }

    .zt-footer {
        padding-top: 60px;
    }

    .zt-footer-grid {
        grid-template-columns: 1fr;
    }
}
