/*--------------------------------------------------------------
 SIPCore theme for Ienet. Load AFTER ienet.css.
 Palette is a proposal (blue + navy). To use SIPCore's exact
 brand colors, change the four values marked <--.
--------------------------------------------------------------*/
:root {
    --ienet-base: #2563EB; /* <-- primary */
    --ienet-base-rgb: 37, 99, 235;
    --ienet-black: #0B1B3A; /* <-- dark navy */
    --ienet-black-rgb: 11, 27, 58;
    --ienet-black2: #07122B;
    --ienet-black2-rgb: 7, 18, 43;
    --ienet-gray: #F3F6FB;
    --ienet-gray-rgb: 243, 246, 251;
    --ienet-text: #5B6475;
    --ienet-text-rgb: 91, 100, 117;
    --ienet-text-dark: #9AA7BD;
    --ienet-text-dark-rgb: 154, 167, 189;
    --ienet-border-color: #DDE4EF;
    --ienet-border-color-rgb: 221, 228, 239;
}

/* Decorative PNGs from the template have the old red baked in */
.main-slider-three__shape-one, .main-slider-three__shape-two,
.packages-three__shape-left, .packages-three__shape-right,
.cta-three__shape-one, .cta-three__shape-two,
.main-footer__shape-one, .main-footer__shape-two,
.service-one__item__shape {
    display: none !important;
}

/* Hero: workspace card */
.sc-hero-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 26px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(var(--ienet-black-rgb), .18);
}

    .sc-hero-card h4 {
        margin: 0 0 16px;
        font-size: 26px;
    }

.sc-hc-hello {
    margin: 0;
    font-size: 14px;
}

.sc-hc-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

    .sc-hc-top b {
        flex: 1;
        color: var(--ienet-black);
    }

    .sc-hc-top em {
        font-style: normal;
        font-size: 13px;
        font-weight: 600;
        color: #16a34a;
    }

.sc-hc-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ienet-base);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.sc-hc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

    .sc-hc-stats div {
        background: var(--ienet-gray);
        border-radius: 14px;
        padding: 12px;
        font-size: 13px;
        line-height: 1.3;
    }

    .sc-hc-stats b {
        display: block;
        font-size: 24px;
        color: var(--ienet-base);
    }

.sc-hc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid var(--ienet-border-color);
    border-radius: 14px;
}

    .sc-hc-row > i {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(var(--ienet-base-rgb), .12);
        color: var(--ienet-base);
        display: grid;
        place-items: center;
    }

    .sc-hc-row div {
        flex: 1;
        line-height: 1.3;
    }

    .sc-hc-row b {
        display: block;
        font-size: 15px;
        color: var(--ienet-black);
    }

    .sc-hc-row span {
        font-size: 13px;
    }

    .sc-hc-row em {
        font-style: normal;
        font-weight: 700;
        color: var(--ienet-base);
    }

/* About: screenshot shown whole, no cloud mask */

/* Footer: JPEG logo on a white chip */
.main-footer__middle > a img {
    background: #fff;
    padding: 8px 14px;
    border-radius: 12px;
}

/* Section copy */
.sc-sub {
    max-width: 640px;
    margin: -20px auto 50px;
    text-align: center;
}

/* Tools */
.sc-tools {
    padding: 120px 0;
}

.sc-tool-grid, .sc-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sc-tool {
    padding: 34px 30px;
    background: #fff;
    border: 1px solid var(--ienet-border-color);
    border-radius: 24px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

    .sc-tool:hover {
        transform: translateY(-6px);
        border-color: var(--ienet-base);
        box-shadow: 0 24px 60px rgba(var(--ienet-black-rgb), .1);
    }

.sc-tool-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 18px;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(135deg, var(--ienet-base), var(--ienet-black));
}

.sc-tool h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.sc-tool p {
    margin: 0;
}

/* Pricing */
.sc-pricing {
    padding: 120px 0;
    background: var(--ienet-gray);
}

.sc-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--ienet-border-color);
    border-radius: 24px;
    transition: transform .3s, box-shadow .3s;
}

    .sc-price-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 60px rgba(var(--ienet-black-rgb), .14);
    }

    .sc-price-card h4 {
        margin: 0 0 6px;
        font-size: 22px;
    }

.sc-price {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--ienet-black);
}

    .sc-price small {
        margin-left: 4px;
        font-size: 16px;
        font-weight: 500;
        color: var(--ienet-text);
    }

.sc-users {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 14px 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ienet-border-color);
    font-weight: 600;
    color: var(--ienet-black);
}

    .sc-users i {
        color: var(--ienet-base);
    }

    .sc-users em {
        margin-left: auto;
        font-size: 13px;
        font-style: normal;
        font-weight: 500;
        color: var(--ienet-text);
    }

.sc-price-card ul {
    flex: 1;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.sc-price-card li {
    display: flex;
    gap: 10px;
    padding: 5px 0;
}

    .sc-price-card li span {
        margin-top: 6px;
        font-size: 13px;
        color: var(--ienet-base);
    }

.sc-price-card .ienet-btn {
    width: 100%;
}

.sc-price-card.is-popular {
    background: var(--ienet-black);
    border-color: var(--ienet-black);
    color: var(--ienet-text-dark);
    box-shadow: 0 24px 60px rgba(var(--ienet-black-rgb), .25);
}

.is-popular h4, .is-popular .sc-price, .is-popular .sc-users {
    color: #fff;
}

    .is-popular .sc-price small, .is-popular .sc-users em {
        color: var(--ienet-text-dark);
    }

.is-popular .sc-users {
    border-color: rgba(255,255,255,.14);
}

.sc-badge {
    position: absolute;
    top: -14px;
    left: 32px;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--ienet-base);
}

.sc-price-note {
    margin: 40px 0 0;
    text-align: center;
}

/* Dark section: phone screenshot */
.feature-three__box__icon {
    top: 0;
    bottom: auto;
}

/* Apps panel */
.sc-get-app {
    padding: 48px 40px;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(135deg, var(--ienet-base), var(--ienet-black));
    box-shadow: 0 30px 70px rgba(var(--ienet-black-rgb), .25);
}

    .sc-get-app h3 {
        margin: 0 0 20px;
        font-size: 30px;
        color: #fff;
    }

.sc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

    .sc-chips span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-radius: 100px;
        font-weight: 600;
        background: rgba(255,255,255,.14);
    }

.sc-get-app img {
    height: 52px;
    margin: 0 10px 10px 0;
}


@media (max-width: 991px) {
    .sc-tool-grid, .sc-price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sc-tool-grid, .sc-price-grid {
        grid-template-columns: 1fr;
    }

    .sc-tools, .sc-pricing {
        padding: 80px 0;
    }
}

/* Taglines: keep split-text characters inline */
.sec-title__tagline div {
    display: inline-block !important;
}

/* Hero: product shot + floating activity cards */
.sc-hero-shot {
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-46%);
    width: 60%;
    max-width: 640px;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 40px 90px rgba(0,0,0,.45);
}

    .sc-hero-shot::before {
        content: "";
        display: block;
        height: 34px;
        background: radial-gradient(circle at 18px 17px, #ff5f57 5px, transparent 6px), radial-gradient(circle at 38px 17px, #febc2e 5px, transparent 6px), radial-gradient(circle at 58px 17px, #28c840 5px, transparent 6px), #EEF2F8;
    }

    .sc-hero-shot img {
        display: block;
        width: 100%;
    }

.sc-toast {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 14px 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    animation: movebounce3 4s linear infinite;
}

    .sc-toast i {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        background: #16a34a;
    }

    .sc-toast b {
        display: block;
        line-height: 1.2;
        color: var(--ienet-black);
    }

    .sc-toast span {
        font-size: 13px;
        color: var(--ienet-text);
    }

.sc-toast--call {
    right: 50px;
    top: 20%;
}

.sc-toast--ok {
    left: 60px;
    bottom: 15%;
    animation-delay: 1.2s;
}

    .sc-toast--ok i {
        background: var(--ienet-base);
    }

/* About: workspace card */
.sc-about-card {
    padding: 50px 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(var(--ienet-base-rgb), .14), rgba(var(--ienet-black-rgb), .06));
}

