/*
Theme Name: EduText Pro
Description: Premium Text-Only Online Course Portal - WordPress Theme
Version: 1.0
Author: EduText Pro
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.4;
    color: #1a202c;
    font-size: 13px;
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 25%, #0ea5e9 50%, #06b6d4 75%, #10b981 100%);
    min-height: 100vh;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(135deg, #3b82f6 0%, #1e40af 25%, #0ea5e9 50%, #06b6d4 75%, #10b981 100%); }
    25% { background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 25%, #06b6d4 50%, #10b981 75%, #f59e0b 100%); }
    50% { background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 25%, #10b981 50%, #f59e0b 75%, #ef4444 100%); }
    75% { background: linear-gradient(135deg, #10b981 0%, #06b6d4 25%, #f59e0b 50%, #ef4444 75%, #8b5cf6 100%); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.header h1 {
    color: #1e40af;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1e40af, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

@supports not (-webkit-background-clip: text) {
    .header h1 {
        color: #1e40af;
        background: none;
        -webkit-text-fill-color: inherit;
    }
}

.header p {
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.showcase-nav {
    display: block;
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
    text-align: center;
}

.showcase-nav > * {
    display: inline-block;
    margin: 0 4px 8px 4px;
}

.showcase-btn {
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.showcase-btn:hover {
    margin-top: -2px;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.showcase-btn.active {
    background: #10b981;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.main-layout {
    display: grid;
    grid-template-columns: 250px 1fr 220px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.content-area {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.sidebar, .right-panel {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.15);
    height: fit-content;
    position: sticky;
    top: 20px;
    transition: all 0.3s ease;
}

@supports not (backdrop-filter: blur(20px)) {
    .sidebar, .right-panel, .content-area, .header {
        background: rgba(255, 255, 255, 0.95);
    }
}

.sidebar:hover, .right-panel:hover {
    margin-top: -3px;
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.sidebar h3, .right-panel h3 {
    color: #1e40af;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid #60a5fa;
    padding-bottom: 8px;
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@supports not (-webkit-background-clip: text) {
    .sidebar h3, .right-panel h3 {
        color: #1e40af;
        background: none;
        -webkit-text-fill-color: inherit;
    }
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 4px;
}

.nav-menu a {
    color: #374151;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-menu a:hover, .nav-menu a.active {
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1e40af, #0ea5e9);
    color: white;
    margin-left: 4px;
    transform: translateX(4px) scale(1.01);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.content-showcase {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-grid {
    display: block;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

@supports not (display: grid) {
    .content-grid {
        display: block;
    }
    
    .content-item {
        width: 100%;
        max-width: 320px;
        margin: 0 auto 15px auto;
        display: inline-block;
        vertical-align: top;
    }
    
    @media (min-width: 768px) {
        .content-item {
            width: calc(50% - 8px);
            margin-right: 15px;
        }
    }
    
    @media (min-width: 1200px) {
        .content-item {
            width: calc(33.333% - 10px);
        }
    }
}

.content-item {
    background: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.9));
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.content-item:hover {
    margin-top: -6px;
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 45px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.content-item h4 {
    color: #1e40af;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.content-item .description {
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.content-meta {
    display: block;
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    flex-wrap: wrap;
}

@supports not (display: flex) {
    .content-meta {
        display: block;
    }
    
    .meta-tag {
        display: inline-block;
        margin-right: 8px;
        margin-bottom: 4px;
    }
}

.meta-tag {
    background: #f59e0b;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.content-details {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.content-details.active {
    display: block;
    animation: expandDetails 0.3s ease-out;
}

.details-section {
    margin-bottom: 12px;
}

.details-section h5 {
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.details-section p, .details-section ul {
    color: #374151;
    font-size: 0.85rem;
    line-height: 1.4;
}

.action-buttons {
    display: block;
    display: flex;
    gap: 6px;
    margin-top: 12px;
    overflow: hidden;
    flex-wrap: wrap;
}

@supports not (display: flex) {
    .action-buttons {
        display: block;
    }
    
    .action-btn {
        display: inline-block;
        margin-right: 6px;
        margin-bottom: 6px;
    }
}

.action-btn {
    background: #10b981;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.action-btn:hover {
    margin-top: -1px;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.action-btn.secondary {
    background: #6b7280;
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.action-btn.large {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    background: linear-gradient(90deg, #e5e7eb, #f3f4f6);
    border-radius: 4px;
    margin: 12px 0;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: #3b82f6;
    background: linear-gradient(90deg, #3b82f6, #0ea5e9, #06b6d4, #10b981);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.progress-text {
    font-size: 0.85rem;
    color: #1e40af;
    text-align: center;
    margin-top: 6px;
    font-weight: 600;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border: 2px solid #93c5fd;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.search-box input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    margin-top: -1px;
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -0.5em;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #3b82f6;
}

.content-section {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.content-section h2 {
    color: #1e40af;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
    border-left: 4px solid #3b82f6;
    padding-left: 15px;
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1e40af, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@supports not (-webkit-background-clip: text) {
    .content-section h2 {
        color: #1e40af;
        background: none;
        -webkit-text-fill-color: inherit;
    }
}

.content-section p {
    color: #374151;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.accessibility-tools {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.accessibility-tools h4 {
    color: #92400e;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.tool-buttons {
    display: block;
    display: flex;
    gap: 6px;
    overflow: hidden;
    flex-wrap: wrap;
}

@supports not (display: flex) {
    .tool-buttons {
        display: block;
    }
    
    .tool-btn {
        display: inline-block;
        margin-right: 6px;
        margin-bottom: 6px;
    }
}

.tool-btn {
    background: #f59e0b;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.tool-btn:hover {
    background: #d97706;
    margin-top: -1px;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: block;
    text-align: center;
    line-height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.user-stats {
    display: block;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

@supports not (display: grid) {
    .user-stats {
        display: block;
    }
    
    .stat-item {
        width: calc(50% - 6px);
        float: left;
        margin-right: 12px;
        margin-bottom: 12px;
    }
    
    .user-stats::after {
        content: "";
        display: table;
        clear: both;
    }
}

.stat-item {
    text-align: center;
    background: rgba(59, 130, 246, 0.1);
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #93c5fd;
    transition: all 0.3s ease;
}

.stat-item:hover {
    margin-top: -3px;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

@supports not (-webkit-background-clip: text) {
    .stat-number {
        color: #3b82f6;
        background: none;
        -webkit-text-fill-color: inherit;
    }
}

.stat-label {
    font-size: 0.8rem;
    color: #374151;
    margin-top: 4px;
    font-weight: 600;
}

.auth-buttons {
    display: block;
    display: flex;
    gap: 8px;
    margin-top: 15px;
    overflow: hidden;
    flex-wrap: wrap;
}

@supports not (display: flex) {
    .auth-buttons {
        display: block;
    }
    
    .auth-buttons a {
        display: inline-block;
        margin-right: 8px;
        margin-bottom: 8px;
    }
}

.user-menu {
    display: block;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    overflow: hidden;
    flex-wrap: wrap;
}

@supports not (display: flex) {
    .user-menu {
        display: block;
    }
    
    .user-menu a {
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 8px;
    }
}

.user-menu a {
    color: #1e40af;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.user-menu a:hover {
    background: rgba(59, 130, 246, 0.2);
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.dashboard-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.stat-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.stat-card a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.stat-card a:hover {
    color: #2563eb;
}

.certificate-badge {
    color: #10b981;
    font-size: 0.8rem;
}

.progress-badge {
    color: #f59e0b;
    font-size: 0.8rem;
}

.dashboard-section {
    margin-bottom: 2.5rem;
}

.dashboard-section h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.progress-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.05));
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #3b82f6;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-header h3 {
    margin: 0;
    color: #1e40af;
}

.progress-percentage {
    color: #1e40af;
    font-weight: 700;
    font-size: 1.2rem;
}

.progress-bar {
    height: 1rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 0.5rem;
    transition: width 0.3s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #64748b;
}

.course-progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-progress-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.course-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.course-progress-card h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.meta-tag.completed {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.progress-text {
    text-align: center;
    margin: 1rem 0;
    font-weight: 600;
    color: #1e40af;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.action-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.action-btn:hover {
    background: #2563eb;
}

.action-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
}

.action-btn.secondary:hover {
    background: #e2e8f0;
}

.action-btn.large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 1rem;
    border: 2px dashed #3b82f6;
}

.empty-state h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.bookmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.bookmark-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bookmark-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.bookmark-item h5 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.bookmark-type {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.bookmark-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0.5rem 0;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.recommendation-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.recommendation-content {
    padding: 1.5rem;
}

.recommendation-content h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.content-type {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.recommendation-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0.5rem 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 200px 1fr 180px;
    }
}

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

@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .login-container {
        padding: 1rem;
    }
    
    .login-box {
        padding: 1.5rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .course-progress-grid,
    .bookmarks-grid,
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .progress-stats {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* WordPress Specific Styles */
.wp-block-group {
    margin-bottom: 1.5rem;
}

