* {
  box-sizing: border-box;
}

body {
  font-size: 14px;
  background: rgba(227, 243, 255, 1);
}

.v145_22452 {
  width: 1440px;
  height: 1383px;
  opacity: 1;
  position: relative;
  top: 40px;
  left: calc(50% - 720px);
  overflow: hidden;
}

.header {
  /* VASK 分析與人才配對平台 */
  width: 100%;
  height: 40px;
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-family: 'DM Sans';
  font-style: regluar;
  font-weight: 400;
  font-size: 36px;
  top: 40px;
  color: #0A0A0A;
}

.v440_2838 {
  width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
  object-fit: cover;
  opacity: 1;
  position: relative;
  top: 20px;
  left: 0px;
  right: 20px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  display: flex;
  overflow: hidden;
  /* 隱藏超出容器的部分 */
}

.v440_2838 img {
  max-width: 100%;
  /* 圖片最大寬度為容器寬度 */
  max-height: 100%;
  /* 圖片最大高度為容器高度 */
  object-fit: cover;
  /* 或使用 contain, fill, scale-down 等 */
  height: auto;
  /* 圖片高度自動調整 */
}

.v145_22531 {
  width: 99%;
  opacity: 1;
  position: relative;
  margin-top: 20px;
  top: 20px;
}

.v145_22532 {
  width: auto;
  color: rgba(10, 10, 10, 1);
  position: relative;
  top: 0px;
  left: 20px;
  font-family: DM Sans;
  font-weight: Medium;
  font-size: 18px;
  opacity: 1;
  text-align: left;
}

.v145_22533 {
  width: auto;
  left: calc(50% - 720px);
  color: rgba(82, 82, 82, 1);
  justify-content: center;
  position: relative;
  top: 0px;
  left: 20px;
  font-family: DM Sans;
  font-size: 16px;
  opacity: 1;
  text-align: left;
}

.v145_22534 {
  width: 600px;
  left: calc(50% - 300px);
  height: 124px;
  background: rgba(190, 232, 250, 1);
  margin: 20px;
  opacity: 1;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #BEE8FA;
  border: 1px solid #FBF9AA;
  box-shadow: 0px 10px 15px -3px rgba(18, 18, 23, 0.08), 0px 4px 6px -2px rgba(18, 18, 23, 0.05);
  border-radius: 24px;
}

.select-box {
  width: 600px;
  left: calc(50% - 300px);
  height: 184px;
  background: rgba(190, 232, 250, 1);
  margin: 20px;
  opacity: 1;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #BEE8FA;
  border: 1px solid #FBF9AA;
  box-shadow: 0px 10px 15px -3px rgba(18, 18, 23, 0.08), 0px 4px 6px -2px rgba(18, 18, 23, 0.05);
  border-radius: 24px;
  font-size: 16px;
}

