.cus-text {
    color: #147327;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Fix the label for checkbox */
label[for="pics-acknowledge"],label[for="pics-trueandcorrect"],#interestedtopicsdiv label {
    position: static !important;
    padding-left: 0 !important;
    cursor: pointer !important;
    float: none !important;
    line-height: normal !important;
    -webkit-transition: none !important;
    transition: none !important;
    margin: 0 !important;
    display: inline !important;
    vertical-align: baseline !important;
}

.pics-container {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
}

.pics-text {
    flex: 1 !important;
}

.pics-acknowledge {
    display: flex !important;
    align-items: center !important;
    margin-top: 40px !important;
    white-space: nowrap !important;
}
#content input[type="checkbox"] + label:before {
    content: none !important;
}
@font-face {
    font-family: 'Comfortaa';
    src: url('/filemanager/template/common/fonts/Comfortaa-Bold.ttf') format('truetype');
}
h1 {
    font-family: "Open Sans", Arial, "微軟正黑體", "Microsoft JhengHei", sans-serif;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 40px;
    color: #ff7d43;
}
#content {
    font-size: 16px;
    color: #4B4B4B;
    line-height: 140%;
    font-family: "Open Sans", Arial, "微軟正黑體", "Microsoft JhengHei", sans-serif;
}

#content .subscribe-img{
    width: 247px; 
    height: 76px; 
    margin-left: 15px;
}

#content a{
    color: #555;
    text-decoration: underline;
    transition: color .3s;
}

#content .form-wrap .form-blk .form-col.header, .cus-text{	color: unset;}

#content p {
    margin-bottom: 25px;
}

#content .row-wrap {
    background: none;
    width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 35px;
    padding-left: 1px;
}

#content input{
    width: 48%;
    height: 57px;
    font-size: 18px;
    background: #F3F3F3;
    border: 0px;
    border-radius: 13px;
    color: #888;
    box-sizing: border-box;
    display: flex;
    padding: 15px;
}

#content input:focus{
    background-color: #fff;
    outline: 1px solid #C4C4C4;
}

#content select{
    width: 48%;
    height: 57px;
    font-size: 18px;
    background: #F3F3F3;
    border: 0px;
    border-radius: 13px;
    color: #888;
    box-sizing: border-box;
    display: flex;
    padding: 15px;
}

#content select:focus{
    background-color: #fff;
    outline: 1px solid #C4C4C4;
}


#content .col-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icon-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Arial, sans-serif;
  margin: 16px 0;
}

.icon-checkbox input {
  display: none !important;
}

.icon-checkmark {
  width: 25px;
  height: 25px;
  border: 2px solid #dbdbdb;
  border-radius: 8px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.icon-checkbox input:checked + .icon-checkmark {
  color: #ff7d43;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
    border-left: 4px solid #c0392b;
    background: #f39c12;
    border-left-color: #d68910;
}

.submit-btn {
    width: 205px;
    height: 59px;
    background-color: #622bcc;
    color: #fff !important;
    font-size: 20px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    text-decoration: none !important;
    align-items: center;
    margin-top: 25px;
}

input.captcha {
    width: 191px !important;
    height: 57px !important;
}

#toastContainer {
    display: none;
    width: 60%;
}

.capcha-refresh-wrapper {
    display: flex; 
    flex-direction: row;
    align-items: center;
    gap:30px;
    justify-content: center;
    margin-top:10px;
}

.capcha-wrapper {
    margin-top: 25px; 
    display: flex; 
    flex-direction: row; 
    gap: 30px;
}

/* select menu start */
.custom-select {
  position: relative;
  width: 48%;
  height: 57px;
  display: block;
}

.custom-select select {
  display: none !important; /*hide original SELECT element:*/
}

.select-selected {
  background-color: #f3f3f3;
  border-radius: 13px;
  width: 100%;
  padding: 16px;
  font-size: 18px;
}

.select-selected:focus {
    background-color: #fff;
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 20px;
    right: 10px;
    width: 12px;
    height: 12px;
    border: 2px solid #ccc;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    transform-origin: center;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  transform: rotate(-135deg);
  top: 25px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #818181;
  padding: 16px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: #ebe0ff;
  font-size: 18px;
}


@media (max-width: 800px) {
    #content{
        font-size: 11px !important;
        padding: 0px 15px;
        width: 100%;
    }
    #content .row-wrap {
        width: 100%;
    }

    #content .col-wrap {
        width: 100%;
    }
    h1 {
        font-size: 24px;
    }
    input, select {
        width: 100% !important;
        height: 42px !important;
        font-size: 11px !important;
    }
    input.captcha {
        width: 126px !important;
        height: 46px !important;
    }
    .submit-btn {
        width: 143.5px;
        height: 31.3px;
        font-size: 14px;
        margin-top: 5px;
    }
    .icon-checkmark{
        width: 20px;
        height: 20px;
    }
    #content .subscribe-img{
        width: 35%;
        height: auto;
    }
    .capcha-wrapper {
        gap: 3px;
        flex-direction: row;
        text-align: center;
    }
    .capcha-wrapper img {
        width: 100%;
    }
    .capcha-wrapper .img-wrap{
        width: 50%;
    }
    .capcha-refresh-wrapper {
        gap: 10px;
    }

    .custom-checkmark {
        width: 34px;
    }

    /* customize input select */
    .select-selected {
        font-size: 12px;
        padding: 15px;
    }
    .custom-select {
        height: 42px;
        width: 100%;
        font-size: 10px;
    }
    .select-selected:after{
        top: 15px;
    }

    .select-selected.select-arrow-active:after {
        top: 20px;
    }
    .select-items div:hover, .same-as-selected {
        font-size: 12px;
    }
}
