/* ==========================================
   QTech Multi-Channel Floating Chat Widget
========================================== */
.qtech-chat-widget {
    position: fixed;
    bottom: 25px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.qtech-chat-widget.pos-right {
    right: 25px;
}

.qtech-chat-widget.pos-left {
    left: 25px;
}

/* Launcher Button */
.qtech-chat-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1877F2, #0052CC);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qtech-chat-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.45);
}

/* Popup Box */
.qtech-chat-box {
    position: absolute;
    bottom: 75px;
    width: 320px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    animation: qtechFadeInUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.qtech-chat-widget.pos-right .qtech-chat-box {
    right: 0;
}

.qtech-chat-widget.pos-left .qtech-chat-box {
    left: 0;
}

.qtech-chat-header {
    background: linear-gradient(135deg, #1877F2, #0052CC);
    color: #FFFFFF;
    padding: 18px 20px;
    position: relative;
}

.qtech-chat-header h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

.qtech-chat-header p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
}

.qtech-chat-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
}

.qtech-chat-close:hover {
    opacity: 1;
}

/* Channels List */
.qtech-chat-channels {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qtech-channel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    background: #F8F9FA;
    border: 1px solid #ECEEF1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.qtech-channel-item:hover {
    background: #EEF2F6;
    transform: translateX(3px);
}

.qtech-channel-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-wa .qtech-channel-icon {
    background: #25D366;
}

.channel-phone .qtech-channel-icon {
    background: #007AFF;
}

.channel-email .qtech-channel-icon {
    background: #EA4335;
}

.qtech-channel-text {
    display: flex;
    flex-direction: column;
}

.qtech-channel-text strong {
    color: #1E293B;
    font-size: 13px;
    font-weight: 700;
}

.qtech-channel-text span {
    color: #64748B;
    font-size: 11px;
    margin-top: 2px;
}

@keyframes qtechFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}