.join-agree-page {
  width: 100%;
  background: #fff;
  padding: 24px 0 60px;
}

.btn.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.join-agree-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px;
}

.join-breadcrumb {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.bread-is-active {
  font-weight: 700;
  color: var(--black);
}

.join-breadcrumb a {
  color: inherit;
}

.join-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 60px 0 28px;
  color: var(--black);
}

.join-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  color: #999;
  font-size: 12px;
}

.join-step {
  display: flex;
  align-items: center;
  gap: 6px;
}

.join-step.is-active .join-step-num {
  border-color: var(--black);
  color: var(--black);
  font-weight: 700;
}

.join-step-num {
  color: var(--grey-300);
  font-weight: 500;
  font-size: 15px;
}

.join-step.is-active .join-step-text {
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
}

.join-step .join-step-text {
  color: var(--grey-300);
  font-weight: 500;
  font-size: 15px;
}

.join-step-dot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.agree-card {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.agree-title-divider {
  border: 1px solid #000;
  margin: 10px 0;
}

.agree-body {
  padding-top: 14px;
}

.agree-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agree-head-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.join-back {
  display: none;
}

.agree-divider {
  width: 100%;
  height: 1px;
  background: #eaeaea;
  margin: 6px 0 14px;
}

.agree-section {
  padding: 10px 0 18px;
}

.agree-row {
  margin-bottom: 20px;
}

.agree-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.agree-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.agree-box {
  width: 16px;
  height: 16px;
  border: 1px solid #bbb;
  border-radius: 2px;
  display: inline-block;
  position: relative;
  background: #fff;
  flex: 0 0 auto;
}

.agree-check input:checked + .agree-box {
  border-color: var(--black);
  background: var(--black);
}

.agree-check input:checked + .agree-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agree-label {
  font-size: 15px;
  color: var(--black);
  line-height: 1.3;
}

.agree-all-check-label {
  font-size: 16px;
  color: var(--black);
  line-height: 1.3;
  font-weight: 700;
}

.agree-required {
  font-style: normal;
  color: var(--black);
  font-weight: 700;
  margin-left: 6px;
}

.agree-content {
  border: 1px solid #e6e6e6;
  background: #fafafa;
  padding: 12px;
  height: 170px;
}

.agree-content-inner {
  width: 100%;
  height: 100%;
  resize: none;
  border: none;
  font-size: 13px;
  line-height: 1.6;
  outline: none;
  overflow: auto;
  background: #fafafa;
}

.agree-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  height: 44px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
}

.btn-ghost {
  background: #fff;
  border: 1px solid #ddd;
  color: var(--black);
}

.btn-primary {
  background: var(--black);
  color: #fff;
}

@media (max-width: 1024px) {
  .join-agree-page {
    padding: 12px 0 0 0;
  }

  .join-breadcrumb {
    display: none;
  }

  .join-title {
    margin: 0 0 40px 0;
    font-size: 18px;
  }

  .join-steps {
    gap: 4px;
  }

  .join-step-num {
    font-size: 13px;
  }
  .join-step .join-step-text {
    font-size: 13px;
  }
  .join-step.is-active .join-step-num {
    font-size: 13px;
  }
  .join-step.is-active .join-step-text {
    font-size: 13px;
  }

  .agree-card {
    max-width: 100%;
    padding: 10px 0 0 0;
  }

  .agree-head {
    gap: 2px;
  }

  .join-mobile-top {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    margin: 0 0 40px 0;
  }

  .join-back {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    line-height: 1;
    color: var(--black);
    text-decoration: none;
  }

  .join-top-spacer {
    width: 44px;
    height: 44px;
  }

  .join-title {
    margin: 0;
    text-align: center;
  }
}
