﻿

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ─── BUTTONS ─── */
.banner_btn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.create-btn {
    background: linear-gradient(135deg,#c8952a,#e8b84b);
    padding: 12px 34px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #3a1f00;
}

.nfc-btn {
    background: linear-gradient(135deg,#1a1a1a,#3a2e00);
    color: #f0c040;
    padding: 12px 34px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

    .create-btn:hover, .nfc-btn:hover {
        opacity: .9;
    }

/* ─── BACKDROP ─── */
.backdrop {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    border: 1px solid #ccc;
    max-width: 1400px;
    margin: 20px auto;
    border-radius: 15px;
}

    .backdrop.show {
        display: flex;
    }

/* ─── MODAL BOX ─── */
.modal-box {
    background: #f5f6fa;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    height: 80vh;
    max-height: 80vh;
}

.close-btn-main {
    position: absolute;
    top: 11px;
    right: 15px;
    font-size: 21px;
    border: none;
    background: none;
    cursor: pointer;
    color: #aaa;
    z-index: 20;
}

    .close-btn-main:hover {
        color: #333;
    }

/* ══════════════════════ LEFT PANEL (NEW DESIGN) ══════════════════════ */
.chat-side {
    width: 50%;
    min-width: 340px;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid #ebebeb;
    flex-shrink: 0;
}

/* ── LEFT TABS (Chat | Form) ── */
.left-tab-bar {
    display: flex;
    background: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.left-tab-btn {
    flex: 1;
    padding: 11px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: all .2s;
    border-bottom: 3px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

    .left-tab-btn.active {
        color: #c8952a;
        border-bottom-color: #c8952a;
        background: #fff;
    }

/* Chat Header */
.chat-header {
    background: #1a1a1a;
    padding: 14px 44px 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.chat-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    flex-shrink: 0;
}

    .chat-header-icon.nfc-ico {
        background: linear-gradient(135deg,#c8952a,#e8b84b);
    }

    .chat-header-icon.vc-ico {
        background: linear-gradient(135deg,#1c95b6,#0b5f75);
    }

.chat-header h6 {
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
}

.chat-header small {
    color: #aaa;
    font-size: .9rem;
}

/* Progress */
.chat-progress-wrap {
    flex-shrink: 0;
    background: #f7f7f7;
    padding: 7px 14px 5px;
    border-bottom: 1px solid #eee;
}

.chat-progress-label {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #333;
    margin-bottom: 4px;
}

.progress-dots {
    display: flex;
    gap: 4px;
}

.pdot {
    height: 5px;
    border-radius: 3px;
    background: #e0e0e0;
    transition: all .3s;
    flex: 1;
}

    .pdot.done {
        background: #4caf50;
    }

    .pdot.active {
        background: #c8952a;
        flex: 2;
    }

/* Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 11px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    scroll-behavior: smooth;
    min-height: 0;
}

    .chat-messages::-webkit-scrollbar {
        width: 3px;
    }

    .chat-messages::-webkit-scrollbar-thumb {
        background: #e0d0b0;
        border-radius: 3px;
    }

/* Bubbles */
.msg-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    animation: msgIn .25s ease;
}

    .msg-row .chip{
        width:auto !important;
        height:auto !important;
    }

    @keyframes msgIn {
        from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.msg-row.user {
    flex-direction: row-reverse;
}

.msg-av {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

    .msg-av.bot {
        background: #1a1a1a;
        color: #f0c040;
    }

    .msg-av.usr {
        background: linear-gradient(135deg,#c8952a,#e8b84b);
        color: #fff;
    }

.bubble {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

    .bubble.bot {
        background: #f5f6fa;
        color: #1a1a2e;
        border-bottom-left-radius: 4px;
        border: 1px solid #ebebeb;
    }

    .bubble.usr {
        background: linear-gradient(135deg,#c8952a,#e8b84b);
        color: #3a1f00;
        font-weight: 600;
        border-bottom-right-radius: 4px;
    }

    .bubble b {
        color: #c8952a;
    }

    .bubble.bot b {
        color: #c8952a;
    }

/* Typing */
.typing-dots {
    display: flex;
    gap: 3px;
    padding: 3px 1px;
}

.td {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8952a;
    animation: tdB .7s infinite;
}

    .td:nth-child(2) {
        animation-delay: .12s;
    }

    .td:nth-child(3) {
        animation-delay: .24s;
    }

@keyframes tdB {
    0%,60%,100% {
        transform: translateY(0);
        opacity: .5;
    }

    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* Chips */
.chips-area {
    flex-shrink: 0;
    padding: 5px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
   
}

    .chips-area:has(.googlebtn) {
        min-height: 50px;
        position: absolute;
        top: 50%;
    }


.chip {
    background: #fff;
    border: 1.5px solid #c8952a;
    color: #a07000;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.2;
}

    .chip:hover {
        background: #c8952a;
        color: #fff;
    }

    .chip.skip {
        border-color: #ccc;
        color: #aaa;
    }

        .chip.skip:hover {
            background: #f0f0f0;
            color: #666;
        }

/* ── FORM PANEL (NEW) ── */
.form-panel {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

    .form-panel::-webkit-scrollbar {
        width: 3px;
    }

    .form-panel::-webkit-scrollbar-thumb {
        background: #e0d0b0;
        border-radius: 3px;
    }

.form-basic-section {
    padding: 16px 16px 12px;
    background: #fff;
    border-bottom: 6px solid #f0f0f0;
    flex-shrink: 0;
}

.form-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #bbb;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .form-section-title::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #eee;
    }

.form-row {
    margin-bottom: 12px;
}

    .form-row label {
        font-size: 15px;
        font-weight: 700;
        color: #555;
        display: block;
        margin: 0;
        margin-bottom: 4px;
        padding: 0 !important;
    }

.form-control-c {
    width: 100%;
    padding: 14px 12px;
    border: 1.5px solid #ddd;
    border-radius: 9px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    color: #000;
    transition: border .15s;
    background: #fff;
    margin-bottom:0;
}
input{
    margin-bottom: 0 !important;
    border-color:#333 !important;
}

.form-control-c:focus {
    border-color: #c8952a;
}

    .form-control-c.readonly {
        background: #fafafa;
        color: #888;
        cursor: default;
    }

/* Section Accordion */
.form-sections-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fsec-item {
    border: 1.5px solid #ebebeb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all .2s;
}

    .fsec-item.open {
        border-color: #c8952a;
    }

.fsec-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    cursor: pointer;
    user-select: none;
}

.fsec-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.fsec-info {
    flex: 1;
}

.fsec-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    line-height:1.3;
}

.fsec-subtitle {
    font-size: 11px;
    color: #aaa;
    margin-top: 1px;
}

.fsec-arrow {
    font-size: 12px;
    color: #bbb;
    transition: transform .2s;
}

.fsec-item.open .fsec-arrow {
    transform: rotate(90deg);
    color: #c8952a;
}

.fsec-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #e8f5e9;
    color: #2e7d32;
}

    .fsec-badge.empty {
        background: #f5f5f5;
        color: #aaa;
    }

.fsec-body {
    display: none;
    padding: 0 14px 14px;
    border-top: 1px solid #f5f5f5;
}

.fsec-item.open .fsec-body {
    display: block;
}

.fsec-save-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(135deg,#c8952a,#e8b84b);
    color: #3a1f00;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: all .15s;
}

    .fsec-save-btn:hover {
        opacity: .9;
    }

/* Form Social Grid */
.form-soc-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    border: 1.5px solid #e0e0e0;
    border-radius: 9px;
    background: #ffffff;
    margin-bottom: 8px;
}

    .form-soc-row i {
        font-size: 16px;
        flex-shrink: 0;
    }

    .form-soc-row input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 14px;
        font-family: inherit;
        outline: none;
        color: #000;
        min-width: 0;
    }

        .form-soc-row input::placeholder {
            color: #333;
        }

/* Advanced Fields */
.adv-field-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

    .adv-field-row:last-child {
        border-bottom: none;
    }

.adv-field-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.adv-field-label {
    flex: 1;
}

    .adv-field-label span {
        font-size: 13px;
        font-weight: 700;
        color: #1a1a2e;
        display: block;
    }

    .adv-field-label small {
        font-size: 10px;
        color: #aaa;
    }

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #e0e0e0;
    border-radius: 22px;
    cursor: pointer;
    transition: .25s;
}

    .toggle-slider::before {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: .25s;
        box-shadow: 0 1px 4px rgba(0,0,0,.2);
    }

.toggle-switch input:checked + .toggle-slider {
    background: #c8952a;
}

    .toggle-switch input:checked + .toggle-slider::before {
        transform: translateX(18px);
    }

/* Input Area */
.chat-input-area {
    flex-shrink: 0;
    padding: 9px 11px;
    border-top: 1px solid #ebebeb;
    background: #fff;
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.chat-inp {
    flex: 1;
    border: 1.5px solid #343434;
    border-radius: 50px;
    padding: 13px 13px;
    font-size: 1.2rem;
    font-family: inherit;
    outline: none;
    resize: none;
    min-height: 54px;
    max-height: 80px;
    line-height: 1.4;
    transition: border .15s;
    color: #000;
    margin-bottom: 0;
}

    .chat-inp:focus {
        border-color: #c8952a;
    }

.btn-send {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg,#c8952a,#e8b84b);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    flex-shrink: 0;
}

    .btn-send:hover {
        opacity: .85;
        transform: scale(1.06);
    }

/* ══════════════════════ PREVIEW SIDE ══════════════════════ */
.preview-side {
    flex: 1;
    min-width: 0;
    background: #e8edf5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px 10px;
    gap: 8px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
}

    .preview-side::-webkit-scrollbar {
        width: 3px;
    }

    .preview-side::-webkit-scrollbar-thumb {
        background: #c0c8d8;
        border-radius: 3px;
    }

.prev-label {
    font-size: 10px;
    font-weight: 700;
    color: #1a56db;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.tab-bar {
    display: flex;
    background: #d0d8e8;
    border-radius: 8px;
    padding: 3px;
    width: 100%;
}

.tab-btn {
    flex: 1;
    padding: 7px 0;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s;
}

    .tab-btn.active {
        background: #1c95b6;
        color: #fff !important;
    }

.nfcbt.active {
    background: #1c1c1c;
    color: #ffcd29 !important;
}

.sec-btn {
/*    position: absolute;
    top: 96px;
    right: 12px;*/
    background: #1a2e50;
    border: none;
    border-radius: 8px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 700;
    color: #7eb8ff;
    z-index: 5;
    line-height: 15px;
}

    .sec-btn:hover {
        background: #1a3a6a;
    }

/* ─── NFC CARD ─── */
.nfc-card-wrap {
    max-width: 525px;
    margin: 42px auto 0;
    perspective: 1000px;
    margin-top:20px;
}

.nfc-card-inner {
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .7s cubic-bezier(.4,0,.2,1);
}

.nfc-card-wrap.flipping .nfc-card-inner {
    transform: rotateY(360deg);
}

.nfc-card-preview {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
    transition: background .5s;
}

.nfc-tpl-1 {
    background: #1c1c1c;
}

.nfc-tpl-2 {
    background: linear-gradient(135deg,#0d1b2a 0%,#1a3a5c 100%);
}

.nfc-tpl-3 {
    background: linear-gradient(135deg,#1a1a2e 0%,#2d1b4e 100%);
}

.nfc-tpl-4 {
    background: linear-gradient(135deg,#1c1c24 0%,#2e3a2e 100%);
}

.nfc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.nfc-p-name {
    color: #f0c040;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.nfc-p-title {
    color: #d4af37;
    font-size: 9.5px;
    margin-top: 2px;
    line-height: 1.4;
}

.nfc-p-company {
    color: #c8952a;
    font-size: 8.5px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1.4;
}

.nfc-icon-badge-txt {
    background: rgba(200,149,42,.25);
    color: #f0c040;
    font-size: 8px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: .5px;
    border: 1px solid rgba(240,192,64,.3);
}

.nfc-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.nfc-info-lines div {
    font-size: 8.5px;
    color: #b8a060;
    line-height: 1.7;
}

.nfc-qr {
    width: 52px;
    height: 52px;
    background: #c8952a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

    .nfc-qr svg {
        width: 36px;
        height: 36px;
    }

.change-nfc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: 340px;
    border: 1.5px solid #c8952a;
    background: #fffbf2;
    color: #a07000;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
}

    .change-nfc-btn:hover {
        background: #c8952a;
        color: #fff;
    }

.paid-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #d4af37;
    margin-top: 6px;
    border-bottom: 1px dashed rgba(212,175,55,.4);
    padding-bottom: 2px;
}

.order-section {
    width: 100%;
    max-width: 340px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 14px 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border: 1px solid #f0e8d0;
    margin-top: 6px;
}

.order-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 10px;
}

.btn-order-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg,#c8952a,#e8b84b);
    color: #3a1f00;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: 8px;
    box-shadow: 0 4px 14px rgba(200,149,42,.35);
}

    .btn-order-main:hover {
        opacity: .9;
        transform: translateY(-1px);
    }

.btn-amazon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: #131921;
    color: #FF9900;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

    .btn-amazon:hover {
        background: #1a252f;
        color: #FF9900;
        text-decoration: none;
    }

.order-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 7px 0;
    font-size: 10px;
    color: #ccc;
}

    .order-divider::before, .order-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #eee;
    }

/* ─── VCARD PHONE FRAME ─── */
.phone-frame {
    width: 220px;
    background: #111;
    border-radius: 30px;
    border: 5px solid #1a1a1a;
    padding: 6px 4px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 460px;
    margin-top: 36px;
    background-image: linear-gradient(rgb(0 61 67 / 0%), rgb(1 40 43 / 83%), rgb(1 38 49 / 85%)), url(../../themehelper/images/mobile-abg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.notch {
    width: 46px;
    height: 11px;
    background: #111;
    border-radius: 0 0 8px 8px;
    margin-bottom: 4px;
    border: 2px solid #2a2a2a;
    border-top: none;
}

.screen {
    width: 100%;
    background: #fff0;
    border-radius: 18px;
    overflow: hidden;
}

.v-card-head {
    box-shadow: 0 15px 25px rgb(0 0 0/10%),0 5px 10px rgba(0,0,0,.05);
    background: #00232cc7 ;
    border: 1px solid #9a9a9a;
    margin: 5px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    padding: 12px;
}

.vc-cover {
    width: 100%;
    height: 28px;
    background: #03242d;
    display: flex;
    justify-content: center;
    position: relative;
}

.vc-avatar-wrap {
    position: absolute;
    bottom: -22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #b3b3b3;
    background: #0d2137;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .vc-avatar-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.vc-init {
    font-size: 15px;
    font-weight: 700;
    color: #7eb8ff;
}

.vc-body {
    padding: 28px 6px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vc-name {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.vc-role {
    color: #7eb8ff;
    font-size: 7.5px;
    text-align: center;
    margin-top: 1px;
    line-height: 1.3;
}

.vc-comp-loc {
    color: #5a8fa8;
    font-size: 7px;
    text-align: center;
    margin-top: 2px;
    line-height: 1.3;
}

.vc-bio {
    color: #8aa8c8;
    font-size: 7px;
    text-align: center;
    margin: 3px 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc-act-btns {
    display: flex;
    gap: 4px;
    margin: 5px 0 3px;
    width: 100%;
}

.vc-act-btn {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 4px 2px;
    font-size: 7.5px;
    font-weight: 700;
    background: #7171714d;
    backdrop-filter: blur(10px);
    color: #fff;
    line-height: 14px;
    text-align: center;
}

.vc-icons-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 4px;
    width: 100%;
    padding: 4px 4px 6px;
}

.vc-icon-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.vc-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s;
}

    .vc-icon-circle.disabled {
        opacity: .5;
    }

    .vc-icon-circle i {
        font-size: 13px;
        color: #fff;
    }

.vc-icon-lbl {
    font-size: 6px;
    color: #7a8fa8;
    text-align: center;
}

.free-badge1 {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 10.5px;
    font-weight: 700;
    color: #2e7d32;
    margin-top: 8px;
}

/* ─── PREVIEW POPUP ─── */
.preview-popup {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease,transform .25s ease;
    z-index: 100;
    background: #1a1a1a;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #cc992e;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    width: 480px;
    display: flex;
    gap: 12px;
}

.preview-wrapper:hover .preview-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.preview-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    padding: 8px 8px 10px;
    flex: 1;
}

.card-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-align: center;
    margin-bottom: 6px;
}

.desktop-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.mobile-card {
    width: 110px;
    flex-shrink: 0;
}

    .mobile-card img {
        width: 110px;
        height: 210px;
        object-fit: cover;
        border-radius: 6px;
        display: block;
        margin: auto;
    }

/* ─── TEMPLATE MODAL ─── */
.nfc-tpl-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100000;
}

    .nfc-tpl-backdrop.show {
        display: flex;
    }

.nfc-tpl-modal {
    background: #fff;
    border-radius: 18px;
    width: 520px;
    max-width: 94vw;
    padding: 22px 20px 18px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.nfc-tpl-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 3px;
}

.nfc-tpl-sub {
    font-size: 11.5px;
    color: #999;
    margin-bottom: 16px;
}

.nfc-tpl-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.nfc-tpl-card {
    border-radius: 10px;
    padding: 11px;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: all .2s;
    aspect-ratio: 1.68/1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0,0,0,.45) 0px 25px 20px -20px;
}

    .nfc-tpl-card:hover {
        transform: scale(1.02);
    }

    .nfc-tpl-card.selected {
        border-color: #c8952a;
        box-shadow: 0 0 0 3px rgba(200,149,42,.25);
    }

.tpl-check {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 18px;
    height: 18px;
    background: #c8952a;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
}

.nfc-tpl-card.selected .tpl-check {
    display: flex;
}

.tpl-bg-1 {
    background: #1c1c1c;
}

.tpl-bg-2 {
    background: linear-gradient(135deg,#0d1b2a,#1a3a5c);
}

.tpl-bg-3 {
    background: linear-gradient(135deg,#1a1a2e,#2d1b4e);
}

.tpl-bg-4 {
    background: linear-gradient(135deg,#1c1c24,#2e3a2e);
}

.tpl-name {
    color: #f0c040;
    font-size: 10px;
    font-weight: 700;
}

.tpl-role {
    color: #d4af37;
    font-size: 7.5px;
}

.tpl-nfc-badge {
    color: #f0c040;
    font-size: 7px;
    font-weight: 700;
    opacity: .7;
}

.tpl-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tpl-info {
    font-size: 7px;
    color: #b8a060;
    line-height: 1.6;
}

.tpl-qr-mini {
    width: 28px;
    height: 28px;
    background: #c8952a;
    border-radius: 4px;
}

.tpl-label {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.5);
    color: #f0c040;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.btn-save-tpl {
    width: 100%;
    background: linear-gradient(135deg,#c8952a,#e8b84b);
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    color: #3a1f00;
    margin-top: 10px;
}

/* ─── SECURITY MODAL ─── */
.soc-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

    .soc-backdrop.show {
        display: flex;
    }

.sec-modal {
    background: #fff;
    border-radius: 18px;
    width: 497px;
    max-width: 94vw;
    padding: 0;
    position: relative;
    max-height: 94vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.close-btn {
    position: absolute;
    top: 13px;
    right: 15px;
    font-size: 21px;
    border: none;
    background: none;
    cursor: pointer;
    color: #aaa;
    z-index: 10;
}

    .close-btn:hover {
        color: #fff;
    }

.sec-modal-head {
    background: linear-gradient(135deg,#1a2e50,#0d1b2e);
    padding: 20px 20px 16px;
    border-radius: 18px 18px 0 0;
}

.sec-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 3px;
}

.sec-modal-sub {
    font-size: 11.5px;
    color: rgba(255,255,255,.5);
}

.sec-body {
    padding: 16px 18px 18px;
}

.sec-vis-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #bbb;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sec-vis-label::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #eee;
    }

.sec-vis-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.sec-vis-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}

    .sec-vis-card:hover {
        border-color: #c8952a;
        background: #fffbf2;
    }

    .sec-vis-card.active-public {
        border-color: #1a56db;
        background: #eef4ff;
    }

    .sec-vis-card.active-private {
        border-color: #c8952a;
        background: #fffbf2;
    }

    .sec-vis-card .vis-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8px;
        font-size: 16px;
    }

    .sec-vis-card.active-public .vis-icon {
        background: #dbeafe;
        color: #1a56db;
    }

    .sec-vis-card.active-private .vis-icon {
        background: #fef3c7;
        color: #c8952a;
    }

    .sec-vis-card:not(.active-public):not(.active-private) .vis-icon {
        background: #f5f5f5;
        color: #888;
    }

    .sec-vis-card .vis-title {
        font-size: 12px;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 2px;
    }

    .sec-vis-card .vis-desc {
        font-size: 10px;
        color: #888;
        line-height: 1.4;
    }

    .sec-vis-card .vis-badge {
        display: inline-block;
        font-size: 9px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 10px;
        margin-top: 6px;
    }

    .sec-vis-card.active-public .vis-badge {
        background: #dbeafe;
        color: #1a56db;
    }

    .sec-vis-card.active-private .vis-badge {
        background: #fef3c7;
        color: #c8952a;
    }

    .sec-vis-card:not(.active-public):not(.active-private) .vis-badge {
        background: #f5f5f5;
        color: #aaa;
    }

.sec-adv-section {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 4px;
    border: 1px solid #eef0f8;
}

.sec-adv-header {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sec-adv-header::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e0e0e0;
    }

.adv-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .adv-toggle-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.adv-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adv-ico-wrap {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.adv-text .adv-title {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
}

.adv-text .adv-desc {
    font-size: 10px;
    color: #999;
    line-height: 1.3;
    margin-top: 1px;
}

.sec-info-box {
    background: #eef4ff;
    border: 1px solid #dbeafe;
    border-radius: 9px;
    padding: 9px 12px;
    margin-top: 10px;
    font-size: 10.5px;
    color: #3b5bdb;
    line-height: 1.6;
}

.sec-done-btn {
    width: 100%;
    background: linear-gradient(135deg,#c8952a,#e8b84b);
    border: none;
    padding: 11px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    color: #3a1f00;
    margin-top: 12px;
}

/* ─── RESPONSIVE ─── */
@media(max-width:767px) {
    .modal-box {
        flex-direction: column;
        height: auto;
        max-height: none;
    }

    .chat-side {
        width: 100%;
        min-width: 0;
        height: 420px;
        border-right: none;
        border-bottom: 1px solid #ebebeb;
    }

    .preview-side {
        height: auto;
        min-height: 380px;
    }

    .nfc-card-wrap {
        margin-top: 14px;
    }

    .phone-frame {
        margin-top: 16px;
    }

    .sec-btn {
        top: 70px;
    }

    .nfc-tpl-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sec-vis-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── ANIMATIONS ─── */
@keyframes cardFlip {
    0% {
        transform: rotateY(0);
    }

    50% {
        transform: rotateY(90deg);
    }

    100% {
        transform: rotateY(0);
    }
}

.name-flip {
    animation: cardFlip .6s ease;
}

@keyframes vcardPop {
    0% {
        opacity: 0;
        transform: scale(.85) translateY(10px);
    }

    60% {
        transform: scale(1.04);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.vc-pop {
    animation: vcardPop .5s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .3;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1s infinite;
    display: inline-block;
    flex-shrink: 0;
}

.live-prev-btn {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #888;
    letter-spacing: .5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.preview-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-btn-live {
    width: auto;
    color: #333 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 0px solid #d1d5db;
    background: #fff0;
    font-weight: 500;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
}

.order-section .nfc-btn {
    color: #101010 !important;
    width: 100%;
    display: block;
    text-align: center;
    background: #FF9900;
}


.login-btn-main {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #c8952a, #e8b84b);
    color: #3a1f00;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
    margin-bottom: 14px;
}

.tnc-chat-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    background: #fafbff;
    border: 1px solid #eef0f8;
    border-radius: 9px;
    margin-top: 4px;
}
.tnc-chat-row label{
    width:100%;
}


/*18-06-2026*/
.chat-location-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.chat-input {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 2px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
    color: #1f2937;
    font-size: 17px;
    font-weight: 500;
    outline: none;
    transition: .25s ease;
}

    .chat-input:focus {
        border-color: #4f46e5;
        /*background: #fff;*/
    }

    .chat-input::placeholder {
        color: #94a3b8;
        font-weight: 500;
    }

.suggest-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    z-index: 100;
    max-height: 260px;
    overflow-y: auto;
}

    .suggest-box .item,
    .suggest-box div {
        padding: 14px 18px;
        font-size: 15px;
        color: #334155;
        cursor: pointer;
        transition: .2s;
        border-bottom: 1px solid #f1f5f9;
    }

        .suggest-box .item:last-child,
        .suggest-box div:last-child {
            border-bottom: none;
        }

        .suggest-box .item:hover,
        .suggest-box div:hover {
            background: #f8fafc;
            color: #4f46e5;
        }

.chat-send-btn {
    width: 100%;
    height: 35px;
    border: none;
    border-radius: 16px;
    background: #4f46e5;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

    .chat-send-btn:hover {
        background: #4338ca;
    }

    .chat-send-btn:active {
        transform: scale(.98);
    }

.msg.bot {
    width: 100%;
    max-width: 520px;
}

.iti.iti--allow-dropdown.iti--show-flags.iti--inline-dropdown {
    width: 100%;
}



.service-chat-wrap {
    max-width: 420px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 36px;
    margin-bottom: 14px;
}

    .service-list:empty::after {
        content: "No services added yet";
        font-size: 13px;
        color: #999;
    }

.service-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    background: #EEEDFE;
    color: #3C3489;
    border: none;
    animation: chipIn 0.15s ease-out;
}

    .service-chip:nth-child(4n+1) {
        background: #EEEDFE;
        color: #3C3489;
    }

    .service-chip:nth-child(4n+2) {
        background: #E1F5EE;
        color: #085041;
    }

    .service-chip:nth-child(4n+3) {
        background: #FAECE7;
        color: #712B13;
    }

    .service-chip:nth-child(4n+4) {
        background: #FBEAF0;
        color: #72243E;
    }

@keyframes chipIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.service-chip-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    opacity: 0.65;
    font-size: 13px;
    line-height: 1;
    color: inherit;
    border-radius: 50%;
}

    .service-chip-remove:hover {
        opacity: 1;
        background: rgba(0, 0, 0, 0.08);
    }

#serviceInput {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease;
    background: #fff;
    color: #222;
}

    #serviceInput:hover {
        border-color: #bbb;
    }

    #serviceInput:focus {
        border-color: #7F77DD;
        box-shadow: 0 0 0 2px rgba(127, 119, 221, 0.15);
    }

    #serviceInput:disabled {
        background: #f5f5f5;
        cursor: not-allowed;
    }

#addServiceBtn {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}

    #addServiceBtn:hover {
        background: #f5f5f5;
    }

    #addServiceBtn:active {
        transform: scale(0.97);
    }

    #addServiceBtn:disabled {
        background: #f5f5f5;
        color: #aaa;
        cursor: not-allowed;
    }

.service-hint {
    font-size: 11px;
    color: #888;
    margin-top: 8px;
}

    .service-hint.warning {
        color: #BA7517;
    }

#serviceList .chip {
    font-size: 0.9rem;
}

