.download-section {
  min-height: 100vh;
  background-image: url(https://hkgamestar.oss-cn-hongkong.aliyuncs.com/rongyao/assets/images/lingjiang-bg.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 75px;
}

.form {
  min-width: 560px;
  background-color: rgba(0, 0, 0, 0.7);
  height: 468px;
}

.form-title {
  width: 297px;
  height: 88px;
  background-image: url(https://hkgamestar.oss-cn-hongkong.aliyuncs.com/rongyao/assets/images/matter-linjiang.png);
  margin-bottom: 19px;
}

.login-container {
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-title {
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  font-style: normal;
  text-transform: none;
  letter-spacing: 2px;
}

.form-control {
  margin-bottom: 10px;
  background-color: transparent;
  border: none;
}

.form-control label {
  display: block;
  color: #ffffff;
  margin-bottom: 10px;
}

.form-control input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box; /* Makes sure padding doesn't affect width */
  background-color: rgba(40, 40, 40, 0.65);
  color: #ffffff;
}

.form-control .submit-btn {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  background: #a51b31;
  border: 1px solid #282828;
  /* opacity: 0.65; */
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
  margin: 15% auto;
  /*15%fromthetopandcentered*/
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  /*Couldbemoreorless,dependingonscreensize*/
  height: 477px;
  background: #1e2424;
  border-radius: 12px 12px 12px 12px;
  border: 0px solid #606060;
  -webkit-border-radius: 12px 12px 12px 12px;
  -moz-border-radius: 12px 12px 12px 12px;
  -ms-border-radius: 12px 12px 12px 12px;
  -o-border-radius: 12px 12px 12px 12px;
}

.close {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  text-align: right;
  margin-bottom: 20px;
}

#selectOption-server,
#selectOption-role {
  margin-bottom: 20px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

select {
  appearance: none;
  background-color: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  background-image: linear-gradient(
      45deg,
      transparent 49%,
      gray 50%,
      gray 51%,
      transparent 51%
    ),
    linear-gradient(
      135deg,
      transparent 49%,
      gray 50%,
      gray 51%,
      transparent 51%
    );
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select:focus {
  border-color: #aaa;
}

select:disabled {
  background-color: #f9f9f9;
  color: #888;
}

/* 重置button的默认样式 */
button {
  appearance: none;
  background-color: #4caf50; /* 背景颜色 */
  color: white; /* 文本颜色 */
  border: none; /* 无边框 */
  border-radius: 4px; /* 圆角 */
  padding: 10px 20px; /* 内边距 */
  font-size: 16px; /* 字体大小 */
  cursor: pointer; /* 鼠标悬停时的指针样式 */
  outline: none; /* 移除焦点时的轮廓 */
  margin: 5px; /* 外边距 */
}

/* 取消按钮样式 */
button.cancel {
  width: 130px;
  background: #ffffff;
  border-radius: 10px 10px 10px 10px;
  color: #1e2424;
}

/* 确定按钮样式 */
button.confirm {
  width: 130px;
  background: #a51b31;
  border-radius: 10px 10px 10px 10px;
  color: #ffffff;
}

/* 按钮悬停效果 */
button:hover {
  opacity: 0.8;
}
