/* public/css/overview.css */
:root {
    --ultra-green: #10b981;
    --ultra-green-soft: rgba(16, 185, 129, 0.1);
    --ultra-bg: #f7faf9;
    --ultra-text: #0f172a;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body.ultra-bg {
    background: #f8f9fc;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---------- NAV (3 columns like UltraMsg) ---------- */
.ultra-nav {
    padding: 18px 0;
}

.ultra-nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

/* =========================================
   Ultra Logo (Header – match UltraMsg)
========================================= */

.ultra-logo {
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* Bars (left icon) */
.ultra-logo-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.ultra-logo-bars span {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: #2ad1b0;
}

/* individual bar heights (like UltraMsg) */
.ultra-logo-bars span:nth-child(1) {
    height: 10px;
}
.ultra-logo-bars span:nth-child(2) {
    height: 14px;
}
.ultra-logo-bars span:nth-child(3) {
    height: 18px;
}

/* Text */
.ultra-logo-text {
    font-size: 22px; /* ⬅ increased */
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #1f2a44;
    line-height: 1;
}

.ultra-logo-text span {
    color: #2ad1b0;
}

.ultra-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ultra-menu a {
    text-decoration: none;
    color: var(--ultra-text);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.6px;
}

.ultra-menu a:hover {
    color: var(--ultra-green);
}

.ultra-nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.ultra-lang-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    color: var(--ultra-text);
}

/* ---------- HERO BACKGROUND (RINGS like UltraMsg) ---------- */
.ultra-hero-wrap {
    position: relative;
    overflow: hidden;

    /* Full screen feel */
    min-height: calc(100vh - 90px);
    /* 90px = approx nav height */
    display: flex;
    align-items: center;

    padding: 110px 0 110px;
    /* keeps spacing for small screens too */
}

.ultra-hero-wrap:after {
    content: "";
    position: absolute;
    right: -260px;
    top: -260px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    border: 120px solid var(--ultra-green-soft);
    box-sizing: border-box;
}

.ultra-hero-wrap:before {
    content: "";
    position: absolute;
    left: -260px;
    bottom: -260px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    border: 120px solid var(--ultra-green-soft);
    box-sizing: border-box;
}

.ultra-hero-content {
    position: relative;
    z-index: 2;
}

.ultra-title {
    color: var(--ultra-green);
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 56px;
    margin-bottom: 10px;
}

.ultra-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: var(--ultra-green);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ultra-subtitle {
    color: var(--ultra-text);
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 8px;
}

.ultra-desc {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 22px;
}

/* Buttons like UltraMsg */
.ultra-btn {
    background: var(--ultra-green) !important;
    border: 1px solid var(--ultra-green) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.ultra-btn-outline {
    background: transparent !important;
    border: 1px solid var(--ultra-green) !important;
    color: var(--ultra-green) !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* ---------- TECH STRIP ---------- */
.ultra-techbar {
    background: #ffffff;
    border-top: 1px solid #eef2f7;
    padding: 22px 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ultra-green);
    text-decoration: none;
}

.tech-item i {
    font-size: 26px;
    line-height: 1;
    color: var(--ultra-green);
}

.tech-item span {
    font-size: 12px;
    color: var(--ultra-green);
    font-weight: 700;
}

/* ---------- MOBILE MENU (OFFCANVAS) ---------- */
.ultra-offcanvas .offcanvas-header {
    border-bottom: 1px solid #eef2f7;
}

.ultra-offcanvas .offcanvas-title {
    font-weight: 800;
    color: var(--ultra-text);
}

.ultra-offcanvas .offcanvas-body a {
    text-decoration: none;
    font-weight: 600;
}

/* ---------- MOBILE MENU ICON (bars <-> cross) ---------- */
.ultra-menu-toggle {
    background: none;
    border: 0;
    padding: 4px;
    margin-left: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ultra-bars {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ultra-bars span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--ultra-green);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* ---------- HOW IT WORKS SECTION ---------- */
.ultra-how {
    background: #ffffff;
    padding: 90px 0 90px;
    border-top: 1px solid #eef2f7;
}

.ultra-how-head {
    margin-bottom: 55px;
}

.ultra-how-title {
    font-weight: 800;
    color: var(--ultra-text);
    font-size: 38px;
    margin-bottom: 10px;
}

.ultra-how-sub {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

.ultra-how-steps {
    margin-top: 10px;
}

.how-step {
    padding: 10px 10px;
}

.how-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin-bottom: 18px;
}

.how-bg {
    position: absolute;
    width: 76px;
    height: 76px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    transform: rotate(25deg);
}

.how-icon {
    position: relative;
    font-size: 34px;
    color: var(--ultra-green);
}

.how-title {
    font-weight: 800;
    color: var(--ultra-text);
    font-size: 22px;
    margin-bottom: 10px;
}

.how-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* Mobile spacing like screenshot */
@media (max-width: 991px) {
    .ultra-how {
        padding: 70px 0;
    }

    .ultra-how-title {
        font-size: 30px;
    }

    .how-icon-wrap {
        margin-bottom: 14px;
    }
}

/* When menu is OPEN -> cross */
.ultra-menu-toggle.active .ultra-bars span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.ultra-menu-toggle.active .ultra-bars span:nth-child(2) {
    opacity: 0;
}

.ultra-menu-toggle.active .ultra-bars span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- CODEMIRROR SECTION (UltraMsg-like) ---------- */
.ultra-code {
    padding: 90px 0;
    background: #f8f9fc;
}

.ultra-code-head {
    margin-bottom: 28px;
}

.ultra-code-icon {
    width: 38px;
    height: 38px;
    margin: 0 auto 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ultra-green);
    background: rgba(16, 185, 129, 0.12);
    font-size: 18px;
}

.ultra-code-title {
    font-weight: 800;
    color: var(--ultra-text);
    font-size: 34px;
    margin-bottom: 10px;
}

.ultra-code-sub {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.ultra-code-box {
    max-width: 980px;
    margin: 30px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
}

.ultra-code-tabs {
    background: #2f3b43;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    padding: 8px 10px;
}

.ultra-code-tabs .code-tab {
    background: transparent;
    border: 0;
    color: #d7dde3;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 6px;
    transition: 0.15s ease;
}

.ultra-code-tabs .code-tab:hover {
    background: rgba(255, 255, 255, 0.06);
}

.ultra-code-tabs .code-tab.active {
    background: #243038;
    color: #fff;
}

.ultra-code-editor {
    position: relative;
    background: #2b3a42;
}

.ultra-code-copy {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 5;
    background: #374852;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
}

.ultra-code-copy:hover {
    background: #42555f;
}

/* Codemirror tweak to look like UltraMsg */
.CodeMirror {
    background: #2b3a42 !important;
    font-size: 13px;
    line-height: 1.6;
    padding: 12px 0;
}
.CodeMirror-scroll {
    padding: 0 18px 18px 18px;
}

/* Mobile */
@media (max-width: 991px) {
    .ultra-nav-inner {
        grid-template-columns: 1fr 1fr;
    }

    .ultra-title {
        font-size: 40px;
    }

    .ultra-hero-wrap {
        padding: 80px 0 90px;
    }

    /* On mobile hide center menu */
    .ultra-menu {
        display: none;
    }
}

.ultra-code-section {
    background: transparent;
}
.ultra-mini-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.12);
    color: var(--ultra-green, #10b981);
    font-size: 18px;
}
.ultra-h2 {
    color: var(--ultra-text, #0f172a);
}

.ultra-codebox {
    max-width: 1200px;
    border-radius: 18px;
    background: #2f3f46;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.ultra-tabs {
    padding: 14px 14px 0;
    gap: 14px;
    border-bottom: 0;
    background: transparent;
    overflow-x: auto;
    flex-wrap: nowrap;
}
.ultra-tabs .nav-link {
    color: rgba(255, 255, 255, 0.85);
    border: 0 !important;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}
.ultra-tabs .nav-link.active {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
}

.ultra-tab-content {
    padding: 14px;
}
.ultra-codepane {
    border-radius: 14px;
    background: transparent;
    min-height: 420px;
}
.ultra-pre {
    margin: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    padding: 20px;
    min-height: 420px;
    overflow: auto;
}
.ultra-pre code {
    background: transparent !important;
    padding: 0 !important;
    font-size: 13px;
    line-height: 1.55;
}

.ultra-copy {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 400;
}
.ultra-copy:hover {
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
}
.ultra-copy:focus {
    box-shadow: none;
}

@media (max-width: 576px) {
    .ultra-pre {
        padding: 16px;
        min-height: 360px;
    }
    .ultra-codepane {
        min-height: 360px;
    }
}

/* ✅ LOADING STATE (MATCHES DESIGN, DOES NOT SHIFT LAYOUT) */
.ultra-loader {
    padding: 18px;
}

.ultra-loader .ultra-loader-block {
    height: 600px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.06)
    );
    background-size: 200% 100%;
    animation: ultraShimmer 1.2s infinite linear;
}

@keyframes ultraShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ✅ DROPDOWN / TAB CONFLICT FIX (YOUR WORKING FIX) */
.ultra-codebox {
    overflow: visible !important;
    position: relative;
    z-index: 10;
}

#ultraCodeTabs {
    overflow: visible !important;
    position: relative;
    z-index: 20;
}