.bubble.bot #chatTnc {
    width: 31px !important;
    height: 31px;
}
#free_save_print {
    display: flex;
    gap: 14px;
}

    #free_save_print .vc-act-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
        border: none;
        border-radius: 10px;
        padding: 17px 18px;
        font-size: 18px;
        font-weight: 500;
        color: #ffffff;
        cursor: pointer;
        width: auto;
        transition: opacity 0.2s ease, transform 0.1s ease;
    }

        #free_save_print .vc-act-btn:hover {
            opacity: 0.88;
        }

        #free_save_print .vc-act-btn:active {
            transform: scale(0.97);
        }

        /* Print button - solid teal/green */
        #free_save_print .vc-act-btn:nth-child(1) {
            background-color: #1d9e75;
        }

        /* Save button - solid blue */
        #free_save_print .vc-act-btn:nth-child(2) {
            background-color: #378add;
        }

        #free_save_print .vc-act-btn i {
            font-size: 16px;
        }


/* Social grid */
.soc-chip-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 5px;
    margin-top: 4px;
    width: 100%
}

.soc-chip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 3px;
    border-radius: 8px;
    cursor: pointer;
    border: 1.5px solid #ebebeb;
    background: #fafafa;
    transition: all .15s;
    position: relative
}

    .soc-chip-item:hover {
        border-color: #c8952a;
        background: #fffbf2
    }

    .soc-chip-item.sel {
        border-color: #4caf50;
        background: #e8f5e9
    }

    .soc-chip-item i {
        font-size: 15px
    }

    .soc-chip-item span {
        font-size: 7.5px;
        color: #666;
        font-weight: 600;
        text-align: center
    }

    .soc-chip-item .chk-ic {
        position: absolute;
        top: 2px;
        right: 3px;
        font-size: 8px;
        color: #4caf50;
        display: none
    }

    .soc-chip-item.sel .chk-ic {
        display: block
    }

