.page-content .container .header {
  margin-bottom: 0;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0px;
  /* background: #fff; */
  /* border: 1px solid #ddd; */
  /* border-radius: 8px; */
  overflow: hidden;
}

.container .header {
  margin-bottom: 0;
  background: #fff;
  color: #333;
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.container .header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.container .header p {
  opacity: 0.9;
  font-size: 14px;
}

.container .form-container {
  padding: 40px 0;
}

.form-section {
  margin-bottom: 30px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.form-table {
  width: 100%;
  border-collapse: separate;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
}

.form-table th,
.form-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.form-table td {
  padding: 0;
}

.form-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  width: 180px;
  border-right: 1px solid #ddd;
}

.form-table tr:last-child th,
.form-table tr:last-child td {
  border-bottom: none;
}

.asterix {
  color: #e74c3c;
  margin-left: 3px;
}

.input-field {
  width: 100%;
  padding: 16px 12px;
  border: 0;
  font-size: 14px;
  transition: border-color 0.2s ease;
  background: #fff;
}

.input-field:focus {
  outline: none;
  border-color: #007bff;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20px;
  gap: 0 15px;
}

.checkbox-item:not(input),
.radio-item:not(input) {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 0;
  transition: 0.3s all;
}

.checkbox-item:hover,
.radio-item:hover {
  opacity: 1;
  color: var(--main-color2);
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
  position: relative;
  top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.btn {
  background: var(--main-color1);
  color: white;
  border: none;
  padding: 8px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.btn:hover {
  color: #fff;
  background: var(--main-color2);
}

#parent_sign {
  width: 100%;
  height: 55px;
  background: #fff;
  color: #333;
}

#parent_sign:hover {
  color: var(--main-color2);
}

#last_sign:hover {
  color: var(--main-color2);
}

.special-question {
  background: #fff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 3px;
  border: 1px solid #ddd;
}

.special-question p {
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.small-txt {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

#parent_img {
  padding: 10px;
  text-align: center;
  border-radius: 6px;
}

#parent_img.on {
  border: 1px solid #ddd;
}

.signature-section {
  background: #fff;
  padding: 25px;
  text-align: center;
  margin: 30px 0;
  border-radius: 3px;
  /* border: 1px solid #ddd; */
}

.signature-section .date {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.signature-section .applicant {
  font-size: 16px;
  color: #333;
}

.signature-placeholder {
  display: inline-block;
  border-bottom: 1px solid #ddd;
  min-width: 150px;
  margin: 0 10px;
  color: #666;
  cursor: pointer;
  position: relative;
}

#element_to_pop_up,
#element_to_pop_up2 {
  position: fixed !important;
  display: none;
  top: 50% !important;
  left: 50% !important;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  transform: translate(-50%, -50%);
}

#element_to_pop_up.on,
#element_to_pop_up2.on {
  display: block !important;
}

.privacy-notice {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 3px;
  max-height: 200px;
  overflow-y: auto;
  margin: 20px 0;
}

.privacy-notice h4 {
  font-size: 20px;
}

.privacy-notice::-webkit-scrollbar {
  width: 6px;
}

.privacy-notice::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.privacy-notice::-webkit-scrollbar-thumb {
  background: #e5e5e5;
}

.privacy-notice::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

.agreement-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 15px;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #ddd;
}

.submit-btn {
  background: var(--main-color1);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  border-radius: 3px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--main-color2);
}

.notice-text {
  background: #fff;
  padding: 15px;
  margin: 20px 0;
  font-size: 13px;
  text-align: center;
  border-radius: 3px;
  line-height: 1.5;
  color: #333;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .form-container {
    padding: 20px;
  }

  .form-table th,
  .form-table td {
    padding: 10px;
    font-size: 14px;
  }

  .form-table th {
    width: auto;
    display: block;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .form-table td {
    display: block;
    border-bottom: 2px solid #e5e5e5;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 10px;
  }
}