.select-box .select-button-group {
  width: 560px;
  height: 40px;
  top: 30px;
  margin-top: 40px;
  opacity: 1;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.v145_22535 {
  width: 560px;
  height: 30px;
  opacity: 1;
  position: absolute;
  top: 20px;
  left: 20px;
}

.v145_22537 {
  width: 100%;
  height: 40px;
  margin-top: 20px;
  opacity: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.button a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 12px;
  width: 560px;
  height: 40px;
  background: #FFE667;
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
  color: #0A0A0A;
}

.footer-container {
  width: 1440px;
  height: 200px;
  left: 50%;
  transform: translateX(-50%);
  background: url("./images/footer.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 1;
  overflow: hidden;
}

.v145_22652 {
  width: 1440px;
  left: calc(50% - 720px);
  height: 32px;
  padding: 2px 2px;
  margin: 10px;
  opacity: 1;
  position: relative;
  top: 0px;
  left: 0px;
  overflow: hidden;
}

.back a {
  display: flex;
  align-items: center;
  justify-content: left;
  text-decoration: none;
  color: inherit;
  height: 100%;
  width: 100%;
  position: relative;
  top: 0px;
  left: 10px;
  height: 24px;
  width: 100%;
  cursor: pointer;
  text-align: left;
  color: #0A0A0A;
}

.v607_5843 {
  width: 100px;
  height: 24px;
  margin: 5px;
  opacity: 1;
  /* overflow: hidden; */
  /* Removed to allow tooltip to show */
}

.v607_5845 {
  color: rgba(10, 10, 10, 1);
  font-family: DM Sans;
  font-weight: Regular;
  font-size: 13px;
  opacity: 1;
  text-align: left;
}

.info-left {
  width: 81%;
  text-align: left;
  top: 0px;
  left: 0px;
  font-family: DM Sans;
  font-weight: Regular;
  font-size: 16px;
  opacity: 1;
}

.info-right {
  width: 19%;
  text-align: right;
}

.info {
  position: relative;
  top: 2px;
  right: 0px;
  height: 24px;
  width: 24px;
  display: inline-block;
  cursor: help;
}




.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 16px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


.question-block {
  margin-top: 0px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 0px;
  padding: 12px 12px;
  overflow: hidden;
}

.question-block h3 {
  margin-top: 0px;
  color: #0A0A0A;
  font-size: 18px;
}

.question-block p {
  color: #525252;
  font-size: 16px;
  margin-top: 0px;
  display: inline-block;
  vertical-align: middle;
}

.error-message {
  color: #ee6541;
  position: relative;
  margin-left: 10px;
  margin-top: 5px;
  font-size: 16px;
  display: inline-block;
  vertical-align: middle;
}

.error-message3 {
  color: #ee6541;
  margin-top: 0px;
  font-size: 16px;
  display: inline-block;
  vertical-align: middle;
}

.image-selection-grid.error-border {
  border: 2px solid #ee6541;
  /* border for error state */
  border-radius: 8px;
  /* Optional: add some border-radius for aesthetics */
}

.image-selection-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  /* Adjust minmax for image size */
  gap: 20px;
  justify-items: center;
  background: rgba(255, 255, 255, 1);
  padding: 20px 20px;
  margin: 4px;
  opacity: 1;

  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0px 4px 6px rgba(0.07058823853731155, 0.07058823853731155, 0.09019608050584793, 0.05000000074505806);
}

.image-selection-grid label {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: block;
  background-color: #D4D4D4;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
  /* Ensure label takes full grid item space */
}

.image-selection-grid label.selected {
  border-color: #FFD03D;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.image-selection-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.image-selection-grid input[type="checkbox"] {
  display: none;
}

.form-box {
  color: #0A0A0A;
  background: rgba(255, 255, 255, 1);
  height: 100%;
  opacity: 1;
  margin-top: 0px;
  margin-left: 35px;
  margin-right: 35px;
  margin-bottom: 0px;
  padding: 12px 12px;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0px 4px 6px rgba(0.07058823853731155, 0.07058823853731155, 0.09019608050584793, 0.05000000074505806);
}

.form-group {
  margin-bottom: 0px;
  margin-left: 20px;
  margin-top: 0px;

}

.form-group .select-group .error-border2 {
  border: 2px solid #ee6541;
  border-radius: 4px;
}

.form-group .select-group label {
  width: 215px;
  height: 24px;
  display: block;
  margin-bottom: 10px;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #525252;
}

.form-box input[type="email"],
.form-group input[type="text"],
.form-group select,
.form-group .select-group textarea {
  width: 600px;
  height: 36px;
  /* Adjust for padding and border */
  padding: 8px;
  border: 1px solid #E5E5E5;
  box-shadow: 0px 1px 2px rgba(18, 18, 23, 0.05);
  border-radius: 8px;
  margin-top: 8px;
  color: #737373;
  font-size: 16px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.radio-group label,
.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  /*display: flex;*/
  align-items: center;
  cursor: pointer;
  color: #525252;
  font-size: 16px;
}

#job-description-radio-buttons {
  display: block;
  word-break: break-all;
}

input[type="radio"] {
  width: 14.5px;
  height: 14.5px;
  border: 1.5px solid #D4D4D4;
  box-shadow: 0px 1px 2px rgba(18, 18, 23, 0.05);
  -webkit-appearance: none;
  /* For WebKit browsers */
  -moz-appearance: none;
  /* For Mozilla browsers */
  appearance: none;
  /* Standard property */
  border: 1px solid #ccc;
  border-radius: 3px;
  /* Square corners like a checkbox */
  margin-right: 5px;
  cursor: pointer;
}

input[type="radio"]:checked {
  background-color: #FFD03D;
  /* Example: Blue background when checked */
  border-color: white;
}

/* Add a checkmark icon when checked (optional, using pseudo-elements) */
input[type="radio"]:checked::after {
  content: '\2713';
  /* Unicode checkmark character */
  color: white;
  font-size: 12px;
  position: relative;
  left: 2px;
  top: -1px;
}

.checkbox-group input[type="checkbox"] {
  height: 14px;
  width: 14px;
  border: 1.5px solid #D4D4D4;
  box-shadow: 0px 1px 2px rgba(18, 18, 23, 0.05);
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  cursor: pointer;
  border-radius: 3px;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: #FFD03D;
  /* Example: Blue background when checked */
  border-color: white;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '✓';
  color: white;
  display: block;
  text-align: center;
  font-size: 14px;
  line-height: 14px;
  background-color: #FFD03D;
  border-color: white;
}


.job-description-label {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px;
  /*border: 1px solid #ccc;
    border-radius: 4px;*/
  cursor: pointer;
  background-color: white;
}

.job-description-label:hover {
  background-color: lightblue;
}

input[type="radio"][name="jobDescriptionAnalysis"]:checked+.job-description-label {
  background-color: lightyellow;
  color: black;
  border-color: lightyellow;
}

