.contact-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('/assets/images/company/contact-ship.png') no-repeat right bottom;
  background-size: 40%;
}
.container {
  width: 1200px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 32px;
  background: rgb(241 243 245 / 60%);
  border-radius: 28px;
  display: flex;
  gap: 58px;
}

/* 左侧表单 */
.form-wrap {
  flex: 1;
}

h1 {
  font-size: 42px;
  margin-bottom: 32px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

.form-group {
  flex: 1;
}

.form-input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 28px;
  border: 1px solid #c9d4ff;
  outline: none;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
  border-radius: 22px;
}

.form-input::placeholder {
  color: #999;
}

/* 校验错误 */
.input-error {
  border-color: #e60012 !important;
}

.input-error:focus {
  box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.15);
}

.submit-btn {
  margin-top: 26px;
  padding: 14px 36px;
  border-radius: 28px;
  border: 2px solid #e60012;
  background: #fff;
  color: #e60012;
  font-size: 17px;
  cursor: pointer;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submit-btn:hover:not(:disabled) {
  background: #e60012;
  color: #fff;
}

/* 右侧信息 */
.info-wrap {
  width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 16px;
}

.info-item {
  margin-bottom: 14px;
  line-height: 1.6;
  font-size: 15px;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  border-radius: 22px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

.toast.show {
  opacity: 1;
}

.toast-success {
  background: #e6f7ee;
  color: #0f7b44;
  border: 1px solid #9dd7b8;
}

.toast-error {
  background: #fdecea;
  color: #b42318;
  border: 1px solid #f5b5ae;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 20px;
    gap: 32px;
  }

  h1 {
    font-size: 32px;
  }

  .form-row {
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
  }

  .info-wrap {
    width: 100%;
  }
}