/* ===== Dark section: lead, floating cards, stats ===== */
.sc-lead {
    margin: -10px 0 34px;
    color: var(--ienet-text-dark);
}

.feature-three .row > .col-lg-6:last-child {
    text-align: center;
}

.sc-toast--b {
    right: -20px;
    bottom: 12%;
    animation-delay: 1.2s;
}

    .sc-toast--b i {
        background: #16a34a;
    }

.sc-toast {
    text-align: left;
}

.sc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,.12);
}

    .sc-stats b {
        display: block;
        font-size: 40px;
        font-weight: 700;
        line-height: 1.1;
        color: #fff;
    }

    .sc-stats span {
        color: var(--ienet-text-dark);
    }

@media (max-width: 767px) {
    .sc-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc-toast--b {
        right: 0;
    }
}

/* ===== Apps panel: CSS device mockups ===== */
.sc-devices {
    position: relative;
    height: 270px;
    margin-bottom: 34px;
}

.sc-laptop {
    position: absolute;
    left: 0;
    top: 10px;
    width: 78%;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

.sc-l-bar {
    height: 26px;
    background: radial-gradient(circle at 14px 13px, #ff5f57 4px, transparent 5px), radial-gradient(circle at 30px 13px, #febc2e 4px, transparent 5px), radial-gradient(circle at 46px 13px, #28c840 4px, transparent 5px), #EEF2F8;
}

.sc-l-body {
    display: flex;
    height: 190px;
}

.sc-l-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 56px;
    padding: 14px 12px;
    background: var(--ienet-gray);
}

    .sc-l-side u {
        display: block;
        height: 10px;
        border-radius: 5px;
        background: var(--ienet-border-color);
    }

.sc-l-main {
    flex: 1;
    padding: 16px;
}

.sc-l-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.sc-l-tile {
    height: 46px;
    border-radius: 10px;
    background: rgba(var(--ienet-base-rgb), .16);
}

.sc-l-line {
    height: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background: var(--ienet-border-color);
}

    .sc-l-line.short {
        width: 60%;
    }

.sc-phone-mock {
    position: absolute;
    right: 4%;
    bottom: 0;
    width: 30%;
    min-width: 132px;
    height: 250px;
    padding: 12px 10px;
    border: 6px solid var(--ienet-black2);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.sc-m-top {
    width: 40%;
    height: 10px;
    margin: 0 auto 14px;
    border-radius: 5px;
    background: var(--ienet-border-color);
}

.sc-m-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

    .sc-m-row span {
        flex: 0 0 28px;
        height: 28px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--ienet-base);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
    }

    .sc-m-row i {
        flex: 1;
        height: 8px;
        border-radius: 4px;
        background: var(--ienet-border-color);
    }

    .sc-m-row em {
        font-style: normal;
        font-size: 11px;
        color: #16a34a;
    }

/* ===== Onboarding page ===== */
[hidden] {
    display: none !important;
}

.sc-ob-hero {
    padding: 210px 0 90px;
    background: linear-gradient(135deg, var(--ienet-black), var(--ienet-black2));
    color: #cbd5e8;
}

.sc-ob-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sc-ob-hero h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: 58px;
    line-height: 1.15;
    color: #fff;
}

    .sc-ob-hero h1 span {
        color: #8DB0FF;
    }

.sc-ob-hero p {
    max-width: 620px;
    margin: 0;
    font-size: 18px;
}

.sc-ob {
    padding: 80px 0 120px;
    background: var(--ienet-gray);
}

.sc-ob-side {
    position: sticky;
    top: 110px;
}

.sc-steps {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

    .sc-steps li {
        position: relative;
        display: flex;
        gap: 16px;
        padding: 14px 0;
    }

        .sc-steps li:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 19px;
            top: 56px;
            bottom: -4px;
            width: 2px;
            background: var(--ienet-border-color);
        }

    .sc-steps b {
        flex: 0 0 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 2px solid var(--ienet-border-color);
        border-radius: 50%;
        background: #fff;
        color: var(--ienet-text);
        font-weight: 700;
    }

    .sc-steps li.is-active b {
        border-color: var(--ienet-base);
        background: var(--ienet-base);
        color: #fff;
    }

    .sc-steps li.is-done b {
        border-color: var(--ienet-black);
        background: var(--ienet-black);
        color: #fff;
    }

    .sc-steps h5 {
        margin: 0 0 2px;
        font-size: 17px;
    }

    .sc-steps p {
        margin: 0;
        font-size: 14px;
    }

.sc-ob-card {
    margin-top: 16px;
    padding: 24px;
    border: 1px solid var(--ienet-border-color);
    border-radius: 20px;
    background: #fff;
}

    .sc-ob-card h5 {
        margin: 0 0 8px;
        font-size: 17px;
    }

        .sc-ob-card h5 i {
            margin-right: 6px;
            color: var(--ienet-base);
        }

    .sc-ob-card p {
        margin: 0;
        font-size: 15px;
    }

.sc-ob-form {
    padding: 48px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(var(--ienet-black-rgb), .08);
}

.sc-panel {
    display: none;
}

    .sc-panel.is-active {
        display: block;
    }

    .sc-panel h2 {
        margin: 0 0 12px;
        font-size: 34px;
    }

.sc-ob-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 18px;
    background: rgba(var(--ienet-base-rgb), .12);
    color: var(--ienet-base);
    font-size: 26px;
}

    .sc-ob-icon.sc-ok {
        background: #dcfce7;
        color: #16a34a;
    }

.sc-kicker {
    margin: 0 0 8px;
    color: var(--ienet-base);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sc-f {
    display: block;
    margin: 22px 0 0;
}

    .sc-f span {
        display: block;
        margin-bottom: 8px;
        font-size: 15px;
        font-weight: 600;
        color: var(--ienet-black);
    }

    .sc-f input, .sc-f select {
        width: 100%;
        height: 56px;
        padding: 0 18px;
        border: 1px solid var(--ienet-border-color);
        border-radius: 12px;
        background: #fff;
        color: var(--ienet-black);
        font: inherit;
        outline: none;
        transition: border-color .2s, box-shadow .2s;
    }

        .sc-f input:focus, .sc-f select:focus {
            border-color: var(--ienet-base);
            box-shadow: 0 0 0 4px rgba(var(--ienet-base-rgb), .15);
        }

        .sc-f input[readonly] {
            background: var(--ienet-gray);
        }

.has-error {
    border-color: #dc2626 !important;
}

.sc-hv {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px dashed var(--ienet-border-color);
    border-radius: 12px;
    background: var(--ienet-gray);
    color: var(--ienet-text);
}

.sc-ref {
    margin: 28px 0;
    padding: 24px;
    border-radius: 16px;
    background: var(--ienet-gray);
    text-align: center;
}

    .sc-ref span {
        display: block;
        font-size: 14px;
    }

    .sc-ref strong {
        font-size: 32px;
        letter-spacing: .06em;
        color: var(--ienet-black);
    }

/* Onboarding: form details */
.sc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.sc-panel > .ienet-btn, #gate-email .ienet-btn, #gate-otp .ienet-btn {
    margin-top: 28px;
}

.sc-wide {
    width: 100%;
    margin-top: 24px;
    padding: 16px 30px;
}

.sc-group {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 4px 0 6px;
}

    .sc-group > span {
        flex: 0 0 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: rgba(var(--ienet-base-rgb), .12);
        color: var(--ienet-base);
        font-weight: 700;
    }

    .sc-group h2 {
        margin: 0 0 4px;
        font-size: 24px;
    }

    .sc-group p {
        margin: 0;
        font-size: 15px;
    }

