:root {
  --bg-dark: #0e0617;
  --form-bg: #1f1130;
  --text-light: #f0f0f0;
  --accent-pink: #e60073;
  --highlight-yellow: #ffc107;
  --success-green: #28a745;
}

body, html {
  margin: 0;
  padding: 0;
   overflow-y: auto;
  height: auto;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  margin-top: 60px;
  margin-bottom: 60px;
  overflow: visible;
  padding: 1rem;
}
#header-container, #footer-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.3rem;
  }
  #weiterBtn {
    font-size: 0.95rem;
    padding: 8px 20px;
  }
  .form-section {
    padding: 30px 15px;
  }
}
@media (max-width: 480px) {
  .main-header .container {
    flex-direction: column;
    text-align: center;
  }
}
/* Colors */
.white-text {
  color: white;
}
.yellow-link {
  color: #ffc107 !important;
  font-weight: bold;
  text-decoration: underline;
}

/* Stylish underline for 'Passwort vergessen?' */
.underline-purple {
  color: #f0f0f0;
  font-weight: 600;
  position: relative;
  text-decoration: none;
}
.underline-purple::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: #7a00ff;
  border-radius: 2px;
  box-shadow: 0 0 6px #7a00ff;
}
/* Stylish underline for 'Zurück zur Testseite' */
.underline-pink {
  color: #f0f0f0;
  font-weight: 600;
  position: relative;
  text-decoration: none;
}
.underline-pink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: #ff00c8;
  border-radius: 2px;
  box-shadow: 0 0 6px #ff00c8;
}
/* Optional hover lift for both */
.underline-purple:hover,
.underline-pink:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

/* 🔲 Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  object-position: center center;
  z-index: -1;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 650px;
  animation: fadeInUp 1.3s ease-out forwards;
  opacity: 0;
}
@keyframes fadeInUp {
  from {
    transform: translate(-50%, -40%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
.hero-text h1 {
  margin: 0;
  text-align: center;
}
.hero-text .headline {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-shadow:
    0 0 8px #c800ff,
    0 0 12px #c800ff,
    0 0 20px #ff00c8,
    0 0 30px #ff00c8;
}
.hero-text .headline span {
  color: #ffc107;
}
@keyframes glowText {
  from {
    text-shadow: 0 0 5px #C3317D, 0 0 10px #C3317D;
  }
  to {
    text-shadow: 0 0 15px #C3317D, 0 0 30px #ff4c9d;
  }
}
.hero-text .subline {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 15px;
  color: #eaeaea;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}
#typewriter {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  border-right: 2px solid #fff;
  white-space: nowrap;
  overflow: hidden;
  animation: blink-caret 0.7s infinite;
}
@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: #fff; }
}

/* 🔮 WEITER BUTTON STYLING */
#weiterBtn {
  display: block;
  margin-top: 40px;
  padding: 16px 38px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to right, #ff00c8, #7a00ff);
  border: none;
  border-radius: 40px;
  box-shadow: 0 0 15px #ff00c8, 0 0 30px #7a00ff;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
#weiterBtn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease-out, height 0.4s ease-out;
}

#weiterBtn:active::after {
  width: 200%;
  height: 200%;
  transition: 0s;
}
#weiterBtn:hover {
  background: linear-gradient(to right, #ff33d4, #8a2eff);
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff00ff, 0 0 35px #aa00ff;
}

