/* 弹窗样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal .modal-content {
  position: relative;
  margin: 10% auto;
  max-width: 400px;
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
.modal .close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
/* 表单样式 */
.modal input[type="text"],
.modal input[type="password"] {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.modal button[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #45B6F7;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.modal button[type="submit"]:hover {
  background-color: #0c7cd5;
}
.modal .message {
  margin-top: 20px;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.modal .error {
  color: #ff4136;
}
/* 触发按钮样式 */
.modal .login-btn {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #45B6F7;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.modal .login-btn:hover {
  background-color: #0c7cd5;
}