.sc-divider {
    height: 1px;
    margin: 38px 0 32px;
    background: var(--ienet-border-color);
}

.sc-err {
    display: block;
    min-height: 0;
    margin-top: 5px;
    font-style: normal;
    font-size: 13px;
    color: #dc2626;
}

.sc-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--ienet-text);
}

.sc-domain {
    display: flex;
    align-items: center;
    border: 1px solid var(--ienet-border-color);
    border-radius: 12px;
    overflow: hidden;
}

    .sc-domain:focus-within {
        border-color: var(--ienet-base);
        box-shadow: 0 0 0 4px rgba(var(--ienet-base-rgb), .15);
    }

    .sc-domain input {
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0;
    }

    .sc-domain em {
        padding: 0 16px;
        height: 56px;
        display: grid;
        place-items: center;
        background: var(--ienet-gray);
        font-style: normal;
        font-weight: 600;
        white-space: nowrap;
        color: var(--ienet-text);
    }

.sc-verified {
    position: relative;
}

    .sc-verified input {
        padding-right: 110px;
        background: var(--ienet-gray);
    }

    .sc-verified b {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        font-size: 13px;
        color: #15803d;
    }

.sc-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--ienet-gray);
}

    .sc-consent p {
        margin: 0;
        font-size: 15px;
    }

.sc-sent {
    margin: 22px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--ienet-gray);
}

    .sc-sent span, .sc-sent strong {
        display: block;
    }

    .sc-sent span {
        margin-bottom: 3px;
        font-size: 13px;
    }

    .sc-sent strong {
        word-break: break-word;
        color: var(--ienet-black);
    }

.sc-otp {
    font-size: 24px !important;
    font-weight: 700;
    letter-spacing: 8px;
    text-align: center;
}

.sc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 18px;
}

    .sc-links a {
        font-size: 14px;
        font-weight: 700;
    }

.sc-alert {
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
}

    .sc-alert.is-ok {
        background: #f0fdf4;
        color: #166534;
        border: 1px solid #bbf7d0;
    }

    .sc-alert.is-bad {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

@media (max-width: 991px) {
    .sc-ob-side {
        position: static;
    }

    .sc-ob-hero h1 {
        font-size: 40px;
    }

    .sc-ob-form {
        padding: 30px 22px;
    }

    .sc-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Razor form support (shared by Onboarding and Contact) ===== */
.sc-gate h2 {
    margin: 0 0 12px;
    font-size: 34px;
}

.sc-gate .ienet-btn {
    margin-top: 28px;
}

.sc-gate .sc-links form {
    display: inline;
}

.sc-links button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ienet-base);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.sc-f .sc-err, .sc-err {
    display: block;
    margin: 5px 0 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #dc2626;
}

.input-validation-error {
    border-color: #dc2626 !important;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 15px;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 18px;
    }

.sc-f textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px 18px;
    border: 1px solid var(--ienet-border-color);
    border-radius: 12px;
    background: #fff;
    color: var(--ienet-black);
    font: inherit;
    outline: none;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}

    .sc-f textarea:focus {
        border-color: var(--ienet-base);
        box-shadow: 0 0 0 4px rgba(var(--ienet-base-rgb), .15);
    }

/* ===== Contact page ===== */
.sc-contact-panel {
    position: sticky;
    top: 110px;
    padding: 44px 36px;
    border-radius: 28px;
    color: #d6e0f5;
    background: linear-gradient(160deg, var(--ienet-black), var(--ienet-black2) 55%, rgba(var(--ienet-base-rgb), .9) 170%);
    box-shadow: 0 30px 70px rgba(var(--ienet-black-rgb), .25);
}

    .sc-contact-panel .sc-kicker {
        color: #8DB0FF;
    }

    .sc-contact-panel h2 {
        margin: 0 0 14px;
        font-size: 30px;
        line-height: 1.25;
        color: #fff;
    }

    .sc-contact-panel > p {
        margin: 0 0 28px;
    }

.sc-method {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

    .sc-method > i {
        flex: 0 0 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        color: #fff;
    }

    .sc-method b {
        display: block;
        font-size: 15px;
        color: #fff;
    }

    .sc-method a {
        font-weight: 600;
        color: #8DB0FF;
    }

    .sc-method span {
        font-size: 14px;
        opacity: .85;
    }

.sc-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

@media (max-width: 991px) {
    .sc-contact-panel {
        position: static;
    }
}

/* ===== Dark section: twin floating phones ===== */
.sc-phones {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.sc-phone {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 250px;
    aspect-ratio: 25 / 52;
    animation: movebounce3 5s ease-in-out infinite;
}

.sc-phone--b {
    margin-top: 70px;
    animation-delay: 1.4s;
}

.sc-phone img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border: 8px solid rgba(255,255,255,.14);
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}

.sc-pm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 14px 12px 10px;
    overflow: hidden;
    text-align: left;
    border: 8px solid rgba(255,255,255,.14);
    border-radius: 32px;
    background: var(--ienet-gray);
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}

.sc-pm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .sc-pm-top b {
        font-size: 16px;
        color: var(--ienet-black);
    }

.sc-pm-av {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ienet-base);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.sc-pm-tabs {
    display: flex;
    gap: 5px;
}

    .sc-pm-tabs span {
        padding: 3px 9px;
        border-radius: 100px;
        background: #fff;
        font-size: 10px;
        font-weight: 600;
        color: var(--ienet-text);
    }

    .sc-pm-tabs .on {
        background: var(--ienet-base);
        color: #fff;
    }

.sc-pm-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

    .sc-pm-stats div {
        padding: 8px 10px;
        border-radius: 12px;
        background: #fff;
        font-size: 10px;
        line-height: 1.3;
        color: var(--ienet-text);
    }

    .sc-pm-stats b {
        display: block;
        font-size: 20px;
        color: var(--ienet-base);
    }

.sc-pm-card {
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    font-size: 11px;
    line-height: 1.35;
    color: var(--ienet-text);
}

    .sc-pm-card b {
        display: block;
        font-size: 12px;
        color: var(--ienet-black);
    }

.sc-pm-bar {
    height: 6px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--ienet-border-color);
}

    .sc-pm-bar i {
        display: block;
        width: 72%;
        height: 100%;
        border-radius: 3px;
        background: var(--ienet-base);
    }

.sc-pm-live {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

    .sc-pm-live em {
        padding: 2px 10px;
        border-radius: 100px;
        background: #dcfce7;
        font-size: 10px;
        font-style: normal;
        font-weight: 700;
        color: #15803d;
    }

.sc-pm-nav {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--ienet-border-color);
    font-size: 14px;
    color: var(--ienet-text-dark);
}

    .sc-pm-nav .on {
        color: var(--ienet-base);
    }

.sc-phones .sc-toast--b {
    right: -20px;
    bottom: 9%;
    z-index: 4;
}

@media (max-width: 575px) {
    .sc-phone--b {
        display: none;
    }

    .sc-phones .sc-toast--b {
        right: 0;
    }
}

/* ===== Apps section: richer copy ===== */
.cta-three__content .sec-title {
    line-height: 1.2;
}

.sc-intro {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ienet-text);
}

.cta-three__content__text {
    line-height: 1.75;
}

.sc-feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 22px 0 18px;
}

.sc-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--ienet-border-color);
    border-radius: 16px;
    background: #fff;
    transition: border-color .3s, transform .3s;
}

    .sc-feat:hover {
        border-color: var(--ienet-base);
        transform: translateY(-3px);
    }

    .sc-feat > i {
        flex: 0 0 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: rgba(var(--ienet-base-rgb), .12);
        color: var(--ienet-base);
    }

    .sc-feat b {
        display: block;
        font-size: 15px;
        line-height: 1.3;
        color: var(--ienet-black);
    }

    .sc-feat span {
        font-size: 14px;
        line-height: 1.5;
        color: var(--ienet-text);
    }

