.fcw-container {
    position: fixed;
    bottom: 20px;
    z-index: 999999;
    font-family: 'Inter Tight', sans-serif;
}

.fcw-container[data-pos="right"] {
    right: 20px;
}

.fcw-container[data-pos="left"] {
    left: 20px;
}

.fcw-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--fcw-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.fcw-trigger:hover {
    transform: scale(1.05);
}

.fcw-popup {
    display: none;
    position: absolute;
    bottom: 80px;
    width: 300px;
    height: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    flex-direction: column;
}

.fcw-container[data-pos="right"] .fcw-popup {
    right: 0;
}

.fcw-container[data-pos="left"] .fcw-popup {
    left: 0;
}

.fcw-popup.active {
    display: flex;
}

.fcw-header {
    background: var(--fcw-primary);
    color: #fff;
    padding: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcw-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.fcw-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #fdf5e6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fcw-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    font-family: 'Inter', sans-serif;
}

.fcw-msg.bot {
    align-self: flex-start;
    background: #fff;
    color: #0c1a10;
    border: 1px solid #f5e6cc;
    border-bottom-left-radius: 4px;
}

.fcw-msg.user {
    align-self: flex-end;
    background: var(--fcw-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.fcw-faq-list {
    padding: 10px;
    background: #fff;
    border-top: 1px solid #f5e6cc;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 120px;
    overflow-y: auto;
}

.fcw-faq-btn {
    background: none;
    border: 1px solid var(--fcw-primary);
    color: var(--fcw-primary);
    padding: 8px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 13px;
    text-align: left;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.fcw-faq-btn:hover {
    background: var(--fcw-primary);
    color: #fff;
}

.fcw-typing {
    display: inline-flex;
    gap: 4px;
    padding: 6px 0;
}

.fcw-typing span {
    width: 6px;
    height: 6px;
    background: #09080e;
    border-radius: 50%;
    animation: fcw-bounce 1.4s infinite ease-in-out both;
}

.fcw-typing span:nth-child(1) { animation-delay: -0.32s; }
.fcw-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes fcw-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}