/* 🍪 COOKIE BAR - START HIDDEN */
#cookieConsent {
  display: none;
}
.checkbox-wrapper,
#startTestBtn,
#divertBtn {
  font-size: 1rem;
  padding: 10px 18px;
  margin-bottom: 6px;
}
input,
textarea {
  margin: 0 !important;
  padding: 6px 10px;
  font-size: 0.85rem;
}
#agentForm input,
#agentForm textarea {
  margin-bottom: 6px;
}
/* 📋 Form Styling */
.form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 80px; /* Leave space for bottom nav */
  padding-top: 5px;
  box-sizing: border-box;
  overflow: visible;
}
.form-section h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
form {
  width: 100%;
  max-width: 100%;
  background-color: var(--form-bg);
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(230, 0, 115, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  align-items: center;
}
.form-group {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 4px !important;
}
.form-group input {
  margin-bottom: 12px !important;
}
.form-group input,
.form-group textarea {
  width: 90%;
  box-sizing: border-box;
}
.form-wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: var(--form-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 200, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
}
@media (min-width: 480px) {
  .form-wrapper {
    max-width: 420px;
  }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: 0 0 0px 1000px #2b1a3d inset !important;
  -webkit-text-fill-color: #fff !important;
}

input {
  font-size: 1rem;
  padding: 10px;
  margin: 12px 0;
  border: 1px solid #6f3f9f;
  border-radius: 6px;
  background-color: #2b1a3d;
  color: #fff;
}
input::placeholder {
  color: #aaa;
  font-size: 0.75rem;
}
button {
  width: 100%;
  padding: 14px 28px;
  background-color: var(--accent-pink);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.3s;
}
button:hover {
  background-color: #ff3385;
}
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
textarea {
  font-size: 1rem;
  width: 100%;
  padding: 10px;
  margin: 12px 0;
  border: 1px solid #6f3f9f;
  border-radius: 6px;
  background-color: #2b1a3d;
  color: #fff;
  resize: vertical; /* allows manual resizing vertically */
}
textarea::placeholder {
  color: #aaa;
  font-size: 0.75rem;
}

/* ===== 🔝 HEADER ===== */
.main-header {
  background: #1a092b;
  padding: 30px;
}
.main-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.main-header .nav {
  display: flex;
  gap: 20px;
}
.main-header .logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  background: linear-gradient(to right, #ffc107, #ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
}
.nav a.logout {
  color: var(--accent-pink);
}
.nav a:hover {
  text-decoration: underline;
}

/* ===== 🔚 FOOTER ===== */
.main-footer {
  background: #14061f;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.main-footer a {
  color: var(--highlight-yellow);
  margin: 0 8px;
  text-decoration: none;
}
.main-footer a:hover {
  text-decoration: underline;
}
.legal-footer {
  font-size: 0.7rem;
  text-align: center;
  padding: 0.5rem 0;
  color: #888;
  background: transparent;
}
.legal-footer a {
  color: #aaa;
  text-decoration: none;
  margin: 0 5px;
}
.legal-footer a:hover {
  text-decoration: underline;
}

/* Reuse the Weiter button style */
#startTestBtn {
  background: linear-gradient(to right, #ff00c8, #7a00ff);
  color: white;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 40px;
  box-shadow: 0 0 20px #ff00c8, 0 0 40px #7a00ff;
  margin-top: 20px;
}
#startTestBtn:hover {
  background: linear-gradient(to right, #ff33d4, #8a2eff);
  transform: scale(1.03);
}
#testButton {
  background: linear-gradient(to right, #ff00c8, #7a00ff);
  color: white;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 40px;
  box-shadow: 0 0 20px #ff00c8, 0 0 40px #7a00ff;
  margin-top: 20px;
}
#testButton:hover {
  background: linear-gradient(to right, #ff33d4, #8a2eff);
  transform: scale(1.03);
}

/* Divert button styled like Lumiphone color */
#divertBtn {
  background: linear-gradient(to right, #d4a000, #f4b400);
  color: white;
  border-radius: 40px;
  font-weight: bold;
  box-shadow: 0 0 12px #ffc107, 0 0 25px #e60073; /* yellow + pink glow */
  transition: 0.3s ease-in-out;
}
#divertBtn:hover {
  background: #ffda44;
  transform: scale(1.03);
  box-shadow: 0 0 20px #ff66aa, 0 0 40px #ff00c8;
}

.checkbox-wrapper label {
  word-break: break-word;
}
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: nowrap;
  font-size: 0.75rem;
  width: 90%;
}
.checkbox-wrapper input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* cookie */
.cookie-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.cookie-modal {
  background-color: #1f1130;
  padding: 25px 30px;
  border-radius: 15px;
  color: #fff;
  text-align: center;
  max-width: 90%;
  width: 340px;
  box-shadow: 0 0 20px #ff00c860;
}
.cookie-buttons {
  margin-top: 20px;
}
.cookie-modal button {
  padding: 12px 25px;
  margin: 0 8px;
  background: #ffc107;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}
.cookie-modal button:hover {
  background: #ffda44;
}

/* Footer */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a092b;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #333;
  z-index: 1000;
}

.bottom-nav .nav-icon {
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s ease;
}

.bottom-nav .nav-icon i {
  font-size: 1.2rem;
  color: inherit;
}

