.modal .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  text-align: center;
}

.modal .btn:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 登录模态框 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal .modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-sizing: border-box;
}

.modal .modal-content-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 30px;
}

.modal .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
}

.modal .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.modal .input-group {
  display: flex;
}

.modal .input-group input {
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.modal .fc-code {
  border: 1px solid #ddd;
  border-left: 0;
  display: flex;
  align-items: center;
}

.modal .fc-code img {
  height: auto;
  cursor: pointer;
}

.modal .input-group-btn {
  font-size: 0;
  white-space: nowrap;
  /* width: 1%; */
  vertical-align: middle;
}

/* .mt-checkbox>input, .mt-radio>input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  filter: alpha(opacity=0);
} */

.modal .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 16px;
}

.modal .form-control {
  /* width: 100%; */
  max-width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.modal .form-control:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.modal textarea.form-control {
  min-height: 120px;
  resize: vertical;
  font-family: "";
}

.modal .required::after {
  content: ' *';
  color: var(--accent-color);
}

.modal .auth-prompt {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  margin-top: 20px;
}

.modal #to-login,
.modal #to-register {
  color: #3498db;
}