/* Wabizpro product skin. Loaded after the vendor theme so the application
   keeps its layout and behavior while sharing the landing-page design system. */

body.theme-zenith {
    --body-font: var(--wb-font);
    --heading-font: var(--wb-font);
    --zenith-text: var(--wb-forest);
    --zenith-text-soft: var(--wb-muted);
    --zenith-accent: var(--wb-emerald-ink);
    --zenith-blue: var(--wb-gold);
    --zenith-shadow: var(--wb-shadow-md);
    color: var(--wb-ink);
    background: var(--wb-mist);
}

/* Shared accessibility and interaction layer. Kept after the vendor theme so
   semantic states remain readable and predictable throughout the product. */
.theme-zenith :is(.text-muted, .alert__title, .alert__desc, p.desc, .payment-card-title, .iziToast-message) {
    color: var(--wb-muted) !important;
}

.theme-zenith .text--danger {
    color: #a12d27 !important;
}

.theme-zenith :is(.btn-danger, .btn-danger:hover, .btn-danger:focus-visible) {
    color: var(--wb-white) !important;
    background: #a92f29 !important;
    border-color: #a92f29 !important;
}

.theme-zenith .footer-area .share-btn-wrapper .title {
    color: var(--wb-white) !important;
}

.theme-zenith :is(.btn--danger, .btn--danger:hover, .btn--danger:focus-visible) {
    color: var(--wb-white) !important;
    background: #a92f29 !important;
    border-color: #a92f29 !important;
}

.theme-zenith :is(.btn-outline--danger, .btn-outline--danger:focus-visible) {
    color: #972a25 !important;
    background: var(--wb-white) !important;
    border-color: #b83a33 !important;
}

.theme-zenith :is(.btn-outline--secondary, .btn-outline--secondary:focus-visible) {
    color: var(--wb-ink) !important;
    background: var(--wb-white) !important;
    border-color: #9caf9f !important;
}

.theme-zenith :is(.btn-outline--secondary:hover, .btn-outline--danger:hover) {
    color: var(--wb-white) !important;
    background: var(--wb-forest) !important;
    border-color: var(--wb-forest) !important;
}

.theme-zenith .dashboard-container .container-top,
.theme-zenith .dashboard-page-hero {
    position: relative;
    overflow: hidden;
}

.theme-zenith .dashboard-container .container-top::before,
.theme-zenith .dashboard-page-hero::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--wb-emerald-ink), var(--wb-gold-light), var(--wb-emerald));
}

.theme-zenith :is(.dashboard-widget, .pricing-card, .feature-item, .custom--card) {
    transition: transform var(--wb-ease), box-shadow var(--wb-ease), border-color var(--wb-ease);
}

@media (hover: hover) {
    .theme-zenith :is(.dashboard-widget, .pricing-card, .feature-item):hover {
        border-color: #bfd4c5;
        box-shadow: var(--wb-shadow-md);
        transform: translateY(-2px);
    }
}

@media (max-width: 575px) {
    .theme-zenith.user-page .dashboard .dashboard-body {
        padding: 20px 10px;
    }

    .theme-zenith .dashboard-container .container-top,
    .theme-zenith .dashboard-container__body {
        padding: 16px;
    }

    .theme-zenith .dashboard-container__body :is(.btn, button, a.copy-btn-link__icon) {
        min-height: 44px;
    }
}

.theme-zenith h1,
.theme-zenith h2,
.theme-zenith h3,
.theme-zenith h4,
.theme-zenith h5,
.theme-zenith h6 {
    font-family: var(--wb-font);
    color: var(--wb-forest);
    letter-spacing: -0.035em;
}

html[lang="ar"] .theme-zenith h1,
html[lang="ar"] .theme-zenith h2,
html[lang="ar"] .theme-zenith h3,
html[lang="ar"] .theme-zenith h4,
html[lang="ar"] .theme-zenith h5,
html[lang="ar"] .theme-zenith h6 {
    letter-spacing: 0;
}

.theme-zenith .zenith-background__orb--one {
    background: radial-gradient(circle, rgba(11, 147, 91, 0.13), transparent 66%);
}

.theme-zenith .zenith-background__orb--two {
    background: radial-gradient(circle, rgba(214, 154, 5, 0.1), transparent 66%);
}

.theme-zenith .zenith-background__grid {
    background-image:
        linear-gradient(rgba(16, 61, 50, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 61, 50, 0.045) 1px, transparent 1px);
}

