/* E-Library Design System - Dark Glassmorphism for FTHL Radiology */
@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #070412;
    --bg-gradient: linear-gradient(135deg, #070412 0%, #0e0a25 50%, #150d3a 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-border-hover: rgba(155, 81, 224, 0.3);
    
    --primary: #9b51e0;
    --primary-glow: rgba(155, 81, 224, 0.4);
    --secondary: #00f2fe;
    --secondary-glow: rgba(0, 242, 254, 0.4);
    --accent: #ff007f;
    
    --text: #f3f0ff;
    --text-muted: #8e8a9f;
    --text-glow: rgba(243, 240, 255, 0.8);
    
    --success: #00ff88;
    --warning: #ffb300;
    --danger: #ff4757;
    --info: #00a8ff;
    
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background: var(--bg);
    background-image: var(--bg-gradient);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

/* Glassmorphism Panel styles */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-lg), 0 0 15px var(--primary-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #813df6);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow), 0 0 10px var(--secondary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--text);
}
.btn-outline:hover {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(45deg, var(--secondary), #00b8ff);
    color: #0b071e;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--secondary-glow);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--secondary-glow);
}

.btn-danger {
    background: var(--danger);
    color: white;
}
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

/* Form Controls */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    background: rgba(0, 0, 0, 0.5);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Header & Nav */
header.main-header {
    background: rgba(7, 4, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--text);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.user-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.user-badge .role-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.role-admin { background: rgba(255, 0, 127, 0.2); color: var(--accent); border: 1px solid var(--accent); }
.role-librarian { background: rgba(0, 242, 254, 0.2); color: var(--secondary); border: 1px solid var(--secondary); }
.role-member { background: rgba(155, 81, 224, 0.2); color: var(--primary); border: 1px solid var(--primary); }

/* Landing / Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.search-bar-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-bar-container input {
    width: 100%;
    padding: 16px 130px 16px 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.search-bar-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.search-bar-container button {
    position: absolute;
    right: 6px;
    top: 6px;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.9rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* Section Header */
.section-header {
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Books Grid & Cards */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.book-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.book-cover-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
    margin-bottom: 15px;
    box-shadow: var(--shadow-md);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.book-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(135deg, #180d34 0%, #0d061c 100%);
    position: relative;
}

.book-cover-fallback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.fallback-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fallback-author {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.book-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.badge-available { background: rgba(0, 255, 136, 0.25); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.3); }
.badge-unavailable { background: rgba(255, 71, 87, 0.25); color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.3); }

.book-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-category {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.book-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.book-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.rating-stars {
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Star selection helper */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
    font-size: 1.8rem;
}
.star-rating-input input {
    display: none;
}
.star-rating-input label {
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: var(--warning);
    text-shadow: 0 0 10px rgba(255, 179, 0, 0.4);
}

/* Category Filter Bar */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-chip {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover, .filter-chip.active {
    background: rgba(155, 81, 224, 0.15);
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Auth Pages Styling */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.auth-card {
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Book Details Page */
.details-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.details-sidebar {
    position: sticky;
    top: 100px;
}

.details-cover-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    aspect-ratio: 2/3;
}

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

.details-main h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.details-author {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.details-meta-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.details-meta-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.details-meta-table td.label {
    color: var(--text-muted);
    font-weight: 500;
    width: 35%;
}

.details-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Reviews List */
.reviews-section {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review-body {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Dashboard Panel Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
}

.dashboard-sidebar {
    background: rgba(7, 4, 18, 0.4);
    border-right: 1px solid var(--card-border);
    padding: 30px 20px;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.sidebar-link i {
    width: 20px;
    font-size: 1.1rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.sidebar-link.active {
    background: rgba(155, 81, 224, 0.15);
    border-left: 3.5px solid var(--primary);
    border-radius: 4px 10px 10px 4px;
}

.dashboard-content {
    padding: 40px;
    overflow-y: auto;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.dashboard-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Dashboard Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.metric-card.color-secondary::before { background: var(--secondary); }
.metric-card.color-accent::before { background: var(--accent); }
.metric-card.color-success::before { background: var(--success); }

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Data Tables */
.table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.data-table th {
    padding: 15px 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.data-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text);
    vertical-align: middle;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

/* Status Badges */
.status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-requested { background: rgba(0, 168, 255, 0.15); color: var(--info); border: 1px solid rgba(0, 168, 255, 0.2); }
.status-approved { background: rgba(0, 255, 136, 0.15); color: var(--success); border: 1px solid rgba(0, 255, 136, 0.2); }
.status-returned { background: rgba(142, 142, 147, 0.15); color: var(--text-muted); border: 1px solid rgba(142, 142, 147, 0.2); }
.status-rejected { background: rgba(255, 71, 87, 0.15); color: var(--danger); border: 1px solid rgba(255, 71, 87, 0.2); }
.status-overdue { background: rgba(255, 71, 87, 0.25); color: var(--danger); border: 1px solid var(--danger); animation: pulse-border 2s infinite; }

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

/* Dynamic Alerts system */
.system-alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

.system-alert.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.2);
    color: var(--success);
}

.system-alert.alert-danger {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.2);
    color: var(--danger);
}

.system-alert.alert-info {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.2);
    color: var(--secondary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Interactive E-Reader Styling */
.reader-container {
    max-width: 900px;
    margin: 30px auto;
}

.reader-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--card-border);
    border-radius: 12px 12px 0 0;
}

.reader-body {
    min-height: 500px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 40px 60px;
    box-sizing: border-box;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0dced;
    overflow-y: auto;
    max-height: 650px;
    transition: var(--transition);
}

/* Reader customization states */
.reader-body.sepia {
    background: #f4ecd8;
    color: #433422;
}

.reader-body.light {
    background: #ffffff;
    color: #222222;
}

.reader-body.large-font {
    font-size: 1.35rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .details-sidebar {
        position: static;
        max-width: 320px;
        margin: 0 auto;
    }
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding: 20px;
    }
    .sidebar-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .dashboard-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none; /* Can add hamburger menu triggers later */
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .reader-body {
        padding: 20px;
    }
}
