/*
Bu yazılım anxcure.com'a aittir.
Tüm hakları anxcure.com tarafından saklıdır.
İzinsiz kullanım, kopyalama veya dağıtım yasaktır.
© 2025 anxcure.com. Tüm hakları saklıdır.
*/

/* Blog Page Styles - Technopat Inspired */

:root {
    --primary-color: #4FD1C5;
    --secondary-color: #2D3748;
    --accent-color: #E53E3E;
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --bg-primary: #F5F5F5;
    --bg-secondary: #E8E8E8;
    --bg-card: rgba(255, 255, 255, 0.8);
    --border-color: rgba(45, 55, 72, 0.1);
    --shadow: 0 8px 32px rgba(45, 55, 72, 0.08);
    --shadow-lg: 0 16px 48px rgba(45, 55, 72, 0.12);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary-color: #4FD1C5;
    --secondary-color: #1a202c;
    --accent-color: #fc8181;
    --text-primary: #f7fafc;
    --text-secondary: #a0aec0;
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-card: rgba(45, 55, 72, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

/* Dark mode body background */
[data-theme="dark"] body {
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%) !important;
    color: #F7FAFC !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4FD1C5 0%, #38B2AC 100%);
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="300" r="200" fill="url(%23a)"/><circle cx="400" cy="700" r="250" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--card-bg), #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-image {
    text-align: center;
    animation: fadeInRight 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
    animation: pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Featured Article */
.featured-article {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.featured-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.featured-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(45, 55, 72, 0.15);
    border-color: rgba(79, 209, 197, 0.3);
}

.featured-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-content {
    padding: 2rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.publish-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.featured-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* Boyutun değişmesini engelle */
    border: 2px solid var(--border-color, #e0e0e0);
    transition: all 0.2s ease;
}

/* Profil fotoğrafları için genel kurallar */
.author-avatar,
.profile-avatar,
.user-avatar,
.topic-avatar,
.comment-avatar,
.post-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 2px solid var(--border-color, #e0e0e0) !important;
    transition: all 0.2s ease !important;
}

/* Küçük avatar boyutları */
.author-avatar-small,
.comment-avatar-small {
    width: 32px !important;
    height: 32px !important;
}

/* Büyük avatar boyutları */
.author-avatar-large,
.profile-avatar-large {
    width: 60px !important;
    height: 60px !important;
}

/* Load More Button Stilleri */
#loadMoreBtn {
    display: block !important;
    margin: 2rem auto !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.3) !important;
    border: none !important;
    background: linear-gradient(135deg, #4FD1C5, #38B2AC) !important;
    color: white !important;
    min-width: 200px !important;
}

#loadMoreBtn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(79, 209, 197, 0.4) !important;
    background: linear-gradient(135deg, #38B2AC, #2C7A7B) !important;
}

#loadMoreBtn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Load More Button Container */
.text-center {
    text-align: center !important;
    width: 100% !important;
    margin: 2rem 0 !important;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.featured-stats {
    display: flex;
    gap: 1.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Categories Section */
.categories-section {
    margin-top: 6rem;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.categories-section::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 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23e2e8f0" stroke-width="1" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    z-index: 2;
}

.category-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(79, 209, 197, 0.05) 100%);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 209, 197, 0.1), transparent);
    transition: left 0.6s;
}

.category-card:hover::before {
    left: 100%;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(79, 209, 197, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(79, 209, 197, 0.4);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.category-count {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Articles Section */
.articles-section {
    margin-top: 4rem;
}

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

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.article-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow);
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 209, 197, 0.3);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* İçeriği genişlet */
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.article-date {
    font-weight: 600;
}

.article-read-time {
    opacity: 0.8;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1; /* Özeti genişlet */
}

/* Kartın alt kısmı - sabit konum */
.article-footer {
    margin-top: auto; /* Alt kısma yapıştır */
    padding-top: 1rem;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    min-height: 40px;
}

.article-author .author-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 2px solid var(--border-color, #e0e0e0) !important;
    transition: all 0.2s ease !important;
}

.article-author .author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    height: 40px; /* Avatar ile aynı yükseklik */
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
}

