:root {
  --primary-color: #5aC0ef;
  --secondary-color: #4c4c4c;
  --success-color: #1a9988ff;
  --danger-color: #ec5852;
  --warning-color: #EF8A5B;
  --light-warning-color: #F3B281;
  --info-color: #5ac0ef;
  --light-bg: #f8fafc;
  --dark-text: #000000;
  --border-radius: 0.5rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
  padding: 0.625rem 1.25rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #d1d5db;
  border-color: #d1d5db;
  color: #374151;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Icons */
.text-primary {
  color: var(--primary-color) !important;
}

/* Forms */
.form-control,
.form-select {
  border-radius: var(--border-radius);
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Checkbox Styling */
.form-check-input {
  border-color: #d1d5db;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(90, 192, 239, 0.25);
}

/* CTA Section */
.cta {
  background-color: #000000;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta .lead {
  margin-bottom: 1.5rem;
}

.cta .btn-light {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta .btn-light:hover {
  background-color: #d1d5db;
  color: #374151;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: transparent;
  border-top: 1px solid #e2e8f0;
  color: #2D2D2D;
}

.footer a {
  color: #2D2D2D;
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .feature-card {
    margin-bottom: 1rem;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Legal Pages */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: white;
  border-radius: 16px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2D2D2D;
  margin-bottom: 10px;
}

.legal-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.legal-content h2 {
  color: #2D2D2D;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 30px 0 15px 0;
}

.legal-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.legal-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.back-link {
  display: inline-block;
  color: #007AFF;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 20px;
}

.back-link:hover {
  text-decoration: underline;
}

.logo-header {
  text-align: center;
  margin: 20px 0 40px 0;
}

.logo-header img {
  max-height: 60px;
  width: auto;
}

/* ================================
   AUTHENTICATION PAGES STYLES
   ================================ */

/* 1. Auth Base Layout */
.auth-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f4f8 0%, #d6e7f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.auth-container {
  background: white;
  padding: 48px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #4ab3e8);
}

.auth-container--narrow {
  max-width: 400px;
}

.auth-container--standard {
  max-width: 450px;
}

.auth-container--wide {
  max-width: 600px;
}

.auth-container--extra-wide {
  max-width: 800px;
  padding: 64px 48px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  animation: auth-fadeInUp 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.auth-container--extra-wide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #4ab3e8);
}

/* 2. Auth Typography */
.auth-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
}

.auth-title--large {
  font-size: 40px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-color), #4ab3e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  color: #718096;
  font-size: 16px;
  margin-bottom: 32px;
}

.auth-subtitle--large {
  color: #4a5568;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
}

.auth-logo {
  max-width: 240px;
  height: auto;
  margin-bottom: 24px;
}

.auth-logo--large {
  max-width: 280px;
  margin-bottom: 32px;
}

/* 3. Auth Forms */
.auth-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.auth-form-group--narrow {
  margin-bottom: 16px;
}

.auth-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 6px;
}

.auth-form-input,
.auth-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  background: #f7fafc;
  color: #2d3748;
  transition: all 0.2s;
}

.auth-form-input:focus,
.auth-form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(90, 192, 239, 0.15);
}

.auth-form-input::placeholder {
  color: #a0aec0;
}

.auth-form-input--disabled,
.auth-form-input:disabled {
  background-color: #f7fafc;
  color: #718096;
  cursor: not-allowed;
  opacity: 0.8;
}

.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auth-form-row--three-col {
  grid-template-columns: 2fr 1fr 1fr;
}

.auth-field-description {
  font-size: 12px;
  color: #718096;
  margin-top: 4px;
}

.auth-terms-text {
  font-size: 12px;
  color: #718096;
  text-align: center;
  margin-top: 16px;
  line-height: 1.4;
}