.sc-best {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 26px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--ienet-gray);
    font-size: 15px;
}

    .sc-best i {
        margin-top: 4px;
        color: var(--ienet-base);
    }

    .sc-best b {
        color: var(--ienet-black);
    }

.cta-three__content .tab .ienet-btn {
    margin: 0 10px 10px 0;
}

.sc-get-note {
    margin: 18px 0 0;
    font-size: 15px;
    color: rgba(255,255,255,.85);
}

    .sc-get-note a {
        font-weight: 700;
        color: #fff;
        text-decoration: underline;
    }

@media (max-width: 575px) {
    .sc-feat-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Promo sliders ===== */
.sc-promos {
    padding: 40px 0 0;
}

.sc-promo-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.sc-slider {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(var(--ienet-black-rgb), .16);
    transition: height .6s ease; /* smooth height change */
}

.sc-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

    .sc-slide:first-child {
        position: relative;
    }
    /* gives height before JS runs */

    .sc-slide a {
        display: block;
    }

    .sc-slide img {
        display: block;
        width: 100%;
        height: auto; /* each image keeps its own height */
    }

/* --- FADE --- */
.sc-slider[data-effect="fade"] .sc-slide,
.sc-slider[data-effect="zoom"] .sc-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
}

    .sc-slider[data-effect="fade"] .sc-slide.is-active,
    .sc-slider[data-effect="zoom"] .sc-slide.is-active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

    /* --- ZOOM (extends fade) --- */
    .sc-slider[data-effect="zoom"] .sc-slide img {
        transform: scale(1.1);
        transition: transform 6s ease-out;
    }

    .sc-slider[data-effect="zoom"] .sc-slide.is-active img {
        transform: scale(1);
    }

/* --- SLIDE --- */
.sc-slider[data-effect="slide"] .sc-slide {
    transform: translateX(100%);
    transition: transform .7s cubic-bezier(.65, 0, .35, 1);
}

    .sc-slider[data-effect="slide"] .sc-slide.is-active {
        transform: translateX(0);
        z-index: 2;
    }

    .sc-slider[data-effect="slide"] .sc-slide.from-right {
        transform: translateX(100%);
        transition: none;
    }

    .sc-slider[data-effect="slide"] .sc-slide.from-left {
        transform: translateX(-100%);
        transition: none;
    }

    .sc-slider[data-effect="slide"] .sc-slide.to-left {
        transform: translateX(-100%);
    }

    .sc-slider[data-effect="slide"] .sc-slide.to-right {
        transform: translateX(100%);
    }

/* --- Progress bar --- */
.sc-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    height: 3px;
    background: rgba(255, 255, 255, .25);
}

    .sc-progress i {
        display: block;
        height: 100%;
        width: 0;
        background: #fff;
        animation: scProgress var(--dur, 5000ms) linear forwards;
    }

.sc-slider.is-paused .sc-progress i {
    animation-play-state: paused;
}

@keyframes scProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* --- Dots --- */
.sc-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 6;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(0, 0, 0, .45);
}

    .sc-dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .6);
        cursor: pointer;
        transition: all .3s;
    }

        .sc-dots button.active {
            width: 22px;
            border-radius: 100px;
            background: #fff;
        }

@media (max-width: 991px) {
    .sc-promo-cols {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Respect users who turn off motion in their system settings */
@media (prefers-reduced-motion: reduce) {
    .sc-slide, .sc-slide img, .sc-slider {
        transition: none !important;
    }

    .sc-progress {
        display: none;
    }
}
/* ===== Cookie banner ===== */
.sc-cookie {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 760px;
    padding: 20px 24px;
    border: 1px solid var(--ienet-border-color);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(var(--ienet-black-rgb), .22);
    transform: translateY(30px);
    opacity: 0;
    transition: transform .5s cubic-bezier(.65, 0, .35, 1), opacity .5s;
}

    .sc-cookie[hidden] {
        display: none;
    }

    .sc-cookie.is-visible {
        transform: translateY(0);
        opacity: 1;
    }

.sc-cookie__icon {
    flex: 0 0 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(var(--ienet-base-rgb), .12);
    color: var(--ienet-base);
    font-size: 22px;
}

.sc-cookie__body {
    flex: 1;
}

    .sc-cookie__body h5 {
        margin: 0 0 4px;
        font-size: 17px;
        color: var(--ienet-black);
    }

    .sc-cookie__body p {
        margin: 0;
        font-size: 14px;
        line-height: 1.55;
        color: var(--ienet-text);
    }

    .sc-cookie__body a {
        font-weight: 700;
        color: var(--ienet-base);
    }

.sc-cookie__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.sc-cookie__btn {
    padding: 11px 20px;
    border: 1px solid var(--ienet-border-color);
    border-radius: 100px;
    background: #fff;
    color: var(--ienet-black);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, background .2s, border-color .2s;
}

    .sc-cookie__btn:hover {
        transform: translateY(-2px);
        border-color: var(--ienet-base);
    }

.sc-cookie__btn--primary {
    border-color: var(--ienet-base);
    background: var(--ienet-base);
    color: #fff;
}

    .sc-cookie__btn--primary:hover {
        background: var(--ienet-black);
        border-color: var(--ienet-black);
    }

@media (max-width: 767px) {
    .sc-cookie {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px;
    }

    .sc-cookie__icon {
        display: none;
    }

    .sc-cookie__actions .sc-cookie__btn {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-cookie {
        transition: none;
    }
}
/* ===== Latest News & Events ===== */
.sc-news {
    padding: 20px 0;
    background: #fff;
}

.sc-news-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 44px;
}

    .sc-news-tabs button {
        padding: 10px 26px;
        border: 1px solid var(--ienet-border-color);
        border-radius: 100px;
        background: #fff;
        color: var(--ienet-black);
        font: inherit;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all .25s;
    }

        .sc-news-tabs button:hover {
            border-color: var(--ienet-base);
            color: var(--ienet-base);
        }

        .sc-news-tabs button.is-active {
            border-color: var(--ienet-base);
            background: var(--ienet-base);
            color: #fff;
        }

.sc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sc-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ienet-border-color);
    border-radius: 24px;
    background: #fff;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

    .sc-news-card[hidden] {
        display: none;
    }

    .sc-news-card:hover {
        transform: translateY(-6px);
        border-color: var(--ienet-base);
        box-shadow: 0 24px 60px rgba(var(--ienet-black-rgb), .12);
    }

    .sc-news-card.is-in {
        animation: scNewsIn .5s ease both;
    }

@keyframes scNewsIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.sc-news-img {
    position: relative;
    display: block;
    overflow: hidden;
}

    .sc-news-img img {
        display: block;
        width: 100%;
        height: auto;
        transition: transform .6s ease;
    }

.sc-news-card:hover .sc-news-img img {
    transform: scale(1.06);
}

.sc-news-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    border-radius: 100px;
    background: var(--ienet-base);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.sc-news-badge--event {
    background: #16a34a;
}

.sc-news-date {
    position: absolute;
    right: 16px;
    bottom: 16px;
    min-width: 58px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ienet-text);
}

    .sc-news-date b {
        display: block;
        font-size: 22px;
        color: var(--ienet-base);
    }

.sc-news-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px 26px 28px;
}

.sc-news-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--ienet-text);
}

    .sc-news-meta i {
        margin-right: 4px;
        color: var(--ienet-base);
    }

.sc-news-body h4 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.35;
}

    .sc-news-body h4 a {
        color: var(--ienet-black);
        transition: color .2s;
    }

        .sc-news-body h4 a:hover {
            color: var(--ienet-base);
        }

.sc-news-body p {
    margin: 0 0 18px;
}

.sc-news-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--ienet-base);
}

    .sc-news-link i {
        margin-left: 4px;
        font-size: 13px;
        transition: transform .25s;
    }

    .sc-news-link:hover i {
        transform: translateX(5px);
    }

.sc-news-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--ienet-text);
}

    .sc-news-empty[hidden] {
        display: none;
    }