.bottom-nav .nav-icon span {
  font-size: 0.65rem;
  margin-top: 2px;
  font-weight: 400;
}

.bottom-nav .nav-icon:hover {
  color: #ffc107;
}

.bottom-nav a.active {
  color: #ffc107 !important;
}



 /* Index Page */
.dsgvo-link {
  color: #f4b400;
  text-decoration: underline;
  text-decoration-color: #ff00c8;
  font-weight: bold;
}

/* Login Page */
.login-form-links {
  text-align: center;
  margin-top: 2.2rem;
}
.login-form-links a {
  font-weight: bold;
  text-decoration: none;
}
.login-form-links p {
  margin: 4px 0;
}
.back-link {
  color: #ff00c8;
  font-weight: bold;
}
.login-form-links p {
  margin: 4px 0; /* tighter spacing */
}
#submitLoginBtn {
  background: linear-gradient(to right, #ff00c8, #7a00ff);
  color: white;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 40px;
  box-shadow: 0 0 20px #ff00c8, 0 0 40px #7a00ff;
  margin-top: 20px;
}
#submitLoginBtn:hover {
  background: linear-gradient(to right, #ff33d4, #8a2eff);
  transform: scale(1.03);
}
#logoutBtn {
  background: linear-gradient(to right, #d4a000, #f4b400);
  color: white;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 40px;
  box-shadow: 0 0 20px #d4a000, 0 0 40px #f4b400;
  margin-top: 20px;
}
#logoutBtn:hover {
  background: linear-gradient(to right, #d4a000, #f4b400);
  transform: scale(1.03);
}

/* Register Page */
a[href="/register"] {
  color: #ffc107 !important;
  font-weight: bold;
}
a[href="/login"] {
  color: #fff;
  font-weight: bold;
}

/* Plan Box Container */
.plan-box {
  background-color: #1a092b;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 0, 200, 0.15);
  color: #f0f0f0;
  width: 100%;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.plan-box:hover {
  transform: scale(1.01);
}
/* Top Line with Radio + Title */
.plan-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.plan-top input[type="radio"] {
  transform: scale(1.5);
  accent-color: #7a00ff;
  margin: 0;
}
.plan-top h2 {
  margin: 0;
  font-size: 1.2rem;
}
.plan-top .price {
  font-size: 0.9rem;
  font-weight: bold;
  color: #ffc107;
  margin-top: 2px;
}
/* Feature List */
.plan-box ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}
.plan-box li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Weiter Button*/
.weiter-btn {
  margin-top: 30px;
  padding: 14px 28px;
  background: linear-gradient(to right, #ffc107, #ff00c8); /* same as header */
  color: white;
  font-weight: bold;
  border-radius: 40px;
  box-shadow: 0 0 20px #ff00c8, 0 0 40px #ffc107;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: transform 0.25s ease-in-out;
}
.weiter-btn:hover {
  transform: scale(1.05);
}

#premiumFields {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

#website {
  width: 90%;
  font-size: 1rem;
  padding: 10px;
  border: 1px solid #6f3f9f;
  border-radius: 6px;
  background-color: #2b1a3d;
  color: #fff;
  box-sizing: border-box;
  outline: none;
  appearance: none;
}

#website::placeholder {
  color: #aaa;
  font-size: 0.75rem;
}

.bg-video {
  pointer-events: none;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
}

.vinky {
  animation: wiggle 0.4s ease-in-out 4;
  background-color: #198754 !important;
  color: white !important;
  border: 2px solid #198754;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.satisfaction-popup {
  background: #1f1130;
  color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 30px #ff00c880;
  max-width: 90%;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
}
.satisfaction-popup h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffc107;
}
.satisfaction-popup p {
  font-size: 1rem;
  margin-bottom: 20px;
}
.satisfaction-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.satisfaction-buttons .btn {
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}
.satisfaction-buttons .btn-success {
  background-color: #28a745;
  color: white;
}
.satisfaction-buttons .btn-secondary {
  background-color: #6c757d;
  color: white;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hidden {
  display: none !important;
}

#planSelect {
  width: 90%;
  padding: 12px;
  font-size: 1rem;
  background-color: #2b1a3d;
  color: #fff;
  border: 1px solid #6f3f9f;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 0, 200, 0.2);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffc107" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.recaptcha-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}
.g-recaptcha {
  transform: scale(0.97);
  transform-origin: 0 0;
}

/* ✅ Dashboard-specific overrides */
.dashboard-section {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 80px;
}
.dashboard-wrapper {
  max-width: 420px;
  width: 100%;
  margin: auto;
  background-color: var(--form-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 200, 0.1);
}
.dashboard-box {
  background-color: #1a092b;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(255, 0, 200, 0.15);
  color: var(--text-light);
}
.dashboard-box:last-of-type {
  margin-bottom: 40px;
}
.dashboard-box h5 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #ffc107;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}
.dashboard-box a {
  color: #ffc107;
  font-weight: bold;
  text-decoration: underline;
}
.dashboard-box a:hover {
  color: #fff;
}
.dashboard-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--highlight-yellow);
}
.dashboard-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(to right, #ff00c8, #7a00ff);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 0 6px #ff00c8aa;
}

