﻿/**
 * ISHOST × WHMCS Twenty-One — Full visual layer
 * Header → domain hero → content → footer
 */

:root {
    --ishost-primary: #0d3ea3;
    --ishost-primary-hover: #0a3284;
    --ishost-gold: #f5b400;
    --ishost-teal: #3d9a78;
    --ishost-text: #1f2937;
    --ishost-muted: #64748b;
    --ishost-heading: #0f172a;
    --ishost-bg: #eef3f9;
    --ishost-card: rgba(255, 255, 255, 0.94);
    --ishost-border: rgba(148, 163, 184, 0.22);
    --ishost-radius: 16px;
    --ishost-radius-btn: 12px;
    --ishost-font: "Vazir", "IRANSans", "IRANYekan", Tahoma, Arial, sans-serif;
    --ishost-font-en: ui-sans-serif, "Segoe UI", Tahoma, Arial, sans-serif;
    --ishost-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 12px 28px -18px rgba(15, 23, 42, 0.14);
}

/* ==========================================================================
   Base
   ========================================================================== */

body.ishost-theme,
body.ishost-theme .main-content,
body.ishost-theme .card,
body.ishost-theme .modal,
body.ishost-theme input,
body.ishost-theme select,
body.ishost-theme textarea,
body.ishost-theme button,
body.ishost-theme .btn,
body.ishost-theme .nav-link {
    font-family: var(--ishost-font);
}

body.ishost-theme.primary-bg-color {
    background:
        radial-gradient(ellipse 70% 45% at 100% 0%, rgba(13, 62, 163, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(61, 154, 120, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #e8eef8 0%, var(--ishost-bg) 35%, #e4ebf5 100%);
    color: var(--ishost-text);
    min-height: 100vh;
}

body.ishost-theme h1,
body.ishost-theme h2,
body.ishost-theme h3,
body.ishost-theme h4,
body.ishost-theme .card-title {
    color: var(--ishost-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Kill default twenty-one header chrome leftovers */
body.ishost-theme #header.header .navbar.navbar-light.bg-light,
body.ishost-theme #header .topbar,
body.ishost-theme .header .navbar.bg-light {
    background: transparent !important;
}

/* ==========================================================================
   HEADER — single glass bar like marketing site
   ========================================================================== */

body.ishost-theme .ish-header,
body.ishost-theme #header.ish-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 255, 0.82) 100%);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(13, 62, 163, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 10px 28px -22px rgba(13, 62, 163, 0.35);
    padding: 0;
}

.ish-topbar {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(13, 62, 163, 0.35) 18%,
        rgba(59, 130, 246, 0.45) 48%,
        rgba(61, 154, 120, 0.3) 72%,
        rgba(245, 180, 0, 0.4) 88%,
        transparent 100%
    );
}

.ish-accountbar {
    background: linear-gradient(90deg, rgba(13, 62, 163, 0.05), rgba(61, 154, 120, 0.04));
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 0.85rem;
}

.ish-accountbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    flex-wrap: wrap;
}

.ish-accountbar__user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ish-accountbar__label { color: var(--ishost-muted); }

.ish-accountbar__name {
    font-weight: 700;
    color: var(--ishost-primary);
    text-decoration: none;
}

.ish-accountbar__name:hover {
    color: var(--ishost-primary-hover);
    text-decoration: none;
}

.ish-header__main {
    padding: 10px 0;
}

/* Critical: one row on desktop — not wrap to “second bar” */
.ish-header__content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.ish-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    direction: ltr;
    order: 1;
}

.ish-logo__img {
    height: 40px;
    width: auto;
    display: block;
}

.ish-logo__text {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ishost-primary);
    letter-spacing: -0.03em;
}

.ish-nav-toggle {
    order: 3;
    margin-inline-start: auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(13, 62, 163, 0.16);
    border-radius: 12px;
    background: #fff;
    color: var(--ishost-primary);
    flex-shrink: 0;
}

.ish-nav-collapse {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
}

.ish-actions {
    order: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-inline-start: 0;
}

@media (min-width: 1200px) {
    .ish-header__content {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 18px;
    }

    .ish-logo { order: unset; }
    .ish-nav-collapse {
        order: unset;
        display: flex !important;
        align-items: center;
        height: auto;
        flex: unset;
        width: auto;
        min-width: 0;
    }
    .ish-actions { order: unset; }
    .ish-nav-toggle { display: none !important; }
}

.ish-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.ish-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    margin: 0;
    min-width: 0;
}

.ish-nav__list .nav-link,
.ish-header .navbar-nav .nav-link {
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.4rem 0.65rem !important;
    border-radius: 10px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.ish-nav__list .nav-link:hover,
.ish-header .navbar-nav .nav-link:hover,
.ish-nav__list .nav-link.active {
    color: var(--ishost-primary) !important;
    background: rgba(13, 62, 163, 0.06);
}

.ish-nav__list .dropdown-menu {
    border-radius: 14px;
    border: 1px solid rgba(13, 62, 163, 0.1);
    box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.35);
    padding: 8px;
    text-align: inherit;
}

.ish-nav__list .dropdown-item {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.55rem 0.85rem;
}

.ish-nav__list .dropdown-item:hover {
    background: rgba(13, 62, 163, 0.06);
    color: var(--ishost-primary);
}

.ish-nav__list--account {
    margin-inline-start: 4px;
}

.ish-nav__list--account .nav-link {
    background: rgba(13, 62, 163, 0.06);
    color: var(--ishost-primary) !important;
    border: 1px solid rgba(13, 62, 163, 0.12);
}

.ish-search--mobile {
    margin-bottom: 12px;
}

