:root {
    --primary-color: #2c3e50;
    --accent-color: #f39c12;
    --bg-light: #f8f9fa;
    --success-color: #2ecc71;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Toggle Icon for Mobile Menu Accordion */
.nav-link[aria-expanded="true"] .toggle-icon::before {
    content: "\f068";
    /* FontAwesome Minus icon */
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.search-box {
    max-width: 600px;
    margin: 30px auto 0;
}

/* Sections */
.section-title {
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Book Cards */

/* Book Cover Image */
.book-cover-large {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

/* Badges */
.badge-category {
    background-color: rgba(243, 156, 18, 0.1);
    color: #d35400;
    padding: 8px 15px;
    font-weight: 600;
    border-radius: 20px;
}

/* Action Buttons */
.btn-add-cart {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-add-cart:hover {
    background-color: #1a252f;
    color: white;
    transform: translateY(-2px);
}

.btn-wishlist {
    background-color: #fff;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-wishlist:hover {
    background-color: #e74c3c;
    color: white;
}

/* Table Info */
.book-info-table th {
    color: #7f8c8d;
    font-weight: 500;
    width: 130px;
}

.book-info-table td {
    font-weight: 600;
}

/* Custom Tabs */
.nav-tabs .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 25px;
}

.nav-tabs .nav-link.active {
    color: var(--accent-color);
    background-color: transparent;
    border-bottom: 3px solid var(--accent-color);
}

/* Review Section */
.review-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

/* Related Books Card */
.related-book-card {
    border: none;
    transition: 0.3s;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.related-book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Book Preview Modal Paper Style */
.preview-paper {
    background-color: #fcfbf9;
    font-family: Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.03);
}

/* Sidebar Filters */
.filter-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 90px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-title {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}


/* Author Circle */
.author-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Category Icons */
.category-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid #eee;
}

.category-box:hover {
    background: var(--accent-color);
    color: white;
}

.category-box i {
    font-size: 2rem;
    margin-bottom: 10px;
}


/* Announcement Section */
.announcement-bar {
    background: #e74c3c;
    color: white;
    padding: 10px 0;
}



/*
============================
=== PUBLISHERS PAGE STYLES ===
============================
*/

/* Publisher Card Styling */
.publisher-card {
    border: none;
    transition: 0.3s;
    border-radius: 12px;
    background: #fff;
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.publisher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.publisher-logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 15px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.publisher-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stall-badge {
    background-color: rgba(243, 156, 18, 0.1);
    color: #d35400;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

/* Search and Filter Section */
.search-filter-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.page-link {
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.text-truncate-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    color: #6c757d;
}

.book-count {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

/*
============================
=== PUBLISHER DETAIL PAGE STYLES ===
============================
*/

/* Publisher Cover & Logo */
.publisher-cover {
    height: 320px;
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.publisher-logo-wrapper {
    margin-top: -75px;
    position: relative;
    z-index: 10;
    width: 160px;
    height: 160px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    overflow: hidden;
}

.publisher-logo-wrapper i {
    font-size: 4.5rem;
    color: var(--primary-color);
}

/* Stall Highlight Badge */
.stall-highlight-badge {
    background: rgba(243, 156, 18, 0.15);
    color: #d35400;
    border: 1px solid rgba(243, 156, 18, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

/* Stats */
.stat-box {
    text-align: center;
    padding: 15px 25px;
    border-right: 1px solid #dee2e6;
}

.stat-box:last-child {
    border-right: none;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

/* Section Titles */
.section-title {
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Tabs */
.nav-tabs .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 25px;
}

.nav-tabs .nav-link.active {
    color: var(--accent-color);
    background-color: transparent;
    border-bottom: 3px solid var(--accent-color);
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    margin-bottom: 15px;
    color: #555;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.info-list li i {
    color: var(--accent-color);
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Social Icons */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: var(--primary-color);
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
    border: 1px solid #eee;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Search Box */
.publisher-search {
    background: #fff;
    border-radius: 30px;
    padding: 8px 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.publisher-search input {
    border: none;
    background: transparent;
    box-shadow: none;
}

.publisher-search input:focus {
    box-shadow: none;
}

/*
============================
=== AUTHORS PAGE STYLES ===
============================
*/

/* Author Card Styling */
.author-card {
    border: none;
    transition: 0.3s;
    border-radius: 15px;
    background: #fff;
    padding: 20px;
    text-align: center;
    height: 100%;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.author-img-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.author-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #eee;
    transition: 0.3s;
}

.author-card:hover .author-img {
    border-color: var(--accent-color);
}

.book-count-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent-color);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Search and Filter Section */
.search-filter-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.page-link {
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Truncate text to 3 lines */
.text-truncate-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/*
============================
=== CONTACT PAGE STYLES ===
============================
*/
.contact-page-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 30px 0;
    margin-bottom: 40px;
}

.contact-info-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.contact-info-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-color, #f39c12);
}

.contact-info-icon {
    font-size: 2.5rem;
    color: var(--accent-color, #f39c12);
    margin-bottom: 15px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f8f9fa;
}

.contact-form-wrapper .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--accent-color, #f39c12);
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
}

.contact-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    height: 400px;
}

.contact-social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f8f9fa;
    color: var(--primary-color, #2c3e50);
    border-radius: 50%;
    margin: 0 5px 10px 0;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #eee;
}

.contact-social-circle:hover {
    background-color: var(--accent-color, #f39c12);
    color: white;
    border-color: var(--accent-color, #f39c12);
    transform: translateY(-3px);
}

/* FAQ Accordion */
.contact-faq-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--primary-color, #2c3e50);
    font-weight: 700;
}

.contact-faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color, #f39c12);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    color: white;
    background-color: #d68910;
}

/* Toggle Icon for Mobile Menu Accordion (Same as home) */
.nav-link[aria-expanded="true"] .toggle-icon::before {
    content: "\f068";
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/*
============================
=== AUTHOR PAGE STYLES ===
============================
*/
/* Author Profile Cover & Avatar */
.author-cover {
    height: 350px;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1455390582262-044cdead27d8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.author-quote-overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.author-quote-overlay p {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
}

.author-avatar-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.author-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    background-color: #fff;
}

/* Profile Stats & Actions */
.stat-box {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid #eee;
}

.stat-box:last-child {
    border-right: none;
}

.stat-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-transform: uppercase;
}

/* Section Titles */
.section-title {
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Custom Tabs */
.nav-tabs .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 25px;
}

.nav-tabs .nav-link.active {
    color: var(--accent-color);
    background-color: transparent;
    border-bottom: 3px solid var(--accent-color);
}

/* Latest Release Highlight */
.latest-release-card {
    background: linear-gradient(to right, #ffffff, #fdf8e4);
    border: 1px solid #fdebd0;
    border-radius: 12px;
    overflow: hidden;
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    margin-bottom: 12px;
    color: #555;
    display: flex;
    align-items: flex-start;
}

.info-list li i {
    color: var(--accent-color);
    margin-top: 5px;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Social Icons */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f2f6;
    color: var(--primary-color);
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Publisher Card Styling */
.publisher-card {
    border: none;
    transition: 0.3s;
    border-radius: 12px;
    background: #fff;
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.publisher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.publisher-logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 15px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.publisher-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stall-badge {
    background-color: rgba(243, 156, 18, 0.1);
    color: #d35400;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

/* Search and Filter Section */
.search-filter-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.page-link {
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.text-truncate-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    color: #6c757d;
}

.book-count {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

/*
============================
=== CATEGORY PAGE STYLES ===
============================
*/

/* Category Pills Scrollable */
.category-nav-wrapper {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 70px;
    z-index: 1020;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cat-pill {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-pill:hover {
    background: #fdf3e8;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.cat-pill.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3);
}

.cat-pill .count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.cat-pill.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Category Header Banner */
.category-header {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(26, 37, 47, 0.95) 100%), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    border-radius: 15px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.category-icon-large {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.1;
}

/* Book Card Styling */
.book-card {
    border: none;
    transition: 0.3s;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.book-img-container {
    position: relative;
    overflow: hidden;
}

.book-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.book-card:hover .book-img {
    transform: scale(1.05);
}

.book-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.card-body-custom {
    padding: 20px;
}

/* Sorting Header */
.sort-header {
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/*
============================
=== ABOUT PAGE STYLES ===
============================
*/

/* About Hero Section */
.about-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

/* Section Titles */
.section-title {
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Info Cards */
.highlight-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--accent-color);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Guidelines List */
.guideline-list {
    list-style: none;
    padding: 0;
}

.guideline-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.guideline-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Gallery */
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/*
============================
=== USER PROFILE PAGE STYLES ===
============================
*/


/* Profile Header */
.profile-header-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
    height: 150px;
    border-radius: 15px 15px 0 0;
    margin-bottom: -75px;
}

/* Sidebar Styling */
.profile-sidebar {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 0 0 20px 0;
    overflow: hidden;
    border: 1px solid #eee;
}

.profile-user-info {
    text-align: center;
    padding: 20px;
    position: relative;
}

.profile-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    z-index: 10;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.edit-avatar-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--accent-color);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    cursor: pointer;
    transition: 0.3s;
}

.edit-avatar-btn:hover {
    background: #d68910;
}

/* Sidebar Navigation */
.profile-nav {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.profile-nav .nav-link {
    color: #555;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.profile-nav .nav-link i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #888;
}

.profile-nav .nav-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.profile-nav .nav-link.active {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--accent-color);
}

.profile-nav .nav-link.active i {
    color: var(--accent-color);
}

.logout-btn {
    color: #e74c3c !important;
}

.logout-btn i {
    color: #e74c3c !important;
}

.logout-btn:hover {
    background-color: #fdf2f0 !important;
}

/* Main Content Area */
.profile-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid #eee;
    min-height: 500px;
}

.content-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
}

/* Stat Cards */
.stat-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 20px;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-color);
}

.stat-info p {
    margin-bottom: 0;
    color: #777;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Order Table */
.table-custom th {
    background-color: #f8f9fa;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid #eee;
    padding: 15px;
}

.table-custom td {
    padding: 15px;
    vertical-align: middle;
    color: #555;
}

.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-delivered {
    background-color: #eafaf1;
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.status-processing {
    background-color: #fdf3e8;
    color: #f39c12;
    border: 1px solid #f39c12;
}

.status-cancelled {
    background-color: #fbedec;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Wishlist Cards (Reusing Book Card styling) */


/* Form Inputs */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
}

/*
============================
=== CART PAGE STYLES ===
============================
*/

/* Cart Item Styling */
.cart-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

@media (max-width: 767px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cart-img-wrapper {
    width: 100px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-details {
    flex-grow: 1;
    width: 100%;
}

.cart-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
    text-decoration: none;
}

.cart-title:hover {
    color: var(--accent-color);
}

/* Quantity Input */
.quantity-wrapper {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 30px;
    padding: 2px 5px;
    width: max-content;
}

.quantity-btn {
    background: transparent;
    border: none;
    color: #555;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
}

.quantity-btn:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Order Summary Styling */
.summary-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #f0f0f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #f0f0f0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.promo-input .form-control {
    border-radius: 30px 0 0 30px;
}

.promo-input .btn {
    border-radius: 0 30px 30px 0;
    font-weight: 600;
}

/*
============================
=== CHECKOUT PAGE STYLES ===
============================
*/

/* Form & Checkout Containers */
.checkout-section {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent-color);
}

/* Form Inputs */
.form-label {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
}

/* Payment Methods */
.payment-method-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.payment-method-card:hover {
    border-color: rgba(243, 156, 18, 0.5);
    background-color: #fdfcf8;
}

.payment-method-card.active {
    border-color: var(--accent-color);
    background-color: rgba(243, 156, 18, 0.05);
}

.payment-method-card.active::before {
    content: '\f058';
    /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.payment-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Hidden radio input */
.payment-radio {
    display: none;
}

/* Order Summary Sidebar */
.summary-wrapper {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Mini Cart Items in Summary */
.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.mini-cart-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.mini-cart-details {
    flex-grow: 1;
}

.mini-cart-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 3px;
    color: var(--primary-color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* Totals */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #555;
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #eee;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/*
============================
=== SUCCESS PAGE STYLES ====
============================
*/
main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

/* Success Card Styling */
.success-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #eee;
}

/* Animated Success Icon */
.success-icon-wrapper {
    width: 100px;
    height: 100px;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: pulse 2s infinite;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--success-color);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Order Info Box */
.order-info-box {
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.order-detail-row:last-child {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    font-weight: 700;
}

.detail-label {
    color: #6c757d;
}

.detail-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* Action Buttons */
.btn-custom {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-primary-action {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
}

.btn-primary-action:hover {
    background-color: #d68910;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary-action {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary-action:hover {
    background-color: var(--primary-color);
    color: #fff;
}

footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
}


/* =========================================
           Public Events Page Specific Styles
           (Prefixed to avoid conflicts)
           ========================================= */

/* Fix for global main tag CSS conflict */
main {
    display: block !important;
    padding: 0 !important;
}

.events-page-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 30px 0;
    margin-bottom: 40px;
}

/* Sidebar Filters */
.event-filter-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 90px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f8f9fa;
}

.event-filter-title {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color, #f39c12);
    color: var(--primary-color, #2c3e50);
}

/* Event Card Styling */
.public-event-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .public-event-card {
        flex-direction: row;
    }
}

.public-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(243, 156, 18, 0.3);
}

/* Date Block */
.event-date-box {
    background: var(--primary-color, #2c3e50);
    color: #fff;
    min-width: 160px;
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 5px solid var(--accent-color, #f39c12);
}

@media (max-width: 767px) {
    .event-date-box {
        border-right: none;
        border-bottom: 5px solid var(--accent-color, #f39c12);
        padding: 20px 15px;
        flex-direction: row;
        justify-content: space-around;
    }

    .event-date-box .date-day {
        margin-bottom: 0 !important;
        margin-right: 15px;
    }
}

.event-date-box .date-day {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--accent-color, #f39c12);
}

.event-date-box .date-month {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Event Details */
.event-details-content {
    padding: 30px;
    flex-grow: 1;
}

.event-type-badge {
    font-size: 0.8rem;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.badge-launch-pub {
    background-color: #e8f4fd;
    color: #3498db;
}

.badge-talk-pub {
    background-color: #fdf3e8;
    color: #f39c12;
}

.badge-signing-pub {
    background-color: #eafaf1;
    color: #2ecc71;
}

.event-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color, #2c3e50);
}

.event-meta-info {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.event-meta-info i {
    color: var(--accent-color, #f39c12);
    margin-right: 6px;
}

/* EVENT DETAIL PAGE */
/* Event Cover Image */
.event-cover {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0 0 25px 25px;
    margin-bottom: -80px;
}

/* Countdown Timer Box */
.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: white;
    display: inline-flex;
    gap: 20px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-num {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-color);
}

.time-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Event Main Info Card */
.event-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

/* Date Badge */
.date-badge {
    background: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
    border: 2px solid var(--accent-color);
}

.date-badge .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.date-badge .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Meta Info List */
.meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-list li {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #555;
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #eee;
}

.meta-list li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Section Title */
.section-title {
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.4rem;
}

/* Speaker/Guest Card */
.speaker-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(243, 156, 18, 0.3);
}

.speaker-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f8f9fa;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Sidebar Widgets */
.widget {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

/* =========================================
           User Profile & Orders Specific Styles
           (Prefixed to avoid conflicts)
           ========================================= */

/* Prevent global main tag conflicts */
main {
    display: block !important;
    padding: 0 !important;
}

.user-page-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 25px 0;
    margin-bottom: 30px;
}

/* User Sidebar */
.user-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 20px;
}

.user-sidebar-header {
    background: linear-gradient(135deg, var(--primary-color, #2c3e50) 0%, #1a252f 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.user-sidebar-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 10px;
}

.user-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-sidebar-menu li {
    border-bottom: 1px solid #f8f9fa;
}

.user-sidebar-menu li:last-child {
    border-bottom: none;
}

.user-sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.user-sidebar-menu a:hover {
    background-color: #fdfdfd;
    color: var(--accent-color, #f39c12);
    padding-left: 25px;
}

.user-sidebar-menu a.active {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--accent-color, #f39c12);
    border-left: 4px solid var(--accent-color, #f39c12);
}

.user-sidebar-menu a i {
    width: 25px;
    font-size: 1.1rem;
    margin-right: 10px;
}

/* Content Section Animation */
.content-section {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.content-section.active-section {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Order Filter Tabs (Horizontal Scroll on Mobile) */
.order-filter-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 25px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox */
}

.order-filter-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.order-filter-btn {
    background: transparent;
    border: 1px solid #dee2e6;
    color: #555;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-right: 10px;
    transition: 0.3s;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.order-filter-btn:hover {
    background: #f8f9fa;
    color: var(--primary-color, #2c3e50);
}

.order-filter-btn.active {
    background: var(--primary-color, #2c3e50);
    color: white;
    border-color: var(--primary-color, #2c3e50);
}

/* User Order Card */
.user-order-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.user-order-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.user-order-header {
    background-color: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.user-order-body {
    padding: 20px;
}

.user-order-footer {
    border-top: 1px dashed #f0f0f0;
    padding: 15px 20px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.order-item-summary {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-item-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.order-info-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
}

.order-id {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color, #2c3e50);
}

/* Status Badges */
.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

.status-delivered {
    background-color: #eafaf1;
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.status-processing {
    background-color: #e8f4fd;
    color: #3498db;
    border: 1px solid #3498db;
}

.status-pending {
    background-color: #fdf3e8;
    color: #f39c12;
    border: 1px solid #f39c12;
}

.status-cancelled {
    background-color: #fbedec;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Dashboard Stat Cards */
.stat-card-user {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Wishlist Grid Book Card */
.wishlist-book-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.wishlist-book-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .user-sidebar-menu {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        border-bottom: 1px solid #eee;
    }

    .user-sidebar-menu li {
        border-bottom: none;
    }

    .user-sidebar-menu a {
        padding: 12px 15px;
    }

    .user-sidebar-menu a:hover {
        padding-left: 15px;
    }

    .user-sidebar-menu a.active {
        border-left: none;
        border-bottom: 3px solid var(--accent-color, #f39c12);
    }

    .user-sidebar-header {
        border-radius: 12px 12px 0 0;
    }
}

/* =========================================
           User Login Page Specific Styles
           (Prefixed to avoid conflicts)
           ========================================= */

.user-login-page {
    width: 100%;
    padding: 40px 15px;
}

.user-login-wrapper {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Left Side Image Column */
.user-login-img-col {
    background: url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    position: relative;
    min-height: 500px;
}

.user-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(26, 37, 47, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: white;
}

.user-login-overlay h2 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.user-login-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Right Side Form Column */
.user-login-form-col {
    padding: 50px 40px;
}

@media (min-width: 992px) {
    .user-login-form-col {
        padding: 60px 70px;
    }
}

.user-login-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 30px;
}

.user-login-brand span {
    color: var(--accent-color);
}

.user-login-form .form-label {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.user-login-form .input-group-text {
    background-color: #fff;
    border-right: none;
    color: #aaa;
    padding-left: 20px;
}

.user-login-form .form-control {
    border-left: none;
    padding: 12px 15px 12px 10px;
    border-color: #dee2e6;
}

.user-login-form .form-control:focus {
    box-shadow: none;
}

.user-login-form .input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.15);
    border-radius: 0.375rem;
}

.user-login-form .input-group:focus-within .input-group-text,
.user-login-form .input-group:focus-within .form-control {
    border-color: var(--accent-color);
}

.user-btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: 0.3s;
    width: 100%;
    border: none;
}

.user-btn-submit:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

/* Divider */
.user-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #aaa;
    font-size: 0.9rem;
}

.user-login-divider::before,
.user-login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.user-login-divider:not(:empty)::before {
    margin-right: .5em;
}

.user-login-divider:not(:empty)::after {
    margin-left: .5em;
}

/* Social Buttons */
.user-btn-social {
    padding: 10px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.user-btn-google {
    background-color: #fff;
    color: #555;
    border: 1px solid #ddd;
}

.user-btn-google:hover {
    background-color: #f8f9fa;
}

.user-btn-fb {
    background-color: #3b5998;
    color: #fff;
    border: 1px solid #3b5998;
}

.user-btn-fb:hover {
    background-color: #2d4373;
    color: #fff;
}

/* Back button */
.user-back-link {
    display: inline-flex;
    align-items: center;
    color: #7f8c8d;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: 0.2s;
}

.user-back-link:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

/* Password Toggle */
.pwd-toggle-icon {
    cursor: pointer;
    background-color: #fff !important;
    border-left: none !important;
    padding-right: 20px !important;
}