body {
    -webkit-font-smoothing: antialiased;
    color: #A49D93;
    font-family: 'Saans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.contactSnippetHidden {
    display: none;
}

.appointment_container {
    max-width: 520px;
    margin-top: 10px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
}

.form-group--last {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(164, 157, 147, 0.5);
}

.form-group--flex {
    display: flex;

}

.appointment_select {
    background: #CBC6C2;
    color: #000;
    border-radius: 36px;
    padding: 10px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    border: 2px solid #CBC6C2;
    outline: none;
    height: 56px;
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 10px 16px;
    font-size: 18px;
    border: 2px solid rgba(164, 157, 147, 0.8);
    border-radius: 36px;
    line-height: 1.4;
    outline: none;
    background: transparent;
    height: 36px;
    font-weight: 500;
    color: #A49D93;
    font-family: 'Saans', sans-serif;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: rgba(164, 157, 147, 0.8);
    font-size: 18px;
    font-weight: 500;
    pointer-events: none;
    font-family: 'Saans', sans-serif;
}

.form-group--last label {
    top: 23%;
    transform: translateY(-20%);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 14px;
    color: #A49D93;
    background: #1D1E1D;
    padding: 0 5px;
    font-family: 'Saans', sans-serif;
    font-weight: 500;
}

.appointment_submit {
    background: #A49D93;
    border: 1px solid #A49D93;
    border-radius: 50%;
    height: 56px;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

.appointment_submit:hover {
    background-color: #F0EFEE;
}

.appointment_submit svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: none;
}

.appointment_submit:hover svg {
    animation: moveDiagonal 0.6s ease-in-out;
}

@keyframes moveDiagonal {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    40% { transform: translate(100%, -140%) scale(1.1); opacity: 0; }
    41% { transform: translate(-140%, 70%) scale(1.1); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.appointment_select--first {
    text-align: center;
}


.custom-select {
    width: calc(100% - 56px);
    cursor: pointer;
    border: 1px solid #CBC6C2;
    font-size: 18px;
    min-height: 56px;
    box-sizing: border-box;
    border-radius: 36px;
    overflow: hidden;
}
.custom-select--open {
    border-radius: 27px 27px 0 0;
}

.custom-select select {
    display: none;
}

.select-selected {
    position: relative;
    background: #CBC6C2;
    color: #000;
    border-radius: 36px;
    padding: 10px;
    font-size: 20px;
    font-weight: 500;
    font-family: "Saans", sans-serif;
    line-height: 1.4;
    border: 2px solid #CBC6C2;
    outline: none;
    text-align: center;
    height: 30px;
}
.select-selected.select-arrow-active {
    border-radius: 26px 26px 0 0;
}

.search-form-suggestionholder:after {
    display: none !important;
}
.search-holder .button {
    background-color:  transparent !important;
}
/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "\f0d7";
    right: 18px;
    font-size: 18px;
    color: #000000;
    transition:  400ms all ;
    font-family: "FontAwesome";
}

/*point the arrow upwards when the select box is open (active):*/
.custom-select i,
.select-selected i {
    display: none;
}
.select-selected.select-arrow-active:after {
    transform: rotate(-180deg);
    z-index: 6;
}

.select-items {
    background-color: #CBC6C2;
    border: 1px solid #CBC6C2;
    border-top: 0px;
    padding: 10px 15px;
    padding-top: 2px;
    position: absolute;
    z-index: 11;
    left: 0px;
    right: 56px;
    border-radius: 0 0 36px 36px;
    max-height: 220px;
    overflow-y: scroll;
    scrollbar-color: white transparent;
    scrollbar-face-color: white;
    scrollbar-track-color: transparent;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 99%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 99%, rgba(0, 0, 0, 0));
}

.select-items::-webkit-scrollbar {
    width: 8px; /* Adjust scrollbar width */
}

.select-items::-webkit-scrollbar-track {
    background: transparent; /* Optional: Makes track invisible */
}

.select-items::-webkit-scrollbar-thumb {
    background: white; /* Scrollbar color */
    border-radius: 4px; /* Smooth rounded edges */
}

.select-items::-webkit-scrollbar-thumb:hover {
    background: #f0f0f0; /* Slightly darker white on hover */
}

.select-items::-webkit-scrollbar-corner {
    display: none;
}
.select-items div {
    color: #000000;
    padding: 10px 0px;
    cursor: pointer;
    user-select: none;
    border-top: 1px solid rgba(164, 157, 147, 0.3)
}

.select-items div:nth-of-type(1) {
    pointer-events: none;
    cursor: help;
    border-top: 0px;
}
.select-items div:hover {
    text-decoration: underline;
}


/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .select-items,
    .select-items div {
        white-space: inherit !important;
    }
    .select-items {
        padding: 10px;
    }
    .select-items div {
        padding: 10px 4px;
    }
}
