:root {
  --bg-primary: #141619;
  --bg-secondary: #1A1C21;
  --bg-tertiary: #0D0E11;
  --bg-card: rgba(26, 28, 34, 0.85);
  --bg-card-solid: #1E2026;
  --bg-input: #0A0B0E;
  --bg-hover: #2B2D36;
  --bg-active: #353842;
  
  --text-normal: #DBDEE1;
  --text-muted: #8E9297;
  --text-header: #FFFFFF;
  --text-link: #00A8FC;
  
  --brand-primary: #5865F2;
  --brand-hover: #4752C4;
  --brand-glow: rgba(88, 101, 242, 0.45);
  --brand-gradient: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  --brand-gradient-hover: linear-gradient(135deg, #6875F5 0%, #5865F2 100%);
  
  --status-success: #23A55A;
  --status-success-bg: rgba(35, 165, 90, 0.15);
  --status-error: #F23F43;
  --status-error-bg: rgba(242, 63, 67, 0.15);
  --status-warning: #F0B232;
  --status-warning-bg: rgba(240, 178, 50, 0.15);
  
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow-main: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
  --transition: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-tertiary);
  color: var(--text-normal);
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.4;
  user-select: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
}

/* Custom Sleek Discord Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

.app-container {
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #1F2128 0%, var(--bg-primary) 100%);
  min-height: 520px;
  position: relative;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(22, 24, 29, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--brand-glow);
  position: relative;
  transition: transform var(--transition);
}

.logo-box:hover {
  transform: scale(1.05);
}

.discord-logo {
  width: 18px;
  height: 18px;
  color: #FFFFFF;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-header);
  letter-spacing: 0.3px;
}

.subtitle {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.badge-status {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 11, 14, 0.65);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: var(--status-success);
  box-shadow: 0 0 8px var(--status-success);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
}

.badge-status.active {
  color: #E0E2E5;
  border-color: rgba(35, 165, 90, 0.3);
}

/* Remote Announcement Banner */
.announcement-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.22) 0%, rgba(35, 165, 90, 0.15) 100%);
  border-bottom: 1px solid rgba(88, 101, 242, 0.35);
  padding: 7px 14px;
  font-size: 11px;
  color: #FFFFFF;
  font-weight: 600;
  animation: fadeIn 0.2s ease forwards;
}

.announcement-banner.hidden {
  display: none;
}

.ann-badge {
  font-size: 12px;
}

/* Nav Tabs (6-tab Grid) */
.nav-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: rgba(22, 24, 29, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 4px;
  gap: 2px;
}

.nav-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 2px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
}

.nav-tab:hover {
  color: var(--text-header);
  background-color: rgba(255, 255, 255, 0.04);
}

.nav-tab.active {
  color: #FFFFFF;
  background: rgba(88, 101, 242, 0.18);
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--brand-primary);
}

/* Tab Panes */
.tab-pane {
  display: none;
  padding: 14px;
  flex: 1;
  animation: fadeIn 0.18s ease forwards;
}

.tab-pane.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Input Card */
.input-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.input-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

.security-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--status-success);
  background-color: var(--status-success-bg);
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(35, 165, 90, 0.25);
}

.security-tag.invalid {
  color: var(--status-error);
  background-color: var(--status-error-bg);
  border-color: rgba(242, 63, 67, 0.25);
}

.input-field-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--bg-input);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 4px 6px 4px 10px;
  transition: all var(--transition);
}

.input-field-wrapper:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.3);
}

.input-field-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-header);
  font-size: 12.5px;
  font-family: var(--font-mono);
  padding: 6px 0;
  min-width: 0;
}

.input-field-wrapper input::placeholder {
  color: #585C63;
  font-family: var(--font-family);
  font-size: 11.5px;
}

.icon-button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.icon-button:hover {
  color: #FFFFFF;
  background-color: var(--bg-hover);
  transform: scale(1.06);
}

/* Token Decoder Bar */
.token-decoder-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 10.5px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.token-decoder-bar.hidden {
  display: none;
}

.decoder-item {
  display: flex;
  gap: 4px;
}

.decoder-lbl {
  color: var(--text-muted);
}

.decoder-val {
  color: #FFFFFF;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Live Mini Profile Bar */
.mini-profile-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.18) 0%, rgba(30, 32, 38, 0.9) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  animation: fadeIn 0.2s ease forwards;
}

.mini-profile-bar.hidden {
  display: none;
}

.mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  object-fit: cover;
}

.mini-profile-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.mini-name {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-handle {
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-badge-verified {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--status-success);
  background-color: var(--status-success-bg);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(35, 165, 90, 0.3);
}

/* Toggles Bar */
.toggles-bar {
  display: flex;
  align-items: center;
  padding: 0 2px;
}

.toggle-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-normal);
  user-select: none;
}

.toggle-control input {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 32px;
  height: 18px;
  background-color: var(--bg-input);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition);
}

.toggle-control input:checked + .toggle-slider {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-glow);
}

.toggle-control input:checked + .toggle-slider::before {
  transform: translateX(14px);
  background-color: #FFFFFF;
}

/* Action Buttons */
.actions-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary-glow {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--brand-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary-glow:hover:not(:disabled) {
  background: var(--brand-gradient-hover);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55);
  transform: translateY(-1px);
}

