/* Dark mode */


html.dark main {
    background: #0f172a;
}

html.dark .container {
    color: #e5e7eb;
}

html.dark .card {
    background: #111827;
    border-color: #243244;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.28),
        0 2px 8px rgba(0, 0, 0, 0.22);
}

html.dark .title {
    color: #f8fafc;
}

html.dark .subtitle {
    color: #cbd5e1;
}

html.dark .form-group label {
    color: #f8fafc;
}

html.dark .form-group input,
html.dark .form-group select,
html.dark .form-group textarea {
    background: #0f172a;
    color: #f8fafc;
    border-color: #334155;
}

html.dark .form-group input::placeholder,
html.dark .form-group textarea::placeholder {
    color: #64748b;
}

html.dark .form-group input:focus,
html.dark .form-group select:focus,
html.dark .form-group textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

html.dark .button {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

html.dark .button:hover,
html.dark .button:focus {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

html.dark .button:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.24);
}

html.dark .faq-item {
    border-top-color: #243244;
}

html.dark .faq-question {
    color: #f8fafc;
}

html.dark .faq-answer {
    color: #cbd5e1;
}

/* Support message - dark mode */

html.dark .support-error {
  color: #ffb4ab;
  background: rgba(180, 35, 24, 0.16);
  border: 1px solid rgba(255, 180, 171, 0.35);
}

html.dark .support-success {
  color: #75e0a7;
  background: rgba(2, 122, 72, 0.18);
  border: 1px solid rgba(117, 224, 167, 0.35);
}

html.dark .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}