/* Social URL bubble */
.soc-url-bubble {
    background: #fffbf2;
    border: 1.5px solid #e8d0a0;
    border-radius: 10px;
    padding: 8px 10px;
    margin-top: 5px
}

    .soc-url-bubble label {
        font-size:12px;
        font-weight: 700;
        color: #a07000;
        text-transform: uppercase;
        letter-spacing: .5px;
        display: block;
        margin-bottom: 4px;
        padding: 0;
    }

.soc-url-row-chat {
    display: flex;
    gap: 5px;
    align-items: center
}

    .soc-url-row-chat input {
        flex: 1;
        padding: 8px 9px;
        border-radius: 7px;
        border: 1px solid #ddd;
        font-size: 15px;
        outline: none;
        color: #000;
        font-family: inherit;
        margin-bottom: 0;
    }

        .soc-url-row-chat input:focus {
            border-color: #c8952a
        }

.soc-save-mini {
    padding: 6px 11px;
    border: none;
    border-radius: 7px;
    background: linear-gradient(135deg,#c8952a,#e8b84b);
    color: #3a1f00;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap
}


/* Profile pic */
.pic-chat-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #fafbff;
    border: 1px solid #eef0f8;
    border-radius: 10px;
    margin-top: 4px;
    cursor: pointer;
    transition: border .15s
}

    .pic-chat-wrap:hover {
        border-color: #c8952a
    }

.pic-chat-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e8eaf6;
    border: 2px solid #dde0e8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative
}

.pic-cam-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #c8952a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff
}

.pic-chat-info .lbl {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e
}

.pic-chat-info .hint {
    font-size: 10px;
    color: #aaa
}

.otp-wrap {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    padding: 1.25rem;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

#otpInput {
    width: 100%;
    text-align: center;
    letter-spacing: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 12px 10px;
    border-radius: 8px;
    border: 1.5px solid #d0d0d0;
    box-sizing: border-box;
}

    #otpInput:focus {
        outline: none;
        border-color: #378ADD;
        box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.15);
    }

#verifyOtpBtn {
    width: 100%;
    background: #378ADD;
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 14px;
    padding: 11px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    #verifyOtpBtn:hover {
        background: #185fa5;
    }

#resendOtpBtn.chip {
    background: transparent;
    border: none;
    color: #888;
    font-size: 13px;
    padding: 4px 8px;
    cursor: pointer;
}

    #resendOtpBtn.chip:hover {
        text-decoration: underline;
    }

