/* search container */
.search-container {
    width: 1000px;
    margin: 0 auto;
    position: relative;
    background: #FFFFFF;
    border: 1px solid #ECEFF1;
    border-radius: 16px;
    margin-top: 32px;
}

.search-form {
    display: flex;
    flex-direction: column;
    width: 768px;
    gap: 16px;
    margin: 40px 116px;
}

/* search input wrapper*/
.search-input-wrapper {
    display: flex;
    flex-direction: column;
    width: 768px;
    gap: 24px;
}

.search-input-group {
    display: flex;
    width: 768px;
    height: 74px;
    gap: 12px;
}

.search-input-nolabel-group {
    display: flex;
    width: 768px;
    height: 40px;
    gap: 12px;
    align-items: center;
}

.search-input-nolabel-group .checbox-wapper {
    display: flex;
    flex-direction: column;
}

.search-input-nolabel-group.attention-items {
    height: auto;
}

.search-input-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-input-item span, .search-course-input-container span {
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #616161;
}

.search-input-select {
    display: flex;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    gap: 8px;
    padding: 12px;
    align-items: center;
    cursor: pointer;
}

.search-input-select .search-text {
    flex: 1;
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #212121;
    width: 160px;
}

/* search button */
.search-button {
    width: 300px;
    height: 48px;
    border-radius: 8px;
    padding: 16px;
    background: linear-gradient(116.57deg, #FF8F00 16.67%, #FF4210 100%);
    border: 0px;
    margin: auto;
    cursor: pointer;
}

.search-button-text {
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
}

/* item in 3 column layout */
.item-3-column {
    width: 248px;
}

.item-budget {
    width: 362px;
}

.item-range-text {
    width: 20px;
    /* height: 20px; */
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
    color: #616161;
    align-self: center;
    padding-top: 30px;
}

.item-align-center {
    align-items: center;
}

.item-label {
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #616161;
}

/* checkboxes */
.search-input-checkboxes {
    display: flex;
    flex: 1;
    gap: 10px;
    border-radius: 6px;
    padding: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
  
.checkbox-input {
    display: none;
}

.checkbox-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.checkbox-icon .checked {
    display: none;
}
  
.checkbox-icon img {
    position: absolute;
    top: 0;
    left: 0;
}

.display-none {
    display: none !important;
}

/* change icon when checkbox is checked */
.checkbox-input:checked ~ .checkbox-icon .unchecked {
    display: none;
}
  
.checkbox-input:checked ~ .checkbox-icon .checked {
    display: block;
}

/* change text color when checkbox is checked */
.checkbox-input:checked ~ .checkbox-text {
    color: #1565C0;
}

.checkbox-text {
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
    color: #212121;
}

.checked {
    color: #1565C0;
}

/* search more criteria */
.search-more-criteria {
    cursor: pointer;
}

.search-more-criteria .checked {
    display: none;
}

.search-extra-criteria {
    display: flex;
    flex-direction: column;
    width: 768px;
    gap: 24px;
}

/* item in 2 column layout */
.item-2-column {
    width: 378px;
}

/* change arrow icon when checkbox is checked */
.checkbox-input:checked ~ .unchecked {
    display: none;
}
  
.checkbox-input:checked ~ .checked {
    display: block;
}

.checkbox-input:checked ~ .search-extra-criteria {
    display: block;
}

/* show ... with the long text */
.ellipsis {
    white-space: nowrap;         
    overflow: hidden;           
    text-overflow: ellipsis;
  }

.search-more-input-checkboxes {
    display: flex;
    flex: 1;
    gap: 24px;
    border-radius: 6px;
    padding: 8px;
}

/* search input text with underline */
.search-input-text-group {
    display: flex;
    width: 768px;
    height: 90px;
    gap: 12px;
}

.search-input-text {
    display: flex;
    height: 56px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    gap: 10px;
    padding: 12px;
    align-items: center;

    /* fix for UI overlapse by cmn.css file*/
    -webkit-box-sizing: unset !important;
    box-sizing: unset !important;
}

.item-input-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-input-text span {
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    color: #616161;
}

/* fix for UI overlapse by renew2019common-pc.css file*/
.item-input-text input[type="text"] {
    border: unset;
}


.input-underline {
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    border: none;
    border-bottom: 2px solid #E0E0E0 !important;
    outline: none;
    background: transparent; 
    width: 322px;
    font-size: 14px;
    color: #212121;
    /*fix by renew2019common-pc.css overlapse*/
    padding: unset !important;
}

/* end search input text*/

/* modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* nền mờ */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
  
/* Khi mở modal */
.modal-overlay.active {
    display: flex;
}
    

.modal-container {
    display: none;
    flex-direction: column;
    width: 720px;
    border-radius: 16px;
    gap: 12px;
    padding-bottom: 12px;
    align-items: center;
    margin: auto;
    background: #FFFFFF;
}

.modal-container.active {
    display: flex;
}

.modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;

    /* create scroll bar for many data on modal*/
    max-height: 60vh; /* max height = 70% height screen */
    overflow-x: hidden; /* deny scroll horizontal */
}

.modal-header {
    display: flex;
    gap: 10px;
    padding: 16px;
}

.modal-header span {
    width: 664px;
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    color: #212121;
}

.modal-btn-close {
    cursor: pointer;
}

.modal-input-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.modal-input-item {
    width: 688px;
    height: 48px;
    display: flex;
    border-bottom: 1px solid #ECEFF1;
    align-self: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0px 16px;
}

.modal-input-item:first-child {
    border-top: 1px solid #ECEFF1;
}

.modal-input-checkboxes {
    display: flex;
    flex: 1;
    gap: 10px;
}


/* calendar modal */
.modal-calendar-container {
    display: none;
    flex-direction: column;
    width: 1000px;
    border-radius: 16px;
    gap: 12px;
    padding: 12px 0px;
    align-items: center;
    margin: auto;
    background: #FFFFFF;
}

.modal-calendar-container.active {
    display: flex;
}

.btn-modal-confirm {
    cursor: pointer;
}

/* jquery UI calendar custom CSS */
.cal-confirm-btn {
    display: flex;
    width: 634px;
    height: 40px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cal-confirm-text {
    font-family: -apple-system,blinkmacsystemfont,"Segoe UI","Hiragino Kaku Gothic ProN","BIZ UDPGothic",meiryo,sans-serif;
    font-weight: 500;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6,
p, div:not(.search-input-select), a, strong, em, b, i, u, small, mark, code, abbr, cite,
li, dt, dd,
section, article, aside, header, footer, main,
blockquote, pre,
label,
span:not(label.checkbox-label span):not(.search-input-select *):not(.search-button *) {
    cursor: default;
    user-select: none;
}

.no-scroll {
    max-height: none;
    overflow: visible;
}

.custom-css-today{
    font-weight: bold !important;
}

.search-course-container{
    display: flex;
    width: 378px;
    gap: 9px;
}

.item-4-column{
    width: 170px;
}

.search-course-container{
    display: flex;
    align-items: end;
}

.search-input-select.search-input-course-select{
    height: unset;
}