/*
Dark Theme for Team3 ThePictures Theme
Bảng màu tối: Dark & Neon Theme
*/

/* CSS Variables cho bảng màu tối */
:root {
    --primary-color: #00d4ff;          /* Cyan 400 */
    --primary-light: #22d3ee;          /* Cyan 300 */
    --primary-dark: #0891b2;           /* Cyan 600 */
    --secondary-color: #8b5cf6;        /* Purple 500 */
    --secondary-light: #a78bfa;        /* Purple 400 */
    --secondary-dark: #7c3aed;         /* Purple 600 */
    --accent-color: #f59e0b;           /* Amber 500 */
    --accent-light: #fbbf24;           /* Amber 400 */
    --accent-dark: #d97706;            /* Amber 600 */
    
    /* Text Colors - Dark Theme */
    --text-primary: #f8fafc;           /* Slate 50 */
    --text-secondary: #cbd5e1;         /* Slate 300 */
    --text-muted: #94a3b8;             /* Slate 400 */
    --text-dark: #475569;              /* Slate 600 */
    
    /* Background Colors - Dark Theme */
    --bg-primary: #0f172a;             /* Slate 900 */
    --bg-secondary: #1e293b;           /* Slate 800 */
    --bg-tertiary: #334155;            /* Slate 700 */
    --bg-accent: #1e293b;              /* Slate 800 */
    --bg-card: #1e293b;                /* Slate 800 */
    --bg-overlay: #0f172a;             /* Slate 900 */
    
    /* Border Colors - Dark Theme */
    --border-color: #475569;           /* Slate 600 */
    --border-light: #64748b;           /* Slate 500 */
    --border-dark: #334155;            /* Slate 700 */
    --border-accent: #00d4ff;          /* Cyan 400 */
    
    /* Status Colors */
    --success-color: #10b981;          /* Emerald 500 */
    --warning-color: #f59e0b;          /* Amber 500 */
    --error-color: #ef4444;            /* Red 500 */
    --info-color: #3b82f6;             /* Blue 500 */
}

/* Override Tailwind Colors for Dark Theme */
.bg-gray-50 { background-color: var(--bg-primary) !important; }
.bg-gray-100 { background-color: var(--bg-secondary) !important; }
.bg-gray-200 { background-color: var(--bg-tertiary) !important; }
.bg-gray-300 { background-color: var(--border-color) !important; }
.bg-gray-400 { background-color: var(--border-light) !important; }
.bg-gray-500 { background-color: var(--text-muted) !important; }
.bg-gray-600 { background-color: var(--text-dark) !important; }
.bg-gray-700 { background-color: var(--text-secondary) !important; }
.bg-gray-800 { background-color: var(--text-primary) !important; }
.bg-gray-900 { background-color: var(--text-primary) !important; }

.bg-white { background-color: var(--bg-card) !important; }
.bg-black { background-color: var(--bg-primary) !important; }

.text-gray-50 { color: var(--text-primary) !important; }
.text-gray-100 { color: var(--text-primary) !important; }
.text-gray-200 { color: var(--text-primary) !important; }
.text-gray-300 { color: var(--text-secondary) !important; }
.text-gray-400 { color: var(--text-muted) !important; }
.text-gray-500 { color: var(--text-muted) !important; }
.text-gray-600 { color: var(--text-dark) !important; }
.text-gray-700 { color: var(--text-secondary) !important; }
.text-gray-800 { color: var(--text-primary) !important; }
.text-gray-900 { color: var(--text-primary) !important; }

.text-white { color: var(--text-primary) !important; }
.text-black { color: var(--bg-primary) !important; }

.border-gray-50 { border-color: var(--border-color) !important; }
.border-gray-100 { border-color: var(--border-color) !important; }
.border-gray-200 { border-color: var(--border-color) !important; }
.border-gray-300 { border-color: var(--border-color) !important; }
.border-gray-400 { border-color: var(--border-light) !important; }
.border-gray-500 { border-color: var(--border-light) !important; }
.border-gray-600 { border-color: var(--border-color) !important; }
.border-gray-700 { border-color: var(--border-dark) !important; }
.border-gray-800 { border-color: var(--border-dark) !important; }
.border-gray-900 { border-color: var(--border-dark) !important; }

.border-white { border-color: var(--border-color) !important; }
.border-black { border-color: var(--border-accent) !important; }

/* Override Primary Colors */
.bg-primary { background-color: var(--primary-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

/* Body and Base Styles */
body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Header Styles */
header {
    background-color: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1) !important;
}

/* Navigation Styles */
nav a {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease !important;
}

nav a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

/* Search Input Styles */
input[type="text"], 
input[type="search"] {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

input[type="text"]:focus, 
input[type="search"]:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1) !important;
}

