.wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    margin-bottom: 50px;
}


.empty-message {
    margin-top: 20%;
    font-size: 20px;
    margin-bottom: 20%;
}
.wishlist-title {
    font-size: 32px;
    margin: 30px 0;
    font-family: "Fraunces", serif;
    font-weight: normal;
}

.serachInWishlist{
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    border: #006940 solid 1px;
    outline: none;
    width: 400px;
    transition: all 0.8s ease;

}

.serachInWishlist:focus{
transform: scale(1.05);
}

.book-list {
    border: 1px solid #eee;
    border-radius: 4px;
}

.book-item {
    display: grid;
    grid-template-columns: 80px 1fr 1px 200px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.book-item:last-child {
    border-bottom: none;
}

.book-cover {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.book-info {
    display: flex;
    flex-direction: column;    
    gap: 8px;
}

.book-title {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    color: #333;
    margin: 0;
}

.book-date {
    font-size: 14px;
    color: #666;
}

.vertical-divider {
   margin-right: 250px;
    width: 1px;
    height: 135%;
    background-color: #eee;
    justify-self: center;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.read-btn {
    display: flex;
    align-items: center;
    background-color: #008450;
    text-decoration: none;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

.read-btn:hover {
    background-color: #006940;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

.delete-btn:hover {
    background-color: #bb2d3b;
}

.readed-btn{
    color: black;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;

}
::-webkit-scrollbar {
    width: 20px;
  }
  ::-webkit-scrollbar-track {
    background-color: transparent;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #027A36;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #027A36;
    border-radius: 20px;
  }
  ::-webkit-scrollbar-thumb {
    background-color: #027A36;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
  }
  ::-webkit-scrollbar-thumb:hover {
  
    background-color: #a8bbbf;
  
  }

/* section of the header and the footer */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* main book section */
main{
    margin-top: 100px !important;
    padding: 20px;
}


.book-section{
    max-width: 90%;
    display: flex;
    margin: auto;
    gap: 50px;
    font-family: Arial, sans-serif;    
}

.book-section img{
    width: 350px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.book-info{
    margin-top: 50px !important;
}

.book-section h2{
    font-family: "Fraunces", serif;
    font-size: 44px;
    font-weight: 300;
    margin-bottom: 20px;
}
.book-author{
    margin-bottom: 30px;
    font-weight: 600;
}
.book-author span {
    font-size: 18px;
    font-weight: 600;
    color: #999;
    margin-right: 10px;
}
.book-category{
    border: #027A36 1px solid;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    color: #027A36;


}

.book-description{
    font-size: 15px;
    width: 80%;
    line-height: 25px;
    margin-bottom: 40px;
    color: #4a4a4a;
}
hr{
    width: 80%;
    margin-bottom: 40px;
}

.book-info .readBtn{
    text-decoration: none;
    display: inline-block;
    width: 250px;
    text-align: center;
    padding: 0.9rem;
    background: #0A6B34;  
    color: white;         
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.6s ease;
    margin-right: 15px;
}

.book-info button i{
    margin-right:10px;
}

.book-info button:hover{
    background: black;
}

.book-info a{
    border: #b1afaf solid 0.7px;
    border-radius: 50%;
    padding: 13px;
    transition:  0.6s ease;


}
.book-info a:hover{
    background-color: #0A6B34;
    color: white;
    border: none;
}

/* related books */

/* Highlights Section */
.highlights {
    padding: 40px 0;
}

.highlights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.highlights-title {
    margin-top: 20px;
    font-size: 28px;
    font-family: "Fraunces", serif;
    font-weight: 300;
}


.add-wishlist{
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    margin-top: -135%;
    margin-left: 73%;
    display: none;
}

.add-wishlist:hover{
    background-color: #027A36;
    color: white;
}

.add-wishlist i {
    margin-left: 25%;
    margin-top: 25%;
    font-size: 15px;
    text-align: center;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.highlights-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    margin-bottom: 30px;
    border-radius: 8px;
    padding: 10px;
    padding-bottom: 80px;
    transition: box-shadow 0.3s ease; 
}

.highlights-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition-duration: 1.1s;
    padding-bottom: 60px;
}

.book-image {
    width: 100%;
    height: 280px;
    background: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 8px;
}

.related-title {
    font-family: "Fraunces", serif;
    font-size: 1rem;
    text-align: center;
    overflow: hidden;
    line-height: 26px;
    font-weight: 300;
    margin-bottom: 5px;
}

.related-author{
    color: #666;
    align-items: center;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    margin-bottom: 5px;
    margin-left: 30%;
    text-decoration: underline;
}

.related-image {  
    width: 100%;  
    height: 280px;  
    background: #f0f0f0;  
    border-radius: 8px;  
    position: relative;  
}  

.related-read-book {
    display: none;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background-color: #027A36;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.highlights-card:hover .related-read-book,
.highlights-card:hover .add-wishlist{
    display: block;
    transition: all .5s ease;
}

.related-read-book:hover {
    background-color: #404040; 
}


/* section about header  */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* header and hero section */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* -------------------------------------------styling header section--------------------------------------------- */


@keyframes fadeInFromTop {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: white;
    border-bottom: 1px solid #dbdbdb;
    max-width: 90%;
    opacity: 0; /* Initially hide elements */
    animation: fadeInFromBottom 1s ease forwards;

}

i{
   font-size: 15px;
}

.logo {
    margin-left: 7%; 
}

.logo img {
    height: 50px; /* Keeps the height of the logo image */
}

.search-container {
    display: flex;
    position: relative;
    flex-grow: 1;
    max-width: 700px;
    margin-right: 2rem;
}
/* styling select input */
/* .category-select {
    cursor: pointer;
    padding:0.9rem;
    border: none;
    border-right: 1px solid #cbcbcb;
    border-radius: 20px 0 0 20px;
    background: #f8f8f8;
    min-width: 200px;
}

.category-select:focus {
   outline: none;
} */

.category-select {   
    background: #f8f8f8 ;
    padding: 0.9rem;
    border: 1px none #ddd;
    border-radius: 20px 0 0 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    min-width: 190px;
    transition: all 0.2s ease;
}
/* Hover state */
.category-select:hover {
    background-color: #f5f5f5;
    transform: scale(1.02);
}
/* Focus state */
.category-select:focus {
    outline: none;
}
/* Selected state for options */
.category-select option:checked {
    background-color: #e8f5e9;
    color: #0A6B34;
}

/* styling search input */
.search-input {
    flex-grow: 1;
    padding: 0.7rem;
    border: 1px none #ddd;
    background: #f8f8f8;
    border-left: none;
    border-left: 1px solid #ddd;
    transition: all 0.2s ease;

}
.search-input:hover{
    background-color: #f5f5f5;
    transform: scale(1.02);

}

.search-input:focus{
    outline: none;
}

/* styling search btn */
.search-button {
    position: absolute;
    left: 80%;
    padding: 0.9rem;
    background: #027A36;           
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: 150px;
    transition: background 0.6s ease;
}
.search-button i{
    margin-right: 1rem;
}

.search-button:hover{
    background: black;
    transform: scale(1.02);
}

       
.nav-item {
        position: fixed; /* or absolute, depending on your layout */
        right: 9%; /* Aligns the nav item to the right */
        top: 25px; /* Adjust this value to set the vertical position */
        color: #666;
}

.nav-item i{
    font-size: 25px;
}

.nav-item i:hover {
    color: #0A6B34;
}

.nav-item .badge {
    position: absolute;
    top: -7px;
    right: -8px;
    background: #FF4B4B;
    color: white;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Keyframes for elements in the right div to fade in from the bottom */


.right{
    padding: 0;
    transform-origin: 50% 50%;
    transform: translate(0, 0);
    overflow: visible;
    padding: 0;
    width: 38%;
    height: 320px;
    transform: translate(0, 0);  
}

@keyframes fadeInFromBottom {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Footer */
footer {
    background: #fff;
    padding: 60px 0 40px;
    border-top: 1px solid #eee;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 40px;
}

.newsletter {
    max-width: 400px;
}

.newsletter h2 {
    font-family: "Fraunces", serif;
    font-weight: 300;
    font-size: 44px;
    margin-bottom: 15px;
}

.newsletter p {
    font-family: "Manrope", sans-serif;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.subscribe-form {
    display: flex;
    justify-content: center; 
}

.input-container {
    position: relative; 
    width: 400px;
}

.email-input {
    width: 100%; 
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    transition: border 0.3s;
}

.email-input:focus {
    border: 1px solid #027A36;
    outline: none;
}

.email-input:hover {
    border: 1px solid #027A36;
}

.email-input::placeholder {
    margin-left: 10px;
    font-weight: 100;
    font-size: 12px;
}

.subscribe-btn {
    position: absolute;
    right: 0; 
    top: 0; 
    height: 100%; 
    padding: 0 15px; 
    background: transparent;
    color: #027a36;
    border: none;
    border-radius: 4px; 
    cursor: pointer;
    font-size: 14px;
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 12px;
}


.subscribe-btn:hover {
    color: #000;
}



.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a i {
    size: 50px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.copyright {
    color: #666;
    font-size: 14px;
}