.form-basic-section .form-row > div {
    width: 100%;
}


:root {
    --gold: #c8952a;
    --gold-light: #e8b84d;
    --gold-dark: #9c7220;
    --gold-bg: #fff8ec;
    --black: #15120c;
    --black-soft: #211c14;
    --text-dark: #2a2317;
    --text-muted: #8a7c5e;
    --border-gold: #e3c47e;
    --danger: #d23b3b;
}

/* ─────────────────────────────────────────
   EDIT BUTTON (✎ pencil next to each answer)
   ───────────────────────────────────────── */
.msg-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    padding: 0;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    background: #ffffff !important;
    color: #000 !important;
    font-size: 10px;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.18s ease;
}

    .msg-edit-btn:hover {
        background: var(--gold);
        color: #fff;
        border-color: var(--gold);
        transform: scale(1.08);
    }

    .msg-edit-btn:active {
        transform: scale(0.95);
    }

    .msg-edit-btn i {
        pointer-events: none;
    }

/* "Saved ✓" flash tag */
.inline-saved-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 9px;
    font-size: 10.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    border-radius: 20px;
    letter-spacing: 0.2px;
    vertical-align: middle;
}

button#saveLocationBtn {
    height: auto !important;
    color: #ffffff !important;
    font-size: 15px;
}

/* ─────────────────────────────────────────
   INLINE EDIT INPUTS (text / textarea / tel / email / file)
   ───────────────────────────────────────── */
.bubble.usr.editing {
    background: #fff !important;
    border: 1px solid var(--border-gold) !important;
    padding: 10px !important;
    border-radius: 12px !important;
    flex-direction: column;
    align-items: stretch !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    flex-basis: 0 !important;
    max-width: 60% !important;
    width: auto !important;
}

.inline-edit-input {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 10px;
    margin: 0 0 6px 0;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
    border: 1.5px solid var(--border-gold);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .inline-edit-input::placeholder {
        color: #c2b083;
    }

    .inline-edit-input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(200, 149, 42, 0.15);
    }

textarea.inline-edit-input {
    min-height: 156px;
    resize: vertical;
    line-height: 1.4;
}

.inline-edit-input[type="file"] {
    padding: 5px 8px;
    cursor: pointer;
}

/* Error message under the input */
.inline-edit-error {
    font-size: 11px;
    color: var(--danger);
    margin: -2px 0 6px 2px;
    font-weight: 500;
}

/* OTP helper text */
.inline-edit-otp-msg {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Social link rows inside the socials inline editor */
.inline-edit-row {
    margin-bottom: 8px;
}

    .inline-edit-row label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 3px;
    }

    .inline-edit-row input {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 12px;
        font-size: 15px;
        border: 1.5px solid var(--border-gold);
        border-radius: 8px;
        outline: none;
        transition: border-color 0.15s, box-shadow 0.15s;
    }

        .inline-edit-row input:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(200, 149, 42, 0.15);
        }

    /* WhatsApp field uses intl-tel-input, which wraps the input in its own
   container — make sure that container and the input both go full width. */
    .inline-edit-row .iti {
        width: 100%;
        display: block;
    }

        .inline-edit-row .iti input {
            width: 100%;
            box-sizing: border-box;
        }

/* ─────────────────────────────────────────
   SAVE / CANCEL BUTTONS (small, compact, gold & black)
   ───────────────────────────────────────── */
.inline-edit-actions {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.inline-edit-save,
.inline-edit-cancel {
    flex: 0 0 auto;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.18s ease;
    border: 1.5px solid transparent;
    letter-spacing: 0.2px;
}

.inline-edit-save {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #1a1505;
    border-color: var(--gold-dark);
}

    .inline-edit-save:hover {
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        box-shadow: 0 2px 8px rgba(200, 149, 42, 0.35);
        transform: translateY(-1px);
    }

    .inline-edit-save:active {
        transform: translateY(0);
    }

.inline-edit-cancel {
    background: var(--black-soft);
    color: #e9e3d6;
    border-color: #3a3326;
}

    .inline-edit-cancel:hover {
        background: var(--black);
        border-color: var(--gold-dark);
        color: var(--gold-light);
    }

/* ─────────────────────────────────────────
   CONTINUE BUTTON (phone / designation / location steps)
   small, compact, gold & black
   ───────────────────────────────────────── */
/* Wraps the phone/designation/location field + Continue button.
   Keep it block-stacked but stop the button from auto-stretching. */
.chat-phone-wrap,
.chat-desig-wrap,
.chat-location-wrap {
    margin-bottom: 4px;
}

.chat-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 13px;
    border: 1.5px solid var(--border-gold);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .chat-input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(200, 149, 42, 0.15);
    }

.chat-send-btn {
    display: inline-flex;
    width: auto;
    max-width: max-content;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 16px;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1505;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    border: 1.5px solid var(--gold-dark);
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: all 0.18s ease;
}

/* The button's parent (.msg.bot) is a block container, which can stretch
   the button to full width by default depending on host page CSS.
   Force it back to content width and align it to the start. */
.msg.bot .chat-send-btn,
.bubble.bot .chat-send-btn {
    display: inline-flex !important;
    width: auto !important;
}

.chat-send-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 2px 8px rgba(200, 149, 42, 0.35);
    transform: translateY(-1px);
}

.chat-send-btn:active {
    transform: translateY(0);
}

.chat-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─────────────────────────────────────────
   QUICK-REPLY CHIPS (Skip / Done / Confirm & Continue etc.)
   ───────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    margin: 3px 4px 3px 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gold-dark);
    background: var(--gold-bg);
    border: 1.5px solid var(--border-gold);
    border-radius: 20px;
    cursor: pointer;
    letter-spacing: 0.1px;
    transition: all 0.18s ease;
}

    .chip:hover {
        background: var(--gold);
        color: #fff;
        border-color: var(--gold);
        transform: translateY(-1px);
    }

    .chip:active {
        transform: translateY(0);
    }

    .chip.skip {
        color: var(--text-muted);
        background: #f4f1e8;
        border-color: #ddd3b8;
    }

        .chip.skip:hover {
            background: var(--black-soft);
            color: #e9e3d6;
            border-color: var(--black-soft);
        }

.chip-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--black-soft), var(--black));
    border-color: var(--gold-dark);
}

    .chip-primary:hover {
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        color: #1a1505;
        border-color: var(--gold);
        box-shadow: 0 3px 10px rgba(200, 149, 42, 0.4);
    }

/* ─────────────────────────────────────────
   AUTOCOMPLETE SUGGESTION BOX
   ───────────────────────────────────────── */
.suggest-box {
    background: #fff;
    border: 1.5px solid var(--border-gold);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(21, 18, 12, 0.12);
    max-height: 180px;
    overflow-y: auto;
    font-size: 12.5px;
    margin-top: 2px;
}

    .suggest-box div {
        padding: 7px 10px !important;
        cursor: pointer;
        color: var(--text-dark);
        transition: background 0.12s;
    }

        .suggest-box div:hover {
            background: var(--gold-bg) !important;
            color: var(--gold-dark);
        }

/* ─────────────────────────────────────────
   SOCIAL PLATFORM SELECTION GRID
   ───────────────────────────────────────── */
.soc-select-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 6px 0;
}

@media (max-width: 480px) {
    .soc-select-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.soc-select-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
    padding: 6px 4px;
    border-radius: 10px;
    transition: background 0.15s;
    user-select: none;
}

    .soc-select-card:hover {
        background: var(--gold-bg);
    }

    .soc-select-card.sel {
        background: var(--gold-bg);
        box-shadow: inset 0 0 0 1.5px var(--border-gold);
    }

.soc-select-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
    border: 1.5px solid transparent;
}

.soc-select-card.sel .soc-select-icon {
    border-color: var(--gold);
}

.soc-select-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}

.soc-check-ic {
    position: absolute;
    top: 0;
    right: 2px;
    font-size: 13px;
    color: var(--gold-dark);
}

/* ─────────────────────────────────────────
   DISABLED CHAT TEXTAREA (widget steps)
   ───────────────────────────────────────── */
.chat-inp:disabled {
    background: #f4f1e8 !important;
    color: #c2b083 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.btn-send:disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

/* ─────────────────────────────────────────
   TERMS & CONDITIONS ROW (agree step)
   ───────────────────────────────────────── */
.tnc-chat-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-dark);
    line-height: 1.4;
}

    .tnc-chat-row input[type="checkbox"] {
        margin-top: 2px;
        accent-color: var(--gold-dark);
        width: 14px;
        height: 14px;
        cursor: pointer;
    }

    .tnc-chat-row a {
        color: var(--gold-dark);
        font-weight: 600;
        text-decoration: none;
    }

        .tnc-chat-row a:hover {
            text-decoration: underline;
        }

/* ─────────────────────────────────────────
   QUICK-CHIPS AREA (#quickChips / .chips-area)
   Sits just below the chat — give it its own
   distinct card so it doesn't blend into the chat.
   ───────────────────────────────────────── */
.chips-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    margin: 8px 10px 10px;
    background: linear-gradient(135deg, #fffaf0, var(--gold-bg));
    border: 1.5px solid var(--border-gold);
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(200, 149, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
}

    /* Small gold accent strip on the left to anchor it as its own block */
    .chips-area::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10px;
        bottom: 10px;
        width: 3px;
        border-radius: 3px;
        background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
    }

    .chips-area:empty {
        display: none;
    }

/* ─────────────────────────────────────────
   QUICK-REPLY CHIPS (Skip / Done / Confirm & Continue etc.)
   ───────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gold-dark);
    background: var(--gold-bg);
    border: 1.5px solid var(--border-gold);
    border-radius: 20px;
    cursor: pointer;
    letter-spacing: 0.1px;
    transition: all 0.18s ease;
}

    .chip:hover {
        background: var(--gold);
        color: #fff;
        border-color: var(--gold);
        transform: translateY(-1px);
    }

    .chip:active {
        transform: translateY(0);
    }


.chip.skip {
    color: var(--text-muted);
    background: #f4f1e8;
    border-color: #ddd3b8;
}

        .chip.skip:hover {
            background: var(--black-soft);
            color: #e9e3d6;
            border-color: var(--black-soft);
        }

.chip-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--black-soft), var(--black));
    border-color: var(--gold-dark);
}

    .chip-primary:hover {
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        color: #1a1505;
        border-color: var(--gold);
        box-shadow: 0 3px 10px rgba(200, 149, 42, 0.4);
    }
#quickChips .chip-primary {
    font-size: 16px !important;
    font-weight: 700;
    padding: 10px 14px !important;
}


/* Download V-Card Button */
.btn-dl-vcard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    background: linear-gradient(135deg, #534AB7 0%, #7F77DD 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(83, 74, 183, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

    .btn-dl-vcard:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(83, 74, 183, 0.5);
    }

    .btn-dl-vcard:active {
        transform: scale(0.97);
    }