#ultraCodeTabs .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 4px;
    z-index: 9999 !important;
    transform: none !important;
}

#ultraCodeTabs .dropdown-menu[style] {
    transform: none !important;
    inset: auto !important;
}

#ultraCodeTabs .dropdown-item {
    white-space: nowrap;
}

.ultra-tab-content {
    position: relative;
    z-index: 1;
}

.ultra-codepane {
    position: relative;
    z-index: 1;
}

/* ✅ WRAP FIX (YOUR WORKING FIX) */
#ultraCodeTabs {
    display: flex !important;
    flex-wrap: wrap !important;
    row-gap: 6px !important;
    column-gap: 6px !important;
    white-space: normal !important;
    overflow-x: visible !important;
}

#ultraCodeTabs > .nav-item {
    flex: 0 0 auto !important;
}

#ultraCodeTabs .nav-link {
    white-space: nowrap !important;
}

#ultraCodeTabs.ultra-tabs,
#ultraCodeTabs.nav-tabs {
    flex-wrap: wrap !important;
}

/* === MATCH THE ATTACHED DESIGN (centered, lighter subtitle, exact spacing) === */
.section-title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title .uil {
    font-size: 28px;
    line-height: 1;
    display: inline-block;
}

/* Title: big, bold, tight */
.section-title .title {
    font-weight: 700;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

/* Subtitles: smaller + lighter + centered + both lines same style */
.section-title p {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
    /* light gray like screenshot */
    margin-bottom: 0 !important;
}

/* tiny gap between the two subtitle lines */
.section-title p + p {
    margin-top: 4px;
}

/* responsive */
@media (max-width: 768px) {
    .section-title .title {
        font-size: 26px;
    }

    .section-title p {
        font-size: 13px;
    }
}

/* =========================================================
   Ultra Button Outline – API Documentation (Hover & Focus)
   Follows existing theme rules
   ========================================================= */

.ultra-btn-outline {
    border: 1px solid #00c9a7;
    color: #00c9a7;
    background: transparent;

    transition: color 0.25s ease, background-color 0.25s ease,
        border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* Hover / Focus / Active */
.ultra-btn-outline:hover,
.ultra-btn-outline:focus,
.ultra-btn-outline:active {
    color: #ffffff !important;
    background-color: #00967d !important;
    border-color: #00967d !important;

    box-shadow: 0 8px 20px rgba(0, 150, 125, 0.25);
    transform: translateY(-1px);
}

/* Active press effect */
.ultra-btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 5px 14px rgba(0, 150, 125, 0.22);
}

/* Icon color sync */
.ultra-btn-outline:hover i,
.ultra-btn-outline:focus i,
.ultra-btn-outline:active i {
    color: #ffffff !important;
}

/* Accessibility: keyboard focus */
.ultra-btn-outline:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 150, 125, 0.35);
}

/* =========================================
   Overview - WhatsApp Usecases Section
   Pixel-matched with UltraMsg (see.jpg)
========================================= */

.overview-whatsapp {
    padding: 40px 0 70px;
    background: #fff;
}

/* ===============================
   Hero
================================ */

.overview-whatsapp__art {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* important: matches UltraMsg */
}

.overview-whatsapp__img {
    width: 451px; /* UltraMsg rendered width */
    max-width: 100%; /* responsive */
    height: auto; /* keeps ~490px height */
    display: block;
}

.overview-whatsapp__h2 {
    font-weight: 700;
    line-height: 1.2;
    font-size: 28px;
    margin-bottom: 10px;
}

.overview-whatsapp__muted {
    opacity: 0.75;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* ===============================
   Checklist
================================ */

.overview-whatsapp__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-whatsapp__li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    opacity: 0.92;
}

.overview-whatsapp__check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    flex: 0 0 18px;
    background: rgba(0, 150, 125, 0.1);
    position: relative;
}

.overview-whatsapp__check::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #00967d;
    border-bottom: 2px solid #00967d;
    transform: rotate(45deg);
}

/* ===============================
   Usecases title
================================ */

.overview-whatsapp__usecases-title {
    margin-top: 72px; /* UltraMsg spacing */
    margin-bottom: 22px;
}

.overview-whatsapp__h3 {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    margin: 0;
}

/* ===============================
   Cards grid
================================ */

.overview-whatsapp__grid {
    row-gap: 18px;
}

.overview-whatsapp__card {
    height: 68px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 8px;
    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;

    transition: border-color 0.2s ease, transform 0.2s ease;
}

