/* Base styling */
.section-stepper {
    width: 100%;
    text-align: center;
}

.section-stepper h1 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.8rem;
}

.star-rating {
    font-size: 24px;
    cursor: pointer;
    display: inline-block;
}

.star-form {
    display: inline-block;
    cursor: pointer;
    width: 36px;
    height: 36px;
    margin-right: 5px;
    position: relative;
}

.star-form img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

select.select2:required:invalid {
    bottom: 20px;
    left: 28%;
}

/* By default, hide the filled star */
.star-filled {
    display: none;
}

/* When active class is applied, show the filled star and hide the empty one */
.star-form.active .star-filled {
    display: block;
}

.star-form.active .star-empty {
    display: none;
}

.star {
    color: #ddd;
    transition: color 0.2s ease;
    margin-right: 5px;
}

.input-location-area {
    width: 100%;
}

.star:hover,
.star.filled {
    color: #ffd700; /* Gold color for filled stars */
}

/* Testimonial content container */
.testimoni-content {
    max-width: 750px !important;
}

.content-testimoni-form.border-shadow {
    border: 1px solid #ffd400;
    box-shadow: 0px 4px 4px 0px #00000040;
}

/* Form elements styling */
.subtitle-heading-bold {
    font-weight: 700;
    font-size: 1.25rem;
    color: #000000;
}

.subtitle-heading-regular {
    font-weight: 500;
    font-size: 1rem;
    color: #000000;
}

.subtitle-heading-semibold-small {
    font-weight: 600;
    font-size: 14px;
    color: #000000;
}

.subtitle-heading-light {
    font-weight: 400;
    font-size: 14px;
    color: #404041;
}

/* Form inputs */
.input-form-style,
.text-area-form-style,
.select2.select2-container .select2-selection {
    border-radius: 0.625rem;
    border: 1px solid #c6c6c6;
}

.input-form-style:focus,
.text-area-form-style:focus {
    outline: 0 !important;
    border: 2px solid #fdd314;
    padding-left: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 1px 10px 0 rgba(0, 0, 0, 0.19) !important;
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 1px 10px 0 rgba(0, 0, 0, 0.19) !important;
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 1px 10px 0 rgba(0, 0, 0, 0.19) !important;
}

.input-form-style::placeholder,
.text-area-form-style::placeholder {
    font-style: normal;
}

.input-form-style,
.text-area-form-style {
    width: inherit;
}

.form-control {
    color: #000000 !important;
}

.text-area-form-style {
    resize: none;
    padding: 0.5rem 1rem;
}

.input-form-style {
    height: 2.5rem;
    padding: 0 1rem;
}

/* Select2 styling */
.select2.select2-container {
    width: 100% !important;
}

.select2.select2-container .select2-selection {
    height: 2.5rem;
    padding: 0 1rem;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
    align-items: center;
    padding: 0.35rem 0 0 0;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
    height: 2.5rem;
    width: 2rem;
}

.select2-container .select2-dropdown {
    background: #fff;
}

.select2-container .select2-dropdown .select2-search input {
    display: block !important;
    outline: none !important;
    width: 100% !important;
    border-radius: 0.625rem;
    padding: 0.25rem 0.5rem !important;
}
.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    color: black;
}

.select2-container .select2-dropdown .select2-results ul {
    background: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 1px 10px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 1px 10px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 1px 10px 0 rgba(0, 0, 0, 0.19);
    border-radius: 0 0 20px 20px;
}

.select2-container
    .select2-dropdown
    .select2-results
    ul
    .select2-results__option--highlighted[aria-selected] {
    background-color: #fdd314;
}

/* Submit button */
.btn-lihat-semua-pilihan {
    font-weight: 600;
    padding: 0.5rem 2rem;
    background-color: #fdd314;
    color: black;
    border-radius: 1.25rem;
    border: none;
    width: 100%;
}

.btn-lihat-semua-pilihan:hover {
    color: white;
}

/* Loading animation for button */
@keyframes saving-btn__animated-blink {
    0% {
        opacity: 0.2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

.btn-lihat-semua-pilihan .saving-btn__animated {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 32px;
}

.btn-lihat-semua-pilihan .saving-btn__animated span {
    animation-name: saving-btn__animated-blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    font-size: 32px;
    margin-bottom: 4px;
}

.btn-lihat-semua-pilihan .saving-btn__animated span:nth-child(2) {
    animation-delay: 0.2s;
}

.btn-lihat-semua-pilihan .saving-btn__animated span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Links styling */
a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
    color: inherit;
}

/* Star rating styles */
.fa-star {
    color: #ffc107;
}

/* Media queries */
@media only screen and (max-width: 575px) {
    .section-stepper h1 {
        font-size: 1.625rem;
    }

    .g-recaptcha {
        transform: scale(0.88);
        -webkit-transform: scale(0.88);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }

    .input-form-style::placeholder,
    .text-area-form-style::placeholder {
        font-weight: 400;
    }
}

@media only screen and (min-width: 576px) {
    .input-form-style::placeholder,
    .text-area-form-style::placeholder {
        font-weight: 500;
    }
}