.ish-search .form-control {
    border-radius: 10px 0 0 10px;
    border-color: var(--ishost-border);
    background: rgba(255, 255, 255, 0.9);
}

html[dir="rtl"] .ish-search .form-control {
    border-radius: 0 10px 10px 0;
}

.ish-search .btn {
    border-radius: 0 10px 10px 0;
}

html[dir="rtl"] .ish-search .btn {
    border-radius: 10px 0 0 10px;
}

.ish-action-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(13, 62, 163, 0.14);
    background: rgba(255, 255, 255, 0.95);
    color: var(--ishost-primary);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ish-action-btn .ish-ico,
.ish-cta .ish-ico {
    display: block;
    flex-shrink: 0;
}

.ish-action-btn:hover {
    color: var(--ishost-primary-hover);
    border-color: rgba(13, 62, 163, 0.28);
    box-shadow: 0 8px 18px -12px rgba(13, 62, 163, 0.45);
    transform: translateY(-1px);
    text-decoration: none;
}

.ish-icon-btn {
    border: none;
    background: transparent;
    color: var(--ishost-primary);
    padding: 4px 8px;
}

.ish-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--ishost-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
}

.ish-badge--cart {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    background: var(--ishost-gold);
    color: #1f2937;
}

.ish-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1rem;
    border-radius: var(--ishost-radius-btn);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.ish-cta--solid {
    background: linear-gradient(160deg, var(--ishost-primary) 0%, #1d4ed8 100%);
    color: #fff !important;
    box-shadow: 0 8px 18px -10px rgba(13, 62, 163, 0.55);
}

.ish-cta--solid:hover {
    background: var(--ishost-primary-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

.ish-cta--soft {
    background: rgba(13, 62, 163, 0.08);
    color: var(--ishost-primary) !important;
    border: 1px solid rgba(13, 62, 163, 0.16);
}

.ish-cta--soft:hover {
    background: rgba(13, 62, 163, 0.12);
    color: var(--ishost-primary-hover) !important;
}

.ish-cta--ghost {
    background: transparent;
    color: var(--ishost-primary) !important;
    border: 1px solid rgba(13, 62, 163, 0.18);
}

.ish-cta--ghost:hover {
    background: rgba(13, 62, 163, 0.06);
}

/* Breadcrumb */
.ish-breadcrumb,
body.ishost-theme .master-breadcrumb {
    background: transparent;
    padding: 12px 0 4px;
}

body.ishost-theme .master-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--ishost-border);
    border-radius: 12px;
    padding: 0.55rem 1rem;
    margin-bottom: 0;
    box-shadow: var(--ishost-shadow);
}

/* ==========================================================================
   DOMAIN HERO — atmospheric background + premium search box
   ========================================================================== */

.ish-domain-search,
body.ishost-theme .home-domain-search.ish-domain-search,
body.ishost-theme .home-domain-search {
    background: transparent !important;
    padding: 48px 0 36px;
    position: relative;
    overflow: hidden;
    margin: 0 0 8px;
}

.ish-domain-search__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ish-domain-search__photo {
    position: absolute;
    inset: -8% -4%;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.04);
    opacity: 0.55;
}

.ish-domain-search__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 12% 20%, rgba(13, 62, 163, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 55% 65% at 88% 75%, rgba(61, 154, 120, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 70% 10%, rgba(245, 180, 0, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, #d7e4f7 0%, #e8eef8 45%, #eef3f9 100%);
}

.ish-domain-search__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    animation: ishOrbFloat 10s ease-in-out infinite;
}

.ish-domain-search__orb--a {
    width: 220px;
    height: 220px;
    top: -40px;
    inset-inline-end: 8%;
    background: rgba(59, 130, 246, 0.35);
}

.ish-domain-search__orb--b {
    width: 180px;
    height: 180px;
    bottom: -30px;
    inset-inline-start: 10%;
    background: rgba(61, 154, 120, 0.28);
    animation-delay: -4s;
}

.ish-domain-search__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(232, 238, 248, 0.35) 0%, rgba(238, 243, 249, 0.72) 55%, rgba(238, 243, 249, 0.95) 100%),
        radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(238, 243, 249, 0.55) 100%);
}

@keyframes ishOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(12px, -14px, 0) scale(1.06); }
}

.ish-domain-search__inner {
    position: relative;
    z-index: 1;
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.ish-domain-eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #1a4fbf, #0d3ea3);
    box-shadow: 0 8px 18px -10px rgba(13, 62, 163, 0.55);
    font-family: var(--ishost-font-en);
}

.ish-domain-title {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 2.8vw, 2.05rem);
    font-weight: 800;
    color: var(--ishost-heading);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ish-domain-lead {
    margin: 0 auto 26px;
    max-width: 540px;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
}

.ish-domain-box {
    position: relative;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(
        125deg,
        rgba(13, 62, 163, 0.55) 0%,
        rgba(96, 165, 250, 0.35) 35%,
        rgba(245, 180, 0, 0.45) 70%,
        rgba(61, 154, 120, 0.4) 100%
    );
    background-size: 200% 200%;
    animation: ishBorderShift 8s ease infinite;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    text-align: initial;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 22px 48px -24px rgba(13, 62, 163, 0.55);
}

.ish-domain-box__shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.35) 0%, transparent 42%);
    opacity: 0.55;
}

.ish-domain-box:focus-within {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 4px rgba(13, 62, 163, 0.1),
        0 28px 56px -22px rgba(13, 62, 163, 0.55);
}

@keyframes ishBorderShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ish-domain-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 18px;
    padding: 8px;
    min-height: 64px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.ish-domain-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 10px;
}

