/* ============================================================
   NRP SUPPORT SYSTEM – Haupt-CSS
   Discord-inspiriert, Dark/Light Mode, Modern
   ============================================================ */

/* ── CSS-Variablen Dark Mode (Standard) ──────────────────── */
:root, [data-theme="dark"] {
  --bg-primary:     #1e2124;
  --bg-secondary:   #282b30;
  --bg-tertiary:    #36393f;
  --bg-elevated:    #2f3136;
  --bg-card:        #2f3136;
  --bg-input:       #40444b;
  --bg-hover:       #3c4044;

  --text-primary:   #dcddde;
  --text-secondary: #96989d;
  --text-muted:     #72767d;
  --text-white:     #ffffff;
  --text-link:      #00b0f4;

  --accent:         #5865f2;
  --accent-hover:   #4752c4;
  --accent-light:   rgba(88,101,242,0.15);

  --success:        #3ba55d;
  --success-light:  rgba(59,165,93,0.15);
  --warning:        #faa61a;
  --warning-light:  rgba(250,166,26,0.15);
  --danger:         #ed4245;
  --danger-light:   rgba(237,66,69,0.15);
  --emergency:      #ff0000;
  --emergency-light:rgba(255,0,0,0.2);

  --border:         rgba(255,255,255,0.06);
  --border-strong:  rgba(255,255,255,0.12);
  --shadow:         0 4px 24px rgba(0,0,0,0.4);
  --shadow-card:    0 2px 8px rgba(0,0,0,0.3);

  --navbar-width:   240px;
  --topbar-height:  60px;
  --radius:         8px;
  --radius-lg:      12px;
  --transition:     0.15s ease;
}

[data-theme="light"] {
  --bg-primary:     #f2f3f5;
  --bg-secondary:   #ffffff;
  --bg-tertiary:    #e3e5e8;
  --bg-elevated:    #ffffff;
  --bg-card:        #ffffff;
  --bg-input:       #e3e5e8;
  --bg-hover:       #e8eaed;

  --text-primary:   #060607;
  --text-secondary: #4e5058;
  --text-muted:     #80848e;
  --text-white:     #060607;
  --text-link:      #0068e0;

  --accent:         #5865f2;
  --accent-hover:   #4752c4;
  --accent-light:   rgba(88,101,242,0.1);

  --success:        #248046;
  --success-light:  rgba(36,128,70,0.1);
  --warning:        #c27c0e;
  --warning-light:  rgba(194,124,14,0.1);
  --danger:         #da373c;
  --danger-light:   rgba(218,55,60,0.1);
  --emergency:      #d00000;
  --emergency-light:rgba(208,0,0,0.1);

  --border:         rgba(0,0,0,0.08);
  --border-strong:  rgba(0,0,0,0.15);
  --shadow:         0 4px 24px rgba(0,0,0,0.1);
  --shadow-card:    0 2px 8px rgba(0,0,0,0.08);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background:  var(--bg-primary);
  color:       var(--text-primary);
  line-height: 1.5;
  min-height:  100vh;
  overflow-x:  hidden;
  transition:  background var(--transition), color var(--transition);
}

a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ── Layout ───────────────────────────────────────────────── */
.app-layout {
  display: grid;
  grid-template-columns: var(--navbar-width) 1fr;
  grid-template-rows: var(--topbar-height) 1fr;
  grid-template-areas:
    "navbar topbar"
    "navbar content";
  min-height: 100vh;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  grid-area: navbar;
  position: fixed;
  top: 0; left: 0;
  width: var(--navbar-width);
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-hover) transparent;
}