.overview-whatsapp__card:hover {
    border-color: rgba(0, 150, 125, 0.25);
    transform: translateY(-1px);
}

/* Left soft dot (exact visual from see.jpg) */
.overview-whatsapp__dot {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    flex: 0 0 34px;
    background: rgba(0, 150, 125, 0.1);
}

.overview-whatsapp__cardh {
    font-weight: 900;
    font-size: 14px;
}

/* ===============================
   Mobile
================================ */

@media (max-width: 767.98px) {
    .overview-whatsapp {
        padding: 28px 0 55px;
    }

    .overview-whatsapp__content.ms-lg-5 {
        margin-left: 0 !important;
        margin-top: 16px;
    }

    .overview-whatsapp__usecases-title {
        margin-top: 45px;
    }

    .overview-whatsapp__img {
        width: 100%;
    }
}

/* =========================================
   Overview - Pricing Snippet (see.jpg)
========================================= */

.overview-pricing {
    padding: 70px 0;
    background: #f8f9fc;
}

/* =========================================
   Overview - Free White-Label Reseller
========================================= */

.overview-whitelabel {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(140deg, #f1fbf7 0%, #eef3ff 52%, #ffffff 100%);
    overflow: hidden;
}

.overview-whitelabel::before,
.overview-whitelabel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(0);
    opacity: 0.6;
    z-index: 0;
}

.overview-whitelabel::before {
    width: 320px;
    height: 320px;
    left: -120px;
    top: 40px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 65%);
}

.overview-whitelabel::after {
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 65%);
}

.overview-whitelabel .container {
    position: relative;
    z-index: 1;
}

.overview-whitelabel__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.overview-whitelabel__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.overview-whitelabel__title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.18;
    color: #0f172a;
    margin-bottom: 16px;
}

.overview-whitelabel__sub {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.overview-whitelabel__list {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.overview-whitelabel__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    animation: ultraFadeUp 0.8s ease both;
}

.overview-whitelabel__item:nth-child(2) {
    animation-delay: 0.1s;
}

.overview-whitelabel__item:nth-child(3) {
    animation-delay: 0.2s;
}

.overview-whitelabel__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    font-size: 20px;
}

.overview-whitelabel__itemTitle {
    font-weight: 800;
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 4px;
}

.overview-whitelabel__itemText {
    color: #64748b;
    font-size: 13px;
}

.overview-whitelabel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.overview-whitelabel__panel {
    position: relative;
    background: #0f172a;
    color: #ffffff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    animation: ultraFloat 7s ease-in-out infinite;
}

.overview-whitelabel__panelGlow {
    position: absolute;
    right: -40px;
    top: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.45), transparent 70%);
    opacity: 0.8;
    pointer-events: none;
}

.overview-whitelabel__panelHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.overview-whitelabel__panelTitle {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.2px;
}

.overview-whitelabel__panelSub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.overview-whitelabel__chip {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.2);
    color: #9efbd9;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.overview-whitelabel__stats {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.overview-whitelabel__stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
}

.overview-whitelabel__statLabel {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.overview-whitelabel__statValue {
    font-weight: 800;
    font-size: 14px;
}

.overview-whitelabel__panelFooter {
    display: grid;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
}

.overview-whitelabel__note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes ultraFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

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

@media (max-width: 991px) {
    .overview-whitelabel {
        padding: 70px 0;
    }

    .overview-whitelabel__title {
        font-size: 30px;
    }

    .overview-whitelabel__panel {
        animation: none;
    }
}

.overview-pricing__left {
    max-width: 420px;
    text-align: center;
}

.overview-pricing__title {
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
}

.overview-pricing__desc {
    opacity: 0.75;
    line-height: 1.7;
    margin: 0 0 22px;
}

/* Left CTA */
.overview-pricing__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #00967d;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    margin: 0 auto;

    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.overview-pricing__cta:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    filter: brightness(0.98);
}

.overview-pricing__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f34b4b;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

/* Custom requirement callout */
.overview-pricing__custom {
    margin-top: 22px;
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 150, 125, 0.08), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.overview-pricing__customTag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.overview-pricing__customTitle {
    margin: 12px 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.overview-pricing__customText {
    margin: 0 0 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.overview-pricing__customBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.overview-pricing__customBtn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

/* Cards */
.overview-pricing__card {
    position: relative;
    border-radius: 10px;
    background: #fff;
    padding: 26px 26px 24px;

    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);

    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

/* the green underline */
.overview-pricing__card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 0 0 10px 10px;
    background: #00967d;
    opacity: 1;
}

.overview-pricing__card--muted {
    background: #f7f9fc;
}

.overview-pricing__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

/* Card header */
.overview-pricing__head {
    font-weight: 800;
    color: #00967d;
    font-size: 13px;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
}

/* Price */
.overview-pricing__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.overview-pricing__amount {
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
}

.overview-pricing__period {
    font-weight: 800;
    opacity: 0.85;
}

.overview-pricing__currency {
    opacity: 0.7;
    font-weight: 600;
    margin-bottom: 18px;
}

.overview-pricing__was {
    font-size: 14px;
    font-weight: 800;
    opacity: 0.55;
    text-decoration: line-through;
    margin-left: 6px;
}

.overview-pricing__discount {
    font-size: 12px;
    font-weight: 800;
    color: #00967d;
    letter-spacing: 0.2px;
    margin: -10px 0 18px; /* sit between currency and features */
}

/* Feature list */
.overview-pricing__list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.overview-pricing__li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    opacity: 0.85;
    font-weight: 600;
}

.overview-pricing__check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    flex: 0 0 18px;
    background: rgba(0, 150, 125, 0.12);
    position: relative;
    margin-top: 2px;
}

.overview-pricing__check::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #00967d;
    border-bottom: 2px solid #00967d;
    transform: rotate(45deg);
}

/* Buttons inside cards */
.overview-pricing__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #00967d;
    color: #fff;
    font-weight: 800;
    text-decoration: none;

    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.overview-pricing__btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    filter: brightness(0.98);
}

/* Responsive */
@media (max-width: 991.98px) {
    .overview-pricing__left {
        max-width: 100%;
        margin-bottom: 26px;
    }
}

/* =========================================
   Ultra Logo - Footer Variant
========================================= */

.ultra-logo--footer {
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    text-decoration: none;
}

/* Bars color on dark footer */
.ultra-logo--footer .ultra-logo-bars span {
    background: #2ad1b0; /* matches UltraMsg green tone */
}

/* Text color on dark background */
.ultra-logo--footer .ultra-logo-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.2px;
}

.ultra-logo--footer .ultra-logo-text span {
    color: #2ad1b0;
}

/* =========================================
   Overview Footer (CTA + Diagonal + Footer)
   MATCH see.jpg (clean diagonal cut + full-width bottom line)
========================================= */

/* ===============================
   Top CTA area (NO diagonal here)
================================ */

