﻿/* --- Support Button & Panel --- */
.support-btn {
    position: fixed; bottom: 20px; right: 20px; width: 55px; height: 55px;
    background: var(--black); border: 2px solid var(--pink); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; cursor: pointer;
    box-shadow: var(--neon-glow); z-index: 1001; transition: 0.3s;
}
.support-btn svg { fill: var(--pink); width: 28px; }

.support-badge {
    position: absolute; top: 2px; right: 2px; width: 12px; height: 12px;
    background: #fff; border: 2px solid var(--pink); border-radius: 50%;
    display: none; box-shadow: 0 0 10px #fff;
}
.support-badge.active { display: block; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.support-panel {
    position: fixed; bottom: 85px; right: 20px; width: 320px; background: #111;
    border: 1px solid var(--pink); border-radius: 12px; box-shadow: var(--neon-glow);
    z-index: 1000; padding: 15px; display: none; flex-direction: column; gap: 10px;
}
.support-panel.active { display: flex; }

.chat-area { border-top: 1px solid #333; margin-top: 10px; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.chat-box { height: 230px; background: #0a0a0a; border: 1px solid #222; border-radius: 8px; overflow-y: auto; padding: 10px; font-size: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { max-width: 85%; padding: 10px; border-radius: 10px; word-wrap: break-word; }
.chat-msg.user { background: var(--pink); color: #000; align-self: flex-end; font-weight: 700; border-bottom-right-radius: 2px; }
.chat-msg.admin { background: #222; color: #fff; align-self: flex-start; border: 1px solid #444; border-bottom-left-radius: 2px; }
.chat-system { text-align: center; color: #777; font-size: 11px; align-self: center; margin: 10px 0; font-style: italic; }

.chat-input-row { display: flex; gap: 8px; }
.chat-input-row input { flex: 1; padding: 10px; background: #000; border: 1px solid #333; color: #fff; border-radius: 6px; outline: none; }
.chat-input-row button { background: var(--pink); border: none; color: #000; font-weight: 900; padding: 0 15px; cursor: pointer; border-radius: 6px; }

/* Toast Notification */
.toast {
    position: fixed; top: 100px; right: -400px; background: #fff; color: #000;
    padding: 15px 25px; border-left: 5px solid var(--pink); font-weight: 900;
    text-transform: uppercase; font-size: 11px; z-index: 2000; transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.toast.show { right: 20px; }

@media (max-width: 600px) {
    .support-panel { width: calc(100vw - 40px); }
    .toast { width: calc(100vw - 80px); right: -120%; }
    .toast.show { right: 20px; }
}