input[type="text"]::placeholder, 
input[type="search"]::placeholder {
    color: var(--text-muted) !important;
}

/* Card and Article Styles */
.bg-white {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.08) !important;
}

/* Article Content Styles */
.thepictures-article {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.12) !important;
}

.thepictures-entry-title {
    color: var(--text-primary) !important;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3) !important;
}

.thepictures-entry-meta {
    color: var(--text-secondary) !important;
}

.thepictures-entry-meta i {
    color: var(--primary-color) !important;
}

.thepictures-entry-content {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

.thepictures-entry-content h2,
.thepictures-entry-content h3,
.thepictures-entry-content h4 {
    color: var(--primary-color) !important;
    border-left: 4px solid var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3) !important;
}

.thepictures-entry-content p {
    color: var(--text-primary) !important;
}

.thepictures-entry-content a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    border-bottom: 2px solid var(--primary-light) !important;
    transition: all 0.3s ease !important;
}

.thepictures-entry-content a:hover {
    color: var(--primary-light) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
    border-bottom-color: var(--primary-color) !important;
}

.thepictures-entry-content blockquote {
    background-color: var(--bg-tertiary) !important;
    border-left: 4px solid var(--secondary-color) !important;
    color: var(--text-primary) !important;
}

.thepictures-entry-content code {
    background-color: var(--bg-tertiary) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--border-color) !important;
}

.thepictures-entry-content pre {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

/* Category and Tag Styles */
.thepictures-category-label {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: var(--bg-primary) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3) !important;
}

.thepictures-tag {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
}

.thepictures-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: var(--bg-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4) !important;
}

/* Share Button Styles */
.thepictures-share-btn {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
}

.thepictures-share-btn:hover {
    background-color: var(--primary-color) !important;
    color: var(--bg-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4) !important;
}

/* Author Bio Styles */
.thepictures-author-bio {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

.thepictures-author-bio h4 {
    color: var(--text-primary) !important;
}

.thepictures-author-bio p {
    color: var(--text-secondary) !important;
}

.thepictures-author-bio a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.thepictures-author-bio a:hover {
    color: var(--primary-light) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

/* Navigation Styles */
.thepictures-post-navigation a {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    transition: all 0.3s ease !important;
}

.thepictures-post-navigation a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: var(--bg-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3) !important;
}

.thepictures-post-navigation i {
    color: var(--primary-color) !important;
}

.thepictures-post-navigation a:hover i {
    color: var(--bg-primary) !important;
}

/* Related Posts Styles */
.thepictures-related {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
}

.thepictures-related:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15) !important;
}

.thepictures-related h4 a {
    color: var(--text-primary) !important;
    transition: color 0.3s ease !important;
}

.thepictures-related h4 a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: var(--bg-primary) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4) !important;
}

.btn-secondary {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

.btn-secondary:hover {
    background-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

/* Image Button Styles */
.image-buttons button {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
}

.image-buttons button:hover {
    background-color: var(--primary-color) !important;
    color: var(--bg-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4) !important;
}

/* Sidebar Styles */
.widget {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.widget-title {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color) !important;
}

.widget a {
    color: var(--text-secondary) !important;
    transition: color 0.3s ease !important;
}

.widget a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

/* Footer Styles */
footer {
    background-color: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
}

footer a {
    color: var(--text-secondary) !important;
    transition: color 0.3s ease !important;
}

footer a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

/* Mobile Menu Styles */
#mobile-menu {
    background-color: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color) !important;
}

#mobile-menu a {
    color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

#mobile-menu a:hover {
    color: var(--primary-color) !important;
    background-color: var(--bg-tertiary) !important;
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    }
}

.thepictures-article {
    animation: fadeInUp 0.6s ease-out;
}

.thepictures-article:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection Styles */
::selection {
    background-color: var(--primary-color);
    color: var(--bg-primary);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--bg-primary);
}

/* Focus States */
:focus {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thepictures-entry-title {
        font-size: 1.75rem !important;
    }
    
    .thepictures-entry-content {
        padding: 1rem !important;
    }
    
    .thepictures-post-navigation {
        flex-direction: column !important;
    }
}

/* Dark mode specific utilities */
.dark-bg {
    background-color: var(--bg-primary) !important;
}

.dark-card {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
}

.dark-text {
    color: var(--text-primary) !important;
}

.dark-text-secondary {
    color: var(--text-secondary) !important;
}

.neon-glow {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

.neon-border {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3) !important;
} 