.overview-footer-cta {
    padding: 70px 0 30px;
    background: #fff;
    position: relative;
    overflow: visible;
}

/* remove any older diagonal */
.overview-footer-cta::after {
    content: none !important;
}

.overview-footer-cta__wrap {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.overview-footer-cta__title {
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
}

.overview-footer-cta__desc {
    opacity: 0.75;
    line-height: 1.8;
    margin: 0 0 22px;
}

/* CTA Button */
.overview-footer-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #00967d;
    color: #fff;
    font-weight: 800;
    text-decoration: none;

    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.overview-footer-cta__btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    filter: brightness(0.98);
}

/* ===============================
   Footer (Diagonal cut is here)
================================ */

.overview-footer {
    position: relative;
    background: #1f2a44;
    color: rgba(255, 255, 255, 0.82);

    /* space so content starts after diagonal */
    /*padding: 140px 0 0; */
    margin-top: 0;
    overflow: hidden;
}

/* Clean diagonal edge like see.jpg */
.overview-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;

    /* pull diagonal upward into CTA area */
    top: -170px;
    height: 240px;

    background: #1f2a44;

    /* diagonal cut (left lower, right higher) */
    clip-path: polygon(0 75%, 100% 10%, 100% 100%, 0 100%);
}

/* Footer top area */
.overview-footer__top {
    padding-bottom: 40px;
    position: relative;
    z-index: 2; /* above the diagonal */
}

/* If you're using image logo somewhere else, keep it */
.overview-footer__logoimg {
    height: 28px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.overview-footer__about {
    max-width: 320px;
    line-height: 1.8;
    opacity: 0.85;
    margin: 0;
}

.overview-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.overview-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 7px 0;
}

.overview-footer__contact a,
.overview-footer__contact span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.overview-footer__about span {
    color: #00967d;
    font-weight: 800;
}

/* Headings */
.overview-footer__h {
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
}

/* Lists */
.overview-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-footer__list li {
    padding: 7px 0;
}

.overview-footer__list a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: color 0.2s ease, transform 0.2s ease;
}

.overview-footer__list a::before {
    content: "›";
    opacity: 0.65;
    transform: translateY(-1px);
}

.overview-footer__list a:hover {
    color: #00967d;
    transform: translateX(2px);
}

/* ===============================
   Bottom bar (FULL-WIDTH LINE)
   NOTE: requires .overview-footer__bottom-wrap in blade
================================ */

/* full-width separator line */
.overview-footer__bottom-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

/* inner content aligned to container */
.overview-footer__bottom {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ensure any old border-top on .overview-footer__bottom doesn't duplicate */
.overview-footer__bottom {
    border-top: none;
}

.overview-footer__copy {
    opacity: 0.8;
    font-size: 13px;
}

.overview-footer__heart {
    color: #ff5a5a;
}

.overview-footer__payments {
    display: flex;
    align-items: center;
    gap: 10px;
}

.overview-footer__payments img {
    height: 18px;
    width: auto;
    display: block;
    opacity: 0.95;
}

/* ===============================
   Responsive
================================ */

@media (max-width: 991.98px) {
    .overview-footer-cta {
        padding: 55px 0 55px;
    }

    .overview-footer {
        padding-top: 115px;
    }

    .overview-footer::before {
        top: -150px;
        height: 215px;
        clip-path: polygon(0 78%, 100% 14%, 100% 100%, 0 100%);
    }

    .overview-footer__about {
        max-width: 100%;
    }

    .overview-footer {
        overflow-x: clip;
    }

    .overview-footer::before {
        left: 0;
        right: 0;
        width: auto;
    }
}

/* =========================================
   NAV: thin line + sticky (UltraMsg style)
========================================= */

:root {
    --ultra-nav-h: 78px; /* adjust if your nav is taller */
}

/* Make nav white, add the thin separator line */
.ultra-nav {
    background: #fff;
    border-bottom: 1px solid #eef2f7; /* the line like see.jpg */
    padding: 6px 0;

    position: sticky;
    top: 0;
    z-index: 1030; /* above content */
}

/* Optional: keep layout consistent across browsers */
.ultra-nav-inner {
    min-height: var(--ultra-nav-h);
}

/* Because nav is now sticky, hero height should account for it */
.ultra-hero-wrap {
    min-height: calc(100vh - var(--ultra-nav-h));
}

/* Small polish so sticky nav feels premium (subtle shadow) */
.ultra-nav {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

/* On scroll, you usually see a slightly stronger shadow on ultramsg.
   If you want that EXACT behavior, add the tiny JS below and keep this. */
.ultra-nav.ultra-nav--scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* =========================================
   Sticky Header + thin line + smooth anchor scroll
========================================= */

:root {
    --ultra-nav-h: 78px; /* adjust if needed */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--ultra-nav-h) + 14px);
}

/* Make anchor jumps offset by sticky nav height */
section[id] {
    scroll-margin-top: calc(var(--ultra-nav-h) + 14px);
}