.ish-domain-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    color: rgba(13, 62, 163, 0.62);
    font-weight: 600;
    font-family: var(--ishost-font-en);
    font-size: 0.875rem;
    background: rgba(13, 62, 163, 0.05);
    user-select: none;
}

.ish-domain-input,
#frmDomainHomepage .ish-domain-input.form-control {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
    width: 100%;
    height: 44px;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0 4px !important;
    color: var(--ishost-text);
    font-family: var(--ishost-font-en);
    text-transform: lowercase;
    text-align: left;
    background: transparent !important;
    caret-color: var(--ishost-primary);
    border-radius: 0 !important;
}

.ish-domain-input::placeholder {
    direction: rtl;
    font-family: var(--ishost-font);
    font-weight: 400;
    text-transform: none;
    text-align: right;
    font-size: 0.9rem;
    color: rgba(107, 114, 128, 0.72);
}

.ish-domain-divider {
    align-self: center;
    flex-shrink: 0;
    width: 1px;
    height: 32px;
    margin: 0 4px;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.55), transparent);
}

.ish-tld-select {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 2px;
    flex-shrink: 0;
    padding: 3px;
    margin: 0 6px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid rgba(13, 62, 163, 0.06);
    font-family: var(--ishost-font-en);
}

.ish-tld-select input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ish-tld-select label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    color: var(--ishost-muted);
    font-weight: 600;
    font-size: 0.8125rem;
    background: transparent;
    margin: 0;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ish-tld-select label:hover { color: var(--ishost-text); }

.ish-tld-select input[type="radio"]:checked + label {
    color: var(--ishost-primary);
    background: #fff;
    border-color: rgba(13, 62, 163, 0.12);
    box-shadow: 0 1px 3px rgba(13, 62, 163, 0.1);
}

.ish-tld-select input#ish-tld-biz:checked + label {
    color: #b45309;
    border-color: rgba(245, 180, 0, 0.28);
}

.ish-domain-actions {
    display: flex;
    align-items: stretch;
    gap: 6px;
    flex-shrink: 0;
    padding-inline-start: 4px;
}

.ish-btn-search,
#frmDomainHomepage .ish-btn-search.btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 118px;
    height: auto;
    align-self: stretch;
    padding: 0 20px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, #2563eb 0%, #0d3ea3 55%, #0a3284 100%) !important;
    color: #fff !important;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 10px 22px -10px rgba(13, 62, 163, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ish-btn-search:hover,
#frmDomainHomepage .ish-btn-search.btn-primary:hover {
    background: linear-gradient(145deg, #1d4ed8 0%, #0a3284 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px -12px rgba(13, 62, 163, 0.6);
}

.ish-btn-transfer,
#frmDomainHomepage .ish-btn-transfer.btn-success {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 108px;
    padding: 0 18px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, #5fbf98 0%, var(--ishost-teal) 60%, #2f7d61 100%) !important;
    color: #fff !important;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 10px 22px -10px rgba(61, 154, 120, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ish-btn-transfer:hover,
#frmDomainHomepage .ish-btn-transfer.btn-success:hover {
    transform: translateY(-1px);
}

.ish-domain-actions-mobile {
    margin-top: 12px;
}

.ish-domain-actions-mobile .btn {
    border-radius: var(--ishost-radius-btn) !important;
    font-weight: 700;
    min-height: 46px;
}

/* Captcha: compact glass panel on hero */
.ish-domain-captcha {
    margin-top: 16px;
    max-width: 420px;
    margin-inline: auto;
}

.ish-domain-captcha .captcha,
.ish-domain-captcha #default-captcha-domainchecker,
.ish-domain-captcha .default-captcha {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(13, 62, 163, 0.12);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 14px 30px -22px rgba(13, 62, 163, 0.4);
    backdrop-filter: blur(10px);
}

.ish-domain-captcha p,
.ish-domain-captcha .text-center {
    font-size: 0.8rem;
    color: var(--ishost-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.ish-domain-captcha img {
    border-radius: 8px;
    max-height: 56px;
}

.ish-domain-captcha input.form-control {
    max-width: 220px;
    margin-inline: auto;
    border-radius: 10px;
}

.ish-tld-logos,
#frmDomainHomepage .tld-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.ish-tld-logos li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(13, 62, 163, 0.1);
    box-shadow: 0 10px 24px -18px rgba(13, 62, 163, 0.45);
    font-weight: 700;
    color: var(--ishost-heading);
    backdrop-filter: blur(8px);
}

.ish-tld-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(13, 62, 163, 0.12), rgba(59, 130, 246, 0.1));
    color: var(--ishost-primary);
    font-family: var(--ishost-font-en);
    font-size: 0.85rem;
    font-weight: 800;
}

.ish-tld-logos img {
    height: 22px;
    width: auto;
}

.ish-domain-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 14px;
}

.ish-domain-helper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ishost-muted);
}

.ish-domain-helper__item i {
    color: var(--ishost-primary);
    margin-inline-end: 4px;
}

.ish-domain-helper__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.7);
}

.ish-domain-helper__item--accent {
    color: #b45309;
    font-weight: 600;
}

.ish-domain-pricing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ishost-primary);
    text-decoration: none;
}

.ish-domain-pricing:hover {
    color: var(--ishost-primary-hover);
    text-decoration: none;
}

.ish-domain-advanced {
    flex: 1;
    min-width: 0;
    padding: 8px;
    text-align: initial;
}

.ish-domain-textarea {
    width: 100%;
    min-height: 72px;
    border: 1px solid var(--ishost-border);
    border-radius: 12px;
    padding: 10px 12px;
    font-family: var(--ishost-font);
}