/* 4. Auth Buttons */
.auth-btn {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.auth-btn--primary {
  background: var(--primary-color);
  color: white;
  margin-bottom: 24px;
}

.auth-btn--primary:hover {
  background: #4ab3e8;
  transform: translateY(-1px);
}

.auth-btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-btn--google {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #4a5568;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.auth-btn--google:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
  color: #2d3748;
}

.auth-btn--outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.auth-btn--outline:hover {
  background: var(--primary-color);
  color: white;
}

.auth-btn--retry {
  background: var(--warning-color);
  color: white;
}

.auth-btn--retry:hover {
  background: var(--light-warning-color);
  transform: translateY(-1px);
}

.auth-google-icon {
  margin-right: 12px;
}

/* 5. Auth Alerts & Messages */
.auth-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.auth-alert--error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.auth-alert--success {
  background: #c6f6d5;
  color: #22543d;
  border: 1px solid #9ae6b4;
}

.auth-alert--info {
  background: #bee3f8;
  color: #2b6cb0;
  border: 1px solid #90cdf4;
}

/* 6. Auth Progress Indicators */
.auth-progress {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  gap: 12px;
}

.auth-progress--compact {
  margin-bottom: 24px;
}

.auth-progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.auth-progress-step--active {
  background: var(--primary-color);
  color: white;
}

.auth-progress-step--completed {
  background: #22c55e;
  color: white;
}

.auth-progress-step--inactive {
  background: #e2e8f0;
  color: #718096;
}

.auth-progress-line {
  width: 40px;
  height: 2px;
  background: #e2e8f0;
  margin: 15px 0;
}

.auth-progress-line--completed {
  background: #22c55e;
}

/* 7. Auth Loading & Spinners */
.auth-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: auth-spin 1s linear infinite;
  margin-left: 8px;
}

.auth-spinner--large {
  width: 48px;
  height: 48px;
  border-width: 4px;
  border-top-color: var(--primary-color);
}

.auth-loading-dots {
  display: inline-flex;
  gap: 4px;
}

.auth-loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: auth-loadingDot 1.4s infinite ease-in-out;
}

.auth-loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.auth-loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

/* 8. Auth Interactive Elements */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
  color: #a0aec0;
  font-size: 14px;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  background: white;
  padding: 0 16px;
}

.auth-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover {
  text-decoration: underline;
  color: #4ab3e8;
}

.auth-countdown {
  font-weight: 600;
  color: var(--primary-color);
}

.auth-signin-text {
  color: #718096;
  font-size: 14px;
}

.auth-redirect-info {
  color: #718096;
  font-size: 14px;
  margin-top: 24px;
}

.auth-manual-continue {
  margin-top: 16px;
}

.auth-continue-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.auth-continue-link:hover {
  color: #4ab3e8;
  text-decoration: underline;
}

/* 9. Auth Specialized Components */
.auth-timezone-select {
  max-height: 200px;
  overflow-y: auto;
}

.auth-progress-bar {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin: 20px 0;
}

.auth-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #4ab3e8);
  transition: width 0.3s ease;
  animation: auth-progressShimmer 2s infinite;
}

.auth-welcome-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 4px 20px rgba(90, 192, 239, 0.3);
  animation: auth-pulse 2s infinite;
}

.auth-checkmark {
  width: 40px;
  height: 40px;
  color: white;
}

.auth-status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
}

.auth-status-icon--success {
  color: var(--success-color);
}

.auth-status-icon--warning {
  color: var(--warning-color);
}

.auth-welcome-message {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.auth-welcome-message h3 {
  color: #2d3748;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.auth-welcome-list {
  text-align: left;
  color: #4a5568;
  font-size: 16px;
  line-height: 1.6;
}

.auth-welcome-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-welcome-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 32px;
}

.auth-welcome-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

/* 10. Auth Animations */
@keyframes auth-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes auth-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(90, 192, 239, 0.3);
  }

  50% {
    box-shadow: 0 4px 30px rgba(90, 192, 239, 0.5);
    transform: scale(1.05);
  }

  100% {
    box-shadow: 0 4px 20px rgba(90, 192, 239, 0.3);
  }
}