/* Header */
.ultra-nav {
    background: #fff;
    border-bottom: 1px solid #eef2f7; /* the thin line like ultramsg */
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* default subtle shadow */
.ultra-nav {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

/* shadow on scroll (your JS toggles this class) */
.ultra-nav.ultra-nav--scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* Keep nav height consistent */
.ultra-nav-inner {
    min-height: var(--ultra-nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* anchor for absolute-positioned mobile toggle */
}


/* Desktop menu spacing */
.ultra-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 26px;
    align-items: center;
}

.ultra-menu a {
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    color: #1f2a44;
    padding: 10px 0;
    transition: color 0.18s ease;
}

.ultra-menu a:hover {
    color: #00967d;
}

/* Right block */
.ultra-nav-right {
    display: flex;
    align-items: center;
}

/* Mobile: ensure nav content doesn't break */
@media (max-width: 767.98px) {
    :root {
        --ultra-nav-h: 68px;
    }

    .ultra-nav-inner {
        min-height: var(--ultra-nav-h);
    }

    /* Move only the mobile menu toggle to the top-right without affecting the logo */
    .ultra-menu-toggle {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
}

/* =========================================
   Legal Pages (Privacy Policy / Terms)
   Scoped: .ultra-legal
========================================= */

.ultra-legal {
    padding: 70px 0;
    background: #f8f9fc;
}

.ultra-legal__wrap {
    max-width: 920px;
    margin: 0 auto;
}

.ultra-legal__title {
    font-weight: 900;
    letter-spacing: 0.2px;
    line-height: 1.15;
    margin: 0 0 10px;
}

.ultra-legal__updated {
    opacity: 0.65;
    font-weight: 600;
    margin: 0 0 22px;
}

.ultra-legal__content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 28px;
}

.ultra-legal__content p {
    opacity: 0.85;
    line-height: 1.85;
    margin: 0 0 14px;
}

.ultra-legal__content h2,
.ultra-legal__content h3 {
    font-weight: 800;
    line-height: 1.25;
    margin: 22px 0 10px;
    color: #1f2a44;
}

.ultra-legal__content h2 {
    font-size: 22px;
}
.ultra-legal__content h3 {
    font-size: 18px;
}

.ultra-legal__content a {
    color: #00967d;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.ultra-legal__content a:hover {
    color: #007e69;
    text-decoration: underline;
}

.ultra-legal__content ul,
.ultra-legal__content ol {
    padding-left: 18px;
    margin: 10px 0 16px;
}

.ultra-legal__content li {
    margin: 8px 0;
    opacity: 0.85;
    line-height: 1.8;
}

/* subtle callout style if you use it later */
.ultra-legal__note {
    background: rgba(0, 150, 125, 0.06);
    border: 1px solid rgba(0, 150, 125, 0.18);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 16px 0;
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 767.98px) {
    .ultra-legal {
        padding: 52px 0;
    }
    .ultra-legal__content {
        padding: 18px;
        border-radius: 10px;
    }
    .ultra-legal__title {
        font-size: 26px;
    }
}

/* =========================================================
   UltraMsg Docs Clone (CLEAN / SINGLE SOURCE)
   Updated for 100% semantic match of creds bar
   Paste at END of public/css/overview.css
========================================================= */

/* Page background like UltraMsg */
.ultra-docs--app {
    padding: 0;
    background: #f6f7f9;
    overflow-x: clip;
}
.ultra-docs__app {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 90px);
}

/* =============== SIDEBAR (UltraMsg look) =============== */
.ultra-docs__sidebar--dark {
    flex: 0 0 290px;
    background: #2a3a41;
    color: rgba(255, 255, 255, 0.92);
    padding: 0;
    position: relative;
    top: auto;
    min-height: calc(100vh - var(--ultra-nav-h, 78px));
    height: auto;
    overflow: visible;
}

/* Sidebar header (Documentation) */
.ultra-docs__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0;
}
.ultra-docs__brandDot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #15c39a;
}
.ultra-docs__brandText {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.2px;
    opacity: 0.95;
}

/* Group button row (GET STARTED / MESSAGES / INSTANCE) */
.ultra-docs__navGroup--collapsible {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0;
}

.ultra-docs__navGroupBtn {
    width: 100%;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: 140ms ease;
    border-radius: 0;
    margin: 0;
}
.ultra-docs__navGroupBtn:hover {
    background: rgba(255, 255, 255, 0.04);
}
.ultra-docs__navGroupBtn.is-open {
    background: #22a99a; /* UltraMsg active group bar */
}

.ultra-docs__navGroupBtnText {
    font-weight: 500;
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.92);
}

/* Caret */
.ultra-docs__chev {
    width: 18px;
    height: 18px;
    position: relative;
    opacity: 0.85;
}
.ultra-docs__chev:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 5px;
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(255, 255, 255, 0.65);
    border-bottom: 2px solid rgba(255, 255, 255, 0.65);
    transform: rotate(-45deg);
    transition: 160ms ease;
}
.ultra-docs__navGroupBtn.is-open .ultra-docs__chev:before {
    transform: rotate(45deg);
    top: 4px;
}

/* Collapsible list */
.ultra-docs__navList {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: 200ms ease;
}
.ultra-docs__navList.is-open {
    max-height: 2000px;
}

/* Item links: flat rows (UltraMsg) */
.ultra-docs__navLink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.08);
    transition: 140ms ease;
    border-radius: 0;
    margin: 0;
}
.ultra-docs__navLink:hover {
    background: rgba(0, 0, 0, 0.14);
}
.ultra-docs__navLink.is-active {
    background: rgba(0, 0, 0, 0.22);
    box-shadow: inset 3px 0 0 #22a99a; /* UltraMsg active indicator */
}

.ultra-docs__navLabel {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.3px;
    opacity: 1;
}

/* Method badge: small rectangle */
.ultra-docs__badge {
    min-width: 44px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: 0.4px;
    color: #fff;
    text-transform: uppercase;
}
.ultra-docs__badge--post {
    background: #4caf50;
}
.ultra-docs__badge--get {
    background: #2196f3;
}
.ultra-docs__badge--put {
    background: #ffb300;
}
.ultra-docs__badge--delete {
    background: #f44336;
}

/* =============== MAIN CONTENT AREA =============== */
.ultra-docs__main--app {
    flex: 1;
    min-width: 0;
    padding: 18px 18px 28px;
}
.ultra-docs__mainInner {
    max-width: none;
    width: 100%;
}

/* Title + crumb */
.ultra-docs__title {
    margin: 0 0 10px;
    font-weight: 900;
}
.ultra-docs__crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.ultra-docs__crumbText {
    opacity: 0.7;
    font-weight: 700;
}

/* =========================================================
   CREDENTIALS BAR (100% semantic match)
   Structure:
   [Label][Input]  [Label][Input]  [Save] [Reset]
========================================================= */
.ultra-docs__credsBar {
    margin: 14px 0 16px;
    border: 1px solid #009688;
    background: #e9f7ee;
    border-radius: 3px;
    padding: 12px;
}

/* single row like UltraMsg */
.ultra-docs__credsBarGrid {
    display: grid;
    grid-template-columns: 110px 1fr 70px 1fr auto;
    gap: 14px;
    align-items: center;
}

/* keep labels semantic and visible */
.ultra-docs__credsBarLabel {
    align-self: start;
    padding-top: 6px; /* fine-tune to match input text baseline */
}

.ultra-docs__credsBarInput {
    width: 100%;
    height: 40px;
    border: 1px solid #cfd8dc;
    border-radius: 2px;
    padding: 0 12px;
    background: #fff;
    font-size: 14px;
}

/* buttons on right */
/* buttons on right */
.ultra-docs__credsBarActions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;

    /* ✅ KEY FIX (grid item alignment) */
    align-self: start;

    /* keep your current behavior inside the flex row */
    align-items: center;
}


.ultra-docs__btnSave {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    background: #2d89ef;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: lowercase;
}

.ultra-docs__btnSave:hover {
    background: #2374cc;
    box-shadow: 0 8px 16px rgba(45, 137, 239, 0.18);
    transform: translateY(-1px);
}
.ultra-docs__btnReset {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    background: #ff6a3d;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.ultra-docs__btnReset:hover {
    background: #e0552c;
    box-shadow: 0 8px 16px rgba(255, 106, 61, 0.18);
    transform: translateY(-1px);
}

/* Split layout (left form / right samples) */
.ultra-docs__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}
.ultra-docs__split > .ultra-docs__panel {
    min-height: 620px;
}

/* Panels */
.ultra-docs__panel {
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #009688;
    background: #fff;
}
.ultra-docs__panel--dark {
    background: #2d3b43;
    border-color: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}
