     body {
         background-color: #121110;
     }

     .cover-page {
         background: #171515;
         /* or any background color you prefer */
         display: flex;
         align-items: center;
         justify-content: center;
     }

     /* Wrapper holds the flipbook and centers it */
     #flipbook-wrapper {
         width: 100%;
         /* 70% of screen width */
         max-width: 100%;
         margin: 20px auto;
         /* center horizontally */
         position: relative;
         overflow: visible;
         background: #0d0f0d;
         /* show any shadows */
     }

     /* Flipbook container */
     #flipbook {
         width: 100%;
         /* fills wrapper */
         height: auto;
         position: relative;
     }

     /* Each page */
     #flipbook .page {
         position: relative;
         width: 100%;
         height: auto;
         border: 2px solid #21201e;
         /* border around the page */
         box-sizing: border-box;
         margin: 0 auto;
     }

     /* Image inside page */
     #flipbook .page img {
         width: 100%;
         /* fills page width */
         height: auto;
         /* keeps aspect ratio */
         display: block;
         object-fit: contain;
     }

     /* Page count overlay */
     .page-count {
         position: absolute;
         top: 13px;
         /* adjust vertical position */
         right: 10px;
         /* adjust horizontal position */
         background: rgba(0, 0, 0, 0.6);
         color: #fff;
         padding: 4px 10px;
         border-radius: 12px;
         font-size: 14px;
         font-weight: bold;
         z-index: 10;
     }


     .navigation-hint {
         position: absolute;
         top: 15px;
         left: 15px;
         background: rgba(0, 0, 0, 0.7);
         color: white;
         padding: 8px 12px;
         border-radius: 20px;
         font-size: 12px;
         z-index: 100;
     }

     .custom-select-wrapper {
         position: relative;
         max-width: 280px;
         width: 100%;
         left: 41px;
     }

     /* Select input */
     .custom-select-input {
         width: 100%;
         padding: 12px 40px 12px 16px;
         border-radius: 6px;
         border: 1px solid #ced4da;
         font-size: 16px;
         cursor: pointer;
         background: #f6f6f6;
         /* Input background color */
         color: #495057;
         box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
         transition: all 0.2s;
     }

     .custom-select-input:focus {
         outline: none;
         border-color: #0d6efd;
         box-shadow: 0 0 8px rgba(13, 110, 253, 0.3);
     }

     /* Arrow icon */
     .custom-select-wrapper i {
         position: absolute;
         top: 50%;
         right: 16px;
         transform: translateY(-50%) rotate(0deg);
         /* arrow down by default */
         pointer-events: none;
         font-size: 20px;
         color: #6c757d;
         transition: transform 0.3s ease;
     }

     .custom-select-wrapper.active i {
         transform: translateY(-50%) rotate(180deg);
         /* arrow up when open */
     }

     /* Dropdown options */
     .options-list {

         position: absolute;
         width: 100%;
         background: #35342f;
         /* Dropdown background */
         border: 1px solid #ced4da;
         border-radius: 6px;
         margin-top: 6px;
         max-height: 250px;
         overflow-y: auto;
         box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
         display: none;
         z-index: 1000;
     }

     .options-list.active {
         display: block;
     }

     .search-input {
         width: 100%;
         padding: 10px 16px;
         border: none;
         border-bottom: 1px solid #fff;
         border-radius: 6px 6px 0 0;
         box-sizing: border-box;
         background: #fff;
         /* Search input background */
     }

     .search-input:focus {
         outline: none;
         border-color: #fff;
     }

     .options-list li {
         padding: 10px 16px;
         cursor: pointer;
         transition: background 0.2s;
         color: #DA9F5B;
     }

     .options-list li:hover {
         background: #fff;
         color: #000;
     }

     #coverImage {
         cursor: pointer;
         display: block;
         margin: auto;
         width: 100%;
     }

     .sidebar {
         min-height: 100vh;
         background: #f8f9fa;
         border-right: 1px solid #ddd;
     }

     .sidebar .nav-link.active {
         background-color: #35342f;
         color: #fff !important;
     }

     iframe {
         width: 100%;
         height: 90vh;
         border: none;
     }





     .scroll-row {
         display: flex;
         overflow-x: auto;
         white-space: nowrap;
         padding: 10px 0;
         margin: 0px auto;
     }

     .scroll-row .btn {
         flex: 0 0 auto;
         margin-right: 10px;
     }

     .scroll-row::-webkit-scrollbar {
         height: 6px;
     }

     /* .scroll-row::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 3px;
        } */

     .scroll-row .btn.active-category {
         background-color: #fff;
         color: #da9f5b;
         border-radius: 20px;
         border-color: none;
         box-shadow: none;

     }

     .btn-outline-primary {
         color: #DA9F5B;
         border-color: #DA9F5B;
         border-radius: 20px;
     }

     .scroll-row .btn.active-subcategory {
         background-color: #fff;
         /* Secondary color for subcategories */
         color: #da9f5b;

     }



     /* Optional: center the scroll if not using full width */


     .categoriesMargin {
         width: 95%;
         padding-top: 90px;
         margin: 0px auto;

     }

     .getPdf {
         min-width: 60px;
     }

     .scroll-row.subCategories {
         display: flex;
         flex-wrap: nowrap;
         overflow-x: auto;
         -webkit-overflow-scrolling: touch;
         padding-top: 10px;
         justify-content: center;
     }

     .scroll-row.subCategories .btn {
         flex: 0 0 auto;
         margin-right: 10px;
     }

     .scroll-row.subCategories::-webkit-scrollbar {
         height: 6px;
     }

     .scroll-row.subCategories::-webkit-scrollbar-thumb {
         background: #DA9F5B;
         border-radius: 3px;
     }


     /* iPad portrait (768px wide) */
     @media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {


         .categoriesMargin {
             width: 100%;

             padding-bottom: 10px;
         }



         .page-count {
             top: 8px;
             right: 5px;
             font-size: 12px;
         }


         #pdfLoader {
             margin-top: 40% !important;
         }

         .scroll-row.subCategories {
             justify-content: flex-start;
             padding-top: 0px;
             margin-bottom: 30px;
         }
     }

     /* iPad Pro 12.9" Portrait */
     @media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (orientation: portrait) {}



     /* iPad landscape (1024px wide) */
     @media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {

         .categoriesMargin {
             width: 100%;

             padding-bottom: 10px;
         }


         #pdfLoader {
             margin-top: 40% !important;
         }

         .scroll-row.subCategories {
             justify-content: flex-start;
             padding-top: 0px;
             margin-bottom: 30px;
         }
     }

     @media only screen and (min-width: 820px) and (max-width: 1180px) {
         .categoriesMargin {
             width: 100%;

             padding-bottom: 10px;
         }



         #pdfLoader {
             margin-top: 40% !important;
         }

         .scroll-row.subCategories {
             justify-content: flex-start;
             padding-top: 0px;
             margin-bottom: 30px;
         }
     }





     /* Generic tablets (between 600px and 1024px) */
     @media only screen and (min-width: 600px) and (max-width: 1024px) {
         .categoriesMargin {
             width: 95%;
             padding-bottom: 10px;
             margin: 0px auto;
             padding-top: 20px;
         }




         #pdfLoader {
             margin-top: 40% !important;
         }

         .scroll-row.subCategories {
             justify-content: flex-start;
             padding-top: 0px;
             margin-bottom: 30px;
         }
     }

     @media only screen and (max-width: 767px) {

         .categoriesMargin {
             width: 95%;
             padding-bottom: 10px;
             padding-top: 12px;
             margin: 0px auto;
         }




         #pdfLoader {
             margin-top: 40% !important;
         }

         .scroll-row.subCategories {
             justify-content: flex-start;
             padding-top: 0px;
             margin-bottom: 30px;
         }
     }

     /* iPad Pro 12.9" Portrait */
     @media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (orientation: portrait) {



         .categoriesMargin {
             width: 95%;
             padding-bottom: 10px;
             margin: 0px auto;
             padding-top: 108px;
         }
     }