.join-modal {
  display: none;
  position: fixed;
  z-index: 99999999999;
  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;
}

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

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

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

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

.join-modal p {
  color: #888;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 390px;
  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;
}

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

.join-modal input[type="text"]:focus,
.join-modal input[type="email"]:focus,
.join-modal input[type="tel"]:focus,
.join-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: 10px;
  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";
  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;
  padding-bottom: 20px;
}

.join-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;
}

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

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

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

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

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

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

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

.file-drop-area {
  border: 1px solid #0ff;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.file-drop-area.dragover {
  background-color: rgba(0, 242, 234, 0.1);
  border-color: #0ff;
}

.file-info {
  color: var(
    --short-leadership-819034-framer-app-cyan-aqua,
    var(--color-cyan-50, #0ff)
  );
  font-family: var(--font-family-Font-1, SUIT);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 13.412px; /* 167.651% */
  letter-spacing: -0.24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 88px;
}

.file-info img {
  width: 15px;
  height: 20px;
}

.file-list {
  margin-top: 15px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  margin-bottom: 5px;
  border-radius: 4px;
}

.file-remove {
  color: #ff4d4d;
  cursor: pointer;
}

.file-error {
  color: #ff4d4d !important;
  font-size: 14px;
  margin-top: 5px;
}

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

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

  .file-info {
    font-size: 12px;
  }
}

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

  .join-close {
    top: 20px;
    right: 40px;
    font-size: 48px;
  }

  .join-modal h2 {
    width: 100%;
    margin-top: 20px;
    color: var(
      --short-leadership-819034-framer-app-white,
      var(--color-white-solid, #fff)
    );
    text-align: center;
    font-family: var(--font-family-Font-1, SUIT);
    font-size: 33px;
    font-style: normal;
    font-weight: 600;
  }

  .join-modal p {
    width: 100%;
    padding-left: 0;
    color: var(--short-leadership-819034-framer-app-white, #fff);
    text-align: center;
    font-family: var(--font-family-Font-1, SUIT);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
  }

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

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

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

  .submit-button {
    margin-top: 20px;
  }

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

  .join-text {
    color: var(
      --short-leadership-819034-framer-app-white,
      var(--color-white-solid, #fff)
    );
    text-align: center;
    font-family: var(--font-family-Font-3, "Panel Sans");
    font-size: var(--font-size-14, 14px);
    font-style: normal;
    font-weight: var(--font-weight-600, 700);
    line-height: var(--line-height-16_8, 16.8px); /* 120% */
    letter-spacing: -0.56px;
    letter-spacing: -0.56px;
  }
}
