/* price.surf global theme overrides */

.btn {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

.btn-lg {
  padding: 0.75rem 1.5rem;
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #4f46e5);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(to right, #1d4ed8, #4338ca);
}

.btn-secondary {
  background: linear-gradient(to right, #6b7280, #4b5563);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(to right, #4b5563, #374151);
}

.btn-success {
  background: linear-gradient(to right, #16a34a, #059669);
  color: white;
}

.btn-success:hover {
  background: linear-gradient(to right, #15803d, #047857);
}

.btn-danger {
  background: linear-gradient(to right, #dc2626, #b91c1c);
  color: white;
}

.btn-danger:hover {
  background: linear-gradient(to right, #b91c1c, #991b1b);
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.form-check-label {
  margin-bottom: 0;
}

/* Make Bootstrap/Crispy form helper text readable in dark mode */
.dark .form-text,
.dark .text-muted,
.dark small.form-text {
  color: #e5e7eb !important;
}

/* Tweak Tailwind utility colors for readability in dark theme */
.dark .text-gray-700,
.dark .text-gray-600,
.dark .text-gray-500,
.dark .text-gray-400 {
  color: #e2e8f0 !important;
}

/* Dark theme selects / dropdowns */
.dark select,
.dark select.form-control,
.dark .form-control,
.dark .bootstrap-select > .dropdown-toggle,
.dark .bootstrap-select .dropdown-menu {
  background-color: #111827 !important;
  border-color: #374151 !important;
  color: #f3f4f6 !important;
}

.dark .bootstrap-select .filter-option-inner-inner,
.dark .bootstrap-select .dropdown-item {
  color: #f3f4f6 !important;
}

.dark select::placeholder,
.dark .form-control::placeholder {
  color: #9ca3af !important;
}

/* Dark theme number inputs */
.dark input[type="number"],
.dark .numberinput {
  background-color: #111827 !important;
  border-color: #374151 !important;
  color: #f3f4f6 !important;
}

.dark input[type="number"]::placeholder,
.dark .numberinput::placeholder {
  color: #9ca3af !important;
}

/* Dark theme text/email inputs */
.dark input[type="text"],
.dark input[type="email"],
.dark input[type="password"],
.dark textarea,
.dark .textinput,
.dark .emailinput,
.dark .passwordinput {
  background-color: #111827 !important;
  border-color: #374151 !important;
  color: #f3f4f6 !important;
}

.dark input[type="text"]::placeholder,
.dark input[type="email"]::placeholder,
.dark input[type="password"]::placeholder,
.dark textarea::placeholder,
.dark .textinput::placeholder,
.dark .emailinput::placeholder,
.dark .passwordinput::placeholder {
  color: #9ca3af !important;
}
