@font-face {
    font-family: 'MyCustomFont';
    src: url('/custom/font/Fonarto.otf') format('opentype');
    /* OTF format */
    font-weight: normal;
    font-style: normal;
}

.faq-container {
    position: relative;
    /* This keeps the image from moving */
}

.font-size-3 {
    font-size: 1.9rem !important;
}

.topic-button {
    color: #6c757d !important;
    height: 53px !important;
}

.topic-button:hover {
    color: #dc3545 !important;
}

.faq {
    cursor: pointer;
}

.faq-content {
    display: none;
    padding: 10px;
    background: #f8f9fa;
    /* Light gray */
    border-left: 3px solid #dc3545;
    /* Red border for emphasis */
    margin-top: 5px;
}

/* Change icon text color and background on hover */
.faq:hover .icon-faq {
    background-color: rgba(220, 53, 69, 0.85);
    /* Bootstrap bg-danger */
    color: #fff !important;
    /* White text */
}

.icon-faq {
    transform: rotate(180deg);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    padding: 3.5px 4.5px;
}

/* Rotate and change color when active */
.faq.active .icon-faq {
    transform: rotate(0deg);
    background-color: rgba(220, 53, 69, 0.85);
    /* bg-danger with 70% opacity */
    color: #fff !important;
    /* White text */
    border-radius: 50%;
}

.bg-img {
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100%;
    height: 170vh;
    /* height: 120vh; */
    object-fit: cover;
    /* Ensures the image fills the div without distortion */
    opacity: 0.2;
    /* Adjust transparency */
}


.greet {
    font-family: 'MyCustomFont', sans-serif;
}

.greet-1 {
    line-height: 1.1;
    font-size: 35px;
}

.greet-2 {
    line-height: 1.1;
    font-size: 30px;
}

.greet-3 {
    line-height: 1.1;
    font-size: 25px;
}

.greet-4 {
    line-height: 1.1;
    font-size: 22px;
}

@media (max-width: 992px) {
    .greet-1 {
        font-size: 27px;
    }

    .greet-2 {
        font-size: 21px;
    }

    .greet-3 {
        font-size: 20px;
    }

    .greet-4 {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 770px) {
        .greet-solution {
        font-size: 21px;
    }
}

@media (max-width: 767px) {
    .card-care {
        padding: 0.75rem 1rem 8rem 1rem;
    }

    .greet-1 {
        font-size: 30px;
    }

    .greet-2 {
        font-size: 24px;
    }

    .greet-3 {
        font-size: 20px;
    }

    .greet-4 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .card-care {
        padding: 0.75rem 1rem 8rem 1rem;
    }

    .greet-1 {
        font-size: 28px;
    }

    .greet-2 {
        font-size: 23px;
    }

    .greet-3 {
        font-size: 20px;
    }

    .greet-4 {
        font-size: 18px;
    }
}

@media (max-width: 460px) {
    .card-care {
        padding: 0.75rem 1rem 8rem 1rem;
    }
}

@media (max-width: 425px) {
    .card-care {
        padding: 0.75rem 1rem 8rem 1rem;
    }

    .greet {
        font-size: 24px;
    }

    .greet-2 {
        font-size: 18px;
    }
}

@media (max-width: 356px) {
    .card-care {
        padding: 0.75rem 1rem 8rem 1rem;
    }

    .greet {
        font-size: 21px;
    }

    .greet-2 {
        font-size: 16px;
    }
}

.search-care {
    position: relative;
}

.search-care .fa-search {

    position: absolute;
    top: 15px;
    left: 20px;
    color: #9ca3af;

}

.left-pan {
    padding-left: 7px;
}

.left-pan i {

    padding-left: 10px;
}

.search-care-input {

    height: 45px;
    text-indent: 33px;
    border-radius: 20px;
}

.search-care-input:focus {

    border: .0625rem solid #e7eaf3;

}

.custom-dropdown {
    margin-top: 2px;
    border-radius: 15px;
    position: absolute;
    z-index: 20;
    display: none;
    /* Initially hidden */
    width: 100%;
    /* Will be overridden by jQuery */
    overflow: hidden;
}

.dropdown-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-options li {
    padding: 0;
    /* Hilangkan padding dari li agar link mengisi area klik */
}

.dropdown-options li a {
    display: block;
    /* Membuat link mengisi lebar li */
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.dropdown-options li a:hover {
    background-color: #eee;
}

[id^="chat-care-float"] {
    position: fixed;
    bottom: 40px;
    right: 80px;
    z-index: 1000;
    transition: opacity 1s ease, visibility 1s ease, transform 0.5s ease, bottom 0.5s ease;
    /* Smooth transition */
    visibility: visible;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

[id^="chat-care-float"].hidden {
    bottom: 0px;
    opacity: 0;
    /* Make the button transparent */
    visibility: hidden;
    /* Hide the button */
    transform: scale(0.5);
    /* Optional: Slightly shrink the button for effect */
    transition: transform 1s ease;
    /* Smooth transition */
}

[id^="chat-care-float"]:hover {
    cursor: pointer;
}

#chat-care-float-mobile {
    bottom: 60px;
    right: 70px;
}

.text-care-chat {
    border-radius: 25px;
}

.card {
    transition: box-shadow 0.3s ease;
}

.chat-float-wrapper:hover .card:not(.astronaut-card) {
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5) !important;
    /* red shadow */
}


#chat-care-container {
    position: fixed;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    bottom: 40px;
    opacity: 0;
    visibility: hidden;
    right: 60px;
    height: 0vh;
    width: 400px;
    max-width: 600px;
    max-height: 70vh;
    z-index: 200;
    background-color: white;
    transition: all 0.8s ease;
}

#chat-care-container.active {
    opacity: 1;
    height: 69vh;
    /* Adjust this height based on your chatbox size */
    transition: all 0.5s ease 0.1s;
    visibility: visible;
}

@keyframes fadeInUpCustom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-slide-box {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    top: 0;
    right: 0;
    opacity: 0;
    width: 0;
    height: 100%;
    background: #fff;
    z-index: 1005;
    transition: all 0.4s ease;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
}

.chat-slide-box.active {
    visibility: visible;
    width: 100%;
    opacity: 1;
}

.checklist-time {
    min-width: 30%;
    position: absolute;
    bottom: 5px;
    right: 12px;
}

.checklist-time span {
    line-height: 1.2;
    color: #8f8f8f;
}

#fullImagePreview {
    cursor: zoom-in;
}

/* Cursor zoom out (-) - saat sudah di-zoom */
#fullImagePreview.zoomed {
    cursor: zoom-out !important;
}

/* Cursor grab saat hover di mode zoom (untuk drag) */
#fullImagePreview.zoomed:hover {
    cursor: grab;
}

/* Cursor grabbing saat sedang drag */
#fullImagePreview.zoomed.dragging {
    cursor: grabbing !important;
}

.modal-content {
    width: auto !important;
}

.rating {
    display: flex;
    font-size: x-large;
    flex-direction: row-reverse;
    justify-content: center
}

.rating>input {
    display: none
}

.rating>label {
    position: relative;
    width: 1em;
    font-size: 30px;
    color: rgb(245, 200, 0);
    cursor: pointer
}

.rating>label::before {
    content: "\2605";
    position: absolute;
    opacity: 0
}

.rating>label:hover:before,
.rating>label:hover~label:before {
    opacity: 1 !important
}

.rating>input:checked~label:before {
    opacity: 1
}

.rating:hover>input:checked~label:before {
    opacity: .4
}
