.instructor-form-page {
  padding-top: 32px;
}

.form-card {
  border-radius: 18px;
  border: 1px solid #dce6f4;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
  padding: 24px;
}

.form-card__hint {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.instructor-form-page .page-head {
  margin-bottom: 20px;
}

.instructor-form-page .page-head__eyebrow {
  margin: 0 0 6px;
  color: #2563eb;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.instructor-form-page .page-head h1 {
  font-size: clamp(1.5rem, 2.35vw, 2rem);
  letter-spacing: -0.022em;
}

.instructor-form-page .page-head p {
  max-width: 66ch;
  font-size: 0.95rem;
}

.instructor-form-page .page-head__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.content-card__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf7;
}

.content-card__head h2 {
  font-size: 1.18rem;
  letter-spacing: -0.016em;
}

.form-grid > [class*="col-"] {
  margin-bottom: 2px;
}

.instructor-form-page .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: #1e293b;
}

.instructor-form-page .form-control,
.instructor-form-page .form-select,
.instructor-form-page .input-group-text {
  min-height: 46px;
  border-color: #d8e3f3;
  border-radius: 12px;
  font-size: 0.93rem;
}

.instructor-form-page .input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.instructor-form-page .input-group-text {
  border-right: 0;
  padding-inline: 12px;
  color: #334155;
  background: #f8fbff;
}

.instructor-form-page .form-control:focus,
.instructor-form-page .form-select:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.instructor-form-page textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

.instructor-form-page .invalid-feedback {
  font-size: 0.8rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.instructor-form-page .btn {
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .instructor-form-page {
    padding-top: 18px;
  }

  .instructor-form-page .page-head {
    margin-bottom: 14px;
  }

  .instructor-form-page .page-head__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .form-card {
    padding: 18px;
    border-radius: 14px;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .btn {
    flex: 1;
  }
}
