/* Registration / Service Inquiry Page Styles */
body.registration_page {
  background-color: #181818 !important;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  font-family: "Noto Sans KR", sans-serif;
}

#contents.registration_contents {
  display: block !important;
  padding: 0 !important;
  justify-content: unset !important;
  background: #181818;
  color: white;
  min-height: calc(100vh - 80px);
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 1);
  font-family: "Noto Sans KR", sans-serif;
}

.registration_form_wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.registration_form_header {
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.registration_form_title {
  font-size: 52px;
  font-weight: 600;
  line-height: normal;
  color: #47B8FF;
  margin: 0;
}

.registration_form_subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}

/* Inquiry button (blue theme) */
.inquiry_button {
  background: #47B8FF !important;
  border-radius: 4px;
  padding: 10px;
}

.inquiry_button > span {
  color: white !important;
}

/* Form */
.inquiry_form {
  padding: 0;
}

.inquiry_form_fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inquiry_form_field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.inquiry_form_field_full {
  flex: 1 1 100%;
}

.inquiry_form_label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #DDDDDD;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Noto Sans KR", sans-serif;
}

.inquiry_form_input {
  width: 100%;
  height: 40px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #DBDBDB;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  font-family: "Noto Sans KR", sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.inquiry_form_input::placeholder {
  color: #767676;
}

.inquiry_form_input:focus {
  outline: none;
  border-color: #47B8FF;
}

.inquiry_form_input.error {
  border-color: #FD312E;
}

/* Textarea */
.inquiry_form_textarea {
  height: 143px;
  resize: vertical;
  min-height: 100px;
  max-height: 300px;
}

/* Section error message */
.inquiry_form_section_error {
  font-size: 14px;
  color: #FD312E;
  line-height: normal;
  min-height: 20px;
  display: block;
  font-weight: 600;
  font-family: "Noto Sans KR", sans-serif;
  margin-top: 8px;
  width: 100%;
}

/* Form Actions */
.inquiry_form_actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-top: 0;
}

.inquiry_form_submit {
  min-width: 120px;
  height: 40px;
}

.inquiry_form_submit.inquiry_button {
  background: #47B8FF !important;
  border-radius: 4px;
  padding: 10px;
}

.inquiry_form_submit.inquiry_button > span {
  color: white !important;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .registration_form_wrapper {
    padding: 20px 16px;
  }

  .registration_form_title {
    font-size: 28px;
    line-height: normal;
  }

  .registration_form_subtitle {
    font-size: 16px;
  }

  .registration_form_header {
    gap: 16px;
    margin-bottom: 20px;
  }

  .inquiry_form_fields {
    gap: 8px;
  }

  .inquiry_form_actions {
    margin-top: 32px;
  }

  .inquiry_form_submit {
    width: 100%;
    max-width: 120px;
  }
}

@media screen and (max-width: 480px) {
  .inquiry_form_label {
    font-size: 13px;
  }

  .inquiry_form_input {
    font-size: 13px;
  }
}

/* Success Modal */
.success_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.success_modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.success_modal_content {
  position: relative;
  z-index: 1;
  background-color: #181818;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.2s ease;
}

.success_modal_icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background-color: #47B8FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #FFFFFF;
  font-weight: normal;
}

.success_modal_title {
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: normal;
}

.success_modal_message {
  font-size: 14px;
  font-weight: 400;
  color: #CCCCCC;
  margin: 0 0 20px;
  line-height: 1.5;
}

.success_modal_button {
  background-color: #47B8FF;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: "Noto Sans KR", sans-serif;
}

.success_modal_button:hover {
  background-color: #5CC4FF;
}

.success_modal_button:active {
  background-color: #3AA0E0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .success_modal_content {
    padding: 28px 20px;
    max-width: 90%;
  }

  .success_modal_icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
    margin-bottom: 14px;
  }

  .success_modal_title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .success_modal_message {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .success_modal_button {
    padding: 8px 20px;
    font-size: 13px;
  }
}

/* Error Modal */
.error_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.error_modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.error_modal_content {
  position: relative;
  background-color: #181818;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.2s ease;
}

.error_modal_icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background-color: #FF4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #FFFFFF;
  font-weight: normal;
}

.error_modal_title {
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: normal;
}

.error_modal_message {
  font-size: 14px;
  font-weight: 400;
  color: #CCCCCC;
  margin: 0 0 20px;
  line-height: 1.5;
  word-break: keep-all;
}

.error_modal_button {
  background-color: #FF4444;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: "Noto Sans KR", sans-serif;
}

.error_modal_button:hover {
  background-color: #FF6666;
}

.error_modal_button:active {
  background-color: #CC3333;
}

@media screen and (max-width: 768px) {
  .error_modal_content {
    padding: 28px 20px;
    max-width: 90%;
  }

  .error_modal_icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
    margin-bottom: 14px;
  }

  .error_modal_title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .error_modal_message {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .error_modal_button {
    padding: 8px 20px;
    font-size: 13px;
  }
}