.ish-domain-advanced__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.ish-domain-safe {
    font-size: 0.85rem;
    color: var(--ishost-muted);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Override twenty-one leftover spacing on domain block */
body.ishost-theme .home-domain-search .p-5 {
    padding: 0 !important;
}

body.ishost-theme .home-domain-search.bg-white {
    background: transparent !important;
}

/* ==========================================================================
   HOMEPAGE sections — cards to footer
   ========================================================================== */

.ish-home-section {
    margin: 2.4rem 0 2.8rem;
    position: relative;
}

.ish-home-section--help,
.ish-home-section--account {
    padding: 1.6rem 1.2rem;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.28));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--ishost-shadow);
}

.ish-home-section__head {
    text-align: center;
    margin-bottom: 1.6rem;
}

.ish-home-kicker {
    display: inline-block;
    margin: 0 0 8px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ishost-primary);
    background: rgba(13, 62, 163, 0.08);
    border: 1px solid rgba(13, 62, 163, 0.1);
    font-family: var(--ishost-font-en);
}

.ish-home-section__head h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
}

.ish-home-section__head > p:last-child {
    margin: 0 auto;
    max-width: 520px;
    color: var(--ishost-muted);
    font-size: 0.92rem;
}

.ish-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.ish-home-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92));
    border: 1px solid rgba(13, 62, 163, 0.1);
    border-radius: 20px;
    padding: 1.65rem 1.4rem 1.45rem;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 16px 34px -24px rgba(13, 62, 163, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ish-home-card__glow {
    position: absolute;
    width: 160px;
    height: 160px;
    top: -60px;
    inset-inline-end: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 62, 163, 0.14), transparent 70%);
    pointer-events: none;
}

.ish-home-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 62, 163, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 22px 42px -22px rgba(13, 62, 163, 0.42);
}

.ish-home-card__icon {
    position: relative;
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(13, 62, 163, 0.12), rgba(61, 154, 120, 0.1));
    color: var(--ishost-primary);
    font-size: 1.2rem;
    border: 1px solid rgba(13, 62, 163, 0.1);
    box-shadow: 0 8px 16px -12px rgba(13, 62, 163, 0.4);
}

.ish-home-card--domain .ish-home-card__icon {
    background: linear-gradient(160deg, rgba(13, 62, 163, 0.16), rgba(59, 130, 246, 0.12));
}

.ish-home-card--domain .ish-home-card__glow {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
}

.ish-home-card--transfer .ish-home-card__icon {
    background: linear-gradient(160deg, rgba(61, 154, 120, 0.18), rgba(13, 62, 163, 0.08));
    color: var(--ishost-teal);
}

.ish-home-card--transfer .ish-home-card__glow {
    background: radial-gradient(circle, rgba(61, 154, 120, 0.2), transparent 70%);
}

.ish-home-card h3 {
    position: relative;
    font-size: 1.12rem;
    margin: 0 0 8px;
}

.ish-home-card p {
    position: relative;
    color: var(--ishost-muted);
    font-size: 0.9rem;
    min-height: 2.8em;
    margin: 0 0 16px;
    line-height: 1.7;
}

.ish-home-card__btn {
    position: relative;
    border-radius: var(--ishost-radius-btn) !important;
    font-weight: 700;
    padding: 0.55rem 1rem !important;
}

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

.ish-action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 128px;
    padding: 1.1rem 0.85rem;
    border-radius: 18px;
    background: linear-gradient(165deg, #fff, rgba(244, 248, 255, 0.95));
    border: 1px solid rgba(13, 62, 163, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 28px -22px rgba(15, 23, 42, 0.28);
    text-decoration: none !important;
    color: var(--ishost-heading) !important;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ish-action-tile__icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(13, 62, 163, 0.08);
    border: 1px solid rgba(13, 62, 163, 0.1);
}

.ish-action-tile i {
    font-size: 1.2rem;
    color: var(--ishost-primary);
}

.ish-action-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 62, 163, 0.22);
    box-shadow: 0 18px 34px -22px rgba(13, 62, 163, 0.42);
}

