@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-darker: #08090d;
    --bg-dark: #0f111a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #c084fc 100%);
    --accent-color: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.25);
    --mature-color: #ef4444;
    --success-color: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* Header / Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    background: rgba(15, 17, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.nav-toggle:hover {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Responsive Header */
@media (max-width: 850px) {
    header {
        padding: 0.8rem 1.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 17, 26, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
        gap: 1.2rem;
        align-items: stretch;
        z-index: 99;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.05rem;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links form {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-links form .btn,
    .nav-links .btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
    }
}

/* Buttons */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
}

.btn-danger {
    background: var(--mature-color);
    color: white;
}

.btn-danger:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Layout Panels */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
    width: 100%;
    flex: 1;
}

.layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Filter */
.sidebar {
    padding: 1.5rem;
    height: fit-content;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item {
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-item:hover, .filter-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    padding-left: 1.2rem;
}

/* Search Bar */
.search-container {
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: white;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Book Grid & Cards */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.book-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.cover-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-badges {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}

.badge {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-mature {
    background: var(--mature-color);
    color: white;
}

.badge-category {
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.price-tag {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    background: rgba(15, 17, 26, 0.85);
    border: 1px solid var(--accent-color);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.85rem;
}

.price-tag-free {
    border-color: var(--success-color);
    color: var(--success-color);
}

.card-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.book-author {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.book-description-short {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    margin-top: auto;
    width: 100%;
}

/* Detail Page */
.detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.detail-cover {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.detail-info h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.detail-meta-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.detail-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Chapter List */
.chapter-section {
    margin-top: 2.5rem;
}

.chapter-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.chapter-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chapter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.chapter-row:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

.chapter-info-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.chapter-title-text {
    font-weight: 600;
    font-size: 1rem;
}

.chapter-price-badge {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Dynamic Reading Interface */
.reader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.reader-header {
    background: rgba(15, 17, 26, 0.9);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.reader-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    position: relative;
}

.reader-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.reader-page {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: block;
}

/* PDF Canvas rendering */
.pdf-canvas {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    background: white;
}

.reader-controls-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    cursor: pointer;
    z-index: 2;
}

.reader-prev-overlay {
    left: 0;
}

.reader-next-overlay {
    right: 0;
}

.reader-footer {
    background: rgba(15, 17, 26, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.progress-indicator {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.autosave-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.autosave-badge.saving {
    color: var(--accent-color);
}

/* Forms (Create / Edit) */
.form-card {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: white;
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control option {
    background-color: #1a1a2e;
    color: white;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Compliance Banners */
.pref-consent-box {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
    animation: fadeInUp 0.5s ease-out;
}

@media (max-width: 768px) {
    .pref-consent-box {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.pref-consent-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pref-consent-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 450px;
    width: 90%;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-icon {
    font-size: 3rem;
    color: var(--mature-color);
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ADA compliance float bar */
.accessibility-bar {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 99;
}

.accessibility-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 17, 26, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.accessibility-btn:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* Contrast Modes */
body.high-contrast {
    background: black !important;
    color: white !important;
}

body.high-contrast .glass,
body.high-contrast header,
body.high-contrast .btn-secondary,
body.high-contrast .form-control {
    background: black !important;
    border: 2px solid white !important;
    color: white !important;
}

body.high-contrast a,
body.high-contrast .text-accent {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

body.high-contrast .btn-primary {
    background: white !important;
    color: black !important;
    border: 2px solid white !important;
}

/* Font Size Increase */
body.large-text p,
body.large-text span,
body.large-text a,
body.large-text label,
body.large-text input,
body.large-text select {
    font-size: 1.15rem !important;
}
body.large-text h1 {
    font-size: 2.8rem !important;
}
body.large-text h2 {
    font-size: 2rem !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Consent Trigger Button */
.pref-consent-trigger {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 17, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pref-consent-trigger:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: rotate(30deg) scale(1.1);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Author Profile Cards */
.author-card {
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.author-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.author-card:hover .author-avatar {
    transform: scale(1.08);
}

.author-avatar {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Explicit Cover Blur Styles */
.explicit-container {
    position: relative;
    overflow: hidden;
}

.explicit-blur {
    filter: blur(30px) brightness(0.5) !important;
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
}

.explicit-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(8, 9, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10;
    text-align: center;
    padding: 1.5rem;
    pointer-events: auto;
}

/* Safety/Support Contact Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 9, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.modal-container {
    width: 90%;
    max-width: 550px;
    background: rgba(15, 17, 26, 0.95);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.modal-backdrop.show .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.01);
}

.modal-form-group {
    margin-bottom: 1.25rem;
}

.modal-form-group label {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.modal-form-control {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Spinner and Success Screen Styles */
.modal-spinner {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 2.5px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    text-align: center;
}

.success-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon-wrap i {
    color: var(--success-color);
    font-size: 2rem;
}


/* Zoom and Scroll Mode Styles */
.reader-body {
    overflow: auto !important; /* Allow both vertical and horizontal scrollbars when zoomed */
}

.scroll-mode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.scroll-page {
    transition: transform 0.2s ease, width 0.2s ease;
    margin-bottom: 1rem;
    max-width: 100%;
    height: auto;
}

.reader-page, .pdf-canvas {
    transition: transform 0.2s ease, width 0.2s ease;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Responsive Search Bar */
@media (max-width: 600px) {
    .search-form {
        gap: 0.35rem !important;
    }
    .search-form .btn {
        padding: 0 !important;
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }
    .search-form .btn i {
        margin: 0 !important;
        font-size: 1.1rem !important;
    }
    .search-btn-text {
        display: none !important;
    }
    .search-input {
        padding: 0.7rem 0.9rem !important;
        height: 44px !important;
        font-size: 0.88rem !important;
    }
}

/* Responsive Container Padding */
@media (max-width: 768px) {
    .container {
        padding: 0 0.8rem 2rem 0.8rem !important;
    }
}
