* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: #fafafc;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px;
}

.title {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a33;
  text-align: center;
  line-height: 58px;
}

.form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.label {
  font-size: 16px;
  font-weight: 500;
  color: #4d4d66;
  line-height: 19px;
}

.input-field {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 400;
  color: #1a1a33;
  background-color: #ffffff;
  border: 1px solid #ccccd9;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-field::placeholder {
  color: #9999a6;
}

.input-field:focus {
  border-color: #3366cc;
}

.input-field:hover {
  border-color: #9999a6;
}

.gender-container {
  width: 100%;
  height: 60px;
  padding: 10px 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #ccccd9;
  border-radius: 8px;
}

.gender-btn {
  width: 120px;
  height: 40px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  color: #4d4d66;
  background-color: #f2f2f7;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gender-btn:hover {
  background-color: #e5e5f2;
}

.gender-btn.active {
  background-color: #3366cc;
  color: #ffffff;
}

.submit-btn {
  width: 100%;
  height: 60px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background-color: #3366cc;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #2852a8;
}

.submit-btn:active {
  background-color: #1e3d7a;
}

.submit-btn:disabled {
  background-color: #ccccd9;
  cursor: not-allowed;
}

/* 에러 메시지 스타일 */
.error-message {
  color: #cc3333;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .container {
    padding: 40px 20px;
  }

  .title {
    font-size: 36px;
    line-height: 44px;
  }

  .form {
    gap: 30px;
  }

  .gender-container {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 10px;
  }

  .gender-btn {
    width: 100%;
  }
}
