/* ==========================================================================
   UCT Beauty AI Floating Live Chat Styles (Mobile-First & High z-index)
   ========================================================================== */

/* ── Base Widget Container ──────────────────────────────────────────────── */
.uct-chat-widget {
    position: fixed;
    bottom: 76px;
    right: 20px;
    z-index: 2000000 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .uct-chat-widget {
        bottom: 28px;
        right: 28px;
    }
}

/* ── Launcher Button ────────────────────────────────────────────────────── */
.uct-chat-launcher {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #181615;
    border: 2px solid #C5A880;
    color: #FAF8F5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(24, 22, 21, 0.35);
    transition: transform 0.25s ease, background 0.25s, box-shadow 0.25s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.uct-chat-launcher:hover {
    transform: scale(1.08);
    background: #C5A880;
    color: #181615;
    box-shadow: 0 10px 28px rgba(197, 168, 128, 0.45);
}

.uct-chat-launcher svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* ── Chat Window (Desktop / Default) ────────────────────────────────────── */
.uct-chat-window {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 385px;
    max-width: calc(100vw - 24px);
    height: 540px;
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(197, 168, 128, 0.3);
    border: 1px solid #EAE4DC;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2000000 !important;
    animation: uctChatFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.uct-chat-window.active {
    display: flex;
}

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

/* ── Chat Header ────────────────────────────────────────────────────────── */
.uct-chat-header {
    background: #C9828A;
    color: #FAF8F5;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    min-height: 56px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.uct-chat-header-left {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.uct-chat-topbar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.uct-chat-brand-emblem {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.uct-chat-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.uct-chat-brand-name {
    font-family: 'Tenor Sans', 'Playfair Display', 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #FFFFFF !important;
    line-height: 1.05;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.uct-chat-brand-desc {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.4px;
    color: #FFFFFF !important;
    opacity: 0.95;
    line-height: 1.25;
    white-space: nowrap;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.uct-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 8px;
}

/* Prominent Close (✕) Button */
.uct-chat-close {
    background: rgba(255, 255, 255, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.uct-chat-close:hover,
.uct-chat-close:focus-visible {
    background: #FFFFFF !important;
    color: #C9828A !important;
    border-color: #FFFFFF !important;
    transform: scale(1.08);
}

.uct-chat-close svg {
    display: block;
    width: 14px;
    height: 14px;
}

/* ── Chat Body ──────────────────────────────────────────────────────────── */
.uct-chat-body {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #FAF8F5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uct-chat-msg {
    max-width: 88%;
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.55;
    border-radius: 12px;
    word-break: break-word;
}

.uct-chat-bullet {
    margin: 4px 0 4px 6px;
    font-size: 13px;
    line-height: 1.5;
}

.uct-chat-msg strong {
    color: #181615;
    font-weight: 700;
}

.uct-chat-msg code {
    background: #F2ECE4;
    color: #8C5835;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 12px;
}

.uct-chat-msg-bot {
    background: #FFFFFF;
    color: #2D2723;
    align-self: flex-start;
    border: 1px solid #EAE4DC;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.uct-chat-msg-user {
    background: #181615;
    color: #FAF8F5;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* ── Interactive Product Grid Inside Chat ───────────────────────────────── */
.uct-chat-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #E2DACF;
}

.uct-chat-prod-card {
    background: #FAF8F5;
    border: 1px solid #E8E2D8;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.uct-chat-prod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #C5A880;
}

.uct-chat-prod-img-wrap {
    display: block;
    width: 100%;
    height: 95px;
    background: #FFFFFF;
    overflow: hidden;
    position: relative;
}

.uct-chat-prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.uct-chat-prod-card:hover .uct-chat-prod-img-wrap img {
    transform: scale(1.05);
}

.uct-chat-prod-info {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.uct-chat-prod-title {
    font-size: 12px;
    font-weight: 600;
    color: #181615;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.uct-chat-prod-title:hover {
    color: #CB8C91;
}

.uct-chat-prod-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
}

.uct-chat-prod-price {
    font-size: 12px;
    font-weight: 700;
    color: #5A7F78;
}

.uct-chat-prod-btn {
    background: #181615;
    color: #FAF8F5 !important;
    text-align: center;
    padding: 8px 6px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.uct-chat-prod-btn:hover {
    background: #CB8C91;
    color: #FFF !important;
}

/* ── Chat Footer ────────────────────────────────────────────────────────── */
.uct-chat-footer {
    padding: 12px 14px;
    background: #FFFFFF;
    border-top: 1px solid #EAE4DC;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.uct-chat-footer input {
    flex-grow: 1;
    border: 1px solid #EAE4DC;
    border-radius: 9999px;
    padding: 11px 16px;
    font-size: 13.5px;
    background: #FAF8F5;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.uct-chat-footer input:focus {
    border-color: #C5A880;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.25);
}

.uct-chat-footer button {
    background: #181615;
    color: #FAF8F5;
    border: none;
    outline: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.uct-chat-footer button:hover {
    background: #C5A880;
    color: #181615;
    transform: scale(1.05);
}

.uct-chat-footer button:focus-visible {
    outline: 2px solid #C5A880;
    outline-offset: 2px;
}

/* ==========================================================================
   📱 MOBILE RESPONSIVE TAKEOVER (≤576px)
   Guarantees full screen, pins header at top above site nav (z-index 2000000),
   and displays prominent close (✕) button!
   ========================================================================== */

@media (max-width: 576px) {
    /* Widget container */
    .uct-chat-widget {
        bottom: 74px !important;
        right: 16px !important;
        z-index: 2000000 !important;
    }

    /* Fullscreen window when active */
    .uct-chat-window.active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        z-index: 2000000 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Chat header at top with safe-area support */
    .uct-chat-window.active .uct-chat-header {
        padding-top: max(12px, env(safe-area-inset-top, 0px)) !important;
        padding-right: max(14px, env(safe-area-inset-right, 0px)) !important;
        padding-left: max(14px, env(safe-area-inset-left, 0px)) !important;
        min-height: 56px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 20 !important;
    }

    /* Close button always visible */
    .uct-chat-window.active .uct-chat-close {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    /* Hide launcher button when chat window is active on mobile */
    .uct-chat-window.active ~ .uct-chat-launcher,
    .uct-chat-widget.uct-chat-fullscreen .uct-chat-launcher {
        display: none !important;
    }

    /* Footer safe area support */
    .uct-chat-window.active .uct-chat-footer {
        padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Responsive product grid */
    .uct-chat-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .uct-chat-prod-img-wrap {
        height: 85px !important;
    }
}

/* ── Very Narrow Mobile Screens (≤360px) ────────────────────────────────── */
@media (max-width: 360px) {
    .uct-chat-product-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .uct-chat-prod-card {
        flex-direction: row !important;
    }

    .uct-chat-prod-img-wrap {
        width: 82px !important;
        height: 82px !important;
        flex-shrink: 0 !important;
    }

    .uct-chat-prod-info {
        padding: 6px 8px !important;
    }

    .uct-chat-prod-title {
        font-size: 11.5px !important;
    }

    .uct-chat-prod-btn {
        min-height: 32px !important;
        padding: 6px 6px !important;
        font-size: 10.5px !important;
    }
}

/* ── Landscape Orientation Handling ─────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
    .uct-chat-window.active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 0 !important;
    }

    .uct-chat-header {
        padding: 8px 14px !important;
        min-height: 44px !important;
    }

    .uct-chat-body {
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    .uct-chat-footer {
        padding: 8px 12px !important;
    }

    .uct-chat-prod-img-wrap {
        height: 65px !important;
    }
}

/* ── Reduced Motion Support ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .uct-chat-window {
        animation: none !important;
    }

    .uct-chat-launcher,
    .uct-chat-prod-card,
    .uct-chat-prod-img-wrap img,
    .uct-chat-close,
    .uct-chat-prod-btn,
    .uct-chat-footer button {
        transition: none !important;
    }
}

/* ── Body Scroll Lock Class ─────────────────────────────────────────────── */
body.uct-chat-open {
    overflow: hidden !important;
}


/* ==========================================================================
   DIRECT WHATSAPP CHAT BUTTON & INTERACTIVE POPUP
   ========================================================================== */
.uct-chat-widget.uct-has-whatsapp {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
}

/* ── WhatsApp Launcher Button ───────────────────────────────────────────── */
.uct-wa-launcher {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(18, 140, 126, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    z-index: 2000001;
}

.uct-wa-launcher:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

.uct-wa-launcher svg {
    width: 30px;
    height: 30px;
    fill: #FFFFFF;
}

/* Radar pulse animation around WhatsApp launcher */
.uct-wa-radar-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0;
    pointer-events: none;
    animation: uctWaPulse 2.4s infinite ease-out;
}

@keyframes uctWaPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    60% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Header WhatsApp pill in AI Live Chat */
.uct-chat-wa-header-pill {
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    color: #075E54 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    line-height: 1 !important;
}

.uct-chat-wa-header-pill:hover {
    background: #F0FDF4 !important;
    color: #128C7E !important;
    transform: scale(1.04);
}

.uct-chat-wa-pill-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    margin-right: 5px;
    flex-shrink: 0;
}

/* Suppress overlapping floating launcher buttons when active window is open */
#uctChatWidget.uct-chat-open-active .uct-wa-launcher,
#uctChatWidget.uct-chat-open-active .uct-chat-launcher,
.uct-chat-window.active ~ .uct-wa-launcher,
.uct-chat-window.active ~ .uct-chat-launcher,
#uctChatWidget.uct-wa-open-active .uct-wa-launcher,
#uctChatWidget.uct-wa-open-active .uct-chat-launcher,
.uct-wa-popup.active ~ .uct-wa-launcher,
.uct-wa-popup.active ~ .uct-chat-launcher {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* ── WhatsApp Popup Card ────────────────────────────────────────────────── */
.uct-wa-popup {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 28px);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(37, 211, 102, 0.3);
    border: 1px solid #ECE7E1;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2000005 !important;
    animation: uctWaPopupIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.uct-wa-popup.active {
    display: flex;
}

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

/* Header */
.uct-wa-popup-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    color: #FFFFFF;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #25D366;
}

.uct-wa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.uct-wa-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.uct-wa-online-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #25D366;
    border: 2px solid #FFFFFF;
    z-index: 2;
}

.uct-wa-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
}

.uct-wa-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-top: 2px;
}

.uct-wa-close-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s ease;
}
.uct-wa-close-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

/* Body */
.uct-wa-popup-body {
    padding: 16px;
    background: #FAF9F6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uct-wa-bubble {
    background: #FFFFFF;
    border: 1px solid #ECE7E1;
    border-left: 3px solid #25D366;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.uct-wa-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.uct-wa-chip {
    background: #FFFFFF;
    border: 1px solid #DCD5CD;
    color: #444444;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.uct-wa-chip:hover {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
}

.uct-wa-textarea-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uct-wa-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7A7269;
}

.uct-wa-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #CCD0D4;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-family: inherit;
    resize: none;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.uct-wa-textarea:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.uct-wa-send-action-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.2s ease;
}
.uct-wa-send-action-btn:hover {
    background: linear-gradient(135deg, #1ebe5d 0%, #0e7266 100%);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
}

/* ── Lead Collection Initial Card & Form Styles ────────────────────────── */
.uct-chat-lead-card {
    background: #FFFFFF;
    border: 1.5px solid #CB8C91;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(203, 140, 145, 0.12);
    animation: uctLeadSlideDown 0.3s ease;
}

@keyframes uctLeadSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uct-chat-lead-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #CB8C91 0%, #C5A880 100%);
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.uct-lead-greeting {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #181615;
    font-weight: 600;
}

.uct-lead-bullet-title {
    margin: 8px 0 4px;
    font-size: 12px;
    font-weight: 700;
    color: #CB8C91;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.uct-lead-bullets {
    margin: 0 0 8px;
    padding-left: 0;
    list-style: none;
    font-size: 12.5px;
    color: #332E2C;
}

.uct-lead-bullets li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 2px;
}

.uct-lead-bullets li::before {
    content: "•";
    position: absolute;
    left: 2px;
    color: #CB8C91;
    font-weight: bold;
}

.uct-lead-desc {
    margin: 0 0 8px;
    font-size: 11.5px;
    color: #666;
    line-height: 1.45;
}

.uct-lead-closing {
    margin: 0 0 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #181615;
}

.uct-lead-field {
    margin-bottom: 10px;
}

.uct-lead-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #181615;
    margin-bottom: 3px;
}

.uct-req {
    color: #C84B31;
    font-weight: 800;
}

.uct-lead-field input[type="text"],
.uct-lead-field input[type="tel"] {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1.5px solid #E2D7CC;
    border-radius: 6px;
    font-size: 13px;
    background: #FFFDF9;
    color: #181615;
    outline: none;
    transition: all 0.2s ease;
}

.uct-lead-field input:focus {
    border-color: #CB8C91;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(203, 140, 145, 0.2);
}

.uct-gender-radios {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.uct-gender-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1.5px solid #E2D7CC;
    border-radius: 6px;
    background: #FFFDF9;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.uct-gender-label input {
    margin: 0;
    cursor: pointer;
}

.uct-gender-label:hover {
    border-color: #CB8C91;
    background: #FFF5F5;
}

.uct-gender-label:has(input:checked) {
    border-color: #CB8C91;
    background: #FFF5F5;
    color: #CB8C91;
}

.uct-lead-submit-btn {
    width: 100%;
    height: 40px;
    margin-top: 6px;
    background: linear-gradient(135deg, #181615 0%, #332E2C 100%);
    color: #FAF8F5;
    border: 1.5px solid #C5A880;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(24, 22, 21, 0.15);
}

.uct-lead-submit-btn:hover {
    background: #CB8C91;
    border-color: #CB8C91;
    box-shadow: 0 6px 16px rgba(203, 140, 145, 0.35);
    transform: translateY(-1px);
}

.uct-lead-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.uct-lead-error {
    color: #D32F2F;
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 6px;
    padding: 4px 8px;
    background: #FFEBEE;
    border-radius: 4px;
}

.uct-lead-profile-badge {
    padding: 8px 12px;
    background: #F4FBF4;
    border: 1px solid #C8E6C9;
    border-radius: 6px;
    font-size: 12px;
    color: #2E7D32;
    font-weight: 600;
    text-align: center;
}

.uct-chat-lead-card.uct-lead-collapsed {
    padding: 10px 14px;
    background: #FAF8F5;
    border-color: #E2D7CC;
    box-shadow: none;
    margin-bottom: 10px;
}

.uct-chat-lead-card.uct-lead-collapsed .uct-chat-lead-badge {
    display: none;
}
