* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #f5f5f5;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.banner-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a4b8c 0%, #2d6bb5 50%, #1a4b8c 100%);
  position: relative;
}

.banner-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='0.1'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='1200' height='300'/%3E%3Ccircle cx='100' cy='80' r='60' fill='%23fff' opacity='0.05'/%3E%3Ccircle cx='1050' cy='220' r='80' fill='%23fff' opacity='0.05'/%3E%3Cpath d='M0 250 Q300 200 600 250 T1200 250 L1200 300 L0 300 Z' fill='%23fff' opacity='0.08'/%3E%3C/svg%3E") center/cover no-repeat;
}

.banner-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-content {
  text-align: center;
  color: #fff;
}

.banner-content h2 {
  font-size: 36px;
  margin-bottom: 12px;
  letter-spacing: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.banner-content p {
  font-size: 18px;
  opacity: 0.9;
  letter-spacing: 2px;
}

.main-content {
  padding: 30px 0 50px;
}

.page-title {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #1a4b8c;
}

.breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
  display: block;
}

.page-title h2 {
  font-size: 24px;
  color: #1a4b8c;
  font-weight: bold;
}

.form-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 30px 40px;
}

.form-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.section-title {
  font-size: 18px;
  color: #1a4b8c;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #d4a853;
  font-weight: bold;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.form-group label {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

.required {
  color: #e64545;
  margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fff;
  font-family: inherit;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1a4b8c;
  box-shadow: 0 0 0 2px rgba(26, 75, 140, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.radio-group {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}

.radio-group.vertical {
  flex-direction: column;
  gap: 10px;
}

.radio-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.radio-item input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #1a4b8c;
}

.radio-item span {
  font-size: 14px;
  color: #333;
}

.upload-area {
  position: relative;
  border: 2px dashed #dcdfe6;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  background: #fafafa;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-area:hover {
  border-color: #1a4b8c;
  background: #f5f8fc;
}

.upload-area.small {
  min-height: 120px;
  padding: 20px;
  flex: 1;
}

.upload-row {
  display: flex;
  gap: 20px;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-placeholder svg {
  color: #909399;
  margin-bottom: 8px;
}

.upload-placeholder p {
  color: #606266;
  font-size: 14px;
}

.upload-placeholder .upload-tip {
  font-size: 12px;
  color: #909399;
  margin-top: 4px;
}

.upload-preview {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-preview img {
  max-width: 100%;
  max-height: 160px;
  border-radius: 4px;
  object-fit: contain;
}

.remove-file {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e64545;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-notice {
  background: #f5f8fc;
  border: 1px solid #d4e0f0;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 25px 0;
  color: #555;
  font-size: 13px;
}

.form-notice p {
  margin-bottom: 6px;
}

.form-notice p:last-child {
  margin-bottom: 0;
}

.form-notice strong {
  color: #1a4b8c;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background: linear-gradient(135deg, #1a4b8c 0%, #2d6bb5 100%);
  color: #fff;
  border: none;
  padding: 14px 60px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
  letter-spacing: 4px;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(26, 75, 140, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 75, 140, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.site-footer {
  background: #1a4b8c;
  color: #fff;
  padding: 25px 0;
  margin-top: 40px;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  margin-bottom: 6px;
  font-size: 13px;
  opacity: 0.9;
}

.footer-content p:last-child {
  margin-bottom: 0;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-icon {
  margin-bottom: 20px;
}

.modal-icon.success {
  color: #52c41a;
}

.modal-content h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 12px;
}

.modal-content p {
  color: #666;
  margin-bottom: 25px;
  font-size: 14px;
}

.modal-close {
  background: #1a4b8c;
  color: #fff;
  border: none;
  padding: 10px 40px;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-close:hover {
  background: #154073;
}

@media (max-width: 968px) {
  .header-top-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    align-items: flex-start;
    width: 100%;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    flex: 1;
    width: auto;
  }

  .college-name {
    padding-left: 15px;
  }

  .college-name h2 {
    font-size: 22px;
  }

  .school-name h1 {
    font-size: 22px;
  }

  .logo-icon {
    width: 64px;
    height: 64px;
  }

  .nav-list {
    justify-content: flex-start;
  }

  .nav-list a {
    padding: 12px 18px;
    font-size: 14px;
  }

  .banner {
    height: 180px;
  }

  .banner-content h2 {
    font-size: 26px;
  }

  .banner-content p {
    font-size: 15px;
  }

  .form-container {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .upload-row {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 12px;
  }

  .logo-section {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-icon {
    width: 50px;
    height: 50px;
  }

  .school-name h1 {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .school-name p {
    font-size: 9px;
  }

  .college-name {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid #eee;
    padding-top: 8px;
    width: 100%;
  }

  .banner {
    height: 140px;
  }

  .banner-content h2 {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .banner-content p {
    font-size: 13px;
  }

  .main-content {
    padding: 15px 0 30px;
  }

  .page-title h2 {
    font-size: 20px;
  }

  .form-container {
    padding: 15px;
    border-radius: 6px;
  }

  .form-section {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  .section-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .form-row {
    gap: 12px;
    margin-bottom: 14px;
  }

  .radio-group {
    gap: 15px;
  }

  .submit-btn {
    padding: 12px 40px;
    font-size: 15px;
    width: 100%;
  }

  .form-notice {
    padding: 14px 16px;
    font-size: 12px;
  }

  .modal-content {
    padding: 30px 20px;
  }
}
