/* Sonor Audio Book - Premium CSS Design System */

/* ===== CSS Variables ===== */
:root {
    --primary: #FF4F00;
    --primary-dark: #ff7410;
    --primary-light: #FF4F00;
    --secondary: #ec4899;
    --secondary-dark: #db2777;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;    --border-color: #e5e7eb;
    
    --gradient-primary: linear-gradient(135deg, #FF4F00 0%, #ff7410 100%);
    --gradient-secondary: linear-gradient(135deg, #FFFFFF 0%, #FFB347 100%);
    --gradient-hero: linear-gradient(135deg, #FF4F00 0%, #ff7410 50%, #FF4F00 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --border-color: #374151;
}

/* Card paragraphs - medium gray in dark theme */
[data-theme="dark"] .card p,
[data-theme="dark"] .card .pra-clr {
    color: #9ca3af !important;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-nav a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar-nav a:hover::after {
    width: 100%;
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggler span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    list-style: none;
    min-width: 150px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
}

/* ===== Theme Toggle ===== */
.theme-toggle {
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== Hero Section ===== */
.hero {
    background: var(--gradient-hero);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    min-width: 100%;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 2rem;
    gap: 2rem;
    align-items: center;
}

.slider-item-image {
    flex-shrink: 0;
    width: 200px;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-item-content {
    color: white;
    flex: 1;
}

.slider-item-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.slider-item-author {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.slider-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ===== Cards ===== */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .glass-card {
    background: rgba(31, 41, 55, 0.7);
    border: 1px solid rgba(75, 85, 99, 0.2);
}

/* ===== Book Cards ===== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.book-card {
    position: relative;
}

.book-cover {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.book-author {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.book-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.book-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.book-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* ===== Section Styles ===== */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    /* background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control.error {
    border-color: var(--error);
}

/* ===== Auth Pages ===== */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: var(--gradient-hero);
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.auth-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.username-display {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

/* ===== Alerts ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* ===== Search & Filters ===== */
.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== Audio Player ===== */
.audio-player {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 2rem auto;
}

.player-header {
    text-align: center;
    margin-bottom: 2rem;
}

.player-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.player-subtitle {
    color: var(--text-secondary);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.player-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--primary, #FF4F00);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 79, 0, 0.3);
}

.player-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 79, 0, 0.4);
}

.player-progress {
    flex: 1;
}

.progress-bar {
    width: 100%;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.waveform-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.progress-fill {
    height: 100%;
    background: transparent;
    border-radius: var(--radius-lg);
    transition: width 0.1s linear;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
    transition: box-shadow 0.2s ease;
}

.progress-bar:hover .progress-thumb {
    box-shadow: 0 2px 12px rgba(255, 79, 0, 0.5);
    transform: translate(-50%, -50%) scale(1.2);
}

.progress-bar:active {
    cursor: grabbing;
}

.player-time {
    display: flex;
    justify-content: space-between;
    color: #FF4F00;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.player-speed {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.speed-btn {

    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: small;
}

.speed-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== Track List ===== */
.track-list {
    list-style: none;
    margin: 2rem 0;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.track-item:hover {
    background: var(--bg-tertiary);
}

.track-item.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.track-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    flex-shrink: 0;
}

.track-info {
    flex: 1;
}

.track-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.track-duration {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.track-icon {
    font-size: 1.25rem;
}

/* ===== Payment ===== */
.payment-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
}

.payment-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.qr-code {
    max-width: 300px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-lg);
}

.qr-code img {
    width: 100%;
    height: auto;
}

.payment-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.payment-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ===== Admin Layout ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-brand {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.admin-brand h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.admin-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.admin-nav ul {
    list-style: none;
}

.admin-nav a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.admin-nav a:hover {
    background: var(--bg-tertiary);
    border-left: 3px solid var(--primary);
}

.nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.admin-user {
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.admin-user p {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.admin-user small {
    color: var(--text-secondary);
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    background: var(--bg-primary);
}

.admin-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.admin-content {
    padding: 2rem;
}

/* ===== Admin Cards ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

/* ===== Tables ===== */
.table-container {
    overflow-x: auto;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.data-table tr:hover {
    background: var(--bg-secondary);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-paid {
    background: rgba(16, 185, 129, 0.1);
    color: var (--success);
}

.status-failed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ===== Footer Social ===== */
.footer-social {
    list-style: none;
}

.footer-social li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ===== Skeleton Loader ===== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .navbar-toggler {
        display: flex;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
    }
    
    .navbar-menu.active {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
    }
    
    .navbar-nav li {
        width: 100%;
    }
    
    .navbar-nav a {
        display: block;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .slider-item {
        flex-direction: column;
        text-align: center;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
}

/* ===== Utility Classes ===== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-between { justify-content: space-between; }
.flex-center { justify-content: center; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

.hidden { display: none; }

/* ===== Hero Slider Styles ===== */
.hero-slider-wrapper {
    position: relative;
    min-height: 600px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide-item {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(40px);
    transform: scale(1.1);
    opacity: 0.3;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(30, 30, 50, 0.7) 100%);
}

.hero-v1-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-v1-content .listing-text {
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.2 * 2 * clamp(2rem, 5vw, 3.5rem));
}

.hero-book-cover {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.hero-book-cover img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-book-cover:hover img {
    transform: translateY(-10px) scale(1.02);
}

/* Hero Swiper Navigation */
.hero-pagination {
    bottom: 30px !important;
    text-align: center;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--theme-clr, #ff5733);
    width: 30px;
    border-radius: 6px;
}

.hero-nav-next,
.hero-nav-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff !important;
    transition: all 0.3s ease;
}

.hero-nav-next:hover,
.hero-nav-prev:hover {
    background: var(--theme-clr, #ff5733);
    border-color: var(--theme-clr, #ff5733);
    transform: scale(1.1);
}

.hero-nav-next::after,
.hero-nav-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-slide-item {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-nav-next,
    .hero-nav-prev {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .hero-slide-item {
        min-height: 400px;
    }
    
    .hero-v1-content {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-nav-next,
    .hero-nav-prev {
        display: none;
    }
}

/* ===== Light Theme Styles ===== */
body.light-theme {
    background: #f9fafb !important;
}

body.light-theme .dark-theme,
body.light-theme .heading-bg,
body.light-theme .theme-bg {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #ffffff !important;
}

body.light-theme .white-clr,
body.light-theme h1, body.light-theme h2, 
body.light-theme h3, body.light-theme h4 {
    color: #111827 !important;
}

body.light-theme .pra-clr {
    color: #6b7280 !important;
}

/* Card paragraphs - darker gray */
body.light-theme .card p,
body.light-theme .card .pra-clr {
    color: #4B5563 !important;
}

body.light-theme .footer-section-version-one,
body.light-theme .footer-version-one {
    background: #1f2937 !important;
}

body.light-theme .header-section {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb;
}

body.light-theme .card,
body.light-theme .theme-bg {
    background: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

body.light-theme .form-control,
body.light-theme .form-select {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

body.light-theme .accordion-item {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}

body.light-theme .accordion-button {
    background: #f9fafb !important;
    color: #111827 !important;
}

body.light-theme .podcast-item-v3 .podcast-v3-thumb,
body.light-theme .episode-details-thumb {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-clr, #fff);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    background: var(--theme-clr, #ff5733);
    border-color: var(--theme-clr, #ff5733);
    transform: scale(1.1);
}

.theme-toggle-btn .theme-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

body.light-theme .theme-toggle-btn {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #111827;
}

body.light-theme .theme-toggle-btn:hover {
    background: var(--theme-clr, #ff5733);
    color: #ffffff;
}

/* ===== Comprehensive Light Theme Text Overrides ===== */
body.light-theme .white-clr,
body.light-theme .menu-item a,
body.light-theme .navbar-custom a,
body.light-theme .cmn-hover,
body.light-theme .custom-nav a {
    color: #111827 !important;
}

body.light-theme .sub-menu {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
}

body.light-theme .sub-menu a {
    color: #111827 !important;
}

body.light-theme .sub-menu a:hover {
    color: var(--theme-clr, #ff5733) !important;
}

body.light-theme .header-onestyle {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
}

body.light-theme .brand-logo {
    opacity: 0.9;
}

/* Light theme for navbar items */
body.light-theme .navbar-nav,
body.light-theme .navbar-menu {
    color: #111827;
}

body.light-theme .navbar-nav a,
body.light-theme .navbar-menu a {
    color: #111827 !important;
}

body.light-theme .navbar-nav a:hover,
body.light-theme .navbar-menu a:hover {
    color: var(--theme-clr, #ff5733) !important;
}

/* Light theme for buttons */
body.light-theme .btn-primary {
    background: var(--primary, #FF4F00) !important;
    border-color: var(--primary, #FF4F00) !important;
    color: #ffffff !important;
}

body.light-theme .btn-outline-primary {
    border-color: var(--primary, #FF4F00) !important;
    color: var(--primary, #FF4F00) !important;
}

body.light-theme .btn-outline-primary:hover {
    background: var(--primary, #FF4F00) !important;
    color: #ffffff !important;
}

/* Light theme for links */
body.light-theme a {
    color: var(--primary, #FF4F00) !important;
}

body.light-theme .cmn-hover {
    color: #111827 !important;
}

body.light-theme .cmn-hover:hover {
    color: var(--theme-clr, #ff5733) !important;
}

body.light-theme .cmn-hover:hover {
    color: var(--theme-clr, #ff5733) !important;
}

/* ===== Light Theme Audio Player ===== */
body.light-theme .audio-player {
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .player-title {
    color: #111827 !important;
}

body.light-theme .player-subtitle {
    color: #6b7280 !important;
}

body.light-theme .player-btn {
    background: var(--primary, #FF4F00) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 79, 0, 0.15) !important;
}

body.light-theme .player-btn:hover {
    box-shadow: 0 6px 16px rgba(255, 79, 0, 0.25) !important;
}

body.light-theme .progress-bar {
    background: #e5e7eb !important;
}

body.light-theme .progress-fill {
    background: #4B5563 !important;
}

body.light-theme .progress-thumb {
    background: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

body.light-theme .progress-bar:hover .progress-thumb {
    box-shadow: 0 2px 12px rgba(255, 79, 0, 0.4) !important;
}

body.light-theme .player-time {
    color: #FF4F00 !important;
    font-weight: 700 !important;
}

body.light-theme .speed-btn {
    background: #f3f4f6 !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

body.light-theme .speed-btn.active {
    background: var(--primary, #FF4F00) !important;
    border-color: var(--primary, #FF4F00) !important;
    color: #ffffff !important;
}

/* ===== Light Theme Track List ===== */
body.light-theme .track-item {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

body.light-theme .track-item:hover {
    background: #e5e7eb !important;
}

body.light-theme .track-title {
    color: #111827 !important;
}

body.light-theme .track-duration {
    color: #6b7280 !important;
}

body.light-theme .track-item.active {
    background: var(--primary, #FF4F00) !important;
    color: #ffffff !important;
}

body.light-theme .track-item.active .track-title {
    color: #ffffff !important;
}

body.light-theme .track-item.active .track-duration {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== Mobile Menu Styles ===== */
.navbar-toggle-btn {
    width: 36px;
    height: 24px;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
}

.navbar-toggle-btn span {
    background: var(--theme-clr, #ff5733);
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.5s;
}

.navbar-toggle-btn span:nth-child(1) {
    top: 0;
}

.navbar-toggle-btn span:nth-child(2),
.navbar-toggle-btn span:nth-child(3) {
    top: 12px;
}

.navbar-toggle-btn span:nth-child(4) {
    top: 24px;
}

.navbar-toggle-btn.active span:nth-child(1) {
    top: 12px;
    width: 0%;
    left: 50%;
}

.navbar-toggle-btn.active span:nth-child(2) {
    transform: rotate(45deg);
}

.navbar-toggle-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.navbar-toggle-btn.active span:nth-child(4) {
    top: 12px;
    width: 0%;
    left: 50%;
}

@media (max-width: 991px) {
    .navbar-toggle-item {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg2-clr, #1b1b1b);
        z-index: 999;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .navbar-toggle-item.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-toggle-item .custom-nav {
        width: 100%;
    }
    
    .navbar-toggle-item .menu-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-toggle-item .menu-item a,
    .navbar-toggle-item .menu-item button {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
    }
    
    .navbar-toggle-item .sub-menu {
        display: none;
        padding: 0 0 0 20px;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .navbar-toggle-item .sub-menu.active {
        display: block;
    }
    
    .navbar-toggle-item .sub-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar-toggle-item .sub-menu li:last-child {
        border-bottom: none;
    }
    
    .navbar-toggle-item .sub-menu a {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .navbar-toggle-item .menu-item button.active::after {
        transform: rotate(180deg);
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .navbar-toggle-item {
        display: initial !important;
    }
}

/* Light Theme Mobile Menu */
body.light-theme .navbar-toggle-item {
    background: #ffffff;
}

body.light-theme .navbar-toggle-item .menu-item {
    border-bottom-color: #e5e7eb;
}

body.light-theme .navbar-toggle-btn span {
    background: var(--theme-clr, #ff5733);
}

/* ===== Book Cards Styles ===== */
.book-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.book-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.book-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.book-card:hover .book-card-thumb img {
    transform: scale(1.1);
}

.book-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(30, 30, 50, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.book-card:hover .book-card-overlay {
    opacity: 1;
}

.book-play-btn {
    width: 70px;
    height: 70px;
    background: var(--theme-clr, #ff5733);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 87, 51, 0.5);
}

.book-card:hover .book-play-btn {
    transform: scale(1);
}

.book-play-btn:hover {
    transform: scale(1.1) rotate(90deg);
    background: white;
    color: var(--theme-clr, #ff5733);
}

.book-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.book-category-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.book-title {
    display: block;
    transition: color 0.3s ease;
}

.book-title:hover {
    color: var(--theme-clr, #ff5733) !important;
}

.book-title h4 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.book-rating i {
    font-size: 16px;
}

.book-plays {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.book-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.book-price {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.book-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.book-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 87, 51, 0.4);
}

/* Light Theme Book Cards */
body.light-theme .book-card {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .book-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .book-title {
    color: #111827;
}

body.light-theme .book-card-footer {
    border-top-color: #e5e7eb;
}

body.light-theme .book-category-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
}

/* Responsive */
@media (max-width: 767px) {
    .book-card-content {
        padding: 16px;
    }
    
    .book-title h4 {
        font-size: 1.1rem;
    }
    
    .book-price {
        font-size: 1.25rem;
    }
    
    .book-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ===== Template Integration Styles ===== */
/* Bridge between old custom styles and new template */

/* Featured badge for book cards */
.featured-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #323232
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Alert styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Form controls */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--heading-bg, #1a1a2e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white-clr, #fff);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--theme-clr, #ff5733);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--heading-bg, #1a1a2e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white-clr, #fff);
    font-size: 1rem;
}

/* Button utilities */
.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.w-100 {
    width: 100%;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
}

.bg-success {
    background: #10b981;
    color: white;
}

.bg-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pra-clr, #b8b8b8);
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    background: var(--heading-bg, #1a1a2e);
    color: var(--white-clr, #fff);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--theme-clr, #ff5733);
    border-color: var(--theme-clr, #ff5733);
}

.page-item.active .page-link {
    background: var(--theme-clr, #ff5733);
    border-color: var(--theme-clr, #ff5733);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-toggle-item {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--heading-bg, #1a1a2e);
        padding: 2rem;
        transition: right 0.3s;
        z-index: 1000;
    }
    
    .navbar-toggle-item.active {
        right: 0;
    }
}

/* Admin specific styles */
.admin-layout {
    position: relative;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
}

.admin-main {
    margin-left: 280px;
}

@media (max-width: 768px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.3s;
        z-index: 1000;
    }
    
    .admin-sidebar.active {
        left: 0;
    }
    
    .admin-main {
        margin-left: 0;
    }
}