.sc-news-more {
    margin-top: 50px;
    text-align: center;
}

@media (max-width: 991px) {
    .sc-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sc-news {
        padding: 80px 0;
    }

    .sc-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-news-card, .sc-news-img img, .sc-news-card.is-in {
        transition: none;
        animation: none;
    }
}
.sc-news-tabs a {
    padding: 10px 26px;
    border: 1px solid var(--ienet-border-color);
    border-radius: 100px;
    background: #fff;
    color: var(--ienet-black);
    font-size: 15px;
    font-weight: 600;
    transition: all .25s;
}

    .sc-news-tabs a:hover {
        border-color: var(--ienet-base);
        color: var(--ienet-base);
    }

    .sc-news-tabs a.is-active {
        border-color: var(--ienet-base);
        background: var(--ienet-base);
        color: #fff;
    }
/* ===== Legal pages (Terms, Privacy) ===== */
.sc-legal-hero {
    padding-bottom: 70px;
}

    .sc-legal-hero h1 {
        font-size: 48px;
    }

.sc-doc {
    padding: 70px 0 110px;
    background: #fff;
}

.sc-doc-body {
    max-width: 760px;
    margin: 0 auto;
}

    .sc-doc-body h2 {
        margin: 44px 0 12px;
        font-size: 24px;
        scroll-margin-top: 110px;
    }

        .sc-doc-body h2:first-child {
            margin-top: 0;
        }

    .sc-doc-body p {
        margin: 0;
        font-size: 17px;
        line-height: 1.8;
    }

    .sc-doc-body a {
        font-weight: 600;
        color: var(--ienet-base);
        text-decoration: underline;
    }

    .sc-doc-body .sc-doc-foot {
        margin-top: 56px;
        padding-top: 24px;
        border-top: 1px solid var(--ienet-border-color);
    }

@media (max-width: 767px) {
    .sc-legal-hero h1 {
        font-size: 36px;
    }

    .sc-doc {
        padding: 50px 0 80px;
    }
}
/* ===== Live chat (visitor widget) ===== */
.sc-chat-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--ienet-base);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(var(--ienet-base-rgb), .45);
    transition: transform .25s;
}

    .sc-chat-btn:hover {
        transform: scale(1.08);
    }

.sc-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border-radius: 100px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

    .sc-chat-badge[hidden] {
        display: none;
    }

.sc-chat {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 9999;
    width: 380px;
    max-width: calc(100vw - 24px);
    height: 560px;
    max-height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(var(--ienet-black-rgb), .3);
    opacity: 0;
    transform: translateY(20px) scale(.97);
    transform-origin: bottom right;
    transition: opacity .3s, transform .3s;
}

    .sc-chat[hidden] {
        display: none;
    }

    .sc-chat.is-open {
        opacity: 1;
        transform: none;
    }

.sc-chat__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--ienet-base), var(--ienet-black));
}

.sc-chat__avatar {
    flex: 0 0 44px;
    height: 44px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    font-weight: 700;
    font-size: 18px;
}

    .sc-chat__avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.sc-chat__title {
    flex: 1;
    line-height: 1.25;
}

    .sc-chat__title b {
        display: block;
        font-size: 16px;
    }

    .sc-chat__title small {
        font-size: 12.5px;
        opacity: .92;
    }

.sc-chat__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #94a3b8;
}

    .sc-chat__dot.is-on {
        background: #22c55e;
        box-shadow: 0 0 0 3px rgba(34,197,94,.3);
    }

.sc-chat__x {
    border: 0;
    background: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.sc-chat__start {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
}

    .sc-chat__start[hidden] {
        display: none;
    }

    .sc-chat__start p {
        margin: 0 0 4px;
    }

.sc-chat .sc-f {
    margin-top: 16px;
}

    .sc-chat .sc-f input {
        height: 46px;
    }

    .sc-chat .sc-f small {
        font-weight: 400;
        color: var(--ienet-text);
    }

.sc-chat__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

    .sc-chat__body[hidden] {
        display: none;
    }

.sc-chat__list {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px 8px;
    background: var(--ienet-gray);
}

.sc-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 12px;
    max-width: 90%;
    animation: scMsgIn .25s ease;
}

.sc-msg--me {
    margin-left: auto;
}

.sc-msg__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sc-msg--me .sc-msg__col {
    align-items: flex-end;
}

.sc-msg__av {
    flex: 0 0 30px;
    height: 30px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ienet-base);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.sc-msg__av--bot {
    background: var(--ienet-black);
}

.sc-msg__av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-msg__bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.sc-msg--me .sc-msg__bubble {
    background: var(--ienet-base);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.sc-msg--them .sc-msg__bubble {
    background: #fff;
    color: var(--ienet-black);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.sc-msg small {
    margin-top: 3px;
    font-size: 11px;
    color: var(--ienet-text);
}

@keyframes scMsgIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.sc-chat__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 130px;
    overflow-y: auto;
    padding: 8px 16px 12px;
    background: var(--ienet-gray);
}

    .sc-chat__chips[hidden] {
        display: none;
    }

.sc-chip {
    padding: 7px 14px;
    border: 1px solid var(--ienet-base);
    border-radius: 100px;
    background: #fff;
    color: var(--ienet-base);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .sc-chip:hover {
        background: var(--ienet-base);
        color: #fff;
    }

.sc-chip--human {
    background: var(--ienet-base);
    color: #fff;
}

    .sc-chip--human:hover {
        background: var(--ienet-black);
        border-color: var(--ienet-black);
    }

.sc-chat__typing {
    padding: 2px 18px 6px;
    font-size: 13px;
    color: var(--ienet-text);
    background: var(--ienet-gray);
}

    .sc-chat__typing[hidden], .sc-chat__err[hidden] {
        display: none;
    }

.sc-chat__err {
    padding: 8px 18px;
    font-size: 13px;
    background: #fef2f2;
    color: #991b1b;
}

.sc-chat__form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--ienet-border-color);
    background: #fff;
}

    .sc-chat__form input {
        flex: 1;
        height: 44px;
        padding: 0 16px;
        outline: none;
        border: 1px solid var(--ienet-border-color);
        border-radius: 100px;
        font: inherit;
    }

        .sc-chat__form input:focus {
            border-color: var(--ienet-base);
        }

    .sc-chat__form button {
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: var(--ienet-base);
        color: #fff;
        cursor: pointer;
    }

        .sc-chat__form button:hover {
            background: var(--ienet-black);
        }

.sc-chat__human {
    padding: 0 0 12px;
    border: 0;
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--ienet-base);
    cursor: pointer;
}

    .sc-chat__human[hidden] {
        display: none;
    }

    .sc-chat__human:hover {
        text-decoration: underline;
    }

@media (max-width: 575px) {
    .sc-chat-btn {
        right: 14px;
        bottom: 14px;
    }

    .sc-chat {
        right: 12px;
        bottom: 86px;
        width: calc(100vw - 24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-chat, .sc-msg {
        transition: none;
        animation: none;
    }
}

/* ===== Chat admin ===== */
.ca-wrap {
    padding: 118px 0 24px;
    background: var(--ienet-gray);
    min-height: 100vh;
}

.ca-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.ca {
    display: grid;
    grid-template-columns: 350px 1fr;
    height: calc(100vh - 160px);
    min-height: 520px;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(var(--ienet-black-rgb), .12);
}

.ca-side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-right: 1px solid var(--ienet-border-color);
}

.ca-side__top {
    padding: 20px 18px 12px;
    border-bottom: 1px solid var(--ienet-border-color);
}

.ca-side__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

    .ca-side__row h2 {
        flex: 1;
        margin: 0;
        font-size: 24px;
    }

.ca-pill {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ca-pill--grey {
    background: #e5e9f2;
    color: #475569;
}

.ca-pill--ok {
    background: #dcfce7;
    color: #15803d;
}

.ca-pill--warn {
    background: #fef3c7;
    color: #92400e;
}

.ca-pill--bad {
    background: #fee2e2;
    color: #991b1b;
}

.ca-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ienet-border-color);
    border-radius: 50%;
    background: #fff;
    color: var(--ienet-text);
    cursor: pointer;
}

    .ca-icon:hover {
        border-color: var(--ienet-base);
        color: var(--ienet-base);
    }

    .ca-icon.is-off {
        color: #cbd5e1;
    }

