.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding-top: 100px;
  margin-bottom: 100px;
}

.register-box {
  width: 100%;
  max-width: 600px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.register-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

.agreement-all {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
}

.agreement-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-label .checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}

.checkbox-label:hover input ~ .checkmark {
  border-color: var(--point-color);
}

.checkbox-label input:checked ~ .checkmark {
  background-color: var(--point-color);
  border-color: var(--point-color);
}

.checkbox-label .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-label .label-text {
  display: inline-block;
}

.checkbox-label em {
  color: var(--point-color);
  font-style: normal;
  font-size: 14px;
  margin-left: 4px;
}

.view-terms {
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.view-terms:hover {
  background: #f8f9fa;
  border-color: #999;
}

.terms-content {
  display: none;
  margin: 10px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.terms-content.active {
  display: block;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.cancel-button,
.submit-button {
  flex: 1;
  height: 50px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cancel-button {
  background: #fff;
  border: 1px solid #ddd;
  color: #666;
}

.cancel-button:hover {
  background: #f8f9fa;
  border-color: #999;
}

.submit-button {
  background: var(--point-color);
  border: none;
  color: #fff;
}

.submit-button:hover {
  background: #d56a89;
}

@media (max-width: 768px) {
  .register-container {
    padding: 0 20px;
  }

  .register-box {
    padding: 30px 20px;
  }

  .agreement-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .view-terms {
    align-self: flex-end;
  }
}

/* 모달 스타일 */
.terms-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.terms-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.terms-modal.active ~ * {
  overflow: hidden;
}

.modal-content {
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.terms-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.close-button {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.close-button:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  flex: 1;
}

/* 스크롤바 스타일링 */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* 개인정보처리방침 표 스타일 */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 24px 0 0 0;
}
.privacy-table th, .privacy-table td {
  border: 1px solid #e0e0e0;
  padding: 12px 8px;
  text-align: center;
}
.privacy-table th {
  background: #fafbfc;
  font-weight: 700;
  font-size: 14px;
}
.privacy-table td {
  background: #fff;
  color: #666;
  font-size: 14px;
}

.modal-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.modal-body dl {
  font-size: 14px;
  color: #333;
  margin-top: 20px;
}

.modal-body dl:first-child {
  margin-top: 0;
}

.modal-body dl dt {
  font-weight: 600;
  color: #333;
  margin-top: 20px;
}

.modal-body dl dd {
  padding-left: 10px;
  margin-top: 5px;
}

.modal-body dl dd span {
  padding-left: 10px;
}


