/* Custom styles to override defaults */

/* Form field styling to match the rest of the application */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
textarea,
select {
  height: auto !important;
  padding: 0.75rem 1rem !important; /* py-3 px-4 */
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  width: 100% !important;
  font-size: 1rem !important; /* text-base */
  line-height: 1.5rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

textarea {
  height: auto !important;
  min-height: 80px !important;
}

/* Focus state */
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: #0ea5e9 !important; /* sky-500 */
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}

/* Create consistent form field sizes and styles */
.form-group {
  margin-bottom: 1rem !important;
}

/* Select styling */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Primary buttons */
.btn-primary,
.bg-primary-600,
button[type="submit"]:not(.btn-danger):not(.text-gray-400) {
  background-color: #0ea5e9 !important; /* sky-600 */
  border-color: #0ea5e9 !important;
}

.btn-primary:hover,
.bg-primary-700,
button[type="submit"]:not(.btn-danger):not(.text-gray-400):hover {
  background-color: #0284c7 !important; /* sky-700 */
  border-color: #0284c7 !important;
}

/* Focus rings */
.focus\:ring-primary-500:focus,
.focus\:border-primary-500:focus {
  --tw-ring-color: #0ea5e9 !important; /* sky-500 */
  border-color: #0ea5e9 !important;
}

/* Text colors */
.text-primary-600 {
  color: #0ea5e9 !important; /* sky-600 */
}

.text-primary-500,
.hover\:text-primary-500:hover {
  color: #0ea5e9 !important; /* sky-500 */
}

/* Checkboxes */
input[type="checkbox"] {
  height: 1.25rem !important;
  width: 1.25rem !important;
}

.text-primary-600:checked {
  background-color: #0ea5e9 !important; /* sky-600 */
  border-color: #0ea5e9 !important;
}

/* Badge colors */
.bg-primary-100 {
  background-color: #e0f2fe !important; /* sky-100 */
}

.text-primary-800 {
  color: #075985 !important; /* sky-800 */
}

/* Make form field heights and paddings consistent */
.form-field {
  height: 40px !important;
}

/* Override any existing buttons with !important */
a.bg-primary-600,
button.bg-primary-600,
input[type="submit"].btn-primary,
.btn-primary,
button[type="submit"]:not(.btn-danger):not(.text-gray-400) {
  background-color: #0ea5e9 !important; /* sky-600 */
  color: white !important;
  border-color: #0ea5e9 !important;
}

a.bg-primary-600:hover,
button.bg-primary-600:hover,
input[type="submit"].btn-primary:hover,
.btn-primary:hover,
button[type="submit"]:not(.btn-danger):not(.text-gray-400):hover {
  background-color: #0284c7 !important; /* sky-700 */
  border-color: #0284c7 !important;
}

/* Save Interview button specific styling */
.save-interview-btn,
input[type="submit"][value="Save Interview"],
input[value="Save Interview"] {
  background-color: #0ea5e9 !important; /* sky-600 */
  color: white !important;
  border-color: transparent !important;
  border-radius: 0.375rem !important;
  padding: 0.5rem 1rem !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
}