.ish-action-tile--teal .ish-action-tile__icon { background: rgba(61, 154, 120, 0.12); border-color: rgba(61, 154, 120, 0.16); }
.ish-action-tile--teal i { color: var(--ishost-teal); }
.ish-action-tile--rose .ish-action-tile__icon { background: rgba(192, 57, 43, 0.1); border-color: rgba(192, 57, 43, 0.14); }
.ish-action-tile--rose i { color: #c0392b; }
.ish-action-tile--gold .ish-action-tile__icon { background: rgba(217, 119, 6, 0.12); border-color: rgba(217, 119, 6, 0.16); }
.ish-action-tile--gold i { color: #d97706; }
.ish-action-tile--slate .ish-action-tile__icon { background: rgba(100, 116, 139, 0.12); border-color: rgba(100, 116, 139, 0.16); }
.ish-action-tile--slate i { color: #64748b; }
.ish-action-tile--green .ish-action-tile__icon { background: rgba(22, 163, 74, 0.12); border-color: rgba(22, 163, 74, 0.16); }
.ish-action-tile--green i { color: #16a34a; }
.ish-action-tile--primary .ish-action-tile__icon { background: rgba(13, 62, 163, 0.1); }
.ish-action-tile--primary i { color: var(--ishost-primary); }

body.tpl-homepage .card-columns.home {
    display: none;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

.ish-main,
body.ishost-theme #main-body {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
}

body.tpl-homepage .ish-main {
    padding-top: 0.5rem;
}

body.ishost-theme .card,
body.ishost-theme .panel,
body.ishost-theme .list-group-item {
    border-radius: var(--ishost-radius);
    border-color: var(--ishost-border);
    box-shadow: var(--ishost-shadow);
}

body.ishost-theme .card {
    background: var(--ishost-card);
    backdrop-filter: blur(6px);
}

body.ishost-theme .card-header,
body.ishost-theme .panel-heading {
    background: linear-gradient(180deg, rgba(236, 244, 255, 0.98), rgba(255, 255, 255, 0.92));
    border-bottom-color: var(--ishost-border);
    font-weight: 700;
    border-radius: var(--ishost-radius) var(--ishost-radius) 0 0;
}

body.ishost-theme .btn-primary,
body.ishost-theme a.btn-primary {
    background: linear-gradient(160deg, var(--ishost-primary) 0%, #1d4ed8 100%);
    border-color: var(--ishost-primary);
    border-radius: var(--ishost-radius-btn);
    font-weight: 700;
    box-shadow: 0 6px 16px -8px rgba(13, 62, 163, 0.5);
}

body.ishost-theme .btn-primary:hover,
body.ishost-theme .btn-primary:focus {
    background: var(--ishost-primary-hover);
    border-color: var(--ishost-primary-hover);
}

body.ishost-theme .btn-default,
body.ishost-theme .btn-secondary,
body.ishost-theme .btn-outline-primary {
    border-radius: var(--ishost-radius-btn);
    font-weight: 600;
}

body.ishost-theme .btn-success {
    background: var(--ishost-teal);
    border-color: var(--ishost-teal);
    border-radius: var(--ishost-radius-btn);
}

body.ishost-theme .btn-warning {
    background: var(--ishost-gold);
    border-color: var(--ishost-gold);
    color: #1f2937;
    border-radius: var(--ishost-radius-btn);
}

body.ishost-theme .form-control,
body.ishost-theme .custom-select {
    border-radius: 10px;
    border-color: var(--ishost-border);
}

body.ishost-theme .form-control:focus {
    border-color: rgba(13, 62, 163, 0.45);
    box-shadow: 0 0 0 3px rgba(13, 62, 163, 0.12);
}

body.ishost-theme .ish-sidebar .card,
body.ishost-theme .sidebar .card,
body.ishost-theme .sidebar .panel {
    border-radius: var(--ishost-radius);
    overflow: hidden;
}

body.ishost-theme .sidebar .list-group-item.active {
    background: rgba(13, 62, 163, 0.08);
    color: var(--ishost-primary);
    border-color: rgba(13, 62, 163, 0.16);
    font-weight: 700;
}

body.ishost-theme .table thead th {
    color: var(--ishost-muted);
    font-size: 0.8rem;
    font-weight: 700;
    border-top: none;
}

body.ishost-theme .alert-info {
    background: rgba(13, 62, 163, 0.08);
    border-color: rgba(13, 62, 163, 0.2);
    border-radius: 12px;
}

body.ishost-theme .badge-primary {
    background: var(--ishost-primary);
}

body.ishost-theme .logincontainer {
    border-radius: var(--ishost-radius);
    box-shadow: var(--ishost-shadow);
    border: 1px solid var(--ishost-border);
    background: var(--ishost-card);
}


/* ==========================================================================
   CLIENT AREA DASHBOARD — ISHOST
   ========================================================================== */

body.tpl-clientareahome .ish-breadcrumb,
body.tpl-clientareahome .master-breadcrumb {
    display: none !important;
}

body.tpl-clientareahome .ish-main {
    padding-top: 1rem;
}

.ish-dash {
    margin-bottom: 1.5rem;
}

.ish-dash__hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.25rem;
    padding: 1.5rem 1.4rem 1.35rem;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(13, 62, 163, 0.96) 0%, #0d3ea3 48%, #0a3284 100%);
    color: #fff;
    border: 1px solid rgba(13, 62, 163, 0.2);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 22px 44px -26px rgba(13, 62, 163, 0.55);
}

.ish-dash__hero-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    top: -80px;
    inset-inline-end: -40px;
    background: radial-gradient(circle, rgba(245, 180, 0, 0.28), transparent 70%);
    pointer-events: none;
}

.ish-dash__hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
}

.ish-dash__eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--ishost-font-en);
}

.ish-dash__hello h1 {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    color: #fff;
}

.ish-dash__lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    max-width: 46ch;
    line-height: 1.7;
}

.ish-dash__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ish-dash__quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ish-dash__quick-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: #fff !important;
}

.ish-dash__quick-btn--accent {
    background: linear-gradient(145deg, #f5b400, #e0a000);
    border-color: rgba(245, 180, 0, 0.4);
    color: #1f2937 !important;
    box-shadow: 0 10px 22px -12px rgba(245, 180, 0, 0.65);
}

.ish-dash__quick-btn--accent:hover {
    color: #111827 !important;
    background: linear-gradient(145deg, #ffc933, #f5b400);
}

.ish-dash__tiles.tiles {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 1.35rem !important;
}

.ish-dash__tiles-row {
    margin: 0 -6px;
}

.ish-dash__tiles-row > [class*="col-"] {
    padding: 6px;
}

.ish-dash__tile.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 118px;
    padding: 1.1rem 1.15rem;
    border-radius: 18px !important;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.94)) !important;
    border: 1px solid rgba(13, 62, 163, 0.1) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 28px -22px rgba(13, 62, 163, 0.35) !important;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ish-dash__tile.tile:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 62, 163, 0.2) !important;
    box-shadow: 0 20px 36px -22px rgba(13, 62, 163, 0.42) !important;
}

.ish-dash__tile .stat {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ishost-heading);
    line-height: 1.1;
    margin: 0.35rem 0 0.15rem;
}

.ish-dash__tile .title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ishost-muted);
}

.ish-dash__tile-ico {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(13, 62, 163, 0.1);
    color: var(--ishost-primary);
    font-size: 1rem;
}