/* Amazon Button */
.btn-amazon-vc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    border: 2px solid #FF9900;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(255, 153, 0, 0.2);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

    .btn-amazon-vc:hover {
        transform: translateY(-2px);
        background: #fff8ec;
        box-shadow: 0 5px 20px rgba(255, 153, 0, 0.38);
    }

    .btn-amazon-vc:active {
        transform: scale(0.97);
    }

/* Divider */
.order-divider {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

    .order-divider::before,
    .order-divider::after {
        content: '';
        flex: 1;
        height: 0.5px;
        background: #e0e0e0;
    }

/* Section Wrapper */
.vcard-order-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 1.5rem;
    background: #f7f7fa;
    border-radius: 16px;
    max-width: 320px;
    margin-top: 15px !important;
    margin: 0 auto;
}

.close-btn-main{
    display:none;
}
.tnc-chat-row {
    display: flex;
    align-items: center;
}
.order-section-title {
    position: relative;
    display: flex;
    align-items: center;
}

.plan-info-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    z-index: 20;
}

    .plan-info-icon:hover .plan-tooltip,
    .plan-info-icon:focus .plan-tooltip {
        display: block;
    }

.plan-tooltip {
    display: none;
    position: absolute;
    top: 24px;
    right: 0;
    width: 210px;
    background: #1e293b;
    color: #f1f5f9;
    font-size: 11px;
    border-radius: 8px;
    padding: 10px 12px;
    z-index: 99;
    line-height: 1.6;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

    .plan-tooltip::before {
        content: '';
        position: absolute;
        top: -6px;
        right: 6px;
        border-width: 0 6px 6px;
        border-style: solid;
        border-color: transparent transparent #1e293b;
    }

    .plan-tooltip ul {
        margin: 4px 0 0;
        padding-left: 14px;
    }

        .plan-tooltip ul li {
            margin-bottom: 3px;
        }

/* Highlight Confirm & Continue button */
#quickChips .chip {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    transition: all .3s ease;
    font-size: 17px;
    width: auto;
    height: auto;
}

    #quickChips .chip:hover {
        background: #111 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,.35);
    }

    /* Skip button ko gray rakho */
    #quickChips .chip.skip {
        background: #e5e7eb !important;
        color: #6b7280 !important;
        border-color: #d1d5db !important;
    }



/* ===== PARENT ===== */

/*#pane-nfc {
    position: relative !important;
}*/

/* ===== OVERLAY ===== */
#orderSectionNfc {
    position: absolute !important;
    inset: 0 !important;
    z-index: 999 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.25rem !important;
    box-sizing: border-box !important;
    gap: 10px !important;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    height:100vh;
    scroll-margin-top: 50px;
}

    /* ===== HEADING ===== */
    #orderSectionNfc .order-section-title {
        width: 100% !important;
        max-width: 380px !important;
        box-sizing: border-box !important;
        background: none !important;
        border: none !important;
        padding: 0 4px 8px !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    }

        #orderSectionNfc .order-section-title i {
            color: #facc15 !important;
        }

    /* ===== WHITE CARD ===== */
    #orderSectionNfc .order-options {
        width: 100% !important;
        max-width: 380px !important;
        background: #fff !important;
        border-radius: 16px !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
    }

    /* ===== OPTION LABEL ===== */
    #orderSectionNfc .order-option {
        display: block !important;
        cursor: pointer !important;
        margin: 0 !important;
        width: 100%;
    }

        #orderSectionNfc .order-option input[type="checkbox"] {
            display: none !important;
        }

    /* ===== OPTION BOX ===== */
    #orderSectionNfc .order-option-box {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 11px 13px !important;
        border-radius: 10px !important;
        border: 2px solid #0000000f !important;
        background: #f8fafd !important;
        transition: all .18s !important;
        position: relative !important;
    }

    #orderSectionNfc .order-option:hover .order-option-box {
        background: #fefce8 !important;
        border-color: #fde68a !important;
    }

    /* ===== CHECK CIRCLE ===== */
    #orderSectionNfc .order-option-check {
        width: 22px !important;
        height: 22px !important;
        border-radius: 6px !important;
        border: 2px solid #d1d5db !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        background: #fff !important;
        transition: all .18s !important;
    }

        #orderSectionNfc .order-option-check i {
            font-size: 10px !important;
            color: #fff !important;
            opacity: 0 !important;
            transition: opacity .15s !important;
        }

    /* ===== CHECKED STATE ===== */
    #orderSectionNfc .order-option input[type="checkbox"]:checked ~ .order-option-box {
        background: #fefce8 !important;
        border-color: #facc15 !important;
    }

        #orderSectionNfc .order-option input[type="checkbox"]:checked ~ .order-option-box .order-option-check {
            background: #facc15 !important;
            border-color: #facc15 !important;
        }

            #orderSectionNfc .order-option input[type="checkbox"]:checked ~ .order-option-box .order-option-check i {
                opacity: 1 !important;
                color: #000 !important;
            }

    /* ===== OPTION CONTENT ===== */
    #orderSectionNfc .order-option-content {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
    }

    #orderSectionNfc .order-option-name {
        font-size: 14.5px !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        line-height: 1.3;
    }

    #orderSectionNfc .order-option-price {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #b45309 !important;
        white-space: nowrap !important;
    }

    /* ===== INFO ICON ===== */
    #orderSectionNfc .order-option-info {
        position: relative !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
    }

        #orderSectionNfc .order-option-info > i {
            font-size: 15px !important;
            color: #9ca3af !important;
            transition: color .15s !important;
        }

        #orderSectionNfc .order-option-info:hover > i,
        #orderSectionNfc .order-option-info:focus > i {
            color: #facc15 !important;
        }

    /* ===== TOOLTIP ===== */
    #orderSectionNfc .order-option-tooltip {
        display: none !important;
        position: absolute !important;
        right: 0 !important;
        bottom: 26px !important;
        background: #1a1a1a !important;
        color: #fff !important;
        font-size: 12px !important;
        padding: 12px 14px !important;
        border-radius: 12px !important;
        min-width: 195px !important;
        z-index: 99 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
        pointer-events: none !important;
        white-space: normal !important;
    }

        #orderSectionNfc .order-option-tooltip strong {
            display: block !important;
            margin-bottom: 6px !important;
            color: #facc15 !important;
        }

        #orderSectionNfc .order-option-tooltip ul {
            margin: 0 !important;
            padding-left: 16px !important;
            line-height: 1.85 !important;
        }

    #orderSectionNfc .order-option-info:hover .order-option-tooltip,
    #orderSectionNfc .order-option-info:focus .order-option-tooltip {
        display: block !important;
    }

    /* ===== TOTAL ROW ===== */
    #orderSectionNfc .order-total-row {
        width: 100% !important;
        max-width: 380px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 4px !important;
        background: linear-gradient(135deg,#000,#222) !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,.15) !important;
        border-radius: 12px !important;
        padding: 12px 16px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,.25) !important;
    }

    #orderSectionNfc .order-total-label {
        color: rgba(255,255,255,0.70) !important;
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    #orderSectionNfc .order-total-amount {
        color: #facc15 !important;
        font-size: 24px !important;
        font-weight: 700 !important;
    }

    /* ===== MAIN BUTTON ===== */
    #orderSectionNfc .btn-order-main {
        width: 100% !important;
        max-width: 380px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        background: #facc15 !important;
        color: #000 !important;
        border: none !important;
        border-radius: 50px !important;
        padding: 16px 24px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        margin: 0 !important;
        transition: filter .18s, transform .15s !important;
        box-shadow: 0 4px 18px rgba(250,204,21,0.35) !important;
    }

        #orderSectionNfc .btn-order-main:hover {
            filter: brightness(1.08) !important;
            transform: translateY(-1px) !important;
        }

    /* ===== DIVIDER ===== */
    #orderSectionNfc .order-divider {
        width: 100% !important;
        max-width: 380px !important;
        box-sizing: border-box !important;
        background: none !important;
        color: rgba(255,255,255,0.50) !important;
        font-size: 11px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

        #orderSectionNfc .order-divider::before,
        #orderSectionNfc .order-divider::after {
            content: '' !important;
            flex: 1 !important;
            height: 1px !important;
            background: rgba(255,255,255,0.25) !important;
        }

    /* ===== AMAZON BTN ===== */
    #orderSectionNfc .btn-amazon {
        width: 100% !important;
        max-width: 380px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        background: #111 !important;
        border: 1.5px solid #FF9900 !important;
        border-radius: 50px !important;
        padding: 10px 20px !important;
        text-decoration: none !important;
        transition: background .15s !important;
        box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
        font-size:18px;
    }

        #orderSectionNfc .btn-amazon:hover {
            background: #2a1e00 !important;
        }

        #orderSectionNfc .btn-amazon span {
            color: rgba(255,255,255,0.45) !important;
            font-size: 11px !important;
            background: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        #orderSectionNfc .btn-amazon i {
            color: #FF9900 !important;
            font-size: 11px !important;
        }

/* ===== RESPONSIVE ===== */
@media (max-width: 420px) {
    #orderSectionNfc .btn-order-main,
    #orderSectionNfc .order-options,
    #orderSectionNfc .order-section-title,
    #orderSectionNfc .order-total-row,
    #orderSectionNfc .order-divider,
    #orderSectionNfc .btn-amazon {
        max-width: 100% !important;
    }

    #orderSectionNfc .order-option-name {
        font-size: 13px !important;
    }
}


/* ═══════════════════════════════════════════
   THEME VARIABLES — har theme ek class hai
   Phone frame hamesha black rahega
═══════════════════════════════════════════ */
.theme-0 {
    --c-p1: #C4866E;
    --c-bg: #0C0906;
    --c-bg2: #121008;
    --c-text1: #F0E8E2;
    --c-text3: #9A8878;
    --c-border: rgba(196,134,110,0.22);
    --c-cover: #925946;
    --c-avatarbg: #241B17;
    --c-btnbg: rgba(196,134,110,0.12);
    --c-btnborder: rgba(196,134,110,0.38);
    --c-gridbg: #0C0906;
    --c-lbl: #C9A84C;
}



.theme-1 {
    --c-p1: #c77dff;
    --c-bg: #0d0d1a;
    --c-bg2: #13132a;
    --c-text1: #f0eaff;
    --c-text3: #8b7bb5;
    --c-border: rgba(199,125,255,0.25);
    --c-cover: #1e1040;
    --c-avatarbg: #2a1a50;
    --c-btnbg: rgba(199,125,255,0.12);
    --c-btnborder: rgba(199,125,255,0.40);
    --c-gridbg: #0d0d1a;
    --c-lbl: #6b5a9a;
}

