/* QuickHelp Live - Premium Tawk.to style CSS */
:root {
    --qh-primary: #0e4e7c;
    --qh-whatsapp: #25d366;
    --qh-telegram: #0088cc;
    --qh-bg: #ffffff;
    --qh-text: #334155;
    --qh-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Floating Action Button (FAB) */
#qh-fab {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: var(--qh-primary);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#qh-fab:hover {
    transform: scale(1.1);
}

#qh-fab i {
    color: #fff;
    font-size: 28px;
    transition: transform 0.3s;
}

#qh-fab.active i {
    transform: rotate(90deg);
}

/* "We Are Here" Hint */
#qh-hint {
    position: fixed;
    bottom: 40px;
    background: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: var(--qh-shadow);
    font-weight: 600;
    font-size: 13px;
    color: var(--qh-primary);
    white-space: nowrap;
    pointer-events: none;
    z-index: 999998;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

#qh-hint.show {
    opacity: 1;
    transform: translateY(0);
}

/* Popup Card */
#qh-popup-wrapper {
    position: fixed;
    bottom: 100px;
    width: 320px;
    background: var(--qh-bg);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f5f9;
}

#qh-popup-wrapper.qh-show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Positioning */
.qh-pos-right #qh-fab {
    right: 30px;
}

.qh-pos-right #qh-popup-wrapper {
    right: 30px;
}

.qh-pos-right #qh-hint {
    right: 100px;
}

.qh-pos-left #qh-fab {
    left: 30px;
}

.qh-pos-left #qh-popup-wrapper {
    left: 30px;
}

.qh-pos-left #qh-hint {
    left: 100px;
}

/* Card Content */
.qh-card-header {
    background: var(--qh-primary);
    padding: 25px 20px;
    color: #fff;
    position: relative;
}

.qh-close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s;
    font-weight: 400;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qh-close-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg);
}

.qh-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.qh-card-header p {
    margin: 5px 0 0 0;
    font-size: 13px;
    opacity: 0.9;
}

.qh-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qh-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    border: 1px solid #f1f5f9;
}

.qh-btn:hover {
    transform: translateX(5px);
    background: #f8fafc;
}

.qh-btn i {
    font-size: 20px;
}

.qh-btn-whatsapp {
    color: var(--qh-whatsapp);
    border-color: #25d36670;
}

.qh-btn-whatsapp:hover {
    background: var(--qh-whatsapp) !important;
    color: #fff !important;
    border-color: var(--qh-whatsapp);
    transform: translateY(-2px);
}

.qh-btn-whatsapp:hover i {
    color: #fff;
}

.qh-btn-telegram {
    color: var(--qh-telegram);
    border-color: #0088cc47;
}

.qh-btn-telegram:hover {
    background: var(--qh-telegram) !important;
    color: #fff !important;
    border-color: var(--qh-telegram);
    transform: translateY(-2px);
}

.qh-btn-telegram:hover i {
    color: #fff;
}

/* Animation for the hint */
@keyframes qh-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

#qh-hint.show {
    animation: qh-bounce 2s infinite;
}