.age-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

button[type="submit"] {
  color: #0A0A0A;
  cursor: pointer;
  font-size: 18px;
  justify-content: right;
  align-items: center;
  padding: 4px 12px;
  margin: 0 auto;
  width: 200px;
  height: 40px;
  background: #FFE667;
  border-radius: 16px;
  border: none;
}

button[type="submit"]:hover {
  background-color: #FFE667;
}

button[type="submit"]:disabled {
  background-color: #F6F5F3;
  cursor: not-allowed;
  opacity: 0.7;
}

button[type="return"] {
  cursor: pointer;
  font-size: 18px;
  justify-content: right;
  align-items: center;
  margin: 0 auto;
  width: 200px;
  height: 40px;
  background: #FFE667;
  border-radius: 16px;
  border: none;
  margin-left: 1178px;
}

button[type="return"] a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #0A0A0A;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  letter-spacing: -0.02em;
}

button[type="detail"] {

  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 12px;

  width: 101px;
  height: 32px;

  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 360px;

}

button[type="detail"] a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #0A0A0A;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  letter-spacing: -0.02em;
}

#result-box {
  /* Modal */
  box-sizing: border-box;
  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 8px;
  background: #FBF9AA;
  border: 1px solid #F0F0F0;
  font-size: 16px;
  /* Shadows/lg */
  box-shadow: 0px 10px 15px -3px rgba(18, 18, 23, 0.08), 0px 4px 6px -2px rgba(18, 18, 23, 0.05);
  border-radius: 24px;
  font-family: 'DM Sans';
  font-style: normal;
  font-size: 18px;
  line-height: 24px;
}

@media screen and (max-width: 430px) {

  .v145_22452 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 14px;
    margin-top: 14px;
    margin-left: 1%;
    margin-right: 1%;
    width: 320px;
    height: auto;
    max-width: 100vw;
  }
  .header {
    width: 100%;
    top: 10px;
    height: 14px;
    font-size: 14px;
  }

  .v440_2838 {
    width: auto;
    height: auto;
  }

  .v145_22531 {
    width: 100%;
    margin: 0px;
    left: 0px;
    height: auto;
    font-size: 12px;
  }

  .v145_22652 {
    width: 320px;
    margin: 0px;
    margin-top: 10px;
  }
  .back a {
    left: 0px;
}
  .v145_22532 {
    width: 200px;
    font-size: 14px;
    left: 0px;
  }

  .v145_22533 {
    width: auto;
    left: 0px;
    font-size: 12px;
  }

  .v145_22534 {
    width: auto;
    left: 0px;
    background: rgba(190, 232, 250, 1);
    opacity: 1;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #BEE8FA;
    border: 1px solid #FBF9AA;
    box-shadow: 0px 10px 15px -3px rgba(18, 18, 23, 0.08), 0px 4px 6px -2px rgba(18, 18, 23, 0.05);
    border-radius: 24px;
    margin: 0px;
  }

  .v145_22535 {
    max-width: 280px;
    height: 20px;
    font-size: 14px;
  }

  .select-box {
    width: auto;
    left: 0px;
    right: 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    font-size: 14px;
    margin: 0px;
  }

  .select-box .select-button-group {
    width: 100%;
    opacity: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
  }

  .select-box .select-button-group .button {
    width: 100%;
  }

  .select-box .select-button-group .button a {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
  }

  .v145_22537 {
    width: 300px;
    height: 20px;
    margin-top: 20px;
    opacity: 1;
    position: relative;
    display: flex;
  }

  .v145_22537 .button {
    width: 280px;
    opacity: 1;
    display: flex;
    justify-content: center;

  }

  .info-left {
    width: 120px;
    height: 14px;
    text-align: left;
    top: 0px;
    left: 0px;
    font-family: DM Sans;
    font-weight: Regular;
    font-size: 14px;
    opacity: 1;
  }

  .info-right {
    width: 160px;
    text-align: right;
  }

  .question-block {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    padding: 0px;
    overflow: hidden;
}
  .image-selection-grid {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    /* Even smaller images on very small screens */
  }

  button[type="return"] {
    cursor: pointer;
    font-size: 18px;
    justify-content: left;
    align-items: center;
    margin: 0 auto;
    width: 320px;
    height: 40px;
    background: #FFE667;
    border-radius: 16px;
    border: none;
    margin-left: 0px;
  }
.form-box {
  height: 100%;
  margin-left: 0px;
  margin-right: 0px;
  padding: auto;
  /*padding: 12px 12px;*/
  
}
.form-box input[type="email"],
.form-group input[type="text"],
.form-group select,
.form-group .select-group textarea {
  width: 200px;
  font-size: 14px;

}
  .footer-container {
    width: 320px;
left: 50%;
    transform: translateX(-50%);
  }
}