.ca-search {
    position: relative;
    margin-bottom: 12px;
}

    .ca-search i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 13px;
    }

    .ca-search input {
        width: 100%;
        height: 42px;
        padding: 0 14px 0 38px;
        outline: none;
        border: 1px solid var(--ienet-border-color);
        border-radius: 12px;
        background: var(--ienet-gray);
        font: inherit;
        font-size: 14px;
    }

        .ca-search input:focus {
            border-color: var(--ienet-base);
            background: #fff;
        }

.ca-tabs {
    display: flex;
    gap: 6px;
}

    .ca-tabs button {
        flex: 1;
        padding: 7px 4px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: var(--ienet-text);
        font: inherit;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

        .ca-tabs button b {
            margin-left: 3px;
            padding: 1px 7px;
            border-radius: 100px;
            background: #e5e9f2;
            font-size: 11px;
            color: #475569;
        }

        .ca-tabs button.is-active {
            background: rgba(var(--ienet-base-rgb), .12);
            color: var(--ienet-base);
        }

            .ca-tabs button.is-active b {
                background: var(--ienet-base);
                color: #fff;
            }

.ca-list {
    flex: 1;
    overflow-y: auto;
}

.ca-empty-list {
    padding: 40px 20px;
    text-align: center;
    color: var(--ienet-text);
}

.ca-item {
    position: relative;
    display: flex;
    width: 100%;
    gap: 12px;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #eef1f7;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: background .15s;
}

    .ca-item:hover {
        background: var(--ienet-gray);
    }

    .ca-item.is-active {
        background: rgba(var(--ienet-base-rgb), .09);
    }

        .ca-item.is-active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--ienet-base);
        }

.ca-item__body {
    flex: 1;
    min-width: 0;
}

.ca-item__top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.ca-item__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--ienet-black);
}

.ca-item__time {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--ienet-text);
}

.ca-item__prev {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 2px 0 6px;
    font-size: 13.5px;
    color: var(--ienet-text);
}

.ca-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.ca-badge {
    padding: 2px 9px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.ca-badge--wait {
    background: #fef3c7;
    color: #92400e;
    animation: caPulse 1.6s ease-in-out infinite;
}

.ca-badge--bot {
    background: #e0e7ff;
    color: #3730a3;
}

.ca-badge--human {
    background: #dcfce7;
    color: #15803d;
}

.ca-badge--closed {
    background: #e5e9f2;
    color: #475569;
}

.ca-unread {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    display: grid;
    place-items: center;
    border-radius: 100px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

@keyframes caPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .55;
    }
}

.ca-av {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ienet-base);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.ca-av--bot {
    background: var(--ienet-black);
}

.ca-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ca-av--sm {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.ca-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: #f7f9fd;
}

.ca-empty {
    flex: 1;
    display: grid;
    place-content: center;
    padding: 30px;
    text-align: center;
    color: var(--ienet-text);
}

    .ca-empty i {
        margin-bottom: 14px;
        font-size: 54px;
        color: #cbd5e1;
    }

    .ca-empty h3 {
        margin: 0 0 6px;
        font-size: 22px;
    }

    .ca-empty p {
        margin: 0;
    }

.ca-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

    .ca-chat[hidden] {
        display: none;
    }

.ca-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ienet-border-color);
    background: #fff;
}

.ca-back {
    display: none;
}

.ca-head__who {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

    .ca-head__who b {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 17px;
        color: var(--ienet-black);
    }

    .ca-head__who span {
        font-size: 13px;
        color: var(--ienet-text);
    }

.ca-head__actions {
    display: flex;
    gap: 8px;
}

.ca-btn {
    padding: 8px 16px;
    border: 1px solid var(--ienet-base);
    border-radius: 100px;
    background: var(--ienet-base);
    color: #fff;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

    .ca-btn:hover {
        background: var(--ienet-black);
        border-color: var(--ienet-black);
    }

.ca-btn--ghost {
    background: #fff;
    color: var(--ienet-black);
    border-color: var(--ienet-border-color);
}

    .ca-btn--ghost:hover {
        background: var(--ienet-gray);
        color: var(--ienet-black);
        border-color: var(--ienet-base);
    }

.ca-thread {
    flex: 1;
    overflow-y: auto;
    padding: 22px 24px;
}

.ca-sep {
    margin: 8px 0 18px;
    text-align: center;
}

    .ca-sep span {
        padding: 4px 14px;
        border-radius: 100px;
        background: #e5e9f2;
        font-size: 12px;
        font-weight: 600;
        color: #475569;
    }

.ca-msg {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 74%;
    margin-bottom: 14px;
    animation: scMsgIn .25s ease;
}

.ca-msg--me {
    margin-left: auto;
    flex-direction: row-reverse;
}

.ca-msg__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ca-msg--me .ca-msg__col {
    align-items: flex-end;
}

.ca-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.ca-msg--them .ca-bubble {
    background: #fff;
    color: var(--ienet-black);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.ca-msg--agent .ca-bubble {
    background: var(--ienet-base);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ca-msg--bot .ca-bubble {
    background: #eef2ff;
    color: #312e81;
    border: 1px dashed #a5b4fc;
    border-bottom-right-radius: 4px;
}

.ca-meta {
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--ienet-text);
}

.ca-typing {
    height: 22px;
    padding: 0 24px;
    font-size: 13px;
    color: var(--ienet-text);
}

.ca-canned {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 20px 10px;
}

    .ca-canned button {
        flex-shrink: 0;
        padding: 6px 14px;
        border: 1px solid var(--ienet-border-color);
        border-radius: 100px;
        background: #fff;
        color: var(--ienet-black);
        font: inherit;
        font-size: 13px;
        cursor: pointer;
        white-space: nowrap;
    }

        .ca-canned button:hover {
            border-color: var(--ienet-base);
            color: var(--ienet-base);
        }

.ca-reply {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--ienet-border-color);
    background: #fff;
}

    .ca-reply textarea {
        flex: 1;
        max-height: 140px;
        padding: 11px 16px;
        resize: none;
        outline: none;
        border: 1px solid var(--ienet-border-color);
        border-radius: 18px;
        font: inherit;
        line-height: 1.4;
    }

        .ca-reply textarea:focus {
            border-color: var(--ienet-base);
        }

.ca-send {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ienet-base);
    color: #fff;
    cursor: pointer;
}

    .ca-send:hover {
        background: var(--ienet-black);
    }

.ca-toast {
    position: fixed;
    right: 24px;
    top: 100px;
    z-index: 10000;
    max-width: 340px;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--ienet-black);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

    .ca-toast.is-on {
        opacity: 1;
        transform: none;
    }

@media (max-width: 991px) {
    .ca {
        grid-template-columns: 1fr;
        height: calc(100vh - 140px);
    }

    .ca-main {
        display: none;
    }

    .ca.is-chat .ca-side {
        display: none;
    }

    .ca.is-chat .ca-main {
        display: flex;
    }

    .ca-back {
        display: grid;
    }

    .ca-msg {
        max-width: 90%;
    }
}
/* ===== Chat update: alignment, queue, join/leave, agent names ===== */

/* Your replies on the right, visitor on the left (inbox). Visitor on the right, support on the left (widget). */
.ca-thread {
    display: flex;
    flex-direction: column;
}

    .ca-thread > * {
        flex-shrink: 0;
    }

.ca-msg {
    margin-left: 0;
}

.ca-msg--them {
    align-self: flex-start;
}

.ca-msg--me {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.sc-chat__list {
    display: flex;
    flex-direction: column;
}

    .sc-chat__list > * {
        flex-shrink: 0;
    }

.sc-msg--them {
    align-self: flex-start;
    margin-left: 0;
}

.sc-msg--me {
    align-self: flex-end;
}

/* "David joined the chat" style notices */
.sc-sys, .ca-sys {
    align-self: center;
    margin: 4px 0 14px;
    padding: 5px 14px;
    border-radius: 100px;
    background: #e5e9f2;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
}

/* Visitor widget: queue card and agent names */
.sc-chat__queue {
    padding: 12px 16px 14px;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
}

    .sc-chat__queue[hidden] {
        display: none;
    }

.sc-queue__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

    .sc-queue__row > i {
        flex: 0 0 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #fef3c7;
        color: #b45309;
    }

    .sc-queue__row b {
        display: block;
        font-size: 14.5px;
        line-height: 1.3;
        color: var(--ienet-black);
    }

    .sc-queue__row span {
        font-size: 13px;
        color: var(--ienet-text);
    }

.sc-queue__bar {
    height: 4px;
    margin: 12px 0 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #fde68a;
}

    .sc-queue__bar i {
        display: block;
        width: 40%;
        height: 100%;
        border-radius: 4px;
        background: #f59e0b;
        animation: scQueue 1.6s ease-in-out infinite;
    }

@keyframes scQueue {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(260%);
    }
}

.sc-queue__cancel {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--ienet-base);
    cursor: pointer;
}

    .sc-queue__cancel:hover {
        text-decoration: underline;
    }

