.book-dropdown-item .delete,
.close-btn,
.icon-btn {
    font-size: 18px;
    cursor: pointer;
}
.book-dropdown {
    position: relative;
    display: inline-block;
}
.icon-btn {
    background: 0 0;
    border: 2px solid #ff9546;
    border-radius: 4px;
    padding: 5px;
    display: flex;
    align-items: center;
    margin-left: 5px;
}
.book-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 30px;
    background-color: #fff;
    max-width: 500px;
    width: 450px;
    max-height: 400px;
    min-height: 100px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgb(0 0 0 / 39%);
    border-radius: 5px;
    z-index: 1;
}
.book-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.book-dropdown-header h4 {
    margin: 0;
    font-size: 14px;
}
.book-dropdown-item .delete,
.close-btn {
    font-weight: 700;
    color: #000;
    font-size: 22px;

}
.book-dropdown-item .delete:hover,
.close-btn:hover {
    color: red;
}
.book-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    font-size: 12px;
    cursor: pointer;
}
.book-dropdown-item:hover {
    background-color: #f1f1f1;
}
.book-dropdown.active .book-dropdown-content {
    display: block;
}
.book-dropdown-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.book-dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.book-dropdown-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
.book-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.bookmarked,
.star {
    border-right: 1px solid #ccc;
    padding-right: 5px;
    display: flex;
    align-items: center;
}
.svg-star {
    width: 18px;
    height: 18px;
    fill: grey;
}
.svg-caret {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    fill: black;
}
#fav_popup .modal-content {
    color: #000;
    width: 40%;
    text-align: center;
    min-height: 180px;
    height: auto;
    padding: 5px;
}
.popup_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}
.add-favorite,
.popup .popup-checkbox-container {
    display: flex;
    display: flex;
}
.popup_overlay .popup {
    position: fixed;
    top: 17%;
    right: 5%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 300px;
}
.popup_overlay .popup-header {
    text-align: center;
}
.popup_overlay .popup-header button {
    background: #000;
    border: none;
    font-size: 11px;
    cursor: pointer;
    position: absolute;
    top: -18px;
    right: -5%;
    color: #fff;
    padding: 10px 12px;
    border-radius: 50px;
}

.popup_overlay .popup .popup-input input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.popup_overlay .popup-buttons {
    display: flex;
    justify-content: end;
    margin-top: 15px;
}
.popup .popup-checkbox-container {
    margin-top: 5px;
}
.popup .popup-checkbox-container input {
    margin-right: 5px;
}
.popup_overlay .popup-buttons button {
    padding: 8px 12px;
    border: none;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
}
.popup_overlay .cancel-btn {
    background: 0 0;
    color: #000;
}
.popup_overlay .cancel-btn:hover {
    text-decoration: underline;
}
.popup_overlay .save-btn {
    background: #00f;
    color: #fff;
}
.favrate_pages {
    overflow-x: visible;
    overflow-y: hidden;
}
.book-dropdown-item a {
    text-align: left;
    width: 360px;
}
.add-favorite {
    padding: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    align-items: center;   
    background: #fafafa;
   
}
.add-favorite input[type="text"] {
    flex: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 5px;
}
.add-favorite textarea {
    flex: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 5px;
    resize: vertical; /* Allows vertical resizing */
}
.add-favorite button {
    padding: 5px 10px;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
}
.add-favorite input[type="checkbox"] {
    margin-left: 10px;
}
.add-favorite label {
    font-size: 10px;
   
}
.favempty{ padding:10px;}
.favempty p{color:red;  text-align: center;font-weight: 600;}
.svg-edit{padding-right: 7px;}
.profile_name .active { background: #ff903d00 !important ;}
.text-danger{color:red !important ;}
.sticky-area{ position: sticky;
    top: 0;}
