/* Ceyora public / outer theme — matches client portal brand */
:root {
    --cy-primary: #1062fe;
    --cy-primary-dark: #0d4fd4;
    --cy-accent: #00c2ff;
    --cy-navy: #0a1628;
    --cy-navy-2: #132038;
    --cy-text: #0f172a;
    --cy-muted: #64748b;
    --cy-bg: #f8fafc;
    --cy-white: #ffffff;
    --cy-border: #e2e8f0;
    --cy-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
    --cy-shadow-lg: 0 20px 50px rgba(10, 22, 40, 0.18);
    --cy-radius: 12px;
    --cy-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.ceyora-public {
    font-family: var(--cy-font);
    color: var(--cy-text);
    background: var(--cy-bg);
    -webkit-font-smoothing: antialiased;
}

body.ceyora-public .preloader {
    background: var(--cy-navy);
}
body.ceyora-public .preloader .spinner {
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: var(--cy-accent);
}

/* ---------- Buttons ---------- */
body.ceyora-public .btn--base,
body.ceyora-public .btn.btn--base {
    background: var(--cy-primary) !important;
    border-color: var(--cy-primary) !important;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 600;
    padding: 12px 22px;
    box-shadow: 0 8px 20px rgba(16, 98, 254, 0.28);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
body.ceyora-public .btn--base:hover,
body.ceyora-public .btn.btn--base:hover {
    background: var(--cy-primary-dark) !important;
    border-color: var(--cy-primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 98, 254, 0.35);
}
body.ceyora-public .btn--base-outline,
body.ceyora-public .btn.btn--base-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
    background: transparent !important;
    border-radius: 4px;
    font-weight: 600;
}
body.ceyora-public .btn--base-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
body.ceyora-public .btn--sm {
    padding: 8px 14px;
    font-size: 13px;
}
body.ceyora-public .text--base,
body.ceyora-public a.text--base {
    color: var(--cy-primary) !important;
}
/* Form controls — see assets/global/css/ceyora-forms.css */

/* ---------- Header (portal topnav parity) ---------- */
body.ceyora-public .header.cy-header,
body.ceyora-public .header.bg--dark,
body.ceyora-public .header {
    background: var(--cy-navy) !important;
    position: sticky;
    top: 0;
    z-index: 300;
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.ceyora-public .header-bottom {
    padding: 0;
}
body.ceyora-public .header-bottom-area {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    position: relative;
}
body.ceyora-public .header .logo {
    flex-shrink: 0;
}
body.ceyora-public .header .logo img {
    max-height: 36px;
    width: auto;
}
body.ceyora-public .header .menu {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 4px;
    margin: 0 0 0 8px;
    padding: 0;
    list-style: none;
}
body.ceyora-public .header .menu > li > a {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 12px !important;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
body.ceyora-public .header .menu > li > a:hover,
body.ceyora-public .header .menu > li > a.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}
body.ceyora-public .header .menu > li.has-sub-menu > a::after {
    content: '\f107';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    font-size: 11px;
    margin-left: 2px;
    opacity: 0.65;
    border: none !important;
    position: static !important;
    transform: none !important;
}
body.ceyora-public .header .menu .sub-menu {
    background: #fff;
    border: 1px solid var(--cy-border);
    border-radius: 4px;
    box-shadow: var(--cy-shadow);
    padding: 6px;
    margin-top: 8px;
    min-width: 220px;
}
body.ceyora-public .header .menu .sub-menu a {
    color: var(--cy-text) !important;
    border-radius: 4px;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.12s ease, color 0.12s ease;
}
body.ceyora-public .header .menu .sub-menu a:hover {
    background: rgba(16, 98, 254, 0.08);
    color: var(--cy-primary) !important;
    padding-left: 10px !important;
}
body.ceyora-public .cy-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 320;
}
body.ceyora-public .cy-header-actions .header-btn,
body.ceyora-public .cy-header-actions .cp-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: background 0.15s ease, color 0.15s ease;
}
body.ceyora-public .cy-header-actions .header-btn:hover,
body.ceyora-public .cy-header-actions .cp-cart-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
body.ceyora-public .cy-header-actions .cp-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cy-navy);
    line-height: 1;
}
body.ceyora-public .cy-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}
body.ceyora-public .cy-header-cta .menu-btn {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.ceyora-public .cy-header-cta .cy-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
body.ceyora-public .cy-header-cta .cy-btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}
body.ceyora-public .cy-header-cta .cy-btn-register {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cy-primary);
    color: #fff !important;
    border-radius: 4px;
    padding: 8px 14px !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(16, 98, 254, 0.35);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}