.sc-chat__dot.is-wait {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,.3);
}

.sc-msg__who {
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ienet-base);
}

/* Inbox: signed-in name, online agents, 5 tabs, join bar */
.ca-who {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin: -6px 0 12px;
    font-size: 12.5px;
    color: var(--ienet-text);
}

    .ca-who b {
        color: var(--ienet-black);
    }

    .ca-who i {
        margin-right: 5px;
        color: var(--ienet-base);
    }

.ca-tabs {
    overflow-x: auto;
    gap: 2px;
}

    .ca-tabs button {
        flex: 0 0 auto;
        padding: 7px 9px;
        font-size: 12.5px;
        white-space: nowrap;
    }

.ca-joinbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-top: 1px solid #fde68a;
    background: #fffbeb;
}

    .ca-joinbar p {
        flex: 1;
        margin: 0;
        font-size: 14.5px;
        line-height: 1.45;
        color: #78350f;
    }

.ca-btn--join {
    padding: 11px 24px;
    flex-shrink: 0;
}

.ca-joinbar[hidden], .ca-reply[hidden], .ca-canned[hidden] {
    display: none !important;
}

@media (max-width: 575px) {
    .ca-joinbar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}
/* ===== Promo: single slider on mobile ===== */
.sc-promo-mobile {
    display: none;
    max-width: 620px;
    margin: 0 auto;
}

.sc-promos.is-single .sc-promo-cols {
    display: none;
}

.sc-promos.is-single .sc-promo-mobile {
    display: block;
}

/* ===== Hero: buttons and fast first paint (replaces the earlier hero-mobile block) ===== */

/* Icon spans are empty in the markup, so hide them instead of leaving a gap */
.main-slider-three__btn .ienet-btn__icon:empty {
    display: none;
}

/* The hero no longer waits for the carousel script or the template's staggered
   delays. A short fade replaces them. */
@keyframes scHeroIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes scFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.main-slider-three__content {
    animation: scHeroIn .6s ease both;
}

.sc-hero-shot {
    animation: scFadeIn .8s ease both;
}

@media (prefers-reduced-motion: reduce) {
    .main-slider-three__content, .sc-hero-shot {
        animation: none;
    }
}

/* Mobile: the two buttons stay side by side and share the width equally */
@media (max-width: 767px) {
    .main-slider-three__content {
        display: block;
        padding-right: 20px;
    }

    .main-slider-three .main-slider-three__btn {
        gap: 10px;
        overflow: visible;
    }

        .main-slider-three .main-slider-three__btn .ienet-btn {
            flex: 1 1 0;
            min-width: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 14px;
            line-height: 1.25;
        }

    .main-slider-three .main-slider-three__btn__first {
        padding: 12px 10px;
    }

    .main-slider-three .main-slider-three__btn__last {
        padding: 10px 10px;
    }
    /* the 2px border keeps both the same height */
}

/* ===== Quick replies ===== */
.ca-reply {
    position: relative;
}

/* "/" menu above the reply box */
.ca-slash {
    position: absolute;
    left: 20px;
    right: 76px;
    bottom: calc(100% - 6px);
    z-index: 20;
    overflow: hidden;
    border: 1px solid var(--ienet-border-color);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(var(--ienet-black-rgb), .2);
}

    .ca-slash[hidden] {
        display: none;
    }

.ca-slash__item {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 100%;
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid #eef1f7;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

    .ca-slash__item:last-child {
        border-bottom: 0;
    }

    .ca-slash__item b {
        font-size: 14px;
        color: var(--ienet-base);
    }

    .ca-slash__item span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
        color: var(--ienet-text);
    }

    .ca-slash__item:hover, .ca-slash__item.is-active {
        background: rgba(var(--ienet-base-rgb), .09);
    }

.ca-canned__manage {
    border-style: dashed !important;
    color: var(--ienet-base) !important;
    font-weight: 700;
}

    .ca-canned__manage i {
        margin-right: 4px;
    }

/* Manage window */
.ca-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(var(--ienet-black-rgb), .55);
}

    .ca-modal[hidden] {
        display: none;
    }

.ca-modal__box {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    animation: scMsgIn .25s ease;
}

.ca-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--ienet-border-color);
}

    .ca-modal__head h3 {
        margin: 0;
        font-size: 21px;
    }

.ca-modal__body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    flex: 1;
    min-height: 0;
}

.ca-qr-list {
    max-height: 62vh;
    overflow-y: auto;
    border-right: 1px solid var(--ienet-border-color);
}

.ca-qr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid #eef1f7;
}

.ca-qr__info {
    flex: 1;
    min-width: 0;
}

    .ca-qr__info b {
        display: block;
        font-size: 14.5px;
        color: var(--ienet-black);
    }

    .ca-qr__info span {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 13px;
        line-height: 1.4;
        color: var(--ienet-text);
        word-break: break-word;
    }

.ca-qr__act {
    display: flex;
    flex-shrink: 0;
    gap: 6px;
}

    .ca-qr__act button {
        padding: 5px 12px;
        border: 1px solid var(--ienet-border-color);
        border-radius: 100px;
        background: #fff;
        color: var(--ienet-black);
        font: inherit;
        font-size: 12.5px;
        font-weight: 600;
        cursor: pointer;
    }

        .ca-qr__act button:hover {
            border-color: var(--ienet-base);
            color: var(--ienet-base);
        }

        .ca-qr__act button.is-danger:hover {
            border-color: #dc2626;
            color: #dc2626;
        }

.ca-qr-form {
    padding: 18px 22px 22px;
    overflow-y: auto;
}

    .ca-qr-form h4 {
        margin: 0 0 4px;
        font-size: 18px;
    }

    .ca-qr-form .sc-f {
        margin-top: 14px;
    }

        .ca-qr-form .sc-f small {
            font-weight: 400;
            color: var(--ienet-text);
        }

        .ca-qr-form .sc-f input {
            height: 46px;
        }

.ca-qr-help {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--ienet-text);
}

.ca-form-err {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13.5px;
}

    .ca-form-err[hidden] {
        display: none;
    }

.ca-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.ca-spin {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: -2px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: caSpin .7s linear infinite;
}

    .ca-spin[hidden] {
        display: none;
    }