.theme-2 {
    --c-p1: #8a5240;
    --c-bg: #ffffff;
    --c-bg2: #ffffff;
    --c-text1: #2a1a14;
    --c-text3: #a07060;
    --c-border: rgba(138,82,64,0.20);
    --c-cover: #f5e8df;
    --c-avatarbg: #f0dcd0;
    --c-btnbg: rgba(138,82,64,0.08);
    --c-btnborder: rgba(138,82,64,0.30);
    --c-gridbg: #fff8f3;
    --c-lbl: #c4a090;
}

.theme-3 {
    --c-p1: #c1121f;
    --c-bg: #ffffff;
    --c-bg2: #ffffff;
    --c-text1: #5a0f14;
    --c-text3: #b26a6f;
    --c-border: rgba(193,18,31,0.15);
    --c-cover: #fde8e8;
    --c-avatarbg: #fdd5d5;
    --c-btnbg: rgba(193,18,31,0.07);
    --c-btnborder: rgba(193,18,31,0.28);
    --c-gridbg: #fff8f7;
    --c-lbl: #d4a0a3;
}

.theme-4 {
    --c-p1: #7b5ea7;
    --c-bg: #ffffff;
    --c-bg2: #ffffff;
    --c-text1: #2d1b69;
    --c-text3: #9b8fbe;
    --c-border: rgba(123,94,167,0.16);
    --c-cover: #e0d5f5;
    --c-avatarbg: #d5c8f0;
    --c-btnbg: rgba(123,94,167,0.09);
    --c-btnborder: rgba(123,94,167,0.30);
    --c-gridbg: #f5f0fb;
    --c-lbl: #b8a8d8;
}

.theme-5 {
    --c-p1: #2d6a4f;
    --c-bg: #ffffff;
    --c-bg2: #ffffff;
    --c-text1: #1a3a2a;
    --c-text3: #88b09a;
    --c-border: rgba(45,106,79,0.16);
    --c-cover: #d4eddc;
    --c-avatarbg: #c2e0cc;
    --c-btnbg: rgba(45,106,79,0.09);
    --c-btnborder: rgba(45,106,79,0.28);
    --c-gridbg: #f0f9f3;
    --c-lbl: #a8ccb8;
}

/* ═══════════════════════════════════════════
   PHONE FRAME — always black
═══════════════════════════════════════════ */
.phone-frame {
    width: 220px;
    background: #111111;
    border-radius: 32px;
    border: 6px solid #222222;
    padding: 7px 5px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 460px;
    box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #333;
}

.notch {
    width: 44px;
    height: 11px;
    background: #111;
    border-radius: 0 0 9px 9px;
    margin-bottom: 5px;
    border: 2px solid #222;
    border-top: none;
}

/* ═══════════════════════════════════════════
   SCREEN — theme se color lega
═══════════════════════════════════════════ */
.screen {
    width: 100%;
    background: var(--c-bg);
    border-radius: 20px;
    overflow: hidden;
}

.v-card-head {
    background: var(--c-bg2);
    border: 1px solid var(--c-border);
    margin: 5px;
    border-radius: 10px;
    padding: 10px;
}

.vc-cover {
    background: var(--c-cover);
    border-radius: 6px 6px 0 0;
}

.vc-avatar-wrap {
    border-color: var(--c-border);
    background: var(--c-avatarbg);
}

.vc-name {
    color: var(--c-text1);
}

.vc-role {
    color: var(--c-p1);
}

.vc-comp-loc,
.vc-bio {
    color: var(--c-text3);
}

.vc-act-btn {
    background: var(--c-btnbg);
    border-color: var(--c-btnborder);
    color: var(--c-text1);
}

.vc-icons-grid {
    background: var(--c-gridbg);
}

.vc-icon-lbl {
    color: var(--c-lbl);
}



.vc-act-btns {
    display: flex ;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-top: 25px !important;
    width: 100% !important;
}

.vcx-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: fit-content !important;
    max-width: max-content !important;
    flex: none !important;
    white-space: nowrap !important;
    padding: 8px 26px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

/* Download - Primary, rose gold filled */
.vcx-btn-download {
    background: linear-gradient(135deg, #E8B4B8, #B76E79) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(183, 110, 121, 0.4) !important;
}

    .vcx-btn-download:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 7px 16px rgba(183, 110, 121, 0.5) !important;
        background: linear-gradient(135deg, #D9A0A6, #9C4F5A) !important;
    }

/* Print - Secondary, rose gold outline */
.vcx-btn-print {
    background: #ffffff !important;
    color: #9C4F5A !important;
    border-color: #B76E79 !important;
}

    .vcx-btn-print:hover {
        background: #B76E79 !important;
        color: #ffffff !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 12px rgba(183, 110, 121, 0.3) !important;
    }

.vcx-btn:active {
    transform: translateY(0) !important;
}

.vcx-btn i {
    font-size: 14px !important;
}

@media print {
    .card-1 .studio-name {
        writing-mode: vertical-lr !important;
        transform: none !important;
    }
}

/*26062026*/
.template-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding:7px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    border: 1px solid rgba(255, 255, 255, .15);
    font: 500 14px / 1 'Roboto', sans-serif;
    transition: all .25s ease;

}

    .template-btn i {
        font-size: 17px;
    }

    .template-btn:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg,#9F67FF,#7C3AED);
    }

    .template-btn:active {
        transform: translateY(0);
    }

    /*03-07-2026---------*/

/* ═══════════════════════════════════════════════════════
   DARK ROSE-GOLD / GOLD THEME OVERRIDE
   Load this file AFTER your existing CSS.
═══════════════════════════════════════════════════════ */

:root {
    /* Rose Gold */
    --rg: #C4866E;
    --rg-lt: #E8B4A0;
    --rg-dk: #8A5240;
    /* Gold */
    --gd: #C9A84C;
    --gd-lt: #E2C97E;
    --gd-dk: #8B6914;
    /* Dark bg */
    --d1: #0C0906;
    --d2: #121008;
    --d3: #181310;
    --card-bg: rgba(255,255,255,.036);
    --bdr: rgba(196,134,110,.18);
    --mt-d: #9A8878;
    --tx-d: #F0E8E2;
    /* Light bg (kept for reference / any light-only bits) */
    --tx-l: #180e08;
    --mt-l: #6b5a50;
    /* ── Remap old variable names used across the original CSS ──
       This makes every existing .chip/.chip-primary/.inline-edit-*
       and other var()-based rule auto-inherit the new theme. */
    --gold: var(--gd);
    --gold-light: var(--gd-lt);
    --gold-dark: var(--gd-dk);
    --gold-bg: var(--card-bg);
    --black: var(--d1);
    --black-soft: var(--d2);
    --text-dark: var(--tx-d);
    --text-muted: var(--mt-d);
    --border-gold: var(--bdr);
    --danger: #e0685a;
}

/* ── Page / backdrop ── */
body {
    background: var(--d1);
    color: var(--tx-d);
}

.backdrop,
.modal-box {
    background: var(--d1);
    border: 1px solid var(--bdr);
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

/* ── Left chat panel — lifted off the page as its own visible box ── */
.chat-side {
    background: linear-gradient(180deg, #17110a, #120d08);
    border-right: 2px solid rgba(196,134,110,.35);
    box-shadow: 4px 0 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.02);
    position: relative;
    z-index: 1;
}

.left-tab-bar {
    background: var(--d3);
    border-bottom-color: var(--bdr);
}

.left-tab-btn {
    color: var(--mt-d);
}

    .left-tab-btn.active {
        color: var(--rg-lt);
        border-bottom-color: var(--rg);
        background: var(--d2);
    }

.chat-header {
    background: linear-gradient(135deg, var(--d1), var(--d3));
}

.chat-header-icon.nfc-ico {
    background: linear-gradient(135deg, var(--rg), var(--gd));
}

.chat-header-icon.vc-ico {
    background: linear-gradient(135deg, var(--rg-dk), var(--rg));
}

.chat-header h6 {
    color: var(--tx-d);
}

.chat-header small {
    color: var(--mt-d);
}

.chat-progress-wrap {
    background: var(--d2);
    border-bottom-color: var(--bdr);
}

.chat-progress-label {
    color: var(--mt-d);
}

.pdot {
    background: rgba(255,255,255,.08);
}

    .pdot.done {
        background: var(--rg);
    }

    .pdot.active {
        background: var(--gd);
    }

.chat-messages {
    background: var(--d2);
    box-shadow: inset 0 8px 12px -8px rgba(0,0,0,.5), inset 0 -8px 12px -8px rgba(0,0,0,.5);
}

    .chat-messages::-webkit-scrollbar-thumb {
        background: var(--rg-dk);
    }

/* Brighter, clearly-defined bubbles so text doesn't get lost on the dark bg */
.bubble.bot {
    background: var(--d3) !important;
    color: var(--tx-d);
    border: 1.5px solid var(--bdr);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.bubble.usr {
    background: linear-gradient(135deg, var(--rg-lt), var(--gd-lt));
    color: var(--d1);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(196,134,110,.25);
}

.bubble b {
    color: var(--d1);
}

.bubble.bot b {
    color: var(--gd-lt);
    font-weight: 700;
}

.msg-av.bot {
    background: var(--d3);
    color: var(--gd-lt);
    border: 1px solid var(--bdr);
}

.msg-av.usr {
    background: linear-gradient(135deg, var(--rg-lt), var(--gd-lt));
    color: var(--d1);
    font-weight: 700;
}

.td {
    background: var(--gd);
}

.chips-area {
    background: linear-gradient(135deg, var(--d2), var(--d3));
    border-color: var(--bdr);
}

    .chips-area::before {
        background: linear-gradient(180deg, var(--gd-lt), var(--rg-dk));
    }

.chip {
    background: var(--card-bg);
    border-color: var(--bdr);
    color: var(--gd-lt);
}

    .chip:hover {
        background: var(--gd);
        color: var(--d1);
        border-color: var(--gd);
    }

    .chip.skip {
        background: var(--d3);
        color: var(--mt-d);
        border-color: var(--bdr);
    }

        .chip.skip:hover {
            background: var(--d1);
            color: var(--tx-d);
        }

.chip-primary {
    background: linear-gradient(135deg, var(--d2), var(--d1));
    border-color: var(--gd-dk);
    color: var(--tx-d);
}

    .chip-primary:hover {
        background: linear-gradient(135deg, var(--rg), var(--gd));
        color: var(--d1);
    }

#quickChips .chip {
    background: var(--d3) !important;
    color: var(--tx-d) !important;
    border-color: var(--bdr) !important;
}

    #quickChips .chip:hover {
        background: linear-gradient(135deg, var(--rg), var(--gd)) !important;
        color: var(--d1) !important;
    }

    #quickChips .chip.skip {
        background: var(--d1) !important;
        color: var(--mt-d) !important;
        border-color: var(--bdr) !important;
    }