body.ceyora-public .cy-header-cta .cy-btn-register:hover {
    background: var(--cy-primary-dark);
    color: #fff !important;
}
body.ceyora-public .cy-header-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background 0.15s ease;
}
body.ceyora-public .cy-header-trigger:hover {
    background: rgba(255, 255, 255, 0.14);
}
body.ceyora-public .header-trigger__icon {
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

/* Language switcher — portal cp-lang component */
body.ceyora-public .cp-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
body.ceyora-public .cp-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 36px;
    min-width: 36px;
    padding: 0 10px;
    margin: 0;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    transition: background 0.15s ease;
}
body.ceyora-public .cp-lang-toggle:hover,
body.ceyora-public .cp-lang.open .cp-lang-toggle {
    background: rgba(255, 255, 255, 0.14);
}
body.ceyora-public .cp-lang-toggle img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
body.ceyora-public .cp-lang-label {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1;
}
body.ceyora-public .cp-lang-chevron {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.65);
    transition: transform 0.2s;
    line-height: 1;
}
body.ceyora-public .cp-lang.open .cp-lang-chevron {
    transform: rotate(180deg);
}
body.ceyora-public .cp-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 168px;
    background: #fff;
    border: 1px solid var(--cy-border);
    border-radius: 4px;
    box-shadow: var(--cy-shadow);
    padding: 6px;
    z-index: 500;
}
body.ceyora-public .cp-lang-menu[hidden] {
    display: none !important;
}
body.ceyora-public .cp-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--cy-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    transition: background 0.12s ease, color 0.12s ease;
}
body.ceyora-public .cp-lang-item img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
body.ceyora-public .cp-lang-item:hover {
    background: #f8fafc;
    color: var(--cy-primary);
}
body.ceyora-public .cp-lang-item.is-active {
    background: rgba(16, 98, 254, 0.08);
    color: var(--cy-primary);
}

@media (min-width: 1200px) {
    body.ceyora-public .header .menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        flex-direction: row;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
        max-height: none;
        overflow: visible;
    }
    body.ceyora-public .header .menu .sub-menu {
        background-color: #fff !important;
        box-shadow: var(--cy-shadow) !important;
        border: 1px solid var(--cy-border) !important;
        border-radius: 4px !important;
        padding: 6px !important;
    }
    body.ceyora-public .header-trigger-wrapper {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    body.ceyora-public .header .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        margin-top: 8px;
        background: var(--cy-navy);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 4px;
        box-shadow: var(--cy-shadow-lg);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    body.ceyora-public .header .menu.active {
        transform: translateY(0) scaleY(1);
        opacity: 1;
        visibility: visible;
    }
    body.ceyora-public .header .menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 2px 0;
    }
    body.ceyora-public .header .menu > li:last-child {
        border-bottom: none;
    }
    body.ceyora-public .header .menu > li > a {
        width: 100%;
        border-radius: 4px;
    }
    body.ceyora-public .header .menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 8px 12px;
        margin-top: 0;
    }
    body.ceyora-public .header .menu .sub-menu a {
        color: rgba(255, 255, 255, 0.78) !important;
    }
    body.ceyora-public .header .menu .sub-menu a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff !important;
    }
    body.ceyora-public .cy-header-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 8px 0 0;
        gap: 6px;
    }
    body.ceyora-public .cy-header-cta .cy-btn-login,
    body.ceyora-public .cy-header-cta .cy-btn-register {
        justify-content: center;
        width: 100%;
    }
    body.ceyora-public .cp-lang-label,
    body.ceyora-public .cp-lang-chevron {
        display: none;
    }
    body.ceyora-public .cp-lang-toggle {
        width: 36px;
        padding: 0;
    }
}

@media (max-width: 575px) {
    body.ceyora-public .header-bottom-area {
        gap: 8px;
    }
}

