/* ==========================================================================
   WhatsApp Premium Chat Widget - Stylesheet (CDN / Standalone)
   Version: 2.0.0
   ========================================================================== */

:root {
    --wacf-primary: #00A884;
    --wacf-primary-dark: #008069;
    --wacf-teal-deep: #075E54;
    --wacf-wa-green: #25D366;
    --wacf-header-gradient: linear-gradient(135deg, #075E54 0%, #0b6858 55%, #008069 100%);
    --wacf-btn-gradient: linear-gradient(135deg, #25D366 0%, #00A884 100%);
    --wacf-bg-wallpaper: #EFEAE2;
    --wacf-bubble-bg: #FFFFFF;
    --wacf-text-dark: #111B21;
    --wacf-text-muted: #667781;
    --wacf-text-subtle: #8696A0;
    --wacf-border: #E9EDEF;
    --wacf-card-bg: #FFFFFF;
    --wacf-input-bg: #F0F2F5;
    --wacf-input-border: #E0E4E7;
    --wacf-input-focus: #00A884;
    --wacf-blue-ticks: #53BDEB;
    --wacf-shadow-window: 0 16px 48px rgba(11, 20, 26, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
    --wacf-shadow-bubble: 0 1px 1.5px rgba(11, 20, 26, 0.13);
    --wacf-shadow-button: 0 8px 26px rgba(37, 211, 102, 0.42);
    --wacf-radius-sm: 8px;
    --wacf-radius-md: 14px;
    --wacf-radius-lg: 20px;
    --wacf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wacf-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    font-family: var(--wacf-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Widget Position Variants
   -------------------------------------------------------------------------- */
.wacf-position-bottom-right {
    bottom: 30px;
    right: 30px;
    left: auto;
    top: auto;
}

.wacf-position-bottom-left {
    bottom: 30px;
    left: 30px;
    right: auto;
    top: auto;
}

.wacf-position-bottom-left .wacf-launcher-wrapper {
    justify-content: flex-start;
}

.wacf-position-bottom-left .wacf-greeting-tooltip {
    left: 76px;
    right: auto;
    animation: wacf-slide-right 0.5s ease;
}

.wacf-position-bottom-left .wacf-greeting-tooltip::after {
    left: -6px;
    right: auto;
    border-right: none;
    border-top: none;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.wacf-position-bottom-left .wacf-chat-window {
    left: 0;
    right: auto;
    transform-origin: bottom left;
}

.wacf-position-top-right {
    top: 30px;
    bottom: auto;
    right: 30px;
    left: auto;
}

.wacf-position-top-right .wacf-greeting-tooltip {
    top: 8px;
    bottom: auto;
    right: 76px;
}

.wacf-position-top-right .wacf-chat-window {
    top: 78px;
    bottom: auto;
    right: 0;
    transform-origin: top right;
}

.wacf-position-top-left {
    top: 30px;
    bottom: auto;
    left: 30px;
    right: auto;
}

.wacf-position-top-left .wacf-launcher-wrapper {
    justify-content: flex-start;
}

.wacf-position-top-left .wacf-greeting-tooltip {
    top: 8px;
    bottom: auto;
    left: 76px;
    right: auto;
    animation: wacf-slide-right 0.5s ease;
}

.wacf-position-top-left .wacf-greeting-tooltip::after {
    left: -6px;
    right: auto;
    border-right: none;
    border-top: none;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.wacf-position-top-left .wacf-chat-window {
    top: 78px;
    bottom: auto;
    left: 0;
    right: auto;
    transform-origin: top left;
}

@keyframes wacf-slide-right {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --------------------------------------------------------------------------
   Floating Launcher & Greeting Tooltip
   -------------------------------------------------------------------------- */

.wacf-launcher-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.wacf-greeting-tooltip {
    position: absolute;
    right: 76px;
    bottom: 8px;
    background: #FFFFFF;
    color: var(--wacf-text-dark);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(11, 20, 26, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: wacf-slide-left 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 10;
}

.wacf-greeting-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.wacf-tooltip-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--wacf-primary);
}

.wacf-tooltip-content {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: left;
}

.wacf-tooltip-content strong {
    font-size: 13px;
    color: var(--wacf-text-dark);
    font-weight: 600;
}

.wacf-tooltip-content span {
    font-size: 11.5px;
    color: var(--wacf-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.wacf-tooltip-dot {
    width: 6px;
    height: 6px;
    background-color: var(--wacf-wa-green);
    border-radius: 50%;
    display: inline-block;
}

.wacf-tooltip-close {
    background: none;
    border: none;
    color: var(--wacf-text-subtle);
    font-size: 16px;
    line-height: 1;
    padding: 2px;
    cursor: pointer;
    margin-left: 2px;
    transition: color 0.2s;
}

.wacf-tooltip-close:hover {
    color: var(--wacf-text-dark);
}

@keyframes wacf-slide-left {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wacf-floating-button {
    width: 62px;
    height: 62px;
    background: var(--wacf-btn-gradient);
    border-radius: 50%;
    box-shadow: var(--wacf-shadow-button);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    user-select: none;
}

.wacf-floating-button::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--wacf-wa-green);
    opacity: 0.3;
    animation: wacf-ping-ring 2.4s infinite cubic-bezier(0, 0, 0.2, 1);
    z-index: -1;
}

@keyframes wacf-ping-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    70%, 100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.wacf-floating-button:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.wacf-floating-button:active {
    transform: scale(0.95);
}

.wacf-btn-icon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wacf-btn-wa-icon,
.wacf-btn-close-icon {
    position: absolute;
    color: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wacf-btn-wa-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.wacf-btn-close-icon {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    font-size: 22px;
}

.wacf-floating-button.wacf-active .wacf-btn-wa-icon {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.wacf-floating-button.wacf-active .wacf-btn-close-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.wacf-notification-dot {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 14px;
    height: 14px;
    background-color: #FF3B30;
    border-radius: 50%;
    border: 2.5px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: wacf-pulse 2s infinite;
}

@keyframes wacf-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

/* --------------------------------------------------------------------------
   Chat Window Container
   -------------------------------------------------------------------------- */

.wacf-chat-window {
    position: absolute;
    bottom: 78px;
    right: 0;
    width: 375px;
    background: #FFFFFF;
    border-radius: var(--wacf-radius-lg);
    box-shadow: var(--wacf-shadow-window);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92) translateY(20px);
    transform-origin: bottom right;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 120px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
}

.wacf-chat-window.wacf-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.wacf-chat-header {
    background: var(--wacf-header-gradient);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wacf-header-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wacf-avatar-wrapper {
    position: relative;
}

.wacf-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wacf-online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background-color: var(--wacf-wa-green);
    border-radius: 50%;
    border: 2px solid var(--wacf-teal-deep);
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
}

.wacf-header-info h4 {
    margin: 0 !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.25 !important;
    letter-spacing: -0.2px;
}

.wacf-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.wacf-header-info p {
    margin: 2px 0 0 0 !important;
    font-size: 12.5px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2 !important;
}

.wacf-header-status-dot {
    width: 7px;
    height: 7px;
    background-color: var(--wacf-wa-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--wacf-wa-green);
}

.wacf-close-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.wacf-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Body & Wallpaper
   -------------------------------------------------------------------------- */

.wacf-chat-body {
    background-color: var(--wacf-bg-wallpaper);
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.045'%3E%3Cpath d='M14 16H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2zM8 7a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H8zm56 56h-6a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2zm-6-9a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-6zm0-47h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-6zM14 63H8a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2zM8 54a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1H8zm28-26a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-1a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm12 36a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM24 44a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm28-18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm-14 3a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/g%3E%3C/svg%3E");
    padding: 16px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wacf-chat-body::-webkit-scrollbar {
    width: 5px;
}

.wacf-chat-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 4px;
}

/* Date Divider */
.wacf-date-divider {
    text-align: center;
    margin: 2px 0 6px 0;
}

.wacf-date-divider span {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 1px rgba(11, 20, 26, 0.12);
    border-radius: 7.5px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: #54656F;
    text-transform: uppercase;
    display: inline-block;
}

/* Message Bubble */
.wacf-message-bubble {
    background: var(--wacf-bubble-bg);
    padding: 10px 14px 7px 14px;
    border-radius: 9px;
    position: relative;
    box-shadow: var(--wacf-shadow-bubble);
    max-width: 90%;
    align-self: flex-start;
    border-top-left-radius: 0;
    text-align: left;
    animation: wacf-bubble-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.wacf-message-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid var(--wacf-bubble-bg);
    border-left: 10px solid transparent;
}

.wacf-message-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.wacf-message-author {
    font-size: 13px !important;
    color: var(--wacf-primary-dark) !important;
    font-weight: 700 !important;
    letter-spacing: -0.1px;
}

.wacf-message-text {
    font-size: 13.8px !important;
    color: var(--wacf-text-dark) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.wacf-message-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 4px;
}

.wacf-message-time {
    font-size: 11px !important;
    color: var(--wacf-text-subtle) !important;
    line-height: 1;
}

.wacf-read-receipt {
    display: inline-flex;
    align-items: center;
}

/* Quick Topic Chips */
.wacf-quick-chips-wrapper {
    margin: 2px 0 4px 0;
}

.wacf-chips-label {
    font-size: 11.5px;
    color: var(--wacf-text-muted);
    margin: 0 0 6px 2px;
    font-weight: 500;
    text-align: left;
}

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

.wacf-chip {
    background: #FFFFFF;
    color: var(--wacf-text-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 11px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wacf-chip:hover {
    border-color: var(--wacf-primary);
    background: #F7FCFA;
    color: var(--wacf-primary-dark);
    transform: translateY(-1px);
}

.wacf-chip.active {
    background: #E8F7F4;
    border-color: var(--wacf-primary);
    color: var(--wacf-primary-dark);
    font-weight: 600;
}

/* Multi-Agent Contact List */
.wacf-agents-list {
    background: var(--wacf-card-bg);
    border-radius: var(--wacf-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(11, 20, 26, 0.07);
    border: 1px solid var(--wacf-border);
}

.wacf-select-prompt {
    padding: 12px 16px;
    margin: 0;
    font-size: 12px;
    color: var(--wacf-text-muted);
    border-bottom: 1px solid var(--wacf-border);
    background: #F8F9FA;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.wacf-agent-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--wacf-border);
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

.wacf-agent-item:last-child {
    border-bottom: none;
}

.wacf-agent-item:hover {
    background: #F0F2F5;
}

.wacf-agent-avatar-wrap {
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
}

.wacf-agent-avatar-wrap img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #FFFFFF;
}

.wacf-agent-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background-color: var(--wacf-wa-green);
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.wacf-agent-details {
    flex-grow: 1;
}

.wacf-agent-details strong {
    display: block;
    font-size: 14.5px;
    color: var(--wacf-text-dark);
    font-weight: 600;
    margin-bottom: 2px;
}

.wacf-agent-details span {
    font-size: 12px;
    color: var(--wacf-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.wacf-agent-chevron {
    color: var(--wacf-text-subtle);
    font-size: 13px;
    margin-left: 8px;
    transition: transform 0.2s;
}

.wacf-agent-item:hover .wacf-agent-chevron {
    transform: translateX(3px);
    color: var(--wacf-primary);
}

/* --------------------------------------------------------------------------
   Form Container & Dynamic Inputs
   -------------------------------------------------------------------------- */

.wacf-form-container {
    background: var(--wacf-card-bg);
    padding: 16px;
    border-radius: var(--wacf-radius-md);
    box-shadow: 0 2px 14px rgba(11, 20, 26, 0.07);
    border: 1px solid var(--wacf-border);
}

.wacf-back-btn {
    background: none;
    border: none;
    color: var(--wacf-primary-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.wacf-back-btn:hover {
    color: var(--wacf-teal-deep);
    text-decoration: underline;
}

.wacf-form-header {
    margin-bottom: 12px;
    text-align: left;
}

.wacf-form-header h5 {
    margin: 0 0 2px 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--wacf-text-dark);
}

.wacf-form-header p {
    margin: 0;
    font-size: 12px;
    color: var(--wacf-text-muted);
}

.wacf-form-group {
    margin-bottom: 10px;
}

.wacf-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.wacf-input-icon {
    position: absolute;
    left: 12px;
    color: var(--wacf-text-subtle);
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
}

.wacf-input-container.textarea-container .wacf-input-icon {
    top: 12px;
}

.wacf-input-container input,
.wacf-input-container textarea {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--wacf-input-border);
    border-radius: var(--wacf-radius-sm);
    font-size: 13.5px;
    font-family: inherit;
    box-sizing: border-box;
    background: var(--wacf-input-bg);
    color: var(--wacf-text-dark);
    transition: all 0.2s ease;
}

.wacf-input-container input:hover,
.wacf-input-container textarea:hover {
    background: #FFFFFF;
}

.wacf-input-container input:focus,
.wacf-input-container textarea:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--wacf-input-focus);
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.16);
}

.wacf-input-container:focus-within .wacf-input-icon {
    color: var(--wacf-primary);
}

.wacf-input-container textarea {
    resize: vertical;
    min-height: 64px;
    line-height: 1.4;
}

/* CTA Submit Button */
.wacf-submit-btn {
    width: 100%;
    background: var(--wacf-btn-gradient);
    color: #FFFFFF;
    border: none;
    padding: 12px 18px;
    border-radius: 24px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    margin-top: 4px;
}

.wacf-submit-btn:hover {
    background: linear-gradient(135deg, #1ebe5d 0%, #008f6f 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-1.5px);
}

.wacf-submit-btn:active {
    transform: scale(0.98);
}

.wacf-submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none !important;
}

.wacf-btn-label {
    letter-spacing: -0.1px;
}

.wacf-btn-arrow {
    font-size: 12px;
    transition: transform 0.2s;
}

.wacf-submit-btn:hover .wacf-btn-arrow {
    transform: translateX(3px);
}

/* Privacy Footer */
.wacf-chat-footer {
    background: #FFFFFF;
    padding: 10px 14px;
    text-align: center;
    font-size: 11.5px;
    color: var(--wacf-text-muted);
    border-top: 1px solid var(--wacf-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wacf-chat-footer i {
    color: var(--wacf-primary);
    font-size: 11px;
}

.wacf-chat-footer a {
    color: var(--wacf-primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.wacf-chat-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .wacf-widget-container {
        bottom: 16px;
        right: 16px;
    }

    .wacf-widget-container.wacf-position-bottom-left {
        bottom: 16px;
        left: 16px;
        right: auto;
    }

    .wacf-widget-container.wacf-position-top-left {
        top: 16px;
        bottom: auto;
        left: 16px;
        right: auto;
    }

    .wacf-widget-container.wacf-position-top-right {
        top: 16px;
        bottom: auto;
        right: 16px;
        left: auto;
    }

    .wacf-greeting-tooltip {
        right: 0;
        bottom: 74px;
        padding: 8px 12px;
    }

    .wacf-position-bottom-left .wacf-greeting-tooltip,
    .wacf-position-top-left .wacf-greeting-tooltip {
        left: 0;
        right: auto;
    }

    .wacf-greeting-tooltip::after {
        display: none;
    }

    .wacf-chat-window {
        width: calc(100vw - 32px);
        bottom: 74px;
        right: 0;
        max-height: calc(100vh - 96px);
        border-radius: var(--wacf-radius-md);
    }

    .wacf-position-bottom-left .wacf-chat-window,
    .wacf-position-top-left .wacf-chat-window {
        left: 0;
        right: auto;
    }

    .wacf-position-top-left .wacf-chat-window,
    .wacf-position-top-right .wacf-chat-window {
        top: 74px;
        bottom: auto;
    }
}

