.request-modal {
  display: none;
  position: fixed;
  z-index: 999999999;
  width: 101%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.request-modal-content {
  margin: auto;
  padding: 40px;
  border-radius: 8px;
  width: 90%;
  position: relative;
  max-width: 888px;
  height: auto;
  margin-bottom: 30px;
}

.request-close {
  color: #00f2ea;
  position: absolute;
  top: 5%;
  right: 0%;
  transform: translate(50%, -50%);
  font-size: 48px;
  cursor: pointer;
}

.request-close:hover {
  color: #fff;
}

.request-modal h2 {
  color: #fff;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  min-width: 300px;
  text-align: center;
}

.request-modal p {
  color: #888;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 270px;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.56px;
  padding-left: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  color: #fff;
  margin-bottom: 10px;
  min-width: 250px;
}

.request-modal input[type="text"],
.request-modal input[type="email"],
.request-modal input[type="tel"],
.request-modal textarea {
  width: 100%;
  padding: 10px;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 4px;
  color: #fff;
  padding: 22px;
  margin-bottom: 15px;
}

.request-modal input[type="text"]:focus,
.request-modal input[type="email"]:focus,
.request-modal input[type="tel"]:focus,
.request-modal textarea:focus {
  border-color: #00f2ea;
  outline: none;
}

.agreement {
  width: 100%;
  padding: 10px;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 4px;
  color: #fff;
  padding: 22px;
  margin-bottom: 15px;
  font-size: 12px;
  max-height: 100px;
  overflow-y: auto;
}

.agreement:focus,
.agreement:hover {
  border-color: #00f2ea;
  outline: none;
}

.required {
  color: #00f2ea;
}

.checkbox-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Panel Sans" !important;
  font-size: 14px;
  font-style: normal;
}

.checkbox-label-prefix {
  font-weight: 900;
  padding: 0;
  margin: 0;
}

.submit-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.request-modal button[type="submit"] {
  width: 166px;
  padding: 12px;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.request-modal button[type="submit"]:hover {
  background-color: #fff;
}

.request-modal input[type="checkbox"] {
  accent-color: #00f2ea;
  color: #fff;
}

.request-modal input[type="checkbox"]:checked::before {
  content: ""; /* 체크 표시로 사용할 문자 */
  color: white; /* 체크 표시 색상 */
}

.request-modal input[type="checkbox"]:checked::after {
  content: ""; /* 체크 표시로 사용할 문자 */
  color: white; /* 체크 표시 색상 */
}

.request-modal #message {
  margin-top: 15px;
}

/* 스크롤바 전체 기본 꾸미기 */
.agreement::-webkit-scrollbar {
  color: white;
  width: 3px;
}

/* 스크롤바 막대 꾸미기 */
.agreement::-webkit-scrollbar-thumb {
  background: white; /* 스크롤바 막대 색상 */
  border-radius: 12px 12px 12px 12px;
}

/* 스크롤바 전체 기본 꾸미기 */
.request-modal::-webkit-scrollbar {
  color: #00f2ea;
  width: 8px;
}

/* 스크롤바 막대 꾸미기 */
.request-modal::-webkit-scrollbar-thumb {
  background: #00f2ea; /* 스크롤바 막대 색상 */
  border-radius: 12px 12px 12px 12px;
}

@media (max-width: 640px) {
  .join-modal-content {
    margin: 1rem;
    padding: 1.5rem;
    width: calc(100% - 2rem);
  }

  .join-close {
    right: 1rem;
    top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .request-modal-content {
    width: 100%;
    min-width: unset;
    max-width: unset;
    margin: 0;
    padding: 30px;
    height: 100vh;
    overflow-y: auto;
    padding-top: 80px;
  }

  .request-modal {
    padding-top: 0px;
  }

  .request-close {
    top: 100px;
    right: 35px;
    font-size: 48px;
  }

  .request-modal h2 {
    font-size: 24px;
    width: 100%;
    margin-top: 20px;
  }

  .request-modal p {
    width: 100%;
    padding-left: 0;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .checkbox-group {
    flex-wrap: wrap;
  }

  .request-modal input[type="text"],
  .request-modal input[type="email"],
  .request-modal input[type="tel"],
  .request-modal textarea {
    padding: 15px;
  }

  .request-modal button[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .submit-button {
    margin-top: 20px;
    padding-bottom: 80px;
  }
}