/* ---------- Sub-page hero ---------- */
.cy-subhero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 80% at 90% 20%, rgba(0, 194, 255, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 60% at 5% 90%, rgba(16, 98, 254, 0.28), transparent 50%),
        linear-gradient(135deg, #07101c 0%, var(--cy-navy) 48%, #123056 100%);
    color: #fff;
    padding: 40px 0 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cy-subhero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
    pointer-events: none;
}
.cy-subhero .container {
    position: relative;
    z-index: 1;
}
.cy-subhero-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.55);
}
.cy-subhero-crumb a {
    color: var(--cy-accent) !important;
    text-decoration: none;
}
.cy-subhero-crumb a:hover {
    color: #fff !important;
}
.cy-subhero-sep {
    opacity: 0.5;
}
.cy-subhero-current {
    color: rgba(255, 255, 255, 0.85);
}
.cy-subhero-title {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #fff;
}
.cy-subhero-sub {
    margin: 10px 0 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    line-height: 1.55;
}
.cy-subhero-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Legacy breadcrumb (if still referenced) */
body.ceyora-public .breadcrumb-bg {
    display: none !important;
}


/* ---------- Home hero ---------- */
.cy-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(0, 194, 255, 0.22), transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 80%, rgba(16, 98, 254, 0.35), transparent 50%),
        linear-gradient(145deg, #07101c 0%, var(--cy-navy) 45%, #0f2a4d 100%);
    color: #fff;
    padding: 72px 0 84px;
}
.cy-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
    pointer-events: none;
}
.cy-hero .container {
    position: relative;
    z-index: 1;
}
.cy-hero-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
}
.cy-hero-brand-logo {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
}
.cy-hero-brand-logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.cy-hero h1 {
    max-width: 720px;
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    color: #fff;
}
.cy-hero p.cy-hero-lead {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 28px;
}
.cy-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}
.cy-hero-actions .btn {
    border-radius: 4px;
    padding: 12px 22px;
    font-weight: 600;
}
.cy-hero-actions .cy-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.cy-hero-actions .cy-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.cy-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}
.cy-hero-metrics strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.cy-hero-metrics span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 767px) {
    .cy-hero {
        padding: 48px 0 56px;
    }
    .cy-hero-metrics {
        gap: 18px;
    }
}

