.ets-wa-widget-container {
    position: fixed;
    bottom: 20px;
    z-index: 999999;
    font-family: Arial, sans-serif;
    width: 60px;
    height: 60px;
}
.ets-wa-widget-container.pos-right {
    right: 20px;
    left: auto;
}
.ets-wa-widget-container.pos-left {
    left: 20px;
    right: auto;
}
.ets-wa-widget-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    position: absolute;
    bottom: 0;
}
.ets-wa-widget-toggle:hover {
    transform: scale(1.1);
}
.ets-wa-widget-box {
    display: none;
    width: 320px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    position: absolute;
    bottom: 75px;
}
.ets-wa-widget-container.pos-right .ets-wa-widget-box {
    right: 0 !important;
    left: auto !important;
}
.ets-wa-widget-container.pos-left .ets-wa-widget-box {
    left: 0 !important;
    right: auto !important;
}
.ets-wa-widget-header {
    padding: 15px 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ets-wa-header-title {
    font-size: 16px;
    font-weight: bold;
}
.ets-wa-header-close {
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.ets-wa-widget-body {
    padding: 10px;
    max-height: 350px;
    overflow-y: auto;
    background: #f9f9f9;
}
.ets-wa-agent-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: background 0.2s;
}
.ets-wa-agent-card:hover {
    background: #f1f1f1;
}
.ets-wa-agent-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    margin-right: 15px;
}
.ets-wa-agent-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.ets-wa-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: #fff;
}
.ets-wa-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.ets-wa-status-dot.online {
    background-color: #4caf50;
}
.ets-wa-status-dot.offline {
    background-color: #9e9e9e;
}
.ets-wa-agent-info {
    flex: 1;
}
.ets-wa-agent-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 3px;
}
.ets-wa-agent-department {
    font-size: 12px;
    color: #777;
    margin-bottom: 3px;
}
.ets-wa-agent-status-text {
    font-size: 11px;
    color: #999;
}
.ets-wa-agent-action {
    width: 24px;
    height: 24px;
}

@media (max-width: 767px) {
    .ets-wa-hide-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .ets-wa-hide-tablet { display: none !important; }
}
@media (min-width: 1025px) {
    .ets-wa-hide-pc { display: none !important; }
}
