
.custom-dropdown-sort + .dropdown-menu {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    min-width: 200px;
    margin-top: 8px;
}

.dropdown-menu .dropdown-item {
    position: relative;
    padding: 10px 20px;
    font-weight: 500;
    font-family: "montserrat", sans-serif;
    color: #98A1AE;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-menu .dropdown-item::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 5px;
    width: 0%;
    height: 2px;
    background: #f97316;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.dropdown-menu .dropdown-item:hover {
    color: #f97316;
    background-color: transparent;
}

.dropdown-menu .dropdown-item:hover::after {
    width: calc(100% - 40px);
}

.dropdown-search-wrap {
    padding: 8px 12px 10px;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
}

.dropdown-search-input {
    height: 40px;
    border-radius: 999px;
    border: 1px solid #D1D5DB;
    padding: 8px 14px;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #181D23;
    outline: none;
}

.dropdown-search-input::placeholder {
    color: #98A1AE;
}

.dropdown-scroll-list {
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.custom-dropdown-sort {
    color: #98A1AE;
}

.custom-dropdown-sort span {
    color: inherit;
}

.custom-select-wrapper {
    position: relative;
}

.select-right::after{
    right: 32px !important;
    top: calc(50% + 16px);


}
/* Hanya yang punya class need-transform yang pakai transform */
.custom-select-wrapper.need-transform::after {
    transform: translateY(-70%);
}
.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 35px !important;
    background-color: white;
}
.custom-select,
.custom-input,
.custom-textarea {
    height: 50px;
    border-radius: 300px;
    border: 1px solid #D1D5DB;
    padding: 10px 15px;
    color: #9CA3AF; /* Warna abu-abu untuk default */
    font-size: 14px;
    letter-spacing: 0.5px;
}

.form-check-input{
    border: 1px solid #D1D5DB;

}

/* Textarea punya tinggi berbeda dan border radius lebih kecil */
.custom-textarea {
    height: 120px; /* Sesuaikan tinggi textarea */
    border-radius: 20px; /* Border radius lebih kecil biar rapi */
    resize: vertical; /* Biar bisa diresize vertikal aja */
    letter-spacing: 0.5px;

}

/* Saat input sudah diisi atau focus, warna jadi hitam */
.custom-input:focus,
.custom-textarea:focus {
    color: #000000 !important; /* Warna hitam saat focus */
    outline: none;
    border-color: #000000; /* Optional: border jadi hitam saat focus */
}

/* Saat input sudah ada isinya (not empty) */
.custom-input:not(:placeholder-shown),
.custom-textarea:not(:placeholder-shown) {
    color: #000000 !important; /* Warna hitam saat udah diisi */
}

/* Placeholder untuk input text dan textarea */
.custom-input::placeholder,
.custom-textarea::placeholder {
    color: #9CA3AF; /* Warna abu-abu untuk placeholder */
    opacity: 1;
}

/* Dropdown tetap abu-abu sampai dipilih */
.custom-select {
    color: #9CA3AF !important; /* Abu-abu default */
}

/* Saat dropdown sudah dipilih (ada value) - pakai JavaScript */
.custom-select.selected {
    color: #000000 !important; /* Hitam saat udah pilih */
}

/* Style untuk option default di dropdown (yang disabled) */
.custom-select option:disabled {
    color: #9CA3AF; /* Abu-abu untuk option placeholder */
}

/* Style untuk option yang bisa dipilih */
.custom-select option:not(:disabled) {
    color: #000000; /* Hitam untuk option yang valid */
}

/* Date dan Time Input - Abu-abu sebelum dipilih */
.custom-input[type="date"],
.custom-input[type="time"],
.custom-input[type="datetime-local"] {
    color: #9CA3AF !important; /* Abu-abu default */
}

/* Date dan Time yang udah diisi jadi hitam */
.custom-input[type="date"].filled,
.custom-input[type="time"].filled,
.custom-input[type="datetime-local"].filled {
    color: #000000 !important; /* Hitam saat udah diisi */
}

/* Icon calendar/clock tetap abu-abu */
.custom-input[type="date"]::-webkit-calendar-picker-indicator,
.custom-input[type="time"]::-webkit-calendar-picker-indicator,
.custom-input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: opacity(0.5); /* Icon jadi agak transparan */
}


.h2-book {
    font-family: 'nulshock', sans-serif;
        font-size: 20px;
        letter-spacing: 2px;

}
label {
    color: #181D23;
    letter-spacing: 0.5px;

}

.sticky-container {
    position: relative;
}

.sticky-section {
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    padding-top: 60px;
    transition: box-shadow 0.3s ease;
}


.sticky-section.is-sticky {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.title-book{
    font-size: 55px !important;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}
label{
    font-size : 14px;
    letter-spacing: 0.5px;
}
.motorImg{
    max-width: 90%;
    height: auto;
    padding-right: 118px;
}

.drop-pilih {
    max-width: 85%;
}

.form-book {
    padding: 0 12px;
}

.padding-book {
    margin-top: 4.5rem;
}

@media (max-width: 768px) {
    .custom-select,
.custom-input,
.custom-textarea {
    font-size: 13px;
}
.form-book {
    padding: 0 0px;
}
    .title-book{
        font-size: 30px !important;
        max-width: 100%;
        text-align: start;
        margin-bottom: 0rem;
        margin-top: 30px;
    }
    .h2-book {
        font-size: 16px;
    }
    .motorImg {
        max-width: 80%;
        height: auto;
        padding-right: 0;
    }
    .drop-pilih {
        max-width: 100%;
    }
    .form-book {
        padding: 0 12px;
        margin-top: 50px;
    }

    .custom-dropdown-sort span {
        font-size: 13px;
}
}
