:root {
    --wa-primary: #25D366;
    --wa-secondary: #128C7E;
    --wa-light: #DCF8C6;
}

.wa-float-button-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1050;
}

.wa-main-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--wa-primary);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.wa-main-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.wa-agent-list {
    position: absolute;
    bottom: 75px; /* Above the main button */
    left: 0;
    width: 320px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: bottom left;
}

.wa-agent-list.show {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.wa-header {
    background-color: var(--wa-secondary);
    color: white;
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-header h5 {
    margin: 0;
}

.wa-close-btn {
    cursor: pointer;
    font-size: 1.2rem;
}

.wa-body {
    padding: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.wa-agent-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.wa-agent-item:hover {
    background-color: #f0f2f5;
}

.wa-agent-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.wa-agent-info .wa-agent-name {
    font-weight: 600;
}

.wa-agent-info .wa-agent-dept {
    font-size: 0.85rem;
    color: #6c757d;
}

.wa-agent-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
}

.wa-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.wa-status-indicator.available {
    background-color: var(--wa-primary);
}

.wa-status-indicator.offline {
    background-color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .wa-float-button-container {
        bottom: 15px;
        left: 15px;
    }
    .wa-agent-list {
        width: calc(100vw - 30px);
    }
}