.wp-block-image {
    margin-bottom: 1rem;
}

.navigation.pagination {
    text-align: center;
    margin: 25px 0;
}

.page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.page-numbers:hover,
.page-numbers.current {
    background: #10b981;
    background: linear-gradient(135deg, #10b981, #059669);
    margin-top: -1px;
    transform: translateY(-1px);
}

/* Accessibility Styles */
.dark-mode {
    background: #1a202c !important;
    color: #e2e8f0 !important;
}

.dark-mode .header,
.dark-mode .sidebar,
.dark-mode .right-panel,
.dark-mode .content-area {
    background: rgba(26, 32, 44, 0.95) !important;
    color: #e2e8f0 !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.dark-mode .header h1 {
    color: #60a5fa !important;
    -webkit-text-fill-color: #60a5fa !important;
}

.dark-mode .nav-menu a,
.dark-mode .showcase-btn {
    color: #e2e8f0 !important;
}

.high-contrast {
    --text-color: #000000;
    --bg-color: #ffffff;
    --link-color: #0000ff;
    --visited-color: #800080;
}

.high-contrast * {
    color: var(--text-color) !important;
    background-color: var(--bg-color) !important;
}

.high-contrast a {
    color: var(--link-color) !important;
}

.high-contrast a:visited {
    color: var(--visited-color) !important;
}

.color-blind {
    --primary: #0077bb;
    --secondary: #ee7733;
    --accent: #009988;
    --background: #ffffff;
    --text: #000000;
}

.color-blind .header,
.color-blind .sidebar,
.color-blind .right-panel,
.color-blind .content-area {
    background: var(--background) !important;
    color: var(--text) !important;
}

.color-blind .showcase-btn {
    background: var(--primary) !important;
}

.color-blind .showcase-btn.active {
    background: var(--secondary) !important;
}

.color-blind .action-btn {
    background: var(--accent) !important;
}

/* Login Page Styles */
.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.05));
}

.login-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h1 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-box > p {
    color: #64748b;
    margin-bottom: 2rem;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #dc2626;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.google-login-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.google-login-btn img {
    width: 24px;
    height: 24px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: #e5e7eb;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: #fff;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.login-options form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-options label {
    display: block;
    text-align: left;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.login-options input[type="text"],
.login-options input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.login-options input[type="text"]:focus,
.login-options input[type="password"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.login-options input[type="submit"] {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-options input[type="submit"]:hover {
    background: #2563eb;
}

.login-options .remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.login-options .remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.login-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.login-links a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.login-links a:hover {
    color: #2563eb;
}

.login-links .separator {
    color: #d1d5db;
}