/* WhatsApp tarzı gelişmiş sohbet widget’ı */
.wa-chat-fab {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 999997;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    transition: transform 0.2s ease;
}
.wa-chat-fab:hover {
    transform: scale(1.05);
}
.wa-chat-panel {
    position: fixed;
    left: 24px;
    bottom: 92px;
    z-index: 999998;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #0b141a;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: "Segoe UI", system-ui, sans-serif;
}
.wa-chat-panel.open {
    display: flex;
}
.wa-chat-header {
    background: #202c33;
    color: #e9edef;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wa-chat-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #2a3942;
}
.wa-chat-header .wa-title {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
}
.wa-chat-close {
    background: none;
    border: 0;
    color: #aebac1;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.wa-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #0b141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='%231a2428' fill-opacity='.35' d='M0 0h80v80H0z'/%3E%3C/svg%3E");
}
.wa-bubble {
    max-width: 88%;
    padding: 8px 10px 6px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}
.wa-bubble.in {
    background: #202c33;
    color: #e9edef;
    margin-right: auto;
    border-top-left-radius: 2px;
}
.wa-bubble.out {
    background: #005c4b;
    color: #e9edef;
    margin-left: auto;
    border-top-right-radius: 2px;
}
.wa-bubble .wa-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-align: right;
    margin-top: 4px;
}
.wa-chat-input-row {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: #202c33;
    align-items: center;
}
.wa-chat-input-row input {
    flex: 1;
    border: 0;
    border-radius: 24px;
    padding: 10px 14px;
    background: #2a3942;
    color: #e9edef;
    font-size: 14px;
}
.wa-chat-input-row input::placeholder {
    color: #8696a0;
}
.wa-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #00a884;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}
.wa-handoff-btn {
    display: block;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