/* ── Inputs everywhere ── */
.chat-inp, .chat-input, .form-control-c, .inline-edit-input,
.soc-url-row-chat input, .form-soc-row input, #serviceInput, #otpInput,
.inline-edit-row input {
    background: var(--d3);
    color: var(--tx-d);
    border-color: var(--bdr);
}

    .chat-inp::placeholder, .chat-input::placeholder, .form-control-c::placeholder,
    .inline-edit-input::placeholder, #serviceInput::placeholder {
        color: var(--mt-d);
    }

    .chat-inp:focus, .chat-input:focus, .form-control-c:focus,
    .inline-edit-input:focus, .inline-edit-row input:focus {
        border-color: var(--rg);
        box-shadow: 0 0 0 3px rgba(196,134,110,.15);
    }

    .chat-inp:disabled {
        background: var(--d2) !important;
        color: var(--mt-d) !important;
    }

.chat-input-area {
    background: var(--d2);
    border-top-color: var(--bdr);
}

.btn-send {
    background: linear-gradient(135deg, var(--rg), var(--gd));
    color: var(--d1);
}

.suggest-box {
    background: var(--d3);
    border-color: var(--bdr);
}

    .suggest-box div, .suggest-box .item {
        color: var(--tx-d);
        border-bottom-color: var(--d2);
    }

        .suggest-box div:hover, .suggest-box .item:hover {
            background: var(--d2);
            color: var(--gd-lt);
        }

/* ── Form panel ── */
.form-panel {
    background: var(--d1);
}

.form-basic-section {
    background: var(--d2);
    border-bottom-color: var(--d3);
}

.form-section-title {
    color: var(--mt-d);
}

    .form-section-title::after {
        background: var(--bdr);
    }

.form-row label {
    color: var(--mt-d);
}

.fsec-item {
    background: var(--d2);
    border-color: var(--bdr);
}

    .fsec-item.open {
        border-color: var(--rg);
    }

.fsec-title {
    color: var(--tx-d);
}

.fsec-subtitle {
    color: var(--mt-d);
}

.fsec-body {
    border-top-color: var(--d3);
}

.fsec-save-btn {
    background: linear-gradient(135deg, var(--rg), var(--gd));
    color: var(--d1);
}

.form-soc-row {
    background: var(--d3);
    border-color: var(--bdr);
}

.adv-field-label span {
    color: var(--tx-d);
}

.adv-field-label small {
    color: var(--mt-d);
}

/* ── Preview side — LIGHT rose-gold (phone/NFC card stays dark on top of this) ── */
.preview-side {
    background: linear-gradient(160deg, #FFF7F3 0%, #FCEEE6 55%, #F8E4D8 100%);
}

.prev-label {
    color: var(--rg-dk);
}

.tab-bar {
    background: rgba(196,134,110,.12);
}

.tab-btn {
    color: var(--mt-l);
}

    .tab-btn.active {
        background: linear-gradient(135deg, var(--rg), var(--gd));
        color: #fff !important;
    }

.nfcbt.active {
    background: var(--d1);
    color: var(--gd-lt) !important;
}

.sec-btn {
    background: #fff;
    border: 1px solid rgba(196,134,110,.25);
    color: var(--rg-dk);
    box-shadow: 0 2px 8px rgba(196,134,110,.15);
}

    .sec-btn:hover {
        background: #fff3ec;
    }

.live-prev-btn {
    background: #fff;
    border-color: rgba(196,134,110,.25);
    color: var(--mt-l);
}

.preview-card {
    background: #fff;
    border-color: rgba(196,134,110,.2);
}

.card-label {
    color: var(--mt-l);
}

.preview-popup {
    background: #1c1108;
    border-color: var(--gd-dk);
}

/* ── Order / checkout card — sits on the light preview side ── */
.order-section, .vcard-order-section {
    background: #fff;
    border: 1px solid rgba(196,134,110,.22);
    box-shadow: 0 10px 30px rgba(196,134,110,.18);
}

.order-section-title {
    color: var(--mt-l);
}

.btn-order-main, .btn-dl-vcard, #free_save_print .vc-act-btn:nth-child(2), .login-btn-main {
    background: linear-gradient(135deg, var(--rg), var(--gd));
    color: #fff;
}

.btn-amazon, .btn-amazon-vc {
    background: #fff;
    border-color: #FF9900;
    color: #b56400;
}

.order-divider {
    color: var(--mt-l);
}

    .order-divider::before, .order-divider::after {
        background: rgba(196,134,110,.2);
    }

.change-nfc-btn {
    background: #fff;
    border-color: var(--rg);
    color: var(--rg-dk);
}

    .change-nfc-btn:hover {
        background: linear-gradient(135deg, var(--rg), var(--gd));
        color: #fff;
    }

.free-badge1 {
    background: #fff;
    border-color: var(--gd);
    color: var(--gd-dk);
}

.paid-badge {
    color: var(--rg-dk);
}

/* ── Template & security modals ── */
.sec-modal, .nfc-tpl-modal {
    background: var(--d2);
    color: var(--tx-d);
}

.sec-modal-head {
    background: linear-gradient(135deg, var(--d1), var(--d3));
}

.nfc-tpl-title, .sec-modal-title {
    color: var(--tx-d);
}

.nfc-tpl-sub, .sec-modal-sub {
    color: var(--mt-d);
}

.sec-vis-card {
    border-color: var(--bdr);
    background: var(--d3);
}

    .sec-vis-card:hover {
        border-color: var(--rg);
        background: var(--d2);
    }

    .sec-vis-card.active-private {
        border-color: var(--gd);
        background: rgba(201,168,76,.08);
    }

    .sec-vis-card.active-public {
        border-color: var(--rg);
        background: rgba(196,134,110,.08);
    }

    .sec-vis-card .vis-title {
        color: var(--tx-d);
    }

    .sec-vis-card .vis-desc {
        color: var(--mt-d);
    }

.sec-adv-section {
    background: var(--d3);
    border-color: var(--bdr);
}

.adv-text .adv-title {
    color: var(--tx-d);
}

.adv-text .adv-desc {
    color: var(--mt-d);
}

.adv-toggle-row {
    border-bottom-color: var(--d2);
}

.sec-info-box {
    background: rgba(196,134,110,.08);
    border-color: var(--bdr);
    color: var(--gd-lt);
}

.sec-done-btn {
    background: linear-gradient(135deg, var(--rg), var(--gd));
    color: var(--d1);
}

/* ── OTP / login / service chips ── */
.otp-wrap {
    background: var(--d3);
    border-color: var(--bdr);
    box-shadow: none;
}

#verifyOtpBtn {
    background: linear-gradient(135deg, var(--rg), var(--gd));
    color: var(--d1);
}

#resendOtpBtn.chip {
    color: var(--mt-d);
}

.pic-chat-wrap {
    background: var(--d3);
    border-color: var(--bdr);
}

.pic-chat-info .lbl {
    color: var(--tx-d);
}

.pic-chat-info .hint {
    color: var(--mt-d);
}

.pic-chat-circle {
    background: var(--d2);
    border-color: var(--bdr);
}

.soc-url-bubble {
    background: var(--d3);
    border-color: var(--bdr);
}

    .soc-url-bubble label {
        color: var(--gd-lt);
    }

.soc-save-mini {
    background: linear-gradient(135deg, var(--rg), var(--gd));
    color: var(--d1);
}

.soc-chip-item {
    background: var(--d3);
    border-color: var(--bdr);
}

    .soc-chip-item:hover {
        background: var(--d2);
        border-color: var(--rg);
    }

    .soc-chip-item.sel {
        background: rgba(201,168,76,.1);
        border-color: var(--gd);
    }

    .soc-chip-item span {
        color: var(--mt-d);
    }

.tnc-chat-row {
    background: var(--d2);
    border-color: var(--bdr);
    color: var(--tx-d);
}

    .tnc-chat-row a {
        color: var(--gd-lt);
    }

/* ── Inline edit ── */
.bubble.usr.editing {
    background: var(--d3) !important;
    border-color: var(--bdr) !important;
}

.inline-edit-save {
    background: linear-gradient(135deg, var(--gd-lt), var(--gd-dk));
    color: var(--d1);
    border-color: var(--gd-dk);
}

.inline-edit-cancel {
    background: var(--d1);
    color: var(--tx-d);
    border-color: var(--d3);
}

.inline-saved-tag {
    background: linear-gradient(135deg, var(--gd-lt), var(--gd-dk));
    color: var(--d1);
}

/* ── Social select grid ── */
.soc-select-card:hover, .soc-select-card.sel {
    background: var(--d3);
}

    .soc-select-card.sel .soc-select-icon {
        border-color: var(--gd);
    }

.soc-select-lbl {
    color: var(--mt-d);
}

.soc-check-ic {
    color: var(--gd-lt) !important;
}

/* ── Template chooser cards keep their own dark bg, just align close ── */
.nfc-tpl-card.selected {
    border-color: var(--rg);
    box-shadow: 0 0 0 3px rgba(196,134,110,.25);
}

.tpl-check {
    background: var(--gd);
}

.btn-save-tpl {
    background: linear-gradient(135deg, var(--rg), var(--gd));
    color: var(--d1);
}

/* ── NFC / VCard preview card itself stays dark/branded — untouched ── */

.template-btn {
    background: linear-gradient(135deg, var(--rg-dk), var(--rg));
}

    .template-btn:hover {
        background: linear-gradient(135deg, var(--rg), var(--gd));
    }

/*.nfc-tpl-1 {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px !important;
}*/

label {
    color: #ffffff;
}
.iti .iti__selected-dial-code {
    margin-left: 4px;
    color: #fff;
}
.fsec-badge.empty {
    background: #f5f5f5;
    color: #000000;
}


/*  footer for mobile---*/

.about-trigger-wrap {
    font-family: Arial, sans-serif;
    padding: 20px;
}

.copyright-line {
    font-size: 14px;
    color: #333;
}

.about-link {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}




@media (max-width: 1200px) {
    .bubble {
        max-width: 100%;
    }
}


