/* ============================================================
   🧠 OEPgpt Header Button Styles
   ============================================================ */

/* Topbar Button (Header) */
.topbar-oepgpt-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 13px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(124, 58, 237, 0.16) 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 20px;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    user-select: none;
}

[data-theme="dark"] .topbar-oepgpt-btn {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(168, 85, 247, 0.28) 100%);
    border-color: rgba(129, 140, 248, 0.45);
    color: #c7d2fe;
}

.topbar-oepgpt-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.22) 0%, rgba(124, 58, 237, 0.32) 100%);
    border-color: rgba(99, 102, 241, 0.65);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
    color: #4338ca;
}

[data-theme="dark"] .topbar-oepgpt-btn:hover {
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(129, 140, 248, 0.4);
}

.topbar-oepgpt-emoji {
    font-size: 16px;
    line-height: 1;
}

.topbar-oepgpt-label {
    letter-spacing: -0.2px;
}

.topbar-oepgpt-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: oepgpt-dot-pulse 2s infinite;
}

@keyframes oepgpt-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Ensure redundant floating launcher or panel are never shown */
#oepgptLauncherBtn,
.oepgpt-launcher-btn,
#oepgptCopilotPanel,
.oepgpt-copilot-panel {
    display: none !important;
}
