* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; -webkit-tap-highlight-color: rgba(0,0,0,0); }
html, body { width: 100%; height: 100%; background-color: #000; color: #ffffff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); } ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

.glass-card { background: rgba(20, 20, 20, 0.4); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.action-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 0px; cursor: pointer; text-decoration: none; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s ease; border: 1px solid transparent; background: none; color: #fff; }

/* FIX FOR DARK DROPDOWNS */
.input-field, .select-field, .textarea-field { width: 100%; padding: 12px; background-color: #181818; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 0px; font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none; transition: 0.3s; }
.input-field:focus, .select-field:focus, .textarea-field:focus { border-color: rgba(0, 255, 100, 0.5); }
.select-field { appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; padding-right: 35px; }
.textarea-field { resize: vertical; min-height: 80px; }

.btn-discord { background: rgba(88, 101, 242, 0.15); border: 1px solid rgba(88, 101, 242, 0.4); color: white; } .btn-discord:hover { background: rgba(88, 101, 242, 0.3); border-color: rgba(88, 101, 242, 0.6); transform: translateY(-2px); }
.btn-invite { background: rgba(0, 255, 100, 0.08); border: 1px solid rgba(0, 255, 100, 0.2); color: #00ff64; } .btn-invite:hover { background: rgba(0, 255, 100, 0.15); border-color: rgba(0, 255, 100, 0.4); transform: translateY(-2px); }
.btn-save { background: rgba(0, 255, 100, 0.08); border: 1px solid rgba(0, 255, 100, 0.3); color: #00ff64; padding: 12px 25px; } .btn-save:hover { background: rgba(0, 255, 100, 0.15); border-color: rgba(0, 255, 100, 0.6); transform: translateY(-2px); }
.btn-cancel { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #888; } .btn-cancel:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-logout { border: 1px solid rgba(255, 50, 50, 0.3); color: #ff4d4d; } .btn-logout:hover { background: rgba(255, 50, 50, 0.15); border-color: rgba(255, 50, 50, 0.6); transform: translateY(-2px); }
.login-card .btn-discord, .login-card .btn-invite { width: 100%; } .login-card .btn-discord { margin-bottom: 15px; }

.login-wrapper { width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-card { width: 380px; padding: 45px 35px; text-align: center; animation: fadeIn 0.8s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.login-card h1 { text-transform: uppercase; font-size: 1.8rem; font-weight: 900; letter-spacing: 6px; margin-bottom: 8px; }
.login-card p.subtitle { font-size: 0.7rem; color: #444; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 40px; display: block; }
.divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 25px 0; }

#invite-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); z-index: 7000; display: none; align-items: center; justify-content: center; } #invite-modal.active { display: flex; }
.modal-box { width: 90%; max-width: 380px; background: rgba(20, 20, 20, 0.98); backdrop-filter: blur(40px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0px; padding: 30px; text-align: center; animation: fadeIn 0.3s ease forwards; }
.modal-box h2 { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 3px; font-weight: 800; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; } .modal-actions .action-btn { margin-bottom: 0; font-size: 0.7rem; padding: 12px; }

/* ─── DASHBOARD LAYOUT ─────────────────────────────────────────── */
.dashboard-wrapper { padding-top: 70px; min-height: 100vh; padding-bottom: 40px; }
.glass-header { position: fixed; top: 0; left: 0; right: 0; height: 70px; background: rgba(20, 20, 20, 0.8); backdrop-filter: blur(40px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); z-index: 1000; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
.header-title { font-size: 0.85rem; font-weight: 900; text-transform: uppercase; letter-spacing: 4px; color: #888; } .header-title span { color: #fff; }

/* ─── SERVER SELECTOR BAR ──────────────────────────────────────── */
.server-selector-bar {
    position: sticky;
    top: 70px;
    z-index: 500;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
}
.server-selector-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.server-selector-heading {
    font-size: 0.65rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    white-space: nowrap;
}
.server-selector-row {
    display: flex;
    align-items: center;
    width: 100%;
}
.server-selector {
    flex: 1;
    padding: 12px 40px 12px 14px;
    background-color: #181818;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: border-color 0.3s;
}
.server-selector:focus {
    border-color: rgba(145, 70, 255, 0.5);
}
.server-selector option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 8px;
}
.refresh-btn {
    padding: 12px 14px;
    background-color: #181818;
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    border-radius: 0px;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
    line-height: 1;
}
.refresh-btn:hover {
    color: #9146ff;
    border-color: rgba(145, 70, 255, 0.5);
    border-left: 1px solid rgba(145, 70, 255, 0.5);
}
.refresh-btn:active {
    color: #fff;
}
.refresh-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    animation: refresh-spin 0.8s linear infinite;
}
@keyframes refresh-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ─── SERVER PANEL (single-guild view) ─────────────────────────── */
.server-panel-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 40px 0;
}
.server-panel {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    padding: 30px;
    animation: fadeIn 0.4s ease forwards;
}

/* ─── SERVER PANEL HEADER ──────────────────────────────────────── */
.server-panel-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.server-panel-icon {
    width: 56px;
    height: 56px;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.server-panel-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.server-panel-icon .guild-icon-placeholder {
    font-size: 1.4rem;
    font-weight: 900;
    color: #9146FF;
}
.server-panel-info h2 {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
.server-panel-info .tier-badge {
    font-size: 0.7rem;
    font-weight: 400;
}
.server-panel-info .member-info {
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2px;
}

/* ─── SETTINGS SECTIONS ────────────────────────────────────────── */
.settings-section {
    margin-bottom: 0;
}
.settings-section + .settings-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.settings-section-title {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.settings-section-title .badge {
    font-size: 0.55rem;
    background: rgba(145, 70, 255, 0.2);
    color: #9146FF;
    padding: 2px 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Bot config side-by-side row */
.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.config-grid .form-group {
    display: flex;
    flex-direction: column;
}
.config-grid .form-group label {
    display: block;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}
.config-grid .form-group .input-field {
    margin-bottom: 10px;
}
.config-grid .form-group .action-btn {
    width: 100%;
}

/* Actions section */
.actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ─── LEGACY GRID (kept for reference, not used in new layout) ─── */
.guild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; padding: 0 40px; }
.guild-card { padding: 25px; transition: all 0.4s ease; } .guild-card:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.guild-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.guild-icon { width: 48px; height: 48px; border-radius: 0px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; } .guild-icon img { width: 100%; height: 100%; object-fit: cover; }
.guild-info h3 { font-size: 1rem; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 2px; }
.guild-info p { font-size: 0.7rem; color: #666; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.form-group { display: flex; gap: 10px; align-items: flex-start; }
.form-group label { display: block; font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 8px; }
.status-msg { font-size: 0.75rem; margin-top: 10px; font-weight: 600; letter-spacing: 0.5px; display: none; }
.status-success { color: #00ff64; display: block !important; } .status-error { color: #ff4d4d; display: block !important; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #444; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; }

/* Reaction Roles Modal */
#rr-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); z-index: 7000; display: none; align-items: flex-start; justify-content: center; padding-top: 60px; overflow-y: auto; } #rr-modal.active { display: flex; }
.rr-modal-box { width: 90%; max-width: 600px; background: rgba(20, 20, 20, 0.98); backdrop-filter: blur(40px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0px; padding: 30px; margin-bottom: 40px; }
.rr-modal-box h2 { font-size: 1.2rem; color: #fff; text-transform: uppercase; letter-spacing: 3px; font-weight: 900; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.rr-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.btn-add { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: #888; width: 100%; margin-top: 5px; } .btn-add:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-remove { background: none; border: none; color: #ff4d4d; font-size: 1.2rem; cursor: pointer; padding: 0 5px; } .btn-remove:hover { transform: scale(1.2); }

/* Custom Emoji Picker */
.emoji-picker-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 8000; display: none; align-items: center; justify-content: center; } .emoji-picker-overlay.active { display: flex; }
.emoji-btn { font-size: 24px; background: rgba(255,255,255,0.05); border: none; padding: 10px; cursor: pointer; border-radius: 0px; transition: 0.2s; } .emoji-btn:hover { background: rgba(255,255,255,0.15); }
.emoji-trigger { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); border-radius: 0px; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; flex-shrink: 0; } .emoji-trigger:hover { border-color: rgba(255,255,255,0.5); }

/* Fix for Color Picker */
input[type="color"] { background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 0px; padding: 0; cursor: pointer; height: 45px; width: 45px; }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 0px; }

@media (max-width: 768px) {
    .glass-header { padding: 0 20px; } .dashboard-wrapper { padding-top: 70px; }
    .form-group { flex-direction: column; } .form-group .action-btn { width: 100%; } .login-card { width: 90%; padding: 30px 20px; }
    .modal-actions, #invite-modal .modal-actions { flex-direction: column; } .modal-actions .action-btn, #invite-modal .modal-actions .action-btn { width: 100%; }
    .rr-row { flex-wrap: wrap; }

    /* New responsive overrides */
    .server-selector-bar { padding: 12px 0; }
    .server-selector-wrapper { padding: 0 15px; }
    .server-panel-container { padding: 20px 15px 0; }
    .server-panel { padding: 20px; }
    .config-grid { grid-template-columns: 1fr; gap: 0; }
    .server-panel-header { gap: 14px; }
    .server-panel-icon { width: 44px; height: 44px; }
    .server-panel-info h2 { font-size: 1rem; }
    .actions-row { flex-direction: column; }
    .actions-row .action-btn { width: 100%; }
    .live-add-row { flex-wrap: wrap; }
    .live-add-row .input-field { flex: 1 1 100%; }
    .live-add-row .select-field { flex: 1 1 auto; min-width: 0; }
    .dash-setting-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .dash-setting-row .select-field { width: 100% !important; }
    .dash-setting-row .switch-toggle { align-self: flex-end; }
    .setup-banner { flex-direction: column; text-align: center; }
    .dash-radio-group { flex-direction: column; }
}

/* ─── SETUP WIZARD PAGE ──────────────────────────────────────── */
.setup-page-wrapper { padding-top: 70px; min-height: 100vh; display: flex; }
.setup-sidebar { width: 260px; min-height: calc(100vh - 70px); position: fixed; top: 70px; left: 0; background: rgba(10, 10, 10, 0.95); border-right: 1px solid rgba(255,255,255,0.08); padding: 30px 0; z-index: 100; }
.setup-sidebar-title { font-size: 0.6rem; color: #555; text-transform: uppercase; letter-spacing: 3px; font-weight: 800; padding: 0 24px; margin-bottom: 20px; }
.setup-step-item { display: flex; align-items: center; gap: 12px; padding: 12px 24px; cursor: pointer; color: #555; font-size: 0.8rem; font-weight: 600; transition: all 0.2s; border-left: 3px solid transparent; }
.setup-step-item:hover { color: #aaa; background: rgba(255,255,255,0.03); }
.setup-step-item.active { color: #fff; border-left-color: #9146FF; background: rgba(145, 70, 255, 0.08); }
.setup-step-item.completed { color: #00ff64; }
.setup-step-item .step-num { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 2px solid currentColor; font-size: 0.7rem; font-weight: 800; flex-shrink: 0; }
.setup-step-item.active .step-num { border-color: #9146FF; background: rgba(145,70,255,0.2); color: #fff; }
.setup-step-item.completed .step-num { border-color: #00ff64; background: rgba(0,255,100,0.1); }
.setup-main { flex: 1; margin-left: 260px; padding: 40px; display: flex; align-items: flex-start; justify-content: center; min-height: calc(100vh - 70px); }
.setup-content { max-width: 640px; width: 100%; animation: fadeIn 0.3s ease forwards; }
.setup-content h2 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 6px; text-align: center; }
.setup-content .setup-subtitle { font-size: 0.8rem; color: #666; text-align: center; margin-bottom: 30px; }
.setup-nav { position: fixed; bottom: 0; left: 260px; right: 0; height: 70px; background: rgba(10,10,10,0.95); border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; z-index: 100; }
.setup-nav-btn { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; transition: all 0.2s; }
.setup-nav-btn.prev { color: #888; background: none; border: none; font-family: 'Inter', sans-serif; }
.setup-nav-btn.prev:hover { color: #fff; text-decoration: underline; }
.setup-nav-btn.skip { color: #555; background: none; border: 1px solid rgba(255,255,255,0.1); padding: 10px 24px; font-family: 'Inter', sans-serif; }
.setup-nav-btn.skip:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.setup-nav-btn.next { color: #fff; background: #9146FF; border: 1px solid #9146FF; padding: 10px 30px; font-family: 'Inter', sans-serif; }
.setup-nav-btn.next:hover { background: #a855f7; border-color: #a855f7; }
.setup-radio-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.08); cursor: pointer; transition: all 0.2s; margin-bottom: 8px; }
.setup-radio-option:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); }
.setup-radio-option.selected { border-color: rgba(145,70,255,0.4); background: rgba(145,70,255,0.08); }
.setup-radio-option .radio-circle { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.setup-radio-option.selected .radio-circle { border-color: #9146FF; }
.setup-radio-option.selected .radio-circle::after { content: ""; width: 10px; height: 10px; background: #9146FF; border-radius: 50%; }
.setup-radio-card { padding: 16px 20px; border: 1px solid rgba(255,255,255,0.08); cursor: pointer; transition: all 0.2s; margin-bottom: 8px; }
.setup-radio-card:hover { border-color: rgba(255,255,255,0.2); }
.setup-radio-card.selected { border-color: rgba(145,70,255,0.4); background: rgba(145,70,255,0.08); }
.setup-radio-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.setup-radio-card p { font-size: 0.7rem; color: #666; }
.setup-loading-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.setup-loading-spinner { width: 40px; height: 40px; border: 3px solid rgba(145,70,255,0.2); border-top-color: #9146FF; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.prefix-list { display: flex; flex-direction: column; gap: 8px; }
.prefix-row { display: flex; gap: 8px; align-items: center; }
.prefix-row .input-field { flex: 1; }
.prefix-row .btn-remove { background: none; border: 1px solid rgba(255,77,77,0.3); color: #ff4d4d; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; font-family: 'Inter', sans-serif; }
.template-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.template-role-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.1); font-size: 0.75rem; color: #ccc; }
.template-role-chip .chip-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* ─── DISCORD SUPPORT BUTTON ───────────────────────────────────── */
.discord-support-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.discord-support-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(88, 101, 242, 0.9);
    border: 1px solid rgba(88, 101, 242, 0.6);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.discord-support-btn:hover {
    background: rgba(88, 101, 242, 1);
    border-color: rgba(88, 101, 242, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(88, 101, 242, 0.45);
}
.discord-support-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    flex-shrink: 0;
}
.discord-support-btn .btn-label {
    white-space: nowrap;
}
.bot-version-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: right;
    user-select: none;
}

@media (max-width: 768px) {
    .discord-support-wrapper {
        bottom: 16px;
        right: 16px;
    }
    .discord-support-btn {
        padding: 10px 14px;
        font-size: 0.7rem;
        border-radius: 6px;
    }
    .discord-support-btn svg {
        width: 18px;
        height: 18px;
    }
    .bot-version-text {
        font-size: 0.55rem;
    }
    .setup-sidebar { display: none; }
    .setup-main { margin-left: 0; padding: 20px 15px; padding-bottom: 80px; }
    .setup-nav { left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   TICKET TOOL - Dashboard Styles
   ═══════════════════════════════════════════════════════════════ */
#ticket-modal .config-modal-box { max-width: 620px; }
#ticket-modal .config-modal-box h2 { color: #00c8ff; }

.ticket-cat-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); margin-bottom: 6px; transition: all 0.2s; }
.ticket-cat-row:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.ticket-cat-emoji-input { width: 50px; text-align: center; font-size: 1.1rem; }
.ticket-cat-name-input { flex: 1; }
.ticket-cat-desc-input { flex: 1; font-size: 0.75rem; color: #888; }

.ticket-question-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); margin-bottom: 4px; }
.ticket-question-row input { flex: 1; }
.ticket-question-row .remove-q { background: none; border: none; color: #ff4d4d; cursor: pointer; font-size: 0.9rem; padding: 4px 8px; }
.ticket-question-row .remove-q:hover { color: #ff7777; }

.ticket-row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.ticket-close-btn { padding: 4px 10px; font-size: 0.55rem; border: 1px solid rgba(255, 77, 77, 0.25); background: rgba(255, 77, 77, 0.05); color: #ff4d4d; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.ticket-close-btn:hover { background: rgba(255, 77, 77, 0.15); border-color: rgba(255, 77, 77, 0.5); }

.ticket-open-dot { width: 8px; height: 8px; border-radius: 50%; background: #00ff64; box-shadow: 0 0 6px rgba(0,255,100,0.4); }
.ticket-closed-dot { width: 8px; height: 8px; border-radius: 50%; background: #555; }
