/* Live Chat Widget */
.lc-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    font-family: Inter, system-ui, sans-serif;
}

.lc-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #00ca63, #00afa0);
    color: #0b111a;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 202, 99, 0.35);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-toggle-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #0b111a;
    display: none;
}

.lc-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 100px);
    background: #0f1419;
    border: 1px solid #1e293b;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #1e293b;
    background: #121820;
}

.lc-tabs {
    display: flex;
    gap: 6px;
}

.lc-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
}

.lc-tab.active {
    background: #1e293b;
    color: #f1f5f9;
}

.lc-online-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 4px;
}

.lc-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.lc-boost {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 12px;
    padding: 10px 12px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 10px;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 600;
}

.lc-messages {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lc-loading, .lc-empty {
    color: #64748b;
    font-size: 13px;
    text-align: center;
    padding: 24px 0;
}

.lc-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.lc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00afa0, #00ca63);
    color: #0b111a;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.lc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-msg-body {
    flex: 1;
    min-width: 0;
}

.lc-msg-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.lc-msg-name {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
}

.lc-msg-time {
    color: #64748b;
    font-size: 11px;
    margin-left: auto;
}

.lc-msg-text {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
}

.lc-msg.own .lc-msg-name {
    color: #00ca63;
}

.lc-lock {
    margin: 0 12px 8px;
    padding: 8px 10px;
    background: rgba(251, 191, 36, 0.08);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lc-input-row {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #1e293b;
    background: #121820;
}

.lc-input {
    flex: 1;
    background: #1a2332;
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 10px 14px;
    color: #e2e8f0;
    font-size: 13px;
    outline: none;
}

.lc-input:focus {
    border-color: #00ca63;
}

.lc-input:disabled {
    opacity: 0.6;
}

.lc-emoji {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
}

.lc-send {
    background: #00ca63;
    border: none;
    color: #0b111a;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
}

.lc-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .lc-panel {
        width: calc(100vw - 16px);
        right: -8px;
        height: 70vh;
    }
}