@keyframes auth-progressShimmer {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

@keyframes auth-loadingDot {

  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 11. Auth Responsive Design */
@media (max-width: 768px) {
  .auth-container--standard,
  .auth-container--wide,
  .auth-container--extra-wide {
    max-width: 95%;
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  .auth-container {
    margin: 16px;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  }

  .auth-container--standard,
  .auth-container--wide,
  .auth-container--extra-wide {
    max-width: 100%;
    margin: 0.5rem;
    padding: 24px 20px;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .auth-subtitle {
    font-size: 0.9rem;
  }

  .auth-title--large {
    font-size: 32px;
  }

  .auth-subtitle--large {
    font-size: 18px;
  }

  .auth-form-row,
  .auth-form-row--three-col {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Trial Signup Specific Styles
   ============================ */

/* Plan Display */
.plan-display {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.plan-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.plan-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1rem 0;
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.toggle-input {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 50px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked + .toggle-slider {
  background: var(--primary-color);
}

.toggle-input:checked + .toggle-slider::before {
  transform: translateX(26px);
}

.toggle-text {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

/* Stripe Payment Element */
.payment-element {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: white;
  min-height: 48px;
}

/* Trial Start Button */
.btn-trial-start {
  width: 100%;
  padding: 14px 24px;
  min-height: 52px;
  background: var(--primary-color);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2rem;
}

.btn-trial-start:hover {
  background: #4da5cc;
  transform: translateY(-1px);
}

.btn-trial-start:active {
  transform: translateY(0);
}

.btn-trial-start:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* Disclaimers */
.disclaimers {
  margin-bottom: 1.5rem;
}

.disclaimer-text {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  text-align: center;
}

.disclaimer-text:last-child {
  margin-bottom: 0;
}

/* Legal Text */
.legal-text {
  margin-bottom: 2rem;
}

.legal-text p {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

.legal-link {
  color: var(--primary-color);
  text-decoration: none;
}

.legal-link:hover {
  text-decoration: underline;
}

/* Security Badges */
.security-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #6b7280;
}

.security-icon {
  color: var(--primary-color);
}

/* Trial Mobile Responsive */
@media (max-width: 480px) {
  .security-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* ============================
   Success Page Specific Styles
   ============================ */

.success-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.success-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 2rem;
}

.success-description {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.success-actions {
  text-align: left;
  max-width: 400px;
  margin: 2rem auto;
  padding: 0;
  list-style: none;
}

.success-actions li {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #374151;
  display: flex;
  align-items: center;
}

.success-actions li::before {
  content: "✏️";
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.success-actions li:nth-child(2)::before {
  content: "🌎";
}

.success-actions li:nth-child(3)::before {
  content: "🔗";
}

.redirect-notice {
  background: #f0f9ff;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 1rem;
  margin: 2rem 0;
  color: #2563eb;
  font-size: 0.9rem;
}

.countdown {
  font-weight: 600;
  color: #1d4ed8;
}

.continue-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary-color);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.continue-btn:hover {
  background: #4da5cc;
  transform: translateY(-1px);
}

.continue-btn:active {
  transform: translateY(0);
}

/* Progress indicator for completed signup */
.progress-completed {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2rem;
}

.progress-step-complete {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #16a34a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.progress-line-complete {
  width: 40px;
  height: 2px;
  background: #16a34a;
  margin: 15px 0;
}

/* Success Page Mobile Responsive */
@media (max-width: 480px) {
  .success-title {
    font-size: 1.75rem;
  }

  .success-subtitle {
    font-size: 1.1rem;
  }

  .success-actions {
    max-width: 100%;
  }
}

/* Dashboard Body */
.dashboard-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Dashboard Header (Always at top) */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 16px;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.dashboard-logo img {
  transition: opacity 0.2s ease;
}

.dashboard-logo:hover img {
  opacity: 0.8;
}

.dashboard-user-menu .btn-link {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.dashboard-user-menu .btn-link:hover {
  color: var(--primary-color);
}

/* Dashboard Main Content */
.dashboard-main {
  margin-top: 80px;
  /* Space for fixed header */
  padding: 24px 0;
}

/* Dashboard Container */
.auth-container--dashboard {
  max-width: 95%;
  width: 95%;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 0;
  overflow: hidden;
}

/* Dashboard Content */
.dashboard-content {
  padding: 32px;
}

/* Dashboard Section Headers */
.dashboard-content .card-header {
  background-color: #4D4D4D;
  color: white;
  border-bottom: none;
}

.dashboard-content .card-header .card-title,
.dashboard-content .card-header .card-title i,
.dashboard-content .card-header span {
  color: white;
}

.dashboard-content .card-header .btn {
  color: inherit;
}

/* FAQ Modal Title Styling */
.faq-modal-title {
  text-transform: uppercase;
  text-align: left;
  color: #000000 !important;
  font-weight: 700;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* FAQ List Alternating Row Colors */
.list-group-flush .list-group-item:nth-child(even) {
  background-color: #f8f9fa;
}

.list-group-flush .list-group-item:nth-child(odd) {
  background-color: #ffffff;
}

/* FAQ List Layout - CSS Grid for better responsiveness */
.faq-list-item {
  display: grid;
  grid-template-columns: 80px 1fr 240px 40px 120px 80px 40px 120px 40px 200px;
  gap: 12px;
  align-items: center;
  min-width: 1200px;
  /* Minimum width to ensure all columns are visible (increased for additional spacing column) */
}

.faq-details-column {
  text-align: left;
}

.faq-view-button-column {
  display: flex;
  justify-content: center;
}

.faq-questions-column {
  text-align: center;
}

.faq-created-column {
  text-align: right;
  line-height: 1.3;
}

.faq-created-column small {
  font-size: 0.75em;
  /* 25% smaller than the default small font size */
}

.faq-created-column .faq-created-date {
  color: #9ca3af !important;
}

/* Status icons light muted color (same as Created date) */
.text-muted-light {
  color: #9ca3af !important;
}

.faq-status-icons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.faq-spacing-column {
  /* Empty spacing column - no content needed */
}

.faq-options-button-column {
  display: flex;
  justify-content: center;
}

.faq-status-badge-column {
  display: flex;
  justify-content: center;
}

/* Add horizontal scroll for narrow viewports */
.faq-list-container {
  overflow-x: auto;
}

/* FAQ Locked State Styles */
.faq-locked .form-control:disabled,
.faq-locked .form-select:disabled {
  background-color: #f8f9fa;
  opacity: 0.6;
  cursor: not-allowed;
}

.faq-locked .form-check-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.faq-locked .form-check-input:disabled:not(#option-faq-locked) {
  opacity: 0.4;
}

.faq-locked .form-check-input#option-faq-locked:not(:disabled) {
  opacity: 1;
  cursor: pointer;
}

.faq-locked .form-label {
  opacity: 0.7;
}

/* Locked form visual indicators */
.faq-locked {
  position: relative;
}

.faq-locked::before {
  content: '';
  position: absolute;
  top: 0;
  left: -15px;
  width: 4px;
  height: 100%;
  background-color: var(--warning-color);
  border-radius: 2px;
  z-index: 1;
}

/* Lock status message styling */
#lock-status-message {
  border-left: 4px solid;
  padding-left: 16px;
}

#lock-status-message.alert-warning {
  border-left-color: var(--warning-color);
}

#lock-status-message.alert-secondary {
  border-left-color: #6c757d;
}

#lock-status-message.alert-info {
  border-left-color: var(--info-color);
}

/* FAQ Creation Modal Fixes (v1.9.4) */

/* 1. Center upload button icons properly */
.btn-group .btn-outline-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* 2. Ensure equal height for Logo and Banner sections */
.col-md-6.mb-3:has(.upload-dropzone) {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.col-md-6.mb-3:has(.upload-dropzone) .upload-dropzone {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.col-md-6.mb-3:has(.upload-dropzone) .text-center {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
}

/* Ensure consistent bottom alignment */
.col-md-6.mb-3:has(.upload-dropzone) {
  align-items: stretch;
}

/* Upload dropzone styling improvements */
.upload-dropzone .text-center.p-3 {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ============================
   v1.10.0 Modal Navigation System
   ============================ */

/* Modal Navigation Bar */
.modal-nav-bar {
  padding: 0.5rem 0;
  border-top: 1px solid #dee2e6;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* Modal Navigation Buttons */
.modal-nav-btn {
  border: 1px solid #dee2e6;
  background-color: #ffffff;
  color: #6c757d;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  display: flex;
  align-items: center;
  min-height: 32px;
}

.modal-nav-btn:hover:not(:disabled) {
  background-color: #f8f9fa;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(90, 192, 239, 0.2);
}

/* Active Navigation Button */
.modal-nav-active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(90, 192, 239, 0.3);
}

.modal-nav-active:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* Disabled Navigation Button */
.modal-nav-btn:disabled {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  color: #adb5bd;
  cursor: not-allowed;
  opacity: 0.6;
}

.modal-nav-btn:disabled:hover {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  color: #adb5bd;
  transform: none;
  box-shadow: none;
}

/* Pro AI Indicator Badge */
#faq-proai-indicator {
  background-color: var(--primary-color) !important;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

/* Modal Header Layout */
.modal-header.d-block {
  padding: 1rem 1rem 0.5rem 1rem;
  border-bottom: none;
}

/* Icon adjustments for navigation buttons */
.modal-nav-btn i {
  font-size: 0.875rem;
  margin-right: 0.25rem;
}

.modal-nav-btn svg {
  width: 14px;
  height: 14px;
  margin-right: 0.25rem;
}

/* Phase 6: Enhanced Responsive Design */
@media (max-width: 992px) {
  .modal-lg {
    max-width: 95vw;
  }

  .modal-dialog {
    margin: 0.5rem;
  }
}

@media (max-width: 768px) {
  .modal-nav-bar {
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .modal-nav-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    min-height: 28px;
    flex: 1;
    min-width: 80px;
    max-width: 120px;
  }

  .modal-nav-btn i {
    font-size: 0.75rem;
    margin-right: 0.25rem;
  }

  .modal-nav-btn svg {
    width: 12px;
    height: 12px;
  }

  /* Modal content responsive */
  .modal-body {
    padding: 1rem;
  }

  .modal-header {
    padding: 0.75rem 1rem;
  }

  .modal-footer {
    padding: 0.75rem 1rem;
  }

  /* Feature cards responsive */
  .feature-status-section .row>[class*='col-'] {
    margin-bottom: 1rem;
  }

  /* Access list responsive */
  .access-user-item .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }

  .access-user-item .justify-content-between {
    justify-content: flex-start !important;
  }
}

@media (max-width: 576px) {
  .modal-nav-btn {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    min-height: 26px;
    min-width: 70px;
    max-width: 100px;
  }

  .modal-nav-btn span {
    display: none;
  }

  .modal-nav-btn i,
  .modal-nav-btn svg {
    margin-right: 0 !important;
  }

  /* Show only icons on very small screens */
  .modal-nav-btn[data-tooltip="Details"] i:after {
    content: "📄";
  }

  .modal-nav-btn[data-tooltip="Configuration"] i:after {
    content: "⚙️";
  }

  .modal-nav-btn[data-tooltip="Format"] i:after {
    content: "🎨";
  }

  .modal-body .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .modal-body .row>[class*='col-'] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Tooltip styling for navigation */
.tooltip {
  font-size: 0.75rem;
}

.tooltip-inner {
  max-width: 200px;
  padding: 0.375rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 0.375rem;
}

/* v1.10.0 Modal Section Styling */
#details-section,
#feature-status-section,
#access-section,
#preview-section {
  transition: all 0.2s ease-in-out;
}

/* Feature Status Section */
.form-check-switch .form-check-input {
  width: 2.5rem;
  height: 1.25rem;
  border-radius: 1.25rem;
}

.form-check-switch .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-switch .form-check-input:disabled {
  opacity: 0.6;
}

/* Pro AI Feature Cards */
.feature-status-section .border {
  transition: all 0.2s ease-in-out;
}

.feature-status-section .border:hover {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.125rem rgba(90, 192, 239, 0.25);
}

/* Phase 6: Enhanced Preview Section Styling */
#faq-preview-url {
  background-color: #f8f9fa;
  font-size: 0.875rem;
  transition: all 0.2s ease-in-out;
}

#faq-preview-url:focus {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.125rem rgba(90, 192, 239, 0.25);
}

.preview-section .input-group {
  margin-bottom: 1rem;
}

.preview-section .btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

#faq-preview-iframe {
  background-color: #ffffff;
  border-radius: 0.375rem;
  transition: all 0.3s ease-in-out;
  border: 1px solid #dee2e6;
}

/* Preview loading indicator */
.preview-loading {
  padding: 3rem 1rem;
  color: #6c757d;
}

.preview-loading .spinner-border {
  width: 2.5rem;
  height: 2.5rem;
  border-width: 0.25rem;
}

/* Enhanced responsive preview iframe */
.preview-iframe-container {
  position: relative;
  background: #f8f9fa;
  border-radius: 0.375rem;
  overflow: hidden;
  min-height: 400px;
}

@media (max-width: 768px) {
  .preview-iframe-container {
    min-height: 300px;
  }

  .preview-section .input-group {
    flex-direction: column;
  }

  .preview-section .btn {
    margin-top: 0.5rem;
    width: 100%;
  }
}

/* Access List Styling */
.access-user-item {
  transition: all 0.2s ease-in-out;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.access-user-item:hover {
  background-color: #f8f9fa;
  border-color: var(--primary-color);
}

.role-badge-owner {
  background-color: #5ac0ef !important;
  border-color: #5ac0ef !important;
  color: white !important;
}

.role-badge-contributor {
  background-color: #1a9988ff !important;
  border-color: #1a9988ff !important;
  color: white !important;
}

.role-badge-readonly {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: white !important;
}

/* Phase 6: Final Pro AI enhancements */
.pro-ai-indicator {
  animation: subtle-glow 2s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
  from {
    box-shadow: 0 0 5px rgba(90, 192, 239, 0.3);
  }

  to {
    box-shadow: 0 0 10px rgba(90, 192, 239, 0.6);
  }
}

/* Enhanced feature toggle styling */
.form-check-switch .form-check-input:checked+.form-check-label::after {
  content: "✓";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Coming soon badge */
.coming-soon-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: linear-gradient(45deg, #ff6b6b, #ffa726);
  color: white;
  font-size: 0.6rem;
  padding: 0.125rem 0.375rem;
  border-radius: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025rem;
}

/* Status badge enhancements */
.status-badge-published {
  background-color: #1a9988ff !important;
  color: white;
}

.status-badge-review {
  background-color: #EC5852 !important;
  color: white !important;
}

.status-badge-draft {
  background-color: #000000 !important;
  color: white !important;
}

.status-badge-archived {
  background-color: #F3B281 !important;
  color: black !important;
}

/* High specificity overrides for dashboard FAQ status badges */
.badge.status-badge-review {
  background-color: #EC5852 !important;
  color: white !important;
  border: none !important;
}

.badge.status-badge-draft {
  background-color: #000000 !important;
  color: white !important;
  border: none !important;
}

.badge.status-badge-archived {
  background-color: #F3B281 !important;
  color: black !important;
  border: none !important;
}

/* Upgrade prompt styling */
.upgrade-prompt {
  opacity: 0;
  animation: fadeInUp 0.3s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Final polish - smooth transitions */
.modal-content {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Status Badge Colors (v1.10.0 Design System) - Duplicates removed */

/* Card hover effects */
.card {
  transition: all 0.2s ease-in-out;
}

.card:hover {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Toggle Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: var(--primary-color);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Disabled styling */
.disabled-span {
  opacity: 0.5;
  cursor: not-allowed;
}

.disabled-span .switch {
  cursor: not-allowed;
}

.disabled-span input:disabled+.slider {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Color Picker Styles for Format Modal */
.color-picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 1rem;
  z-index: 1050;
  display: none;
  max-width: 320px;
}

.color-picker-dropdown.show {
  display: block;
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 2px;
  column-gap: 2px;
  margin-bottom: 1rem;
  padding: 8px;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.15);
  border-color: #5AC0EF;
  box-shadow: 0 0 0 3px rgba(90, 192, 239, 0.3);
  z-index: 10;
}