
.agreement-section {
  margin-bottom: 20px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 2px rgba(0,0,0,0.05); /* 기존보다 훨씬 약하게 */
}


.agreement-title {
  font-weight: bold;
  margin-bottom: 10px;
}

textarea {
  width: 100%;
  height: 100px;
  resize: none;
  padding: 10px;
  box-sizing: border-box;
  border-color: #d1d1d1
}

.switch-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.switch {
  width: 40px;
  height: 20px;
  background: #ccc;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.switch::before {
  content: "";
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
}

.switch.on {
  background: #4d7cff;
}

.switch.on::before {
  left: 22px;
}

.register-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s;
  margin-top: 30px;
}

.register-btn.enabled {
  background: #4d7cff;
  color: white;
  cursor: pointer;
}

.register-btn.disabled {
  background: #ccc;
  color: #666;
  position: relative;
  animation: shake 0.3s;
  cursor: not-allowed;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* 전체 감싸는 래퍼 */
.agreement-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 200px;
  padding-bottom: 200px;
  text-align: center;
}

/* 두 항목 나란히 */
.agreement-row {
  display: flex;
  gap: 20px;
}

/* 각 항목을 반반 차지 */
.agreement-section.half {
  flex: 1;
}

