/* WhatsApp Contact Widget Styles */
.qfi-wa-container {
    font-family: 'Montserrat', 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    z-index: 999999;
}

/* Chat Box Container */
.qfi-wa-box {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 340px;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    z-index: 999999;
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 1;
    transform: translateY(0) scale(1);
    transform-origin: bottom right;
}

.qfi-wa-box.qfi-wa-hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.92);
    display: none !important;
}

/* Header */
.qfi-wa-header {
    background-color: #25d366;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.qfi-wa-header-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qfi-wa-header-text {
    color: #ffffff;
    font-size: 14.5px;
    line-height: 1.4;
    font-weight: 400;
}

.qfi-wa-header-text strong {
    font-weight: 700;
}

/* Body */
.qfi-wa-body {
    padding: 18px 20px 20px 20px;
    background-color: #ffffff;
}

.qfi-wa-subtitle {
    color: #8c92a0;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Contact Cards */
.qfi-wa-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f7f9;
    border-left: 3px solid #25d366;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.qfi-wa-card:last-child {
    margin-bottom: 0;
}

.qfi-wa-card:hover {
    background-color: #ebf0f3;
    transform: translateY(-1px);
}

.qfi-wa-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qfi-wa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qfi-wa-info {
    display: flex;
    flex-direction: column;
}

.qfi-wa-name {
    color: #384047;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.2;
}

.qfi-wa-sub {
    color: #8c92a0;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-top: 3px;
}

.qfi-wa-card-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Action Button */
.qfi-wa-trigger {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.qfi-wa-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #22c35e;
}

.qfi-wa-trigger:active {
    transform: scale(0.95);
}

.qfi-wa-trigger .qfi-wa-hide {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .qfi-wa-box {
        width: calc(100vw - 30px);
        right: 15px;
        bottom: 90px;
    }
    .qfi-wa-trigger {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}