/*---footer changes */
@media (max-width:520px) {
    /* ===== Trigger link (small html jo bahar dena hai) ===== */
    .about-trigger-wrap {
        font-family: Arial, sans-serif;
        padding: 10px;
        display: block;
    }

    .copyright-line {
        font-size: 16px;
        color: #ffffff;
        text-align: center;
        display: block;
    }

    .about-link {
        color: #c58d69;
        text-decoration: underline;
        cursor: pointer;
        font-weight: 600;
    }

    /* ===== Modal Overlay ===== */
    #footer-box {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 99998;
        justify-content: center;
        align-items: center;
    }

        #footer-box.active {
            display: block;
            background-color: #000;
        }

    /* ===== Phone-look Modal Box ===== */
    #aboutModalBox {
        background: #1c1c1c;
        width: 100%;
        max-width: 420px; /* phone jaisa width */
        height: 100%;
        max-height: 100vh;
        overflow-y: auto;
        position: relative;
        box-shadow: 0 0 25px rgba(0,0,0,0.5);
        animation: slideUp 0.35s ease-out;
        display: flex;
        flex-direction: column;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }


    /* ===== Big Back Button (bottom fixed) ===== */
    #aboutModalBackBtn {
        width: 100%;
        padding: 18px 0;
        background: #e63946;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        border: none;
        cursor: pointer;
        letter-spacing: 1px;
        flex-shrink: 0;
    }

        #aboutModalBackBtn:active {
            background: #c62828;
        }


    #footer-box.active {
        display: block;
        background-color: #000;
        overflow: hidden;
        overflow-y: auto !important;
        /* Firefox */
        scrollbar-width: thin;
        scrollbar-color: #d4a373 #1a1a1a;
        padding-bottom: 0 !important;
    }

        /* Chrome, Edge, Safari */
        #footer-box.active::-webkit-scrollbar {
            width: 10px;
        }

        #footer-box.active::-webkit-scrollbar-track {
            background: #1a1a1a;
            border-radius: 10px;
        }

        #footer-box.active::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #f4d1c2 0%, #d4a373 50%, #b76e79 100%);
            border-radius: 10px;
            border: 2px solid #1a1a1a;
        }

            #footer-box.active::-webkit-scrollbar-thumb:hover {
                background: linear-gradient(180deg, #ffd7c7 0%, #e0b089 50%, #c27a84 100%);
            }

        #footer-box.active::-webkit-scrollbar-corner {
            background: #1a1a1a;
        }

    .btab {
        width: 100%;
    }



    #footerBackBtn {
        position: sticky;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        border: none;
        cursor: pointer;
        z-index: 9999;
        background: linear-gradient(135deg, #d4a373, #b76e79);
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        box-shadow: 0 -4px 12px rgba(0,0,0,.25);
    }

        #footerBackBtn:hover {
            background: linear-gradient(135deg, #e5b48b, #cb8390);
        }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

.about-trigger-wrap{
    display:none;
}

@media (max-width: 480px) {
    .about-trigger-wrap {
        display: block;
    }

    #planTabs {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .big-tabs .btab {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        gap: 10px;
        flex: none; /* har tab apni natural height le, shrink na ho */
    }


    .btab-icon {
        flex-shrink: 0;
        margin-right: 6px;
    }

    .btab-label {
        flex: 1;
        text-align: left;
        font-weight: 700;
        font-size: 0.9rem;
    }

    .btab-price {
        flex-shrink: 0;
        padding: 5px 10px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        font-style: italic;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    header a.logo img {
        max-height: 36px;
    }

    .navbar-top {
        padding-block: 8px !important;
    }

    .searchbox {
        display: none;
    }

    .user-img-box {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        min-width: 110px;
        max-width: 160px;
        margin-left: auto;
        padding-bottom: 2px;
        /* border-left: 1px solid #696969; */
        margin-left: 15px;
        position: relative;
        padding-left: 0px !important;
        position: absolute;
        top: 3px;
        z-index: 999999;
        right: 97px;
    }

        .user-img-box::after {
            display: none;
        }

    .user-profile-top {
        height: 35px;
        width: 35px;
        overflow: hidden;
        border-radius: 50%;
        border: 4px solid #c8a056;
        background-color: #fff;
        /* padding: 7px; */
        /* line-height: 19px; */
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        padding: 0px;
    }

    .user-text h3 {
        font-size: 18px;
        font-weight: 600;
        line-height: 20px;
        color: #c8a056;
        margin: 0;
        padding-left: 4px;
    }

    .header-with-topbar .navbar-top, .header-with-topbar .navbar-fixed-top {
        top: 0px !important;
        background: #1a110d !important;
    }

    section.vcardmodile {
        display: none;
    }

    .hero-in {
        padding-top: 15px;
    }

    .menubtn1 .mobile-toggle span, header.sticky nav.header-light .heder-menu-button .mobile-toggle span {
        background: #c8a056;
    }

    a.logo.lg-w {
        display: inline-block;
        padding-left: 10px;
    }
    /* Child Cards */
    .trust.fu4 > div:not(.trust-sep) {
        min-width: 115px;
        padding: 10px 10px;
        text-align: center;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: all .3s ease;
    }

    .trust {
        gap: 9px;
        margin-top: 20px;
    }

    .trust-sep {
        display: none;
    }

    .loginBtn {
        position: absolute;
        right: 82px;
        top: 6px;
    }

    a.log_in, a.reg_in {
        background: linear-gradient(135deg, var(--rg-dk), var(--rg), var(--gd)) !important;
        border-color: #fff !important;
    }

    .sticky.header-with-topbar .top-header-area {
        top: 0px !important;
    }

    .qr-placeholder canvas {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
    }

    .backdrop.show {
        padding-top: 45px;
    }

    .sec-btn {
        top: 14px;
    }

    .chat-side {
        height: 580px;
    }

    .left-tab-btn {
        flex: 1;
        padding: 2px 0;
    }

    .chat-header {
        padding: 0px 25px 7px 16px;
    }

        .chat-header h6 {
            font-size: 1rem;
            line-height: 1;
        }

    .chat-inp {
        min-height: 42px;
        font-size: 1rem;
        line-height: 1.1;
    }

    .btn-send {
        width: 40px;
        height: 40px;
    }


    span.msg-txt {
        white-space: pre-line;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .chat-progress-wrap {
        padding: 3px 14px 5px;
    }
    .basic6 {
        transform: scale(0.7);
    }
    .basic3, .card.t3, .basic2, .basic5 {
        transform: scale(0.7);
    }

   

}

@media (max-width:520px) {
    /*#pane-nfc {
        position: relative !important;
    }*/

    .modal-box {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .preview-side {
        overflow: visible !important;
        height: auto !important;
    }
    /* Highlight Confirm & Continue button */
    #quickChips .chip {
        font-size: 14px;
        width: auto;
        height: auto;
    }
    /* ===== OVERLAY ===== */
    #orderSectionNfc {
        /*height: 100%;*/
    }
}


.order-option-name span {
    font-size: 10px !important;
    border-radius: 50px !important;
}
.badge-stic {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
}

#chatDesigSuggestions div {
    background: transparent !important;
    background-color: transparent !important;
}
.free-price {
    text-decoration: line-through;
    color: #d8450c;
}

.free-price::after {
        content: "Free";
        text-decoration: none;
        display: inline-block;
        margin-left: 6px;
        padding: 4px 8px;
        background: #16a34a;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        vertical-align: middle;
        line-height: 1.2;
    }

span#p-init-vc {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.soc-select-icon i.fa-brands.fa-x-twitter {
    color: #fff !important;
}

/* Close button — heading ke right side */
.order-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-close-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--mt-d, #888);
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .2s;
}

    .order-close-btn:hover {
        background: rgba(255,0,0,.08);
        color: #e11d48;
        transform: rotate(90deg);
    }

/* Order Now trigger button */
/*.btn-order-now-trigger {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(249,115,22,.4);
    transition: transform .2s;
}*/
.btn-order-now-trigger {
    background: linear-gradient(135deg, #facc15, #f5ac71);
    color: #000000;
    border: none;
    padding: 8px 20px;
    line-height: 1.2;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(249, 115, 22, .4);
    transition: transform .2s;
    z-index: 5;
    animation: orderGlowPulse 1s ease-out 3;
    border: 1px solid #ffffff;
}

    .btn-order-now-trigger:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgb(227 196 134);
    }

  

/* ★ Highlight animation jab section wapas dikhe */
@keyframes orderGlowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249,115,22,.7);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(249,115,22,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249,115,22,0);
    }
}

.order-section.highlight-orange {
    animation: orderGlowPulse 1s ease-out 3;
    border-radius: 14px;
}

iframe#launcher {
    display: none !important;
}

.top-left-btns-act {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.chat-phone-wrap .iti__dropdown-content {
    background-color: #ffffff00 !important;
}
.iti__search-input {
    color: #000 !important;
}


div#chatCitySuggestions div {
    background: transparent !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    appearance: none !important;
    background-image: none !important;
    background-color: transparent !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    transition: background-color 9999s ease-in-out 0s;
}


input::placeholder {
    color: var(--tx-d)!important;
    opacity: 1;
}
#authGateOverlay input::placeholder {
    color: var(--tx-d) !important;
    opacity: 1;
}

button#authResendOtpBtn {
    width: auto;
}


/* ===== Toast Container ===== */
#toast-container {
    position: fixed;
    top: 35px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

/* ===== Toast Card ===== */
.toast {
    min-width: 280px;
    max-width: 360px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
    padding: 14px 16px;
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    border-left: 4px solid #2563eb;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(.21,1.02,.73,1), opacity 0.35s ease;
}

    .toast.show {
        transform: translateX(0);
        opacity: 1;
    }

    .toast.hide {
        transform: translateX(120%);
        opacity: 0;
    }

    .toast.error {
        border-left-color: #e11d48;
    }

    .toast.success {
        border-left-color: #16a34a;
    }

    .toast.warning {
        border-left-color: #d97706;
    }

    .toast.info {
        border-left-color: #2563eb;
    }

.toast-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-top: 1px;
}

.toast.error .toast-icon {
    background: #e11d48;
}

.toast.success .toast-icon {
    background: #16a34a;
}

.toast.warning .toast-icon {
    background: #d97706;
}

.toast.info .toast-icon {
    background: #2563eb;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 2px;
}

.toast-message {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

    .toast-close:hover {
        color: #374151;
    }

/* progress bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 0 10px;
    background: currentColor;
    opacity: 0.35;
}

.toast {
    position: relative;
    overflow: hidden;
}

    .toast.error .toast-progress {
        color: #e11d48;
    }

    .toast.success .toast-progress {
        color: #16a34a;
    }

    .toast.warning .toast-progress {
        color: #d97706;
    }

    .toast.info .toast-progress {
        color: #2563eb;
    }

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }

}

