.signup-page {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 1rem;
}


.signup-wrap {
  padding: 48px 16px;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: var(--card-width);
  text-align: center;
}

.signup-card {
  display: block;
  width: 100%;
  padding: 34px 30px;
  background-color: var(--bg-02);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  text-align: left;
}

.signup-wrap h1 {
  font-size: 2.4rem;
  font-weight: 800;
}

.signup-desc {
  margin: 14px 0 52px;
  font-size: 1.1rem;
  color: var(--text-02);
  line-height: 1.5em;
}

.signup-card label.attr {
  display: block;
  margin-bottom: 1.5em;
  font-weight: 600;
}

.signup-card label.attr > span {
  display: block;
  font-size: .92rem;
  margin-bottom: .5em;
}
.signup-card label.attr > p {
  margin-top: .5em;
  font-size: .875em;
  padding: 0 .5rem;
}
.signup-card textarea {
  height: 96px;
  resize: none;
  line-height: 1.5;
}

.photo_box {
  padding: 16px;
  border: 1px dashed var(--card-border);
  border-radius: .7em;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  color: var(--text-02);
  background-color: var(--bg-03);
}

.photo-preview {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--bg-04);
  color: var(--text-05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1em;
  font-weight: 400;
  position: relative;
}

.photo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}
.photo-preview .upload_btn {
  position: relative;
  z-index: 1;
}

.photo-preview .remove_btn {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--bg-05);
  color: var(--text-06);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}
.signup-card small {
  display: block;
  color: var(--text-03);
  font-weight: 400;
}

.signup-card button {
  width: 100%;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
}

input[name="password2"] {
  margin-top: .25rem;
}

.signup-card .terms {
  margin: 24px 0;
}
.signup-card .terms label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}
.signup-card .terms label p {
  font-size: .95rem;
}
.signup-card .terms label p span {
  color: var(--primary);
  font-weight: 600;
}
.signup-card .terms label .material-symbols-outlined {
  font-size: 1.4rem;
  color: var(--text-02);
}
.signup-card .terms label .material-symbols-outlined.icon-light {
  color: var(--text-03);
}

/* 상태바 */
.signup-stepbar {
  --step-primary: #6f8caf;
  --step-muted: #cfd6df;
  --step-text: #1f2937;
  --step-sub: #8b95a1;

  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 34px;
  padding: 0 8px;
}

.signup-stepbar::before {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 3px;
  background: var(--step-muted);
  border-radius: 999px;
  z-index: 0;
}

.signup-stepbar .step {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--step-sub);
}

.signup-stepbar .step-circle {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--step-muted);
  color: var(--step-sub);
  font-size: 22px;
  font-weight: 700;
}

.signup-stepbar .step-label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.signup-stepbar .step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--step-text);
}

.signup-stepbar .step.is-active .step-circle {
  background: var(--step-primary);
  border-color: var(--step-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(111, 140, 175, .28);
}

.signup-stepbar .step.is-active .step-label {
  color: var(--step-primary);
}

@media (max-width: 480px) {
  .signup-wrap h1 {
    font-size: 2rem;
  }
  .signup-stepbar {
    gap: 4px;
    padding: 0;
  }

  .signup-stepbar .step-circle {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .signup-stepbar::before {
    top: 20px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
  }

  .signup-stepbar .step-label {
    font-size: 13px;
  }

  .signup-stepbar .step-title {
    font-size: 12px;
    word-break: keep-all;
  }
}