.theme-zenith .btn {
    min-height: 42px;
    border-radius: var(--wb-radius-sm);
    font-family: var(--wb-font);
    font-weight: 700;
    transition: color var(--wb-ease), background var(--wb-ease), border-color var(--wb-ease), box-shadow var(--wb-ease), transform var(--wb-ease);
}

.theme-zenith .btn--base,
.theme-zenith .btn--base:hover,
.theme-zenith .btn--base:focus,
.theme-zenith .btn--success,
.theme-zenith .btn--success:hover {
    color: var(--wb-white) !important;
    background: var(--wb-emerald-ink);
    border-color: var(--wb-emerald-ink);
    box-shadow: 0 8px 20px rgba(8, 120, 73, 0.18);
}

.theme-zenith .btn--base:hover,
.theme-zenith .btn--success:hover {
    background: var(--wb-forest);
    border-color: var(--wb-forest);
}

.theme-zenith .btn--warning,
.theme-zenith .btn--warning:hover {
    color: var(--wb-forest);
    background: var(--wb-gold-light);
    border-color: var(--wb-gold-light);
}

.theme-zenith .btn--dark,
.theme-zenith .btn--base-two,
.theme-zenith .btn--info {
    color: var(--wb-forest);
    background: var(--wb-white);
    border-color: var(--wb-line);
}

.theme-zenith .btn--dark:hover,
.theme-zenith .btn--base-two:hover,
.theme-zenith .btn--info:hover {
    color: var(--wb-emerald-ink);
    background: var(--wb-mist);
    border-color: var(--wb-emerald-ink);
}

.theme-zenith.user-page .dashboard {
    padding: 16px;
    background: var(--wb-mist);
}

.theme-zenith .dashboard .sidebar-menu {
    color: rgba(255, 255, 255, 0.82);
    background: var(--wb-forest);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--wb-shadow-lg);
}

.theme-zenith .dashboard .sidebar-menu__inner {
    background: var(--wb-forest);
    border-radius: var(--wb-radius-lg);
    box-shadow: none;
}

.theme-zenith .dashboard .sidebar-logo {
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-zenith .dashboard .sidebar-logo img {
    filter: brightness(0) invert(1);
}

.theme-zenith .dashboard .sidebar-menu-list__title .text {
    color: var(--wb-gold-light);
    letter-spacing: 0.08em;
}

.theme-zenith .dashboard .sidebar-menu-list__link,
.theme-zenith .dashboard .sidebar-submenu-list__link {
    color: rgba(255, 255, 255, 0.76);
    border-radius: var(--wb-radius-sm);
}

.theme-zenith .dashboard .sidebar-menu-list__link:hover,
.theme-zenith .dashboard .sidebar-menu-list__link.active,
.theme-zenith .dashboard .sidebar-menu-list__item.active > .sidebar-menu-list__link {
    color: var(--wb-white);
    background: rgba(255, 255, 255, 0.1);
}

.theme-zenith .dashboard .sidebar-menu-list__link .icon {
    color: var(--wb-gold-light);
}

.theme-zenith .dashboard__right {
    background: transparent;
}

.theme-zenith .dashboard .dashboard-header {
    color: var(--wb-forest);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius-lg);
    box-shadow: var(--wb-shadow-sm);
}

.theme-zenith .dashboard .dashboard-header__left .title,
.theme-zenith .dashboard .user-info__name {
    color: var(--wb-forest);
}

.theme-zenith .dashboard .user-info__desc {
    color: var(--wb-muted);
}

.theme-zenith .dashboard .dashboard-header__shape {
    display: none;
}

.theme-zenith .user-info__button,
.theme-zenith .dashboard-body__bar-icon {
    border-color: var(--wb-line);
    background: var(--wb-white);
}

.theme-zenith .dashboard .dashboard-body {
    color: var(--wb-ink);
}

.theme-zenith .dashboard-container,
.theme-zenith .custom--card,
.theme-zenith .dashboard-widget,
.theme-zenith .dashboard-table,
.theme-zenith .pricing-card,
.theme-zenith .contact-form,
.theme-zenith .contact-info-item,
.theme-zenith .faq-item,
.theme-zenith .blog-item,
.theme-zenith .feature-item {
    background: var(--wb-white);
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius-lg);
    box-shadow: var(--wb-shadow-sm);
}

.theme-zenith .dashboard-page-hero {
    background: var(--wb-white);
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius-lg);
    box-shadow: var(--wb-shadow-sm);
}

