#swc-chat-widget { position: fixed; z-index: 99999; font-family: inherit; }
.swc-toggle-btn {
    width: var(--swc-btn-size); height: var(--swc-btn-size);
    background: linear-gradient(135deg, var(--swc-primary), var(--swc-secondary));
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: white; transition: transform 0.2s; position: relative;
}
.swc-toggle-btn:hover { transform: scale(1.05); }
.swc-toggle-btn .dashicons { font-size: 24px; width: auto; height: auto; }

/* Tooltip */
.swc-tooltip {
    position: absolute; white-space: nowrap;
    background: #333; color: #fff; padding: 5px 10px; border-radius: 4px; font-size: 12px;
}

/* Window */
.swc-chat-window {
    position: absolute;
    width: var(--swc-width); height: var(--swc-height);
    background: white; border-radius: var(--swc-radius);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; pointer-events: none; transition: all 0.3s;
    transform: scale(0.9);
}
.swc-open .swc-chat-window { opacity: 1; pointer-events: auto; transform: scale(1); }

.swc-window-header {
    background: linear-gradient(135deg, var(--swc-primary), var(--swc-secondary));
    color: white; padding: 15px; font-weight: bold;
}
.swc-window-body { flex: 1; padding: 15px; overflow-y: auto; background: #f9f9f9; }
.swc-window-footer { padding: 15px; border-top: 1px solid #eee; background: white; }

.swc-msg { margin-bottom: 8px; padding: 8px 12px; border-radius: 8px; font-size: 13px; max-width: 80%; }
.swc-msg.user { background: var(--swc-primary); color: white; margin-right: auto; border-bottom-left-radius: 2px; }
.swc-msg.admin { background: #e2e8f0; color: #333; margin-left: auto; border-bottom-right-radius: 2px; }

#swc-login-form input, #swc-msg { width: 100%; margin-bottom: 8px; padding: 8px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; }
#swc-send { width: 100%; background: var(--swc-secondary); color: white; border: none; padding: 8px; border-radius: 4px; cursor: pointer; }