/* Faculty Forms Styling - Based on Open Data Forms */

/* Required field mark styling */
.require-mark {
  color: #dc3545;
  font-weight: bold;
}

.require-field {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Form field styling */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

/* Form field wrapper styling */
.mb-3 {
  margin-bottom: 1rem;
}

/* Button styling */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-success {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}

.btn-success:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5c636a;
  border-color: #565e64;
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}

/* Spacing utilities */
.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.gap-3 {
  gap: 1rem;
}

/* Hero section styling */
/* .hero-section {
  background-color: #f8f9fa;
  padding: 2rem 0;
} */

.open-data-request-hero-wrapper {
  background-color: #f8f9fa;
}

.page-hero {
  padding: 2rem 0;
}

.page-hero-wrapper h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #212529;
  margin-bottom: 1rem;
}

.page-hero-wrapper p {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

/* Breadcrumb styling */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item {
  font-size: 0.875rem;
}

.breadcrumb-link {
  color: #6c757d;
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: #212529;
  text-decoration: underline;
}

/* .breadcrumb-separator::before {
  content: "/";
  color: #6c757d;
  margin: 0 0.5rem;
} */

/* Form section styling */
.open-data-request-section {
  padding: 3rem 0;
}

.open-data-request-wrapper {
  background-color: #fff;
}

/* Card styling for steps */
.card.steps {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1.5rem;
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.step-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #198754;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #212529;
  margin-bottom: 0.5rem;
}

.step-text {
  color: #6c757d;
  font-size: 0.875rem;
  margin: 0;
}

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

  .step-content {
    flex-direction: column;
    text-align: center;
  }

  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* File upload styling */
.file-widget {
  margin-bottom: 1rem;
}

.file-widget .form-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  margin-bottom: 0;
}

.file-widget .form-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  margin: 0;
  opacity: 0;
}

.file-widget .form-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
}

/* Text format field styling */
.text-format-wrapper {
  margin-bottom: 1rem;
}

.text-format-wrapper .form-item {
  margin-bottom: 0.5rem;
}

/* Form description styling */
.form-item .description {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

/* Entity autocomplete styling */
.form-autocomplete {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 6 6-6 6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

/* Success message styling */
.messages--status {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

/* Error message styling */
.messages--error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

/* Form validation styling */
.form-item--error .form-control {
  border-color: #dc3545;
}

.form-item--error .form-control:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-item--error .form-item--error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.joe2 {
  margin-top: -20px;
}

/* Faculty Filter Dropdown Styling */
.faculty-section .filter .dropdown-toggle:after {
  content: unset;
}

.faculty-section .filter .dropdown-menu {
  padding: 10px;
  min-width: 300px;
}

.faculty-section .filter .dropdown-menu .form-select {
  margin-bottom: 1rem;
}

.faculty-section .filter .dropdown-menu .d-flex.align-items-center.gap-1 {
  margin-top: 1rem;
}

.faculty-section .filter .dropdown-menu .btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* Ensure proper spacing for faculty filter */
.faculty-header .d-flex.align-items-center.gap-2 {
  gap: 0.75rem !important;
}

/* Responsive adjustments for faculty filter */
@media (max-width: 768px) {
  .faculty-section .filter .dropdown-menu {
    min-width: 250px;
  }

  .faculty-header .d-flex.align-items-center.gap-2 {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }

  .faculty-section .filter .dropdown-menu .d-flex.align-items-center.gap-1 {
    flex-direction: column;
    gap: 0.5rem !important;
  }
}