@keyframes caSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .ca-modal__body {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .ca-qr-list {
        max-height: 34vh;
        border-right: 0;
        border-bottom: 1px solid var(--ienet-border-color);
    }

    .ca-slash {
        left: 12px;
        right: 68px;
    }
}
/* ===== Clickable links in chat bubbles ===== */
.sc-msg__bubble a, .ca-bubble a {
    font-weight: 600;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.sc-msg--them .sc-msg__bubble a {
    color: var(--ienet-base);
}

.sc-msg--me .sc-msg__bubble a {
    color: #fff;
}

.ca-msg--visitor .ca-bubble a {
    color: var(--ienet-base);
}

.ca-msg--agent .ca-bubble a {
    color: #fff;
}

.ca-msg--bot .ca-bubble a {
    color: #3730a3;
}

.sc-msg__bubble a:hover, .ca-bubble a:hover {
    text-decoration: none;
    opacity: .85;
}

/* ===== Display name ===== */
.ca-who__edit {
    width: 22px;
    height: 22px;
    margin-left: 4px;
    display: inline-grid;
    place-items: center;
    vertical-align: middle;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ienet-text);
    font-size: 11px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .ca-who__edit:hover {
        background: rgba(var(--ienet-base-rgb), .12);
        color: var(--ienet-base);
    }

.ca-modal__box--sm {
    max-width: 440px;
}

.ca-name-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--ienet-gray);
    font-size: 13.5px;
    color: var(--ienet-text);
}

    .ca-name-preview i {
        color: var(--ienet-base);
    }
/* ===== New-message alerts on the chat bubble ===== */
.sc-chat-btn.has-new {
    animation: scRing 1.2s ease-in-out 3;
}

@keyframes scRing {
    0%, 100% {
        transform: scale(1) rotate(0);
    }

    20% {
        transform: scale(1.12) rotate(-10deg);
    }

    40% {
        transform: scale(1.12) rotate(10deg);
    }

    60% {
        transform: scale(1.08) rotate(-5deg);
    }

    80% {
        transform: scale(1.08) rotate(5deg);
    }
}

.sc-chat-peek {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 9997;
    max-width: 280px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 16px 16px 4px 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(var(--ienet-black-rgb), .25);
    animation: scMsgIn .3s ease;
}

    .sc-chat-peek[hidden] {
        display: none;
    }

    .sc-chat-peek b {
        display: block;
        margin-bottom: 2px;
        font-size: 13px;
        color: var(--ienet-base);
    }

    .sc-chat-peek span {
        display: block;
        font-size: 14px;
        line-height: 1.4;
        color: var(--ienet-black);
        word-break: break-word;
    }

@media (max-width: 575px) {
    .sc-chat-peek {
        right: 14px;
        bottom: 84px;
        max-width: calc(100vw - 100px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-chat-btn.has-new, .sc-chat-peek {
        animation: none;
    }
}
/* ===== First-visit greeting (compact) ===== */
.sc-greet {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 9997;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 28px);
    padding: 7px 8px 7px 7px;
    border-radius: 100px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 14px 38px rgba(var(--ienet-black-rgb), .24);
    opacity: 0;
    transform: translateY(12px) scale(.96);
    transform-origin: bottom right;
    transition: opacity .3s, transform .3s, box-shadow .2s;
}

    .sc-greet[hidden] {
        display: none;
    }

    .sc-greet.is-on {
        opacity: 1;
        transform: none;
    }

    .sc-greet:hover {
        box-shadow: 0 18px 44px rgba(var(--ienet-black-rgb), .32);
    }

    .sc-greet:focus-visible {
        outline: 2px solid var(--ienet-base);
        outline-offset: 2px;
    }

.sc-greet__av {
    flex: 0 0 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ienet-black);
    color: #fff;
    font-size: 14px;
}

.sc-greet b {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--ienet-black);
}

.sc-greet__x {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .sc-greet__x:hover {
        background: var(--ienet-gray);
        color: var(--ienet-black);
    }

@media (max-width: 575px) {
    .sc-greet {
        right: 14px;
        bottom: 84px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-greet {
        transition: none;
    }
}

/* ===== Chat button (clean, no glow) ===== */
.sc-chat-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    width: 58px;
    height: 58px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--ienet-base);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .22); /* soft neutral shadow, no coloured glow */
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

    .sc-chat-btn:hover {
        transform: translateY(-2px);
        background: var(--ienet-black);
        box-shadow: 0 8px 20px rgba(15, 23, 42, .26);
    }

    .sc-chat-btn:active {
        transform: scale(.94);
    }

    .sc-chat-btn:focus {
        outline: none;
    }

    .sc-chat-btn:focus-visible {
        outline: 2px solid var(--ienet-base);
        outline-offset: 3px;
    }

    /* the two icons sit on top of each other and swap when the chat opens */
    .sc-chat-btn > i {
        grid-area: 1 / 1;
        transition: transform .3s ease, opacity .25s ease;
    }

.sc-chat-btn__close {
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
}

.sc-chat-btn.is-open .sc-chat-btn__open {
    opacity: 0;
    transform: rotate(90deg) scale(.6);
}

.sc-chat-btn.is-open .sc-chat-btn__close {
    opacity: 1;
    transform: none;
}

.sc-chat-badge {
    top: -3px;
    right: -3px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    box-sizing: border-box;
    border: 2px solid #fff;
    background: #dc2626;
    font-size: 11px;
    line-height: 1;
}

@media (max-width: 575px) {
    .sc-chat-btn {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-chat-btn, .sc-chat-btn > i {
        transition: none;
    }
}
/* ===== Chat button: pill with label + online dot ===== */
.sc-chat-btn {
    --chat-bg: var(--ienet-base); /* change this line to recolour the button, e.g. #16a34a */
    --chat-bg-hover: var(--ienet-black);
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    height: 54px;
    padding: 0 22px 0 18px;
    border: 0;
    border-radius: 100px;
    background: var(--chat-bg);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .22); /* soft neutral shadow, no glow */
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

    .sc-chat-btn:hover {
        transform: translateY(-2px);
        background: var(--chat-bg-hover);
        box-shadow: 0 8px 20px rgba(15, 23, 42, .26);
    }

    .sc-chat-btn:active {
        transform: scale(.96);
    }

    .sc-chat-btn:focus {
        outline: none;
    }

    .sc-chat-btn:focus-visible {
        outline: 2px solid var(--chat-bg);
        outline-offset: 3px;
    }

.sc-chat-btn__icon {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    font-size: 22px;
}

    .sc-chat-btn__icon > i {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        transition: transform .3s ease, opacity .25s ease;
    }

.sc-chat-btn__close {
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
}

.sc-chat-btn.is-open .sc-chat-btn__open {
    opacity: 0;
    transform: rotate(90deg) scale(.6);
}

.sc-chat-btn.is-open .sc-chat-btn__close {
    opacity: 1;
    transform: none;
}

/* green "support is online" dot */
.sc-chat-dot {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #22c55e;
}

    .sc-chat-dot[hidden] {
        display: none;
    }

.sc-chat-btn__label {
    display: block;
}

.sc-chat-badge {
    top: -6px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    box-sizing: border-box;
    border: 2px solid #fff;
    background: #dc2626;
    font-size: 11px;
    line-height: 1;
}

/* phones: round icon button, label hidden (delete the .sc-chat-btn__label rule below to keep it on mobile) */
@media (max-width: 575px) {
    .sc-chat-btn {
        right: 14px;
        bottom: 14px;
        width: 54px;
        padding: 0;
        justify-content: center;
    }

    .sc-chat-btn__label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-chat-btn, .sc-chat-btn__icon > i {
        transition: none;
    }
}
/* ===== Live visitors indicator ===== */
.ca-live {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -4px 0 12px;
    padding: 7px 12px;
    border-radius: 10px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
}

    .ca-live[hidden] {
        display: none;
    }

    .ca-live i {
        font-size: 8px;
        color: #22c55e;
    }

.ca-badge--live {
    background: #dcfce7;
    color: #166534;
}