/* ---------- Home sections ---------- */
body.ceyora-public .cy-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}
body.ceyora-public .cy-section-head h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--cy-text);
    margin-bottom: 10px;
}
body.ceyora-public .cy-section-head p {
    color: var(--cy-muted);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Domain search band */
body.ceyora-public .cy-domain-section {
    background: var(--cy-white);
    padding: 64px 0;
    border-bottom: 1px solid var(--cy-border);
}
body.ceyora-public .cy-domain-section .domain-search-icon {
    color: var(--cy-muted);
}
body.ceyora-public .cy-domain-section .form-control.form--control {
    min-height: 56px;
    padding-left: 48px;
    padding-right: 130px;
    border-radius: 4px;
    border: 1px solid var(--cy-border);
    box-shadow: var(--cy-shadow);
    font-size: 15px;
}
body.ceyora-public .cy-domain-section .domain-search-icon-reset .btn {
    border-radius: 4px;
    min-height: 42px;
}
body.ceyora-public .cy-domain-note {
    color: var(--cy-muted);
    font-size: 14px;
    margin-top: 18px;
}

/* Services */
body.ceyora-public .cy-service-section {
    padding: 72px 0;
    background: var(--cy-bg);
}
body.ceyora-public .service-card .card {
    border: 1px solid var(--cy-border);
    border-radius: var(--cy-radius);
    overflow: hidden;
    box-shadow: var(--cy-shadow);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}
body.ceyora-public .service-card .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cy-shadow-lg);
}
body.ceyora-public .service-card .card-header,
body.ceyora-public .service-card .service-title {
    background: var(--cy-navy) !important;
    color: #fff !important;
    border: none;
    font-weight: 650;
    padding: 16px 18px;
}
body.ceyora-public .service-card .card-body {
    padding: 20px;
}
body.ceyora-public .service-card .card-text {
    color: var(--cy-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* FAQ */
body.ceyora-public .faq-section {
    background: var(--cy-white) !important;
    padding: 72px 0 !important;
}
body.ceyora-public .faq-item {
    border: 1px solid var(--cy-border) !important;
    border-radius: 12px !important;
    box-shadow: none;
    overflow: hidden;
}
body.ceyora-public .faq-item__title {
    background: #fff;
}
body.ceyora-public .faq-item__title .title {
    font-weight: 600;
    color: var(--cy-text);
    padding-right: 28px;
}
body.ceyora-public .faq-item.open,
body.ceyora-public .faq-item.active {
    border-color: rgba(16, 98, 254, 0.35) !important;
    box-shadow: 0 8px 24px rgba(16, 98, 254, 0.08);
}
body.ceyora-public .faq-item__content p {
    color: var(--cy-muted);
    margin: 0;
}

/* Blog / announcements */
body.ceyora-public .contact-section {
    background: var(--cy-bg) !important;
    padding: 72px 0 !important;
}
body.ceyora-public .custom--card {
    border: 1px solid var(--cy-border);
    border-radius: var(--cy-radius);
    box-shadow: var(--cy-shadow);
    overflow: hidden;
}
body.ceyora-public .announcement h3 a {
    color: var(--cy-text);
    font-weight: 700;
    text-decoration: none;
}
body.ceyora-public .announcement h3 a:hover {
    color: var(--cy-primary);
}
body.ceyora-public .announcement article {
    color: var(--cy-muted);
    line-height: 1.65;
}

/* ---------- Footer ---------- */
body.ceyora-public footer.footer,
body.ceyora-public .footer.bg-dark-two {
    background: var(--cy-navy) !important;
    padding: 56px 0 32px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
body.ceyora-public .footer .logo img {
    max-height: 40px;
}
body.ceyora-public .footer-text {
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    line-height: 1.65;
}
body.ceyora-public .footer-links a {
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500;
    font-size: 13.5px;
}
body.ceyora-public .footer-links a:hover {
    color: var(--cy-accent) !important;
}
body.ceyora-public .footer p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    margin-bottom: 0;
}

/* Subscribe strip if present */
body.ceyora-public .subscribe-section,
body.ceyora-public .newsletter-section {
    background: linear-gradient(135deg, #0d4fd4, #1062fe 50%, #00c2ff);
}

/* ---------- Auth pages ---------- */
.cy-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    background: var(--cy-bg);
}
.cy-auth-brand {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 20% 20%, rgba(0, 194, 255, 0.25), transparent 55%),
        radial-gradient(ellipse 60% 45% at 90% 80%, rgba(16, 98, 254, 0.4), transparent 50%),
        linear-gradient(160deg, #07101c 0%, var(--cy-navy) 50%, #123056 100%);
    color: #fff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cy-auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.7;
    pointer-events: none;
}
.cy-auth-brand > * {
    position: relative;
    z-index: 1;
}
.cy-auth-brand-top a,
.cy-auth-brand-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}
.cy-auth-brand-logo-img,
.cy-auth-brand-top img {
    display: block;
    max-height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.cy-auth-brand-copy h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 14px;
    max-width: 420px;
}
.cy-auth-brand-copy p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 400px;
    margin: 0;
}
.cy-auth-brand-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.cy-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.cy-auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border: 1px solid var(--cy-border);
    border-radius: 6px;
    box-shadow: var(--cy-shadow-lg);
    padding: 36px 32px;
}
.cy-auth-card.is-wide {
    max-width: 720px;
}
.cy-auth-section-title {
    margin: 0;
    padding-bottom: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cy-muted);
    border-bottom: 1px solid var(--cy-border);
}
.cy-auth-card .cy-auth-mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}
.cy-auth-card .cy-auth-mobile-logo img,
.cy-auth-card .cy-auth-mobile-logo-img {
    display: block;
    max-height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin: 0 auto;
}
.cy-auth-card .account-form {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
}
.cy-auth-card h4 {
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--cy-text);
}
.cy-auth-card .mb-4 > p,
.cy-auth-card .mb-4 p {
    color: var(--cy-muted);
    font-size: 14px;
    margin-bottom: 0;
}
.cy-auth-card label,
.cy-auth-card .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--cy-text);
    margin-bottom: 6px;
}
.cy-auth-card .btn--base {
    min-height: 48px;
    font-size: 15px;
}
.cy-auth-card .custom--checkbox label {
    font-weight: 500;
    color: var(--cy-muted);
}
.cy-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cy-muted);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 18px;
}
.cy-auth-back:hover {
    color: var(--cy-primary);
}

@media (max-width: 991px) {
    .cy-auth {
        grid-template-columns: 1fr;
    }
    .cy-auth-brand {
        display: none;
    }
    .cy-auth-card .cy-auth-mobile-logo {
        display: block;
    }
    .cy-auth-panel {
        padding: 28px 16px 40px;
        min-height: 100vh;
        background:
            radial-gradient(ellipse 80% 40% at 50% -10%, rgba(16, 98, 254, 0.18), transparent 60%),
            var(--cy-bg);
    }
}