.theme-zenith .dashboard-page-hero__eyebrow {
    color: var(--wb-emerald-ink);
    background: rgba(11, 147, 91, 0.1);
}

.theme-zenith .dashboard-page-stat,
.theme-zenith .action-buttons,
.theme-zenith .custom-attribute-wrapper {
    background: var(--wb-mist);
    border-color: var(--wb-line);
}

.theme-zenith .dashboard-page-stat strong {
    color: var(--wb-forest);
    font-family: var(--wb-font);
}

.theme-zenith .feature-item__icon,
.theme-zenith .dashboard-widget__icon-box {
    color: var(--wb-forest);
    background: linear-gradient(135deg, rgba(11, 147, 91, 0.14), rgba(214, 154, 5, 0.14));
}

.theme-zenith .tag-list__link,
.theme-zenith .more_tags_btn {
    color: var(--wb-emerald-ink);
    background: rgba(11, 147, 91, 0.1);
}

.theme-zenith .zenith-footer-cta {
    background: var(--wb-forest);
    box-shadow: var(--wb-shadow-lg);
}

.theme-zenith .custom--card .card-header,
.theme-zenith .custom--card .card-footer,
.theme-zenith .dashboard-container__header {
    background: var(--wb-mist);
    border-color: var(--wb-line);
}

.theme-zenith .form--label,
.theme-zenith .form-label {
    color: var(--wb-forest);
    font-weight: 650;
}

.theme-zenith .form--control,
.theme-zenith .form-control,
.theme-zenith .form-select,
.theme-zenith .select2-container .select2-selection {
    color: var(--wb-ink);
    background-color: var(--wb-white);
    border-color: var(--wb-line);
    border-radius: var(--wb-radius-sm);
    font-family: var(--wb-font);
    transition: border-color var(--wb-ease), box-shadow var(--wb-ease), background var(--wb-ease);
}

.theme-zenith .form--control:focus,
.theme-zenith .form-control:focus,
.theme-zenith .form-select:focus,
.theme-zenith .select2-container--focus .select2-selection {
    background-color: var(--wb-white);
    border-color: var(--wb-emerald-ink);
    box-shadow: 0 0 0 4px rgba(8, 120, 73, 0.12);
}

.theme-zenith .table {
    color: var(--wb-ink);
    background: var(--wb-white);
}

.theme-zenith .table tbody {
    background: var(--wb-white);
}

.theme-zenith .table thead tr th {
    color: var(--wb-forest);
    background: var(--wb-mist);
    border-color: var(--wb-line);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.055em;
}

.theme-zenith .table tbody tr,
.theme-zenith .table tbody tr td {
    border-color: var(--wb-line);
}

.theme-zenith .table tbody tr:hover td {
    background: rgba(247, 249, 244, 0.75);
}

.theme-zenith .badge--base,
.theme-zenith .badge--success {
    color: var(--wb-emerald-ink);
    background: rgba(11, 147, 91, 0.1);
}

.theme-zenith .pagination .page-link {
    color: var(--wb-forest);
    background: var(--wb-white);
    border-color: var(--wb-line);
}

.theme-zenith .pagination .page-item.active .page-link,
.theme-zenith .pagination .page-link:hover {
    color: var(--wb-white);
    background: var(--wb-emerald-ink);
    border-color: var(--wb-emerald-ink);
}

.theme-zenith .modal-content,
.theme-zenith .user-info-dropdown,
.theme-zenith .dropdown-menu,
.theme-zenith .alert {
    background: var(--wb-white);
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius-md);
    box-shadow: var(--wb-shadow-md);
}

.theme-zenith .react-flow {
    color: var(--wb-ink);
    background: var(--wb-mist);
    border-radius: var(--wb-radius-md);
}

.theme-zenith .zenith-flow-builder,
.theme-zenith .zenith-chat-main__body,
.theme-zenith .zenith-chat-sidebar__body {
    background-color: var(--wb-mist);
    border-color: var(--wb-line);
}

.theme-zenith .react-flow__node {
    border-color: var(--wb-line);
    border-radius: var(--wb-radius-md);
    box-shadow: var(--wb-shadow-sm);
}

.theme-zenith .react-flow__node.selected {
    border-color: var(--wb-emerald-ink);
    box-shadow: 0 0 0 4px rgba(8, 120, 73, 0.12), var(--wb-shadow-md);
}

.theme-zenith .react-flow__handle,
.theme-zenith .react-flow__controls-button:hover {
    background: var(--wb-emerald-ink);
}

