* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  overflow: hidden;
}

.signup-page {
  width: 100%;
  height: 100vh;
  display: flex;
}

.left-section,
.right-section {
  width: 50%;
  height: 100vh;
}

.left-section {
  background: #F3FFF5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

.logo-image {
  width: min(360px, 42vw, 42vh);
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.left-section p {
  width: 300px;
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 145%;
  letter-spacing: -0.005em;
  color: #111111;
  text-align: center;
}

.right-section {
  background: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signup-form {
  width: min(560px, 78%);
  transform: translateY(-8px);
}

.signup-form h2 {
  margin: 0 0 34px 0;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-btn {
  color: #111111;
  text-decoration: none;
  font-size: clamp(38px, 3.2vw, 48px);
  line-height: 1;
  font-weight: 400;
}

.form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

.form-row > label {
  width: 190px;
  height: 56px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 500;
  color: #111111;
  display: flex;
  align-items: center;
}

.required {
  color: #E14B4B;
  margin-left: 3px;
}

.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 56px;
  border: 1px solid #CACACA;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 18px;
  outline: none;
}

.form-row input::placeholder {
  color: #8c8c8c;
}

.form-row input:focus,
.form-row select:focus {
  border-color: #65A85A;
}

.id-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.id-check-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.id-check-row input {
  flex: 1;
}

.id-check-btn {
  width: 120px;
  height: 56px;
  border: none;
  border-radius: 8px;
  background: #18AEE2;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.id-check-btn:hover {
  background: #129fd0;
}

.id-check-message {
  width: calc(100% - 132px);
  min-height: 18px;
  margin: 5px 0 0 0;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.id-check-message.success {
  color: #65A85A;
}

.id-check-message.error {
  color: #E14B4B;
}

.gender-group {
  flex: 1;
  display: flex;
  gap: 16px;
}

.gender-btn input {
  display: none;
}

.gender-btn span {
  width: 80px;
  height: 56px;
  border: 1px solid #CACACA;
  border-radius: 8px;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
}

.gender-btn input:checked + span {
  border-color: #65A85A;
  background: #F3FFF5;
  color: #65A85A;
  font-weight: 600;
}

.form-row select {
  width: 140px;
  height: 56px;
  border: 1px solid #CACACA;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 18px;
  background: white;
  outline: none;
}

.signup-btn {
  width: 100%;
  height: 62px;
  border: none;
  border-radius: 10px;
  background: #65A85A;
  color: #FFFFFF;
  font-size: 26px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
}

.signup-btn:hover {
  background: #5C9D51;
}

.error-message {
  width: 100%;
  margin: 0 0 12px 0;
  color: #E14B4B;
  font-size: 14px;
  font-weight: 500;
}