/* 提交成功弹窗样式 */
.success-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
    z-index: 10000;
    display: none; /* 默认隐藏 */
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.success-modal-overlay.show { opacity: 1; }

.success-modal-content {
    background: #ffffff; padding: 40px 30px; border-radius: 12px;
    text-align: center; max-width: 420px; width: 90%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.success-modal-overlay.show .success-modal-content { transform: translateY(0); }

.success-modal-icon {
    width: 64px; height: 64px; background: #e8f5e9; color: #2e7d32;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.success-modal-icon svg { width: 34px; height: 34px; }
.success-modal-title { font-size: 22px; color: #222; margin-bottom: 12px; font-weight: 600; }
.success-modal-desc { font-size: 15px; color: #555; margin-bottom: 28px; line-height: 1.6; }
.success-modal-btn {
    background: #0056b3; color: #fff; border: none; padding: 14px 0;
    border-radius: 6px; font-size: 16px; cursor: pointer; width: 100%; font-weight: bold; transition: background 0.3s;
}
.success-modal-btn:hover { background: #004494; }

.form-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.form-modal-content {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  width: 90%;
  max-width: 750px;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px ;
  cursor: pointer;background: none !important;
}

.form-modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-modal-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.form-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #3359E8;
}

.form-modal-header p {
  margin: 10px 0 0;
  color: #666;
  font-size: 14px;
}

.form-modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-modal-group {
  width: 100%;
}

.form-modal-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-modal-group select,
.form-modal-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
}

.form-modal-row {
  display: flex;
  gap: 20px;
}

.form-modal-row .form-modal-group {
  flex: 1;
}

.form-modal-phone {
  display: flex;
  gap: 10px;
}


.form-modal-phone select {
  flex: 1;
}

.form-modal-phone input {
  flex: 1;
}

.form-modal-submit {
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-modal-submit:hover {
  background-color: #0052a3;
}

.form-modal-privacy {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin: 0;
}

.form-modal-privacy a {
  color: #0066cc;
  text-decoration: none;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

input.error,
select.error {
  border-color: red;
}


@media screen and (max-width: 768px) {
  .form-modal-row {
    display: block;
  }
}