.theme-zenith .react-flow__controls,
.theme-zenith .react-flow__minimap {
    overflow: hidden;
    background: var(--wb-white);
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius-sm);
    box-shadow: var(--wb-shadow-sm);
}

.theme-zenith .flow_top_button_wrapper .top_btn {
    color: var(--wb-white);
    background: var(--wb-emerald-ink);
    border-radius: var(--wb-radius-sm);
    box-shadow: var(--wb-shadow-sm);
}

.theme-zenith .scroll-top {
    color: var(--wb-white);
    background: var(--wb-emerald-ink);
    border-radius: var(--wb-radius-sm);
    box-shadow: var(--wb-shadow-sm);
}

.theme-zenith.auth-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(11, 147, 91, 0.09), transparent 28%),
        linear-gradient(180deg, var(--wb-white), var(--wb-mist));
}

.theme-zenith .account {
    padding: 72px 0 96px;
}

.theme-zenith .account-inner {
    padding: 0;
    background: var(--wb-white);
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius-lg);
    box-shadow: var(--wb-shadow-lg);
}

.theme-zenith .account-inner > .row {
    align-items: stretch;
}

.theme-zenith .account-inner > .row > [class*="col-"] {
    display: flex;
}

.theme-zenith .account-thumb {
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    background:
        url("/brand/assets/mark-inverse.svg") center / min(38%, 180px) auto no-repeat,
        radial-gradient(circle at 75% 18%, rgba(246, 200, 74, 0.18), transparent 30%),
        var(--wb-forest);
}

.theme-zenith .account-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.theme-zenith .account-form {
    width: 100%;
    padding: clamp(32px, 4vw, 56px);
}

.theme-zenith .account-form__title {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.16;
}

.theme-zenith .account-form__title [class*="text--base"],
.theme-zenith .text--base,
.theme-zenith .have-account__link,
.theme-zenith .forgot-password__link {
    color: var(--wb-emerald-ink) !important;
}

.theme-zenith .account-form__desc,
.theme-zenith .have-account__text {
    color: var(--wb-muted);
}

.theme-zenith .account-form .form--check .form-check-input {
    border-color: var(--wb-line);
}

.theme-zenith .social-link-wrapper .text::before,
.theme-zenith .social-link-wrapper .text::after {
    background: var(--wb-line);
}

.theme-zenith .cookies-card {
    width: 390px;
    max-width: calc(100vw - 24px);
    padding: 16px;
    color: var(--wb-forest);
    background: var(--wb-white);
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius-md);
    box-shadow: var(--wb-shadow-md);
    backdrop-filter: none;
}

.theme-zenith .cookies-card__icon {
    display: none !important;
}

.theme-zenith .cookies-card__content,
.theme-zenith .cookies-card p {
    margin: 0 0 12px;
    color: var(--wb-muted);
    font-size: 12px;
    line-height: 1.6;
}

.theme-zenith .cookies-card .cookies-card__footer {
    flex-wrap: nowrap !important;
    gap: 8px !important;
}

.theme-zenith .cookies-card .cookies-card__footer .btn,
.theme-zenith .cookies-card .cookies-card__footer .cookies-card__btn,
.theme-zenith .cookies-card .cookies-card__footer .cookies-card__btn-outline {
    flex: 1;
    width: auto !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 10px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

.theme-zenith .cookies-card .cookies-card__footer .cookies-card__btn-outline {
    color: var(--wb-forest) !important;
    background: var(--wb-white) !important;
    border: 1px solid var(--wb-emerald-ink) !important;
}

.theme-zenith .cookies-card .cookies-card__footer .cookies-card__btn {
    color: var(--wb-white) !important;
    background: var(--wb-emerald-ink) !important;
    border: 1px solid var(--wb-emerald-ink) !important;
}

@media (max-width: 991px) {
    .theme-zenith.user-page .dashboard {
        padding: 8px;
    }

    .theme-zenith .dashboard .dashboard-header {
        border-radius: var(--wb-radius-md);
    }

    .theme-zenith .account {
        padding: 104px 0 72px;
    }
}

@media (max-width: 575px) {
    .theme-zenith .account-inner {
        border-radius: var(--wb-radius-md);
    }

    .theme-zenith .account-form {
        padding: 26px 20px;
    }

    .theme-zenith .cookies-card {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        padding: 14px !important;
    }

    .theme-zenith .cookies-card .cookies-card__footer {
        flex-direction: row !important;
    }
}
