/* CSS */
.flex-container {
  display: flex;
  gap: 10px; /* Optional: Adds space between the boxes */
}

.box {
  flex: 1; /* Makes both boxes take up equal width */
  padding: 20px;
  background-color: #f1f1f1;
}







/* Floating WhatsApp Button */
.wa-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: 0.3s ease;
}

.wa-floating-btn:hover {
    background: #128C7E;
    transform: scale(1.08);
}

.wa-floating-btn svg {
    width: 34px;
    height: 34px;
    fill: white;
}

/* Popup Container */
.wa-chat-box {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    max-width: calc(100vw - 30px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(0,0,0,0.20);
    z-index: 9998;
    font-family: "Open Sans", Arial, sans-serif;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Open Popup */
.wa-chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header */
.wa-chat-header {
    background: linear-gradient(135deg, #075E54, #128C7E);
    color: white;
    padding: 22px 20px;
    position: relative;
}

.wa-chat-header h3 {
    margin: 0 0 7px;
    font-size: 21px;
    font-weight: 700;
}

.wa-chat-header p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Close Button */
.wa-close-btn {
    position: absolute;
    top: 14px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

/* Agents Area */
.wa-agents {
    padding: 18px;
    background: #f7f9f8;
}

.wa-agents-title {
    font-size: 12px;
    color: #777;
    margin-bottom: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Individual Agent */
.wa-agent {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #e9eeee;
    border-radius: 11px;
    text-decoration: none;
    transition: all 0.25s ease;
}

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

.wa-agent:hover {
    border-color: #25D366;
    background: #f0fff5;
    transform: translateX(3px);
}

/* Agent Icon */
.wa-agent-icon {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e2f7e9;
    color: #128C7E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

/* Online Indicator */
.wa-online {
    position: absolute;
    width: 11px;
    height: 11px;
    background: #25D366;
    border: 2px solid white;
    border-radius: 50%;
    bottom: 1px;
    right: 1px;
}

/* Agent Details */
.wa-agent-info {
    flex: 1;
}

.wa-agent-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.wa-agent-info p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

/* Arrow */
.wa-agent-arrow {
    color: #25D366;
    font-size: 22px;
    font-weight: bold;
}

/* Footer */
.wa-chat-footer {
    padding: 13px;
    text-align: center;
    background: white;
    font-size: 11px;
    color: #999;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .wa-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .wa-chat-box {
        right: 15px;
        bottom: 90px;
        width: calc(100vw - 30px);
    }
}