.ish-dash__tile--teal .ish-dash__tile-ico {
    background: rgba(61, 154, 120, 0.12);
    color: var(--ishost-teal);
}

.ish-dash__tile--rose .ish-dash__tile-ico {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
}

.ish-dash__tile--gold .ish-dash__tile-ico {
    background: rgba(245, 180, 0, 0.16);
    color: #b45309;
}

.ish-dash__tile .highlight {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 0 0 18px 18px;
}

.ish-dash__tile > i {
    display: none;
}

.ish-dash__addon {
    margin-bottom: 1rem;
}

.ish-dash__cards .card.ish-dash__panel,
body.tpl-clientareahome .client-home-cards .card {
    border-radius: 18px;
    border: 1px solid rgba(13, 62, 163, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 255, 0.94));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 16px 34px -24px rgba(13, 62, 163, 0.32);
    overflow: hidden;
    margin-bottom: 1.1rem;
}

.ish-dash__panel-head,
body.tpl-clientareahome .client-home-cards .card-header {
    background: linear-gradient(180deg, rgba(236, 244, 255, 0.98), rgba(255, 255, 255, 0.92)) !important;
    border-bottom: 1px solid rgba(13, 62, 163, 0.08);
    padding: 0.95rem 1.15rem;
}

.ish-dash__panel-head .card-title,
body.tpl-clientareahome .client-home-cards .card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ishost-heading);
}

.ish-dash__panel-btn,
body.tpl-clientareahome .client-home-cards .card-header .btn {
    border-radius: 10px !important;
    font-weight: 700;
}

body.tpl-clientareahome .client-home-cards .list-group-item {
    border-color: rgba(148, 163, 184, 0.16);
    font-weight: 600;
    color: #334155;
    padding: 0.85rem 1.15rem;
    transition: background 0.2s ease, color 0.2s ease;
}

body.tpl-clientareahome .client-home-cards .list-group-item:hover,
body.tpl-clientareahome .client-home-cards .list-group-item.active {
    background: rgba(13, 62, 163, 0.06);
    color: var(--ishost-primary);
}

body.tpl-clientareahome .client-home-cards .card-footer {
    background: rgba(248, 250, 255, 0.85);
    border-top: 1px solid rgba(13, 62, 163, 0.06);
}

body.tpl-clientareahome .client-home-cards .badge {
    border-radius: 999px;
    font-weight: 700;
}

/* Sidebar polish in client area */
body.tpl-clientareahome .ish-sidebar .card,
body.tpl-clientareahome .sidebar .card-sidebar {
    border-radius: 16px;
    border: 1px solid rgba(13, 62, 163, 0.1);
    box-shadow: 0 12px 28px -22px rgba(13, 62, 163, 0.3);
    overflow: hidden;
}

body.tpl-clientareahome .sidebar .card-header {
    background: linear-gradient(180deg, rgba(236, 244, 255, 0.98), #fff);
    border-bottom-color: rgba(13, 62, 163, 0.08);
}

body.tpl-clientareahome .sidebar .card-title {
    font-size: 0.92rem;
    font-weight: 800;
}

body.tpl-clientareahome .sidebar .list-group-item {
    border-color: rgba(148, 163, 184, 0.14);
    font-weight: 600;
}

body.tpl-clientareahome .sidebar .list-group-item.active,
body.tpl-clientareahome .sidebar .list-group-item:hover {
    background: rgba(13, 62, 163, 0.07);
    color: var(--ishost-primary);
}

@media (max-width: 767.98px) {
    .ish-dash__hero {
        padding: 1.25rem 1.1rem;
    }

    .ish-dash__quick-btn span {
        font-size: 0.78rem;
    }

    .ish-dash__tile.tile {
        min-height: 108px;
    }
}

/* ==========================================================================
   AUTH / LOGIN — immersive on background (no center shell)
   ========================================================================== */

html.ishost-auth-html,
body.ishost-auth-page {
    min-height: 100%;
}

body.ishost-auth-page {
    margin: 0;
    background: #071a45 !important;
}

body.ishost-auth-page .ish-header,
body.ishost-auth-page #header,
body.ishost-auth-page .ish-footer,
body.ishost-auth-page #footer,
body.ishost-auth-page .ish-breadcrumb,
body.ishost-auth-page .master-breadcrumb {
    display: none !important;
}

body.ishost-auth-page #main-body.ish-main,
body.ishost-auth-page .ish-main--auth {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 100vh;
}

body.ishost-auth-page #main-body > .container,
body.ishost-auth-page #main-body > .container-fluid {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.ishost-auth-page .primary-content,
body.ishost-auth-page .primary-content--auth {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto;
}

.ish-auth {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    overflow: hidden;
}

.ish-auth--immersive {
    min-height: 100vh;
}

.ish-auth__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.ish-auth__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    animation: ishAuthKen 22s ease-in-out infinite alternate;
}

@keyframes ishAuthKen {
    from { transform: scale(1.03) translate3d(0, 0, 0); }
    to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

.ish-auth__mesh {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(5, 18, 48, 0.72) 0%, rgba(8, 30, 78, 0.45) 38%, rgba(10, 40, 100, 0.28) 62%, rgba(6, 22, 58, 0.55) 100%),
        radial-gradient(ellipse 50% 60% at 20% 40%, rgba(13, 62, 163, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 80% 60%, rgba(61, 154, 120, 0.12) 0%, transparent 50%);
}

.ish-auth__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.55;
    animation: ishOrbFloat 12s ease-in-out infinite;
}

.ish-auth__glow--a {
    width: 280px;
    height: 280px;
    top: 8%;
    inset-inline-end: 10%;
    background: rgba(59, 130, 246, 0.4);
}