/* ---------- Generic public cards / contact ---------- */
body.ceyora-public .card {
    border-color: var(--cy-border);
}
body.ceyora-public .bg--light {
    background: var(--cy-bg) !important;
}
body.ceyora-public .bg-dark-two {
    background: var(--cy-navy) !important;
}

/* Hide old account-section chrome when using cy-auth */
.cy-auth .account-section {
    min-height: 0;
    background: transparent;
}

/* Contact cards */
body.ceyora-public .contact-card {
    background: #fff;
    border: 1px solid var(--cy-border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--cy-shadow);
    height: 100%;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
body.ceyora-public .contact-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--cy-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
body.ceyora-public .contact-card__title {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--cy-text);
}
body.ceyora-public .contact-card__desc {
    color: var(--cy-muted);
    margin: 0;
    font-size: 14px;
}
body.ceyora-public .contact-form.card {
    border-radius: 16px;
    box-shadow: var(--cy-shadow);
}

/* Social login */
body.ceyora-public .social-login-btn {
    border: 1px solid var(--cy-border) !important;
    border-radius: 4px;
    background: #fff;
    font-weight: 600;
    color: var(--cy-text);
    min-height: 46px;
}
body.ceyora-public .social-login-btn:hover {
    border-color: var(--cy-primary) !important;
    color: var(--cy-primary);
}
body.ceyora-public .login-or {
    position: relative;
    margin: 18px 0;
    color: var(--cy-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
}
body.ceyora-public .login-or::before,
body.ceyora-public .login-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--cy-border);
}
body.ceyora-public .login-or::before { left: 0; }
body.ceyora-public .login-or::after { right: 0; }


/* ---------- Public store / guest side layout ---------- */
.cy-store-pricing,
.cy-store-page {
    padding: 28px 0 56px;
    background: var(--cy-bg, #f8fafc);
}
.cy-store-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.cy-store-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 96px;
}
.cy-store-sidebar-panel {
    background: #fff;
    border: 1px solid var(--cy-border, #e2e8f0);
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
    padding: 14px;
}
.cy-store-sidebar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 2px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--cy-border, #e2e8f0);
    position: relative;
}
.cy-store-sidebar-head.is-compact {
    padding-bottom: 10px;
    margin-bottom: 4px;
}
.cy-store-sidebar-head strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--cy-navy, #0a1628);
    line-height: 1.25;
}
.cy-store-sidebar-head span {
    display: block;
    font-size: 11.5px;
    color: var(--cy-muted, #64748b);
    margin-top: 2px;
}
.cy-store-sidebar-icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #e8f1ff;
    color: var(--cy-primary, #1062fe);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.cy-store-sidebar-close {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--cy-navy, #0a1628);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}
.cy-store-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cy-store-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 4px;
    color: var(--cy-navy, #0a1628);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease;
}
.cy-store-link i {
    width: 16px;
    text-align: center;
    color: var(--cy-muted, #64748b);
    flex-shrink: 0;
}
.cy-store-link:hover {
    background: #f8fafc;
    color: var(--cy-primary, #1062fe);
}
.cy-store-link:hover i {
    color: var(--cy-primary, #1062fe);
}
.cy-store-link.is-active {
    background: #e8f1ff;
    color: var(--cy-primary, #1062fe);
    font-weight: 600;
}
.cy-store-link.is-active i {
    color: var(--cy-primary, #1062fe);
}
.cy-store-sidebar-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--cy-border, #e2e8f0);
    border-radius: 4px;
    background: #fff;
    color: var(--cy-navy, #0a1628);
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 4px;
}
.cy-store-main {
    min-width: 0;
    width: 100%;
}
.cy-store-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(10, 22, 40, 0.45);
}
@media (max-width: 991px) {
    .cy-store-layout {
        grid-template-columns: 1fr;
    }
    .cy-store-sidebar-toggle {
        display: inline-flex;
        grid-column: 1;
    }
    .cy-store-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1050;
        width: min(300px, 88vw);
        height: 100vh;
        overflow-y: auto;
        padding: 16px;
        background: var(--cy-bg, #f8fafc);
        box-shadow: 8px 0 28px rgba(10, 22, 40, 0.18);
        transform: translateX(-110%);
        transition: transform 0.22s ease;
    }
    .cy-store-sidebar.is-open {
        transform: translateX(0);
    }
    .cy-store-pricing,
    .cy-store-page {
        padding: 18px 0 40px;
    }
}

.cy-store-content {
    width: 100%;
    min-width: 0;
}
