.theme-enterprise {
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f1f5f9;
  --accent: #38bdf8;
  --border: rgba(255, 255, 255, 0.1);
  --in: #111827;
}
.theme-calm-tea {
  --bg: #f5f5f0;
  --card: #ffffff;
  --text: #333d33;
  --accent: #6b8e23;
  --border: rgba(0, 0, 0, 0.12);
  --in: #fafafa;
}
.theme-terminal {
  --bg: #0a0a0a;
  --card: #121212;
  --text: #00ff00;
  --accent: #00ff00;
  --border: #00ff00;
  --in: #000000;
  font-family: monospace;
}
.theme-high-contrast {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #000000;
  --accent: #000000;
  --border: #000000;
  --in: #ffffff;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
  font-family: sans-serif;
}
.accent-text {
  color: var(--accent);
}
.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
#userInput {
  background: var(--in);
  color: var(--text);
  border: none;
}
.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.05);
  border-top: 1px solid var(--border);
}
.support-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid currentColor;
  text-decoration: none;
}
.result-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card-header {
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 800;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
}
.subject-area {
  font-size: 12px;
  font-weight: 700;
  padding: 12px;
  background: var(--in);
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
}
.body-area {
  font-size: 14px;
  line-height: 1.6;
  padding: 15px;
  background: var(--in);
  border-radius: 6px;
  min-height: 250px;
  white-space: pre-wrap;
  border: 1px solid var(--border);
}
.mini-copy {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: bold;
  cursor: pointer;
}
.mini-copy:hover {
  background: var(--accent);
  color: white;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  transition: 0.3s;
  z-index: 1000;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}
.text-filled {
  opacity: 1 !important;
  font-style: normal !important;
}

/* DONATION POPUP UI */
.don-badge {
  background: var(--accent);
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 15px;
}
.don-main-btn {
  padding: 16px;
  border-radius: 12px;
  font-weight: 800;
  color: white !important;
  text-decoration: none;
  transition: 0.2s;
  font-size: 0.8rem;
}
.don-main-btn.kofi {
  background: #29abe0;
  box-shadow: 0 4px 15px rgba(41, 171, 224, 0.3);
}
.don-main-btn.saweria {
  background: #faae2b;
  box-shadow: 0 4px 15px rgba(250, 174, 43, 0.3);
}
.don-main-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.don-soft-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.7rem;
  cursor: pointer;
}
.don-hide-link {
  background: none;
  border: none;
  color: var(--text);
  opacity: 0.3;
  font-size: 0.6rem;
  margin-top: 25px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
}
.hidden {
  display: none !important;
}