.ultra-docs__panelHead {
    padding: 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ultra-docs__panelHead--teal {
    background: #1aa48d;
    color: #fff;
}
.ultra-docs__panelHead--dark {
    background: #2d3b43;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ultra-docs__panelTitle {
    font-weight: 700;
    font-size: 16px;
}
.ultra-docs__panelBody {
    padding: 12px;
}
.ultra-docs__panelBody--dark {
    padding: 0;
    flex: 1;
    display: flex;
    min-height: 0;
}

/* Switch */
/* Switch (Velonic-style) */
.ultra-docs__switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 12px;
    opacity: 0.95;
}

.ultra-docs__switch input {
    display: none;
}

/* Track (OFF = white) */
.ultra-docs__switch i {
    width: 40px;
    height: 20px;
    background: #796b6b;                /* OFF: white */
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    position: relative;
    display: inline-block;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

/* Knob */
.ultra-docs__switch i:after {
    content: "";
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 1px;                           /* align with 1px border */
    left: 1px;
    transition: left 160ms ease, transform 160ms ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* ON = green */
.ultra-docs__switch input:checked + i {
    background: #2bff12;
    border-color: #ffffff;
}

/* Move knob */
.ultra-docs__switch input:checked + i:after {
    left: 21px;                         /* 40 - 16 - (1px*3) => perfect with border */
}

/* Focus/keyboard accessibility */
.ultra-docs__switch input:focus-visible + i {
    box-shadow: 0 0 0 3px rgba(0, 150, 125, 0.22);
}






/* Note */
.ultra-docs__noteBox {
    background: #dff1ff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px;
    border-radius: 3px;
    margin-bottom: 14px;
    color: rgba(0, 0, 0, 0.8);
}

/* Form rows */
.ultra-docs__fieldRow {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
}
.ultra-docs__fieldLabel {
    font-weight: 900;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.7);
    padding-top: 10px;
}
.ultra-docs__fieldInput {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 2px;
    padding: 10px 10px;
    background: #fff;
}
.ultra-docs__fieldHelp {
    font-size: 12px;
    opacity: 0.65;
    margin-top: 6px;
}
.ultra-docs__sendRow {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}
.ultra-docs__btnSend {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    background: #1fb39c;
    color: #fff;
    font-weight: 900;
}

/* Tabs */
.ultra-docs__tabs {
    margin-top: 14px;
}
.ultra-docs__tabBar {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.ultra-docs__tab {
    border: 0;
    background: transparent;
    padding: 10px 14px;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    opacity: 0.65;
}
.ultra-docs__tab.is-active {
    opacity: 1;
    border-bottom: 2px solid #00967d;
}
.ultra-docs__tabPanel {
    display: none;
    padding-top: 12px;
}
.ultra-docs__tabPanel.is-active {
    display: block;
}

.ultra-docs__monoTitle {
    background: #eaf7ef;
    color: #2f7d57;
    font-weight: 400;
    padding: 12px 14px;
    border: 1px solid #c6dfd1;
    font-size: 14px;
}
.ultra-docs__monoBlock {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background: #fff;
    padding: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
}

/* Right panel samples container */
.ultra-docs__panel--dark .ultra-docs__samples {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.ultra-docs__samplesBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #2d3b43;
}
.ultra-docs__samplesTabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.ultra-docs__samplesTab {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 900;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 140ms ease;
}
.ultra-docs__samplesTab:hover {
    background: rgba(255, 255, 255, 0.08);
}
.ultra-docs__samplesTab.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.ultra-docs__copyBtn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 140ms ease;
    white-space: nowrap;
}
.ultra-docs__copyBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.ultra-docs__copyBtn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.ultra-docs__samplesViewport {
    flex: 1;
    min-height: 0;
    overflow: auto;
    background: #2d3b43;
    padding: 12px;
    display: flex;
    flex-direction: column;
}
.ultra-docs__samplesPane {
    display: none;
    flex: 1;
    min-height: 0;
}
.ultra-docs__samplesPane.is-active {
    display: flex;
    flex: 1;
    min-height: 0;
}
.ultra-docs__samplesPre {
    flex: 1;
    width: 100%;
    min-height: 100%;
    overflow: auto;
    background: #26323a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 14px;
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}
.ultra-docs__samplesPre code.hljs {
    background: transparent !important;
    padding: 0 !important;
}

/* =========================================================
   UltraMsg MATCH OVERRIDES (to make widths/fonts/tabs identical)
   Keep these at the very bottom.
========================================================= */

/* Force full width (avoid Bootstrap .container max widths) */
.ultra-docs--app .container,
.ultra-docs--app .container-fluid {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Make sure the sidebar width stays exactly like UltraMsg */
.ultra-docs__sidebar--dark {
    width: 290px !important;
}

/* Font sizing match (UltraMsg title is not huge) */
.ultra-docs__title {
    font-size: 20px !important;
    line-height: 1.2 !important;
}
.ultra-docs__crumbText {
    font-size: 13px !important;
}

/* Tabs width/spacing match */
.ultra-docs__tabBar {
    gap: 0 !important;
}
.ultra-docs__tab {
    min-width: 92px;
}

/* Responsive */
@media (max-width: 1100px) {
    .ultra-docs__split {
        grid-template-columns: 1fr;
    }
    .ultra-docs__panelBody--dark {
        padding: 12px;
    }
}

/* IMPORTANT: creds bar must remain flex/grid consistent on mobile */
@media (max-width: 900px) {
    .ultra-docs__app {
        flex-direction: column;
        min-height: auto;
    }
    .ultra-docs__sidebar--dark {
        position: relative;
        top: auto;
        height: auto;
        width: 100% !important;
    }
    .ultra-docs__fieldRow {
        grid-template-columns: 1fr;
    }

    .ultra-docs__credsBarGrid {
        grid-template-columns: 1fr;
    }
    .ultra-docs__credsBarLabel {
        line-height: normal;
    }
}

/* =========================================================
   UltraMsg EXACT TITLE BAR (with bulb icon)
========================================================= */

.ultra-docs__titleWrap {
    display: flex;
    align-items: center;
    gap: 10px;

    background: #f5f5f5; /* UltraMsg exact grey */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    padding: 16px 18px 14px; /* taller than breadcrumb */
    margin: 0;
}

.ultra-docs__titleIcon {
    font-size: 18px; /* matches UltraMsg bulb */
    line-height: 1;
    flex: 0 0 auto;
}

.ultra-docs__title {
    margin: 0;
    font-size: 18px; /* UltraMsg title size */
    font-weight: 600; /* NOT bold */
    line-height: 1.4;
    color: #263238;
}

/* UltraMsg breadcrumb line */
.ultra-docs__breadcrumbLine {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    margin: 0 0 12px;
}
.ultra-docs__breadcrumb {
    display: flex;
    align-items: center;
    font-size: 13px;
}
.ultra-docs__breadcrumbItem {
    color: rgba(0, 0, 0, 0.65);
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 600;
    position: relative;
    padding-right: 12px;
    margin-right: 12px;
}
.ultra-docs__breadcrumbItem:hover {
    color: rgba(0, 0, 0, 0.85);
}
.ultra-docs__breadcrumbItem:not(.ultra-docs__breadcrumbItem--badge):not(
        .ultra-docs__breadcrumbItem--active
    )::after {
    content: "/";
    position: absolute;
    right: -2px;
    top: 0;
    color: rgba(0, 0, 0, 0.35);
    font-weight: 700;
}
.ultra-docs__breadcrumbItem--active {
    color: rgba(0, 0, 0, 0.85);
    font-weight: 700;
    margin-right: 0;
    padding-right: 0;
}
.ultra-docs__breadcrumbItem--active::after {
    content: "";
}
.ultra-docs__breadcrumbItem--badge {
    padding-right: 10px;
    margin-right: 10px;
}
.ultra-docs__badge--crumb {
    height: 20px;
    min-width: 44px;
    font-size: 11px;
    border-radius: 2px;
}

/* Sidebar icon gap (needs icon wrapper) */
.ultra-docs__navGroupBtnText {
    display: flex;
    align-items: center;
}

.ultra-docs__navIconWrap {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px; /* the gap */
}

.ultra-docs__navGroupIcon {
    font-size: 16px;
    line-height: 1;
    opacity: 0.9;
}

.ultra-docs__navText {
    white-space: nowrap;
}

/* Copy button should be on the RIGHT side of the CODE area */
.ultra-docs__samplesViewport--withCopy {
    position: relative;
}
.ultra-docs__copyBtn--inCode {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
}

/* Dropdown wrapper + caret */
.ultra-docs__samplesDropdown {
    position: relative;
    display: inline-block;
}
.ultra-docs__samplesTab--dd {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ultra-docs__ddCaret {
    width: 0;
    height: 0;
    margin-top: 1px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.65);
}

/* Prevent global ".is-active" rules from changing layout/font in samples header */
.ultra-docs__samplesBar .ultra-docs__samplesDropdown.is-active,
.ultra-docs__samplesBar .ultra-docs__samplesTab.is-active,
.ultra-docs__samplesBar .ultra-docs__ddItem.is-active {
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    height: auto !important;
    min-height: unset !important;
}

/* Base tab */
.ultra-docs__samplesBar .ultra-docs__samplesTab {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.ultra-docs__samplesBar .ultra-docs__samplesTab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Active tab */
.ultra-docs__samplesBar .ultra-docs__samplesTab.is-active {
    font-weight: 600 !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.ultra-docs__samplesBar .ultra-docs__samplesDropdown.is-active {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    font-weight: inherit !important;
}
.ultra-docs__samplesBar .ultra-docs__samplesTab.is-active .ultra-docs__ddCaret {
    border-top-color: rgba(255, 255, 255, 0.85);
}

/* Dropdown menu */
.ultra-docs__ddMenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 190px;
    display: none;
    z-index: 9999;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 6px 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.ultra-docs__ddMenu.is-open {
    display: block;
}

.ultra-docs__ddItem {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #333;
    padding: 10px 14px;
    font: inherit;
    letter-spacing: 0.2px;
    text-transform: none;
}
.ultra-docs__ddItem:hover {
    background: #f2f4f7;
}
.ultra-docs__ddItem.is-active {
    background: #e9eef3;
    font-weight: 600;
}


/* If RESPONSE tab is active → remove border */
.ultra-docs__tabBar:has(.ultra-docs__tab[data-tab="response"].is-active) {
    border-bottom: 0;
}

/* If REQUEST tab is active → restore border */
.ultra-docs__tabBar:has(.ultra-docs__tab[data-tab="request"].is-active) {
    border-bottom: 1px solid #e5e7eb;
}


/* Keep samples note pinned to bottom and prevent jumping during fetch */
.ultra-docs__panelBody--dark.ultra-docs__samplesWrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Make the codemirror/samples area take the remaining height */
.ultra-docs__panelBody--dark.ultra-docs__samplesWrap .ultra-docs__samples {
    flex: 1 1 auto;
    min-height: 0; /* IMPORTANT: enables proper scrolling inside flex */
}

/* Note stays at bottom, never moves */
.ultra-docs__samplesNote {
    flex: 0 0 auto;
    margin-top: 12px;
}

/* If your code viewport uses scrolling, keep it stable */
.ultra-docs__samplesViewport {
    min-height: 220px;
}



.ultra-docs__samplesWrap {
    padding-bottom: 12px;
}





.ultra-spin { display:inline-block; animation: ultraSpin .9s linear infinite; }
@keyframes ultraSpin { to { transform: rotate(360deg); } }

/* Optional: make dots look intentional (no style break) */
.is-loading span { letter-spacing: 0.12em; opacity: 0.85; }






/* ===== Creds bar: reserve space for validation text (prevents layout jump) ===== */
.ultra-docs__credsBarGrid .invalid-feedback {
    display: block;          /* keep it as a block line */
    min-height: 14px;        /* reserve 1 line space even when empty */
    margin-top: 4px;         /* small gap under input */
    line-height: 14px;
    font-size: 12px;
}

/* Keep it stable even if Velonic overrides in dark areas */
.ultra-docs__credsBarGrid .invalid-feedback.d-block {
    min-height: 14px;
}

/* Optional: don’t let long messages expand the bar */
.ultra-docs__credsBarGrid .invalid-feedback {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* ================================
   Velonic-style validation states
   for docs inputs
   ================================ */

/* ❌ Error (red) */
.ultra-docs__credsBarInput.is-invalid {
    border-color: #dc3545; /* Bootstrap danger */
    background-image: none;
}

.ultra-docs__credsBarInput.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

/* ✅ Success (green) */
.ultra-docs__credsBarInput.is-valid {
    border-color: #198754; /* Bootstrap success */
    background-image: none;
}

.ultra-docs__credsBarInput.is-valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.25);
}


/* ================================
   Velonic-style validation for docs endpoint fields
   ================================ */

/* ❌ Error (red) */
.ultra-docs__fieldInput.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.ultra-docs__fieldInput.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

/* ✅ Success (green) */
.ultra-docs__fieldInput.is-valid {
    border-color: #198754;
    background-image: none;
}

.ultra-docs__fieldInput.is-valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.25);
}


/* Prevent layout jump in endpoint form when errors show/hide */
.ultra-docs__fieldRow .invalid-feedback {
    display: block;        /* keep as a real line */
    min-height: 14px;      /* reserve one line */
    margin-top: 4px;
    line-height: 14px;
    font-size: 12px;
}

/* Optional: keep long messages from expanding the row */
.ultra-docs__fieldRow .invalid-feedback {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ultra-docs__responsePre{
    min-height: 260px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* White border for tabs content */
.tab-content.border {
    border-color: #ffffff !important;
}

/* Force rectangular edges for card headers */
.card-header {
    border-radius: 0 !important;
}
#docs-sidebar::after {
    content: "";
    display: block;
    height: 240px; /* ≈ 4 menu rows */
}


/* =========================================================
   WhatsApp LIGHT theme – Mobile Offcanvas Menu
   ========================================================= */

/* Offcanvas background */
.ultra-offcanvas {
    background: #ffffff;
    color: #1f2937; /* neutral dark text */
}

/* Header */
.ultra-offcanvas .offcanvas-header {
    border-bottom: 1px solid #e5e7eb;
}

.ultra-offcanvas .offcanvas-title {
    color: #075E54; /* WhatsApp dark green */
    font-weight: 700;
}

/* Close button (normal light mode) */
.ultra-offcanvas .btn-close {
    opacity: .6;
}
.ultra-offcanvas .btn-close:hover {
    opacity: 1;
}

/* Divider */
.ultra-offcanvas hr {
    border-color: #e5e7eb;
    opacity: 1;
}

/* Menu buttons (HOME, HOW IT WORKS, etc.) */
.ultra-offcanvas .btn.btn-soft-dark {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #111827;
    border-radius: 12px;
    padding: .75rem 1rem;
    font-weight: 600;
    transition: all .18s ease;
}

.ultra-offcanvas .btn.btn-soft-dark:hover,
.ultra-offcanvas .btn.btn-soft-dark:focus {
    background: #ecfdf3;                 /* WhatsApp green tint */
    border-color: #25D366;
    color: #065f46;
    transform: translateY(-1px);
}

/* Primary CTA (SIGN IN / DASHBOARD) */
.ultra-offcanvas .btn.btn-success {
    background: #25D366;                 /* WhatsApp green */
    border-color: #25D366;
    color: #ffffff;
    font-weight: 700;
    border-radius: 12px;
    padding: .8rem 1rem;
    transition: background .18s ease, transform .18s ease;
}

.ultra-offcanvas .btn.btn-success:hover,
.ultra-offcanvas .btn.btn-success:focus {
    background: #1ebe5d;                 /* slightly darker */
    border-color: #1ebe5d;
    transform: translateY(-1px);
}

.ultra-offcanvas .btn.btn-success[data-signin-loading] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ultra-offcanvas .btn.btn-success[data-signin-loading].is-loading {
    pointer-events: none;
}

.ultra-offcanvas .btn.btn-success[data-signin-loading].is-loading .spinner-border {
    width: 0.95rem;
    height: 0.95rem;
    border-width: 0.14em;
}

.ultra-offcanvas .offcanvas-body {
    padding-bottom: 240px;
}


/* --------------------------------------------------------------------------
| AUTH: prevent layout jump when validation messages appear/disappear
| - Keeps form layout stable on login/register when .invalid-feedback is injected
| - Uses reserved padding + absolute positioning for feedback text
|-------------------------------------------------------------------------- */
section.bg-white .ajax-form-submit .mb-3{
    position: relative;
    padding-bottom: 22px; /* reserved space for one-line feedback */
}

section.bg-white .ajax-form-submit .mb-3 > .invalid-feedback{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    display: block !important; /* override Bootstrap default (display:none) */
    line-height: 1.2;
}

/* If feedback is not present, the reserved padding prevents a jump.
   If feedback is present but hidden by JS, keep spacing stable. */
section.bg-white .ajax-form-submit .mb-3 > .invalid-feedback[style*="display: none"]{
    display: block !important;
    visibility: hidden !important;
}

/* Optional: if message wraps to 2 lines, reserve more space */
@media (max-width: 576px){
    section.bg-white .ajax-form-submit .mb-3{
        padding-bottom: 28px;
    }
}
.auth-section {
    background-color: #f8f9fc;
}

/* AUTH FORMS (login/register) */
/* Keep login/register stable when validation messages appear/disappear */
.auth-section {
    background-color: #f8f9fc;
}

/* Reserve space for inline field errors to prevent layout jump */
.auth-section .mb-3 {
    position: relative;
    padding-bottom: 20px; /* reserved area for .invalid-feedback */
}

.auth-section .mb-3 > .invalid-feedback {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
}

/* If invalid-feedback is toggled by JS, keep it from collapsing spacing */
.auth-section .mb-3 > .invalid-feedback[style*="display: none"] {
    display: block !important;
    visibility: hidden !important;
}

/* Messages container used by includes.show-message (if present) */
.auth-section .display-messages {
    min-height: 44px;
}

/* Mobile: reduce vertical gaps in auth forms by disabling always-reserved error space */
@media (max-width: 767.98px) {
    .auth-section .ajax-form-submit .mb-3 {
        padding-bottom: 0;
        margin-bottom: 0.85rem !important;
    }

    .auth-section .ajax-form-submit .mb-3 > .invalid-feedback {
        position: static;
        margin-top: 0.35rem;
    }

    .auth-section .ajax-form-submit .mb-3 > .invalid-feedback[style*="display: none"] {
        display: none !important;
        visibility: hidden !important;
    }

}


.ultra-logo-text--white {
    color: #ffffff !important;
}


.ultra-logo-text--black {
    color: black !important;
}

/* =========================================================
   Docs Mobile Nav (separate global header + docs sidebar)
========================================================= */
.ultra-docs__mobileToolbar {
    margin: 2px 0 10px;
}

.ultra-docs__mobileSidebarBtn {
    width: 100%;
    height: 42px;
    border: 1px solid #cfd8dc;
    border-radius: 10px;
    background: #ffffff;
    color: #17313a;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ultra-docs__mobileSidebarBtn i {
    font-size: 18px;
    line-height: 1;
}

.ultra-docs__mobileHead {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #24343b;
}

.ultra-docs__mobileHead h5 {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    margin: 0;
}

.ultra-docs__footer {
    margin: 1rem -18px -28px;
}

@media (max-width: 767.98px) {
    .ultra-docs__app {
        display: block;
        min-height: auto;
    }

    .ultra-docs__main--app {
        padding: 12px 12px 20px;
    }

    .ultra-docs__footer {
        margin: 1rem -12px -20px;
    }

    .ultra-docs__sidebar--dark {
        position: fixed !important;
        left: 0;
        bottom: 0;
        top: var(--ultra-nav-h, 78px);
        height: calc(100dvh - var(--ultra-nav-h, 78px));
        width: min(88vw, 330px) !important;
        max-width: 330px;
        border-right: 0;
        z-index: 1046;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform 220ms ease;
    }

    .ultra-docs__sidebar--dark.is-open {
        transform: translateX(0);
    }

    .ultra-docs__sidebarBackdrop {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--ultra-nav-h, 78px);
        bottom: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 180ms ease;
        z-index: 1045;
    }

    .ultra-docs__sidebarBackdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

    body.docs-sidebar-open {
        overflow: hidden;
    }
}