.dual-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-action {
  background: var(--bg-card);
  color: var(--text-header);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-action:hover:not(:disabled) {
  background-color: var(--bg-hover);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-secondary {
  background-color: var(--bg-card-solid);
  color: var(--text-header);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--bg-hover);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Profile Card */
.profile-card {
  background-color: var(--bg-card-solid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.profile-header-banner {
  height: 55px;
  background: linear-gradient(90deg, #5865F2 0%, #8547C6 50%, #F47B67 100%);
  position: relative;
  padding: 0 14px;
}

.profile-avatar-wrapper {
  position: absolute;
  bottom: -20px;
  left: 14px;
  display: inline-block;
}

.profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3.5px solid var(--bg-card-solid);
  background-color: var(--bg-tertiary);
  object-fit: cover;
}

.avatar-status-badge {
  position: absolute;
  bottom: 3px;
  right: 1px;
  width: 12px;
  height: 12px;
  background-color: var(--status-success);
  border: 2.5px solid var(--bg-card-solid);
  border-radius: 50%;
}

.profile-info-body {
  padding: 26px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-names {
  display: flex;
  flex-direction: column;
}

.profile-display-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
}

.profile-tag {
  font-size: 11.5px;
  color: var(--text-muted);
}

.profile-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 10px;
}

.detail-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-title {
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
}

.detail-value {
  font-size: 11.5px;
  color: #FFFFFF;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Accounts List */
.accounts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.section-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accounts-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}

.account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  transition: all var(--transition);
}

.account-item:hover {
  background-color: var(--bg-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.account-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.account-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  color: #FFFFFF;
}

.account-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.account-name {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.account-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.account-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  padding: 30px 14px;
  gap: 8px;
}

.empty-state p {
  font-size: 11.5px;
  line-height: 1.45;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.tool-item:hover {
  background-color: var(--bg-hover);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.tool-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: rgba(88, 101, 242, 0.15);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon.canary {
  background-color: rgba(240, 178, 50, 0.15);
  color: #F0B232;
}

.tool-icon.ptb {
  background-color: rgba(0, 168, 252, 0.15);
  color: #00A8FC;
}

.tool-icon.danger {
  background-color: var(--status-error-bg);
  color: var(--status-error);
}

.tool-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tool-title {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.tool-desc {
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status Toast */
.status-box {
  margin: 0 14px 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 11.5px;
  animation: fadeIn 0.2s ease forwards;
}

.status-box.hidden {
  display: none;
}

.status-box.success {
  background: rgba(35, 165, 90, 0.15);
  border: 1px solid rgba(35, 165, 90, 0.35);
  color: #3BA55D;
}

.status-box.error {
  background: rgba(242, 63, 67, 0.15);
  border: 1px solid rgba(242, 63, 67, 0.35);
  color: #FA777A;
}

.status-box.warning {
  background: rgba(240, 178, 50, 0.15);
  border: 1px solid rgba(240, 178, 50, 0.35);
  color: #F7C963;
}

.status-title {
  font-weight: 800;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.status-desc {
  font-size: 11px;
  opacity: 0.92;
  line-height: 1.35;
}

/* Misc & Fun Tab Styles */
.misc-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.misc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.misc-card-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-header);
  letter-spacing: 0.3px;
}

.misc-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--brand-primary);
  background: rgba(88, 101, 242, 0.15);
  padding: 2px 6px;
  border-radius: 10px;
}

.soundboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.sfx-btn {
  background: var(--bg-card-solid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-normal);
  font-size: 10.5px;
  font-weight: 600;
  padding: 7px 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition);
}

.sfx-btn:hover {
  background: var(--bg-hover);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  transform: scale(1.03);
}

.sfx-btn:active {
  transform: scale(0.96);
  background: var(--brand-primary);
}

.theme-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.theme-preset-btn {
  background: var(--bg-card-solid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-normal);
  font-size: 10.5px;
  font-weight: 600;
  padding: 6px 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition);
}

.theme-preset-btn:hover {
  background: var(--bg-hover);
  color: #FFFFFF;
}

.theme-preset-btn.active {
  border-color: var(--brand-primary);
  background: rgba(88, 101, 242, 0.18);
  color: #FFFFFF;
}

.theme-swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.compact-input {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--text-header);
  font-size: 11px;
  font-family: inherit;
  width: 100%;
}

.compact-input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

/* Maintenance Mode Overlay */
.maintenance-overlay {
  position: absolute;
  top: 55px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20, 22, 25, 0.98);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease forwards;
}

.maintenance-overlay.hidden {
  display: none;
}

.maintenance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background-color: var(--bg-card-solid);
  border: 1px solid rgba(240, 178, 50, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  box-shadow: var(--shadow-main);
}

.maint-icon-spin {
  font-size: 38px;
  animation: float 2s ease-in-out infinite;
}

.maint-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.maint-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.maint-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #F0B232;
  background-color: rgba(240, 178, 50, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(240, 178, 50, 0.35);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 10px 14px;
  background: rgba(22, 24, 29, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
}

.footer-link {
  color: var(--text-link);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
}

.footer-link:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11.5px;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.footer-link-btn:hover {
  color: var(--status-error);
  text-decoration: underline;
}

.divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px;
}

.privacy-note {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

/* API Diagnostics Tab Styles */
.api-badge-card {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(35, 165, 90, 0.1) 100%);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.api-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--status-success);
  background: var(--status-success-bg);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.api-endpoints-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.endpoint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.endpoint-method {
  color: #23A55A;
  font-weight: 800;
  font-size: 10px;
  background: rgba(35, 165, 90, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
}

.endpoint-path {
  color: var(--text-normal);
}

.endpoint-status {
  color: var(--text-muted);
  font-size: 10px;
}

.profile-api-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 10.5px;
  margin-top: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