.article-stats .stat {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-stats .stat i {
    font-size: 0.75rem;
    color: var(--text-muted, #6c757d);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.search-form input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.search-form button {
    background: linear-gradient(135deg, var(--primary-color), #16A34A);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(79, 209, 197, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(79, 209, 197, 0.2);
}

.search-form button:hover {
    background: linear-gradient(135deg, #16A34A, var(--primary-color));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(79, 209, 197, 0.3);
}

.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.popular-item:hover {
    background: var(--bg-secondary);
}

.popular-rank {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.popular-content h6 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.popular-views {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    z-index: 1000;
    padding: 0.5rem 0;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
    flex: 1;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary-color);
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.75rem;
    font-weight: 600;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .articles-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .categories-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .featured-content {
        padding: 1rem;
    }
    
    .featured-title {
        font-size: 1.25rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .article-content {
        padding: 1rem;
    }
}

/* Dark Mode Overrides - Comprehensive */
[data-theme="dark"] .section-title {
    color: #22C55E !important;
}

[data-theme="dark"] .featured-card,
[data-theme="dark"] .category-card,
[data-theme="dark"] .article-card,
[data-theme="dark"] .sidebar-widget {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .search-form input {
    background: var(--bg-primary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .popular-item:hover {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .tag {
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .tag:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Dark Mode Blog Specific Elements */
[data-theme="dark"] .blog-container {
    background: transparent !important;
}

[data-theme="dark"] .blog-main {
    background: transparent !important;
}

[data-theme="dark"] .blog-sidebar {
    background: transparent !important;
}

[data-theme="dark"] .blog-content {
    background: transparent !important;
}

/* Dark Mode Cards */
[data-theme="dark"] .card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .card-header {
    background: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .card-body {
    background: transparent !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .card-footer {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
}

/* Dark Mode Text Elements */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .text-muted {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .text-primary {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .text-secondary {
    color: var(--text-secondary) !important;
}

/* Dark Mode Links */
[data-theme="dark"] a {
    color: var(--primary-color) !important;
}

[data-theme="dark"] a:hover {
    color: #16A34A !important;
}

/* Dark Mode Form Elements */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: var(--bg-primary) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(79, 209, 197, 0.25) !important;
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-secondary) !important;
}

/* Dark Mode Buttons */
[data-theme="dark"] .btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

[data-theme="dark"] .btn-primary:hover {
    background: #16A34A !important;
    border-color: #16A34A !important;
    color: white !important;
}

[data-theme="dark"] .btn-secondary {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--bg-primary) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-primary) !important;
}

/* Dark Mode Badges */
[data-theme="dark"] .badge {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .badge-primary {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Dark Mode Lists */
[data-theme="dark"] .list-group-item {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .list-group-item:hover {
    background: var(--bg-secondary) !important;
}

/* Dark Mode Tables */
[data-theme="dark"] .table {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > td,
[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > th {
    background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .table-hover > tbody > tr:hover > td,
[data-theme="dark"] .table-hover > tbody > tr:hover > th {
    background-color: var(--bg-secondary) !important;
}

/* Dark Mode Alerts */
[data-theme="dark"] .alert {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .alert-primary {
    background: rgba(79, 209, 197, 0.1) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Dark Mode Modals */
[data-theme="dark"] .modal-content {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .modal-header {
    background: var(--bg-secondary) !important;
    border-bottom-color: var(--border-color) !important;
}

[data-theme="dark"] .modal-footer {
    background: var(--bg-secondary) !important;
    border-top-color: var(--border-color) !important;
}

/* Dark Mode Dropdowns */
[data-theme="dark"] .dropdown-menu {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .dropdown-item:hover {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Dark Mode Pagination */
[data-theme="dark"] .pagination .page-link {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .pagination .page-link:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

[data-theme="dark"] .pagination .page-item.active .page-link {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* Dark Mode Breadcrumbs */
[data-theme="dark"] .breadcrumb {
    background: var(--bg-card) !important;
}

[data-theme="dark"] .breadcrumb-item a {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .breadcrumb-item.active {
    color: var(--text-secondary) !important;
}

/* Dark Mode Navs */
[data-theme="dark"] .nav-link {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .nav-link.active {
    color: var(--primary-color) !important;
    background: var(--bg-secondary) !important;
}

/* Dark Mode Progress Bars */
[data-theme="dark"] .progress {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .progress-bar {
    background: var(--primary-color) !important;
}

/* Dark Mode Tooltips */
[data-theme="dark"] .tooltip .tooltip-inner {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* Dark Mode Popovers */
[data-theme="dark"] .popover {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .popover-header {
    background: var(--bg-secondary) !important;
    border-bottom-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .popover-body {
    color: var(--text-primary) !important;
}
