* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  background: linear-gradient(to bottom, #f5f7ff, #eef2ff);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 18px;
}

.container {
  width: 360px;
}

.card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow:
    0 8px 24px rgba(90, 108, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.03);
}

/* 顶部 */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  height: 58px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a44;
  white-space: nowrap;
}

.logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 刷新按钮 */

.refresh-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e3e8ff;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.refresh-btn:hover {
  background: #f5f7ff;
  border-color: #5a6cff;
}

.refresh-icon {
  width: 16px;
  height: 16px;
  border: 2px solid #5a6cff;
  border-top-color: transparent;
  border-radius: 50%;
}

/* 表单 */

.form-item {
  margin-bottom: 16px;
  position: relative;
}

.label {
  display: block;
  margin-bottom: 8px;
  color: #5b6078;
  font-size: 14px;
  font-weight: 500;
}

/* 输入框 */

.input,
.select {
  width: 100%;
  height: 52px;
  border: 1px solid #e3e8ff;
  border-radius: 16px;
  background: #fafbff;
  padding: 0 16px;
  font-size: 15px;
  color: #1f2a44;
  outline: none;
  transition: all 0.2s ease;
}

.input:focus,
.select:focus {
  border-color: #5a6cff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(90, 108, 255, 0.08);
}

.input::placeholder {
  color: #b4b9cf;
}

.select-wrapper {
  position: relative;
}

.select {
  appearance: none;
  cursor: pointer;
}

.select-wrapper::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #8a90a8;
  border-bottom: 2px solid #8a90a8;
  position: absolute;
  right: 18px;
  top: 19px;
  transform: rotate(45deg);
  pointer-events: none;
}

/* 联想 */

.search-list {
  position: absolute;
  top: 82px;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #edf0ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 220px;
  overflow-y: auto;
  display: none;
  z-index: 99;
}

.search-item {
  padding: 13px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #2d3142;
}

.search-item:hover {
  background: #f5f7ff;
  color: #4f5eff;
}

/* 按钮 */

.btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 28px;
  background: linear-gradient(90deg, #2f6df6, #514ef7);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 8px 18px rgba(74, 92, 255, 0.24);
}

.btn:hover {
  opacity: 0.96;
}

/* 结果 */

.result-title {
  font-size: 16px;
  font-weight: 600;
  color: #2d3142;
  margin-bottom: 16px;
}

.school-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.school-item {
  height: 52px;
  border: 1px solid #e3e8ff;
  border-radius: 16px;
  background: #fafbff;
  padding: 0 16px;
  display: flex;
  align-items: center;
}

.school-name {
  font-size: 16px;
  font-weight: 600;
  color: #1f2a44;
}

/* 空状态 */

.empty {
  text-align: center;
  padding: 36px 0;
  color: #999;
  font-size: 14px;
}

/* 底部 */

.footer {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #7b8098;
  padding-bottom: 16px;
}
