.agreement-app {
  background:
    radial-gradient(circle at 18% 10%, rgba(247, 166, 35, 0.18), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(141, 132, 199, 0.20), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(73, 182, 242, 0.20), transparent 35%),
    linear-gradient(180deg, #f8fcff 0%, #edf8ff 100%);
}

.form-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 34px;
  padding: 30px 22px 24px;
  border: 1px solid rgba(205, 229, 255, 0.95);
  box-shadow:
    0 24px 70px rgba(56, 116, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.form-card::before {
  content: "";
  position: absolute;
  top: -88px;
  right: -82px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.75), transparent 24%),
    rgba(73, 182, 242, 0.15);
}

.form-card::after {
  content: "";
  position: absolute;
  left: -74px;
  bottom: -88px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(247, 166, 35, 0.11);
}

.water-bubble {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  background: rgba(73, 182, 242, 0.13);
  border: 1px solid rgba(73, 182, 242, 0.18);
}

.bubble-01 {
  width: 18px;
  height: 18px;
  top: 34px;
  left: 28px;
}

.bubble-02 {
  width: 10px;
  height: 10px;
  top: 78px;
  left: 54px;
}

.bubble-03 {
  width: 14px;
  height: 14px;
  right: 34px;
  bottom: 132px;
  background: rgba(141, 132, 199, 0.13);
  border-color: rgba(141, 132, 199, 0.2);
}

.agreement-head,
.notice-box,
.agreement-form {
  position: relative;
  z-index: 1;
}

.agreement-head {
  text-align: center;
  margin-bottom: 22px;
}

.logo-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 15px;
  padding: 12px;
  border-radius: 36px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #49b6f2, #8d84c7, #f7a623) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 14px 34px rgba(56, 116, 168, 0.14),
    0 0 0 7px rgba(73, 182, 242, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo.small {
  width: 104px;
  margin: 0;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 29px;
  padding: 0 14px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: #eef8ff;
  color: #3984c6;
  border: 1px solid #cfeeff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.form-card h1 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #1d2738;
}

.agreement-head p {
  font-size: 14px;
  line-height: 1.65;
  color: #5f6f82;
}

.notice-box {
  margin: 22px 0 24px;
  padding: 22px 0;
  border-radius: 0;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.notice-intro {
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #1f2a3d;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
}

.agreement-list {
  margin: 0;
  padding-left: 22px;
}

.agreement-list > li {
  margin-bottom: 22px;
  color: #313b4c;
  line-height: 1.8;
  font-size: 14px;
}

.agreement-list > li:last-child {
  margin-bottom: 0;
}

.agreement-list strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2a3d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
}

.agreement-list p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.75;
  color: #313b4c;
}

.highlight-box {
  margin: 10px 0 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}


.agreement-list b,
.pledge-box b,
.highlight-box b {
  color: #d87c12;
  font-weight: 800;
}

.highlight-box b {
  display: block;
  margin-bottom: 6px;
  color: #d87c12;
  font-size: 13px;
  font-weight: 900;
}

.highlight-box p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #313b4c;
}

.warning-text {
  margin-top: 8px;
  color: #e24a3b !important;
  font-weight: 800;
}


.sub-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.sub-list li {
  margin-bottom: 6px;
  color: #313b4c;
  font-size: 14px;
  line-height: 1.7;
}

.pledge-box {
  margin-top: 22px;
  padding: 18px 0 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.pledge-box p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #313b4c;
  font-weight: 600;
}

.pledge-box p:last-child {
  margin-bottom: 0;
}

.agreement-form {
  display: grid;
  gap: 15px;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.form-section-title span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #49b6f2;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(73, 182, 242, 0.24);
}

.form-section-title strong {
  font-size: 15px;
  font-weight: 900;
  color: #1f2a3d;
}

label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  color: #333;
}

.form-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.55;
  font-weight: 700;
  padding: 15px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dceeff;
}

.check-label input {
  margin-top: 3px;
}

.signature-box {
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #d8ecfb;
  box-shadow: 0 10px 24px rgba(56, 116, 168, 0.08);
}

.signature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signature-head strong {
  font-size: 14px;
  color: #1f2a3d;
  font-weight: 900;
}

.signature-head button {
  width: auto;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef8ff;
  border: 1px solid #cfeeff;
  color: #3984c6;
  font-size: 13px;
  font-weight: 900;
  box-shadow: none;
}

#signatureCanvas {
  width: 100%;
  height: 170px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fdff 100%);
  border: 1px dashed #a9d8f4;
  border-radius: 18px;
  touch-action: none;
}

.signature-box p {
  text-align: center;
  font-size: 13px;
  color: #7a8597;
}

.submit-btn {
  margin-top: 4px;
  background: linear-gradient(135deg, #49b6f2, #3984c6);
  box-shadow: 0 12px 24px rgba(73, 182, 242, 0.28);
}

@media (max-width: 480px) {
  .app {
    padding: 18px 14px;
  }

  .form-card {
    border-radius: 30px;
    padding: 25px 17px 21px;
  }

  .logo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 32px;
  }

  .logo.small {
    width: 96px;
  }

  .form-card h1 {
    font-size: 23px;
  }

  .notice-box {
    padding: 17px 15px;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }
}

.condition-box {
  margin-top: 22px;
  padding: 18px 0 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #e5e7eb;
  box-shadow: none;
  text-align: left;
}

.condition-box > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 800;
  color: #1f2a3d;
  text-align: left;
}

.condition-box .agreement-list.compact {
  margin: 0;
  padding-left: 22px;
  text-align: left;
}

.condition-box .agreement-list.compact li {
  margin-bottom: 10px;
  padding-left: 2px;
  font-size: 14px;
  line-height: 1.75;
  color: #313b4c;
  text-align: left;
      font-weight: 600; /* 추가 */

}

.condition-box .agreement-list.compact li:last-child {
  margin-bottom: 0;
}

.agreement-list.compact {
  padding-left: 229px;
}

.agreement-list.compact li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #313b4c;
}

.agreement-list.compact li:last-child {
  margin-bottom: 0;
}

.pledge-box b {
  color: #d87c12;
}

.agreement-divider{
    margin:30px 0 24px;
    border-top:1px solid #d9dee5;
    position:relative;
}

.agreement-divider::after{
    content:"";
    position:absolute;
    left:50%;
    top:-3px;
    transform:translateX(-50%);
    width:60px;
    height:6px;
    background:#1f2a3d;
    border-radius:999px;
}

.section-line{
    height:1px;
    background:#d9dee5;
    margin:20px 0 24px;
}