/* Alert Message */
.alert-message {
  text-align: center;
  margin-bottom: 15px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.95rem;
  width: 100%;
  box-shadow: 0 0 10px rgba(255, 0, 200, 0.1);
}

.error-alert {
  background: rgba(255, 0, 0, 0.1);
  color: #ff4c4c;
  border: 1px solid #ff4c4c;
  box-shadow: 0 0 10px #ff4c4c30;
}

.success-alert {
  background: rgba(0, 255, 150, 0.08);
  color: #00e5a0;
  border: 1px solid #00e5a0;
  box-shadow: 0 0 10px #00e5a040;
}

.universal-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1f1130;
  color: #fff;
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(255, 0, 200, 0.2);
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}
.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #ff4c9d;
  cursor: pointer;
  font-weight: bold;
  z-index: 10;
}
.popup-close-btn:hover {
  color: #fff;
}

/* Variants */
.popup-success { background-color: #198754; }
.popup-error { background-color: #dc3545; }
.popup-warning { background-color: #ffc107; color: #000; }
.popup-info { background-color: #6610f2; }

.infinity-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 160px;
  height: 160px;
  backdrop-filter: blur(10px);
  background-color: rgba(15, 0, 25, 0.4);
  border-radius: 50%;
  display: none; /* toggled by JS */
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 0 30px rgba(255, 0, 200, 0.4);
}
.infinity-indicator svg {
  width: 100%;
  height: auto;
}
.infinity-path {
  fill: none;
  stroke: url(#infinityGradient);
  stroke-width: 6; /* was 4 */
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
  animation: dash-loop 2s linear infinite;
  filter: drop-shadow(0 0 12px #ff00c8) drop-shadow(0 0 16px #ffc107);
}
.infinity-indicator.ai-speaking .infinity-path {
  stroke: url(#aiGradient);
  filter: drop-shadow(0 0 12px #28a745) drop-shadow(0 0 16px #ffc107);
}
@keyframes dash-loop {
  0% {
    stroke-dashoffset: 400;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.infinity-indicator {
  transition: opacity 0.3s ease;
  opacity: 0;
}
.infinity-indicator.active {
  opacity: 1;
}

#voiceIndicator {
  pointer-events: none; /* Prevent blocking clicks */
}
#voiceIndicator.ai-speaking svg path {
  stroke: limegreen !important;
}

.password-wrapper i {
  color: #999;
  font-size: 1rem;
}
.password-wrapper i:hover {
  color: #555;
}

.stripe-table-wrapper {
  min-height: 850px;
  overflow: visible;
}

stripe-pricing-table {
  display: block;
  width: 100%;
  min-height: 700px !important;
  height: 100% !important;
}
.stripe-table-wrapper iframe {
 height: 700px !important;
 border: none !important;
 }

.google-btn {
  display: inline-block;
  padding: 10px;
  background: #fff;
  border: 1px solid #ccc;
  color: #444;
  text-align: center;
  border-radius: 5px;
  width: 100%;
  margin-top: 15px;
}
.google-btn:hover {
  background-color: #f8f8f8;
}

.flash-alert {
  background-color: #ffecec;
  color: #d8000c;
  border-left: 4px solid #d8000c;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-weight: 500;
}

@media (max-width: 480px) {
  select, #planSelect {
    font-size: 0.9rem;
    max-width: 100%;
  }
}

.modal-content {
  background-color: #1f1130;
  border-radius: 15px;
  box-shadow: 0 0 20px #ff00c880;
  color: white;
  border: 1px solid #ff00c880;
}
.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-title {
  color: #ffc107;
  font-weight: bold;
}
.modal-body input {
  background-color: #2b1a3d;
  color: white;
  border: 1px solid #6f3f9f;
  border-radius: 8px;
}
.modal-body small {
  margin-top: 5px;
  display: block;
}

.plan-box:hover {
  box-shadow: 0 0 25px rgba(255, 0, 200, 0.25), 0 0 35px rgba(255, 192, 203, 0.2);
}

.btn-gradient {
  display: block;
  margin-top: 30px;
  padding: 16px 38px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to right, #ff00c8, #7a00ff);
  border: none;
  border-radius: 40px;
  box-shadow: 0 0 15px #ff00c8, 0 0 30px #7a00ff;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
}
.btn-gradient:hover {
  background: linear-gradient(to right, #ff33d4, #8a2eff);
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff00ff, 0 0 35px #aa00ff;
}

.dashboard-button {
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(to right, #ffc107, #ff00c8);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 40px;
  border: none;
  box-shadow: 0 0 20px #ff00c8, 0 0 40px #ffc107;
  transition: transform 0.25s ease-in-out;
  margin-top: 10px;
}
.dashboard-button:hover {
  transform: scale(1.05);
}

.btn-subscribe {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: white !important;
  background: linear-gradient(to right, #ff00c8, #7a00ff);
  border: none;
  border-radius: 40px;
  box-shadow: 0 0 10px #ff00c8, 0 0 20px #7a00ff;
  text-align: center;
  transition: all 0.25s ease;
  width: auto;
  min-width: 180px;
}
.btn-subscribe:hover {
  background: linear-gradient(to right, #ff33d4, #8a2eff);
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff00ff, 0 0 35px #aa00ff;
}

input.invalid {
  border: 2px solid #ff4d4f;
}
.error-text {
  display: block;
  color: #ff4d4f;
  font-size: 0.875rem;
  margin-top: 6px;
  margin-bottom: 12px;
  width: 90%;
  text-align: left;
  position: relative;
  top: 0;
}

.google-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  width: 100%;
  background: #fff;
  color: #444;
  font-weight: 500;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}
.google-login-btn:hover {
  background: #f7f7f7;
}

/* AI Icon in Index Page*/
.voice-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 9998;
}
.stop-container {
  position: fixed;
  top: calc(50% + 100px); /* below voice circle */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}
.btn-stop-ai {
  padding: 12px 30px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 0 10px #ff0000a0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-stop-ai:hover {
  background-color: #ff4d4d;
  transform: scale(1.05);
}
.hidden {
  display: none !important;
}

/* Match AI-Test starten button */
.btn-primary {
  background: linear-gradient(to right, #ff00c8, #7a00ff);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
}

/* Match Divert button style */
.btn-secondary {
  background-color: #ffc107;
  color: #000;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
}

/* Match phone field with rest of your inputs */
.iti {
  width: 90% !important;
}
.iti input[type="tel"] {
  width: 100%;
  background-color: #2b1a3d;
  color: white;
  border: 1px solid #6f3f9f;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}
.iti input[type="tel"]::placeholder {
  color: #aaa;
  font-size: 0.75rem;
}
/* Make country dropdown readable */
.iti__country-list {
  position: absolute !important;
  z-index: 10000 !important;
  background-color: #2b1a3d;
  color: #fff;
  width: 100% !important;
  border: 1px solid #6f3f9f;
  box-shadow: 0 0 10px rgba(255, 0, 200, 0.25);
  max-height: 200px;
  overflow-y: auto;
}
/* Highlight hover */
.iti__country:hover,
.iti__country.iti__highlight {
  background-color: #3b2a50 !important;
}
/* Fix text alignment and flag spacing */
.iti__country-name {
  color: #fff !important;
  font-size: 0.9rem;
}
/* Optional: shrink font on small devices */
@media (max-width: 480px) {
  .iti__country-list {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .infinity-indicator {
    filter: none !important;
    box-shadow: none !important;
  }
}

.chat-log {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 20px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}
.chat-bubble {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
}
.chat-bubble.user {
  background: #6f3f9f;
  align-self: flex-end;
}
.chat-bubble.assistant {
  background: #2b1a3d;
  align-self: flex-start;
}