.ish-auth__glow--b {
    width: 240px;
    height: 240px;
    bottom: 6%;
    inset-inline-start: 8%;
    background: rgba(61, 154, 120, 0.28);
    animation-delay: -5s;
}

.ish-auth__noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

.ish-auth__stage {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1080px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    animation: ishAuthIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ishAuthIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand column — open on background */
.ish-auth__brand--open {
    position: relative;
    padding: 0;
    background: none !important;
    color: #fff;
    overflow: visible;
}

.ish-auth__brand--open::before,
.ish-auth__brand--open::after {
    display: none !important;
}

.ish-auth__logo--glass {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.45);
    text-decoration: none;
    direction: ltr;
    width: fit-content;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ish-auth__logo--glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.5);
}

.ish-auth__logo--glass img {
    height: 40px;
    width: auto;
    display: block;
}

.ish-auth__logo--glass strong {
    font-size: 1.2rem;
    color: var(--ishost-primary);
}

.ish-auth__eyebrow--onbg {
    display: inline-block;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    font-family: var(--ishost-font-en);
    width: fit-content;
}

.ish-auth__headline--onbg {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.ish-auth__lead--onbg {
    margin: 0 0 1.6rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.85;
    max-width: 36ch;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.ish-auth__points--onbg {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ish-auth__points--onbg li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.ish-auth__points--onbg .ish-auth__point-ico {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.ish-auth__points--onbg li:hover .ish-auth__point-ico {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
}

/* Form column — glass fields floating on bg */
.ish-auth__panel--open {
    padding: 0;
    background: transparent !important;
    max-width: 420px;
    width: 100%;
    justify-self: end;
    animation: ishAuthIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.ish-auth__card-head--onbg {
    margin-bottom: 1.35rem;
}

.ish-auth__card-head--onbg h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.ish-auth__card-head--onbg p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.ish-auth__label--onbg {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.ish-auth__field {
    margin-bottom: 1.05rem;
}

.ish-auth__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0.35rem;
}

.ish-auth__label-row .form-control-label {
    margin: 0;
}

.ish-auth__forgot--onbg {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fde68a;
    text-decoration: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.ish-auth__forgot--onbg:hover {
    color: #fff;
    text-decoration: none;
}

.ish-auth__input-group--glass {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 14px 36px -18px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ish-auth__input-group--glass:focus-within {
    border-color: rgba(253, 230, 138, 0.55);
    background: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 0 3px rgba(245, 180, 0, 0.18),
        0 18px 40px -16px rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.ish-auth__input-group--glass .input-group-text {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.9);
    min-width: 46px;
    justify-content: center;
}

.ish-auth__input-group--glass .form-control {
    border: none !important;
    box-shadow: none !important;
    height: 52px;
    background: transparent !important;
    font-size: 0.98rem;
    color: #fff !important;
}

.ish-auth__input-group--glass .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.ish-auth__input-group--glass .btn-reveal-pw {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    box-shadow: none;
}

.ish-auth__input-group--glass .btn-reveal-pw:hover {
    color: #fff;
}

.ish-auth__captcha--glass {
    margin: 0.5rem 0 1rem;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    color: rgba(255, 255, 255, 0.9);
}

.ish-auth__captcha--glass p,
.ish-auth__captcha--glass label,
.ish-auth__captcha--glass .text-center {
    color: rgba(255, 255, 255, 0.85) !important;
}

.ish-auth__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.ish-auth__remember--onbg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
}

.ish-auth__remember--onbg .form-check-input {
    margin: 0;
    position: static;
}

.ish-auth__submit--glow,
body.ishost-auth-page .ish-auth__submit.btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    min-height: 52px;
    padding: 0.75rem 1.4rem !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 0.98rem;
    color: #fff !important;
    background: linear-gradient(145deg, #3b82f6 0%, #0d3ea3 50%, #0a3284 100%) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 14px 36px -10px rgba(13, 62, 163, 0.85),
        0 0 40px -8px rgba(59, 130, 246, 0.55) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

.ish-auth__submit--glow:hover,
body.ishost-auth-page .ish-auth__submit.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 18px 42px -10px rgba(13, 62, 163, 0.9),
        0 0 48px -6px rgba(245, 180, 0, 0.35) !important;
}

html[dir="rtl"] .ish-auth__submit svg {
    transform: scaleX(-1);
}

.ish-auth__card-foot--onbg {
    margin-top: 1.4rem;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.ish-auth__card-foot--onbg a {
    font-weight: 800;
    color: #fde68a;
    text-decoration: none;
    margin-inline-start: 4px;
}

.ish-auth__card-foot--onbg a:hover {
    color: #fff;
}

.ish-auth__alert {
    border-radius: 14px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.ish-auth__linked {
    margin-top: 1rem;
}

.ish-auth__linked .btn,
.ish-auth__linked a.btn {
    border-radius: 12px !important;
    backdrop-filter: blur(8px);
}

.ish-auth__back--onbg {
    margin: 1.15rem 0 0;
    text-align: center;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
}

.ish-auth__back--onbg a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ish-auth__back--onbg a:hover {
    color: #fde68a;
}

.ish-auth__back--onbg span {
    margin: 0 6px;
    opacity: 0.45;
}

body.ishost-auth-page .login-form .card,
body.ishost-auth-page .ish-auth .card.mw-540 {
    max-width: none;
    margin: 0 !important;
    border: none;
    background: transparent;
    box-shadow: none;
}

body.ishost-auth-page .alert {
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

@media (max-width: 991.98px) {
    .ish-auth__stage {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 440px;
    }

    .ish-auth__panel--open {
        justify-self: stretch;
        max-width: none;
    }

    .ish-auth__points--onbg {
        display: none;
    }

    .ish-auth__lead--onbg {
        max-width: none;
        margin-bottom: 0;
    }

    .ish-auth__headline--onbg {
        font-size: 1.45rem;
    }
}

@media (max-width: 575.98px) {
    .ish-auth,
    .ish-auth--immersive {
        padding: 28px 16px 36px;
        align-items: flex-start;
    }

    .ish-auth__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ish-auth__submit--glow {
        width: 100%;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

body.ishost-theme .ish-footer,
body.ishost-theme #footer.ish-footer {
    position: relative;
    margin-top: 2.5rem;
    padding: 52px 0 24px;
    overflow: hidden;
    background: #dce6f3;
    color: var(--ishost-text);
    border-top: none;
}

.ish-footer__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 70% at 0% 100%, rgba(13, 62, 163, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 45% 60% at 100% 0%, rgba(61, 154, 120, 0.1) 0%, transparent 50%),
        linear-gradient(165deg, #d9e3f2 0%, #e8eef8 45%, #d4deed 100%);
    z-index: 0;
}

.ish-footer__pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(13, 62, 163, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 62, 163, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 55%, #000 8%, transparent 78%);
}

.ish-footer::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 2px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(13, 62, 163, 0.4), rgba(61, 154, 120, 0.28), transparent);
}

.ish-footer > .container {
    position: relative;
    z-index: 3;
}

.ish-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 28px 22px;
    margin-bottom: 20px;
}

.ish-footer__logo {
    display: inline-flex;
    margin-bottom: 12px;
    text-decoration: none;
}

.ish-footer__logo img {
    height: 42px;
    width: auto;
}

.ish-footer__logo strong {
    font-size: 1.35rem;
    color: var(--ishost-primary);
}

.ish-footer__desc {
    color: var(--ishost-muted);
    font-size: 0.9rem;
    line-height: 1.85;
    max-width: 280px;
    margin: 0 0 14px;
}

.ish-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ish-footer__contact a,
.ish-footer__contact span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
}

.ish-footer__contact a:hover { color: var(--ishost-primary); }

.ish-footer__contact i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(160deg, #fff, rgba(236, 244, 255, 0.9));
    border: 1px solid rgba(13, 62, 163, 0.12);
    color: var(--ishost-primary);
    font-size: 12px;
}

.ish-footer__col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
}

.ish-footer__col h4::after {
    content: "";
    position: absolute;
    bottom: -1px;
    inset-inline-end: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--ishost-primary), var(--ishost-teal));
    border-radius: 2px;
}

.ish-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ish-footer__col li { margin: 0 0 6px; }

.ish-footer__col a {
    color: var(--ishost-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease, padding 0.2s ease;
    display: inline-block;
}

.ish-footer__col a:hover {
    color: var(--ishost-primary);
    padding-inline-start: 4px;
}

.ish-footer__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 8px;
}

.ish-footer__meta-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ish-locale-btn {
    border: 1px solid var(--ishost-border);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    font-weight: 600;
}

.ish-footer__payments {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ishost-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.ish-footer__payments i {
    font-size: 1.15rem;
    opacity: 0.75;
}

.ish-footer__divider {
    height: 1px;
    margin: 18px 0 14px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35), transparent);
    position: relative;
}

.ish-footer__divider::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--ishost-primary), var(--ishost-teal));
    border-radius: 2px;
}