.navbar-logo {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.navbar-logo img { width: 36px; height: 36px; border-radius: 50%; }
.navbar-logo-text { font-size: 15px; font-weight: 700; color: var(--text-white); }
.navbar-logo-sub  { font-size: 11px; color: var(--text-muted); }

.navbar-section {
  padding: 8px 0;
}
.navbar-section-label {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 1px 8px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  position: relative;
  user-select: none;
}
.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  text-decoration: none;
}
.nav-item.active {
  background: var(--accent-light);
  color: var(--accent);
}
.nav-item .nav-icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.nav-item .nav-label { flex: 1; }
.nav-badge {
  min-width: 18px; height: 18px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── Topbar ───────────────────────────────────────────────── */
.topbar {
  grid-area: topbar;
  position: fixed;
  top: 0;
  left: var(--navbar-width);
  right: 0;
  height: var(--topbar-height);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 99;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-title { font-size: 16px; font-weight: 700; color: var(--text-white); }

.topbar-right { display: flex; align-items: center; gap: 12px; }

.status-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 13px;
}
.status-selector:hover { background: var(--bg-hover); }
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.active   { background: var(--success); box-shadow: 0 0 6px var(--success); }
.status-dot.busy     { background: var(--warning); }
.status-dot.inactive { background: var(--text-muted); }

.user-avatar-wrap {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; position: relative;
}
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.user-name { font-size: 14px; font-weight: 600; color: var(--text-white); }
.user-tag  { font-size: 12px; color: var(--text-muted); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-width: 180px;
  overflow: hidden;
  display: none;
  z-index: 200;
}
.user-dropdown.open { display: block; }
.user-dropdown a, .user-dropdown button {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 14px;
  border: none; background: none; width: 100%; text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.user-dropdown a:hover, .user-dropdown button:hover {
  background: var(--bg-hover);
  text-decoration: none;
}
.user-dropdown .divider { border-top: 1px solid var(--border); margin: 4px 0; }

/* ── Content Area ─────────────────────────────────────────── */
.content {
  grid-area: content;
  margin-left: var(--navbar-width);
  margin-top: var(--topbar-height);
  padding: 24px;
  min-height: calc(100vh - var(--topbar-height));
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-title { font-size: 16px; font-weight: 700; color: var(--text-white); }
.card-body { padding: 20px; }

/* Dashboard-Kacheln */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-icon.blue   { background: var(--accent-light);   color: var(--accent); }
.stat-icon.green  { background: var(--success-light);  color: var(--success); }
.stat-icon.yellow { background: var(--warning-light);  color: var(--warning); }
.stat-icon.red    { background: var(--danger-light);   color: var(--danger); }
.stat-value { font-size: 28px; font-weight: 700; color: var(--text-white); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── Tabellen ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: var(--bg-hover); }
tbody td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }

.badge-waiting    { background: var(--warning-light); color: var(--warning); }
.badge-waiting::before { background: var(--warning); }
.badge-in_progress { background: var(--accent-light); color: var(--accent); }
.badge-in_progress::before { background: var(--accent); }
.badge-closed     { background: var(--bg-tertiary); color: var(--text-muted); }
.badge-closed::before { background: var(--text-muted); }
.badge-emergency  { background: var(--emergency-light); color: var(--emergency); animation: pulse-red 1.5s infinite; }
.badge-emergency::before { background: var(--emergency); }
.badge-escalated  { background: var(--danger-light); color: var(--danger); }
.badge-escalated::before { background: var(--danger); }
.badge-active     { background: var(--success-light); color: var(--success); }
.badge-active::before { background: var(--success); }
.badge-busy       { background: var(--warning-light); color: var(--warning); }
.badge-busy::before { background: var(--warning); }
.badge-inactive   { background: var(--bg-tertiary); color: var(--text-muted); }
.badge-inactive::before { background: var(--text-muted); }

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,0,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(255,0,0,0); }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary   { background: var(--accent);   color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-success   { background: var(--success);  color: #fff; }
.btn-danger    { background: var(--danger);   color: #fff; }
.btn-warning   { background: var(--warning);  color: #000; }
.btn-ghost     { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-hover); }
.btn-emergency { background: var(--emergency); color: #fff; animation: pulse-red 2s infinite; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-icon { padding: 8px; }
.btn-loading { opacity: 0.7; cursor: wait; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  transition: border var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

/* ── Modals ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: fadeIn 0.15s forwards;
}
.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%; max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  animation: scaleIn 0.15s forwards;
}
.modal.modal-lg { max-width: 900px; }
.modal.modal-sm { max-width: 400px; }
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-size: 18px; font-weight: 700; color: var(--text-white); }
.modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 20px; padding: 4px; }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

@keyframes fadeIn  { to { opacity: 1; } }
@keyframes scaleIn { to { transform: scale(1); } }

/* ── Chat ─────────────────────────────────────────────────── */
.chat-container {
  display: flex; flex-direction: column;
  height: calc(100vh - var(--topbar-height) - 180px);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-hover) transparent;
}
.chat-msg {
  display: flex; gap: 12px; padding: 4px 8px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.chat-msg:hover { background: var(--bg-hover); }
.chat-msg-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.chat-msg-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.chat-msg-meta .author { font-weight: 700; color: var(--text-white); margin-right: 8px; }
.chat-msg-content { font-size: 14px; color: var(--text-primary); white-space: pre-wrap; word-break: break-word; }

.chat-msg.system .chat-msg-content { color: var(--text-muted); font-style: italic; }
.chat-msg.internal { background: rgba(237,66,69,0.05); border-left: 3px solid var(--danger); }
.chat-msg.team .author { color: var(--accent); }

.chat-input-wrap {
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.chat-input-row { display: flex; gap: 10px; align-items: flex-end; }
.chat-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 14px;
  resize: none; min-height: 44px; max-height: 140px;
  overflow-y: auto;
  outline: none;
}
.chat-input:focus { border-color: var(--accent); }

.signature-preview {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 12px;
  color: var(--text-muted);
  white-space: pre-line;
}

.ai-suggestion-box {
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 8px;
}
.ai-suggestion-label { font-size: 11px; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.ai-suggestion-text  { font-size: 14px; color: var(--text-primary); white-space: pre-wrap; }
.ai-suggestion-actions { display: flex; gap: 8px; margin-top: 8px; }

/* ── Voice Support ────────────────────────────────────────── */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.room-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  transition: border-color var(--transition);
}
.room-card.free     { border-color: var(--success); }
.room-card.occupied { border-color: var(--danger);  }
.room-number { font-size: 20px; font-weight: 700; }
.room-status { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.waiting-user-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: border-color var(--transition);
}
.waiting-user-card:hover { border-color: var(--accent); }
.waiting-user-card img { width: 40px; height: 40px; border-radius: 50%; }
.waiting-user-info { flex: 1; }
.waiting-user-name { font-weight: 600; }
.waiting-user-sub  { font-size: 12px; color: var(--text-muted); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination { display: flex; gap: 4px; align-items: center; margin-top: 16px; }
.page-btn {
  padding: 6px 12px; border-radius: var(--radius);
  background: var(--bg-tertiary); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 13px; cursor: pointer;
  transition: background var(--transition);
}
.page-btn:hover { background: var(--bg-hover); }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.alert-success  { background: var(--success-light); border: 1px solid var(--success); color: var(--success); }
.alert-warning  { background: var(--warning-light); border: 1px solid var(--warning); color: var(--warning); }
.alert-danger   { background: var(--danger-light);  border: 1px solid var(--danger);  color: var(--danger); }
.alert-info     { background: var(--accent-light);  border: 1px solid var(--accent);  color: var(--accent); }

/* ── Toast Notifications ──────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
  max-width: 360px;
  animation: slideInRight 0.2s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error   { border-left: 4px solid var(--danger); }
.toast.warning { border-left: 4px solid var(--warning); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ── User-Avatar in Listen ────────────────────────────────── */
.avatar-sm { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.avatar-md { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.avatar-lg { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* ── Search & Filter Bar ──────────────────────────────────── */
.filter-bar {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-bar .form-control { width: auto; }

/* ── Page Header ──────────────────────────────────────────── */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.page-title { font-size: 24px; font-weight: 700; color: var(--text-white); }
.page-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 2px; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-tertiary); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --navbar-width: 0px; }
  .navbar { transform: translateX(-240px); width: 240px; transition: transform 0.2s ease; }
  .navbar.open { transform: translateX(0); }
  .topbar { left: 0; }
  .content { margin-left: 0; padding: 16px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Login Page ───────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-primary);
}
.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%; max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow);
}
.login-logo { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; }
.login-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.login-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.btn-discord {
  width: 100%;
  background: #5865F2; color: #fff;
  padding: 12px; font-size: 16px; font-weight: 600;
  border-radius: var(--radius); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--transition);
}
.btn-discord:hover { background: #4752C4; }
.login-dsgvo { font-size: 11px; color: var(--text-muted); margin-top: 16px; }

/* ── Utility ──────────────────────────────────────────────── */
.text-muted   { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-accent  { color: var(--accent); }
.fw-bold      { font-weight: 700; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-2        { gap: 8px; }
.gap-3        { gap: 12px; }
.mt-2         { margin-top: 8px; }
.mt-3         { margin-top: 12px; }
.mb-3         { margin-bottom: 12px; }
.w-full       { width: 100%; }
.text-right   { text-align: right; }
.truncate     { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
