/* Add to themes/default/college-ui.css or final-map.css */

/* wider, cleaner modal */
.college-modal-wide {
  width: min(760px, 96vw);
}

.college-panel-school-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.college-panel-title {
  font-size: 22px;
  font-weight: 700;
  color: #172033;
}

.college-panel-subtitle {
  color: #64748b;
  margin-top: 4px;
  font-size: 13px;
}

.college-quick-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 16px;
}

.college-section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #edf1f5;
  margin-top: 18px;
  padding-top: 16px;
}

.college-section-title.no-border {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.college-small-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #243244;
  border-radius: 999px;
  padding: 7px 11px;
  cursor: pointer;
  font-size: 12px;
}

.college-small-btn:hover {
  background: #f1f5f9;
}

.college-slide-form {
  display: none;
  margin: 12px 0 14px;
  padding: 14px;
  border: 1px solid #dbe4ef;
  background: #fbfdff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  animation: collegeSlideFormIn .18s ease-out;
}

.college-slide-form.active {
  display: block;
}

@keyframes collegeSlideFormIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.college-content-list {
  margin-top: 10px;
}

.college-note,
.college-task {
  border: 1px solid #dce3ed;
  background: #fbfcfe;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 9px;
}

.college-note-top,
.college-task-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.college-note-key {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.college-note-value {
  margin-top: 6px;
  white-space: pre-wrap;
}

.college-task-status,
.college-task-due {
  color: #64748b;
  font-size: 12px;
}

.college-task-due {
  color: #9b1111;
  margin-top: 4px;
}

.college-icon-danger-btn {
  border: 1px solid #ffd1d1;
  background: #fff5f5;
  color: #9b1111;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  cursor: pointer;
}

.college-icon-danger-btn:hover {
  background: #ffe8e8;
}

.college-ui-toast {
  position: fixed;
  top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scale(.95);
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100000;
}

.college-ui-toast.active {
  opacity: 1;
  transform: translateY(0);
}

.college-muted {
  color: #64748b;
}

@media(max-width: 760px) {
  .college-quick-edit-grid {
    grid-template-columns: 1fr;
  }
}