.ish-footer__bottom { text-align: center; }

.ish-footer__bottom .copyright {
    color: var(--ishost-muted);
    font-size: 0.84rem;
}

.ish-footer__bottom .copyright strong {
    color: var(--ishost-primary);
}

/* ==========================================================================
   RTL
   ========================================================================== */

html[dir="rtl"],
body.ishost-rtl {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .text-left { text-align: right !important; }
html[dir="rtl"] .text-right { text-align: left !important; }
html[dir="rtl"] .float-left { float: right !important; }
html[dir="rtl"] .float-right { float: left !important; }
html[dir="rtl"] .mr-auto { margin-right: 0 !important; margin-left: auto !important; }
html[dir="rtl"] .ml-auto { margin-left: 0 !important; margin-right: auto !important; }

html[dir="rtl"] .dropdown-menu { text-align: right; }

html[dir="rtl"] .modal-header .close {
    margin: -1rem auto -1rem -1rem;
}

html[dir="rtl"] .ish-footer__col h4::after {
    inset-inline-end: auto;
    inset-inline-start: 0;
}

html[dir="rtl"] .ish-domain-pricing i {
    transform: scaleX(-1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199.98px) {
    .ish-header__content {
        flex-wrap: wrap;
    }

    .ish-nav-collapse {
        width: 100%;
        order: 5;
        flex: 1 1 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
        margin-top: 4px;
    }

    .ish-nav__list {
        flex-wrap: wrap;
    }

    .ish-actions {
        margin-inline-start: auto;
        order: 4;
    }

    .ish-nav-toggle {
        order: 3;
        margin-inline-start: 0;
    }
}

@media (max-width: 991.98px) {
    .ish-tld-select {
        display: none;
    }

    .ish-domain-divider {
        display: none;
    }

    .ish-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }

    .ish-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .ish-domain-row {
        flex-wrap: wrap;
    }

    .ish-domain-field {
        width: 100%;
        flex: 1 1 100%;
    }

    .ish-domain-title {
        font-size: 1.3rem;
    }

    .ish-cta span {
        display: none;
    }

    .ish-cta {
        padding: 0.55rem 0.75rem;
    }

    .ish-cta--ghost {
        display: none !important;
    }

    .ish-footer__grid {
        grid-template-columns: 1fr;
    }

    .ish-footer__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .ish-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
