/* ===========================================
   DARK MODE - MODERN STYLES
   =========================================== */

body.dark-mode-active .ai-search-container {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #e5e7eb;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Input field dark mode */
body.dark-mode-active #ai-search-input {
    background: #374151;
    border-color: #4b5563;
    color: #f3f4f6;
}

body.dark-mode-active #ai-search-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
    background: #4b5563;
}

body.dark-mode-active #ai-search-input::placeholder {
    color: #9ca3af;
}

/* Κάρτες αποτελεσμάτων dark mode */
body.dark-mode-active .search-result {
    background: #374151;
    border-color: #4b5563;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode-active .search-result:hover {
    background: rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.25);
}

/* Τίτλοι dark mode */
body.dark-mode-active .result-header h3 a {
    color: #f3f4f6;
}

body.dark-mode-active .search-result:hover .result-header h3 a {
    color: #fca5a5;
}

/* Meta πληροφορίες dark mode */
body.dark-mode-active .result-meta {
    color: #d1d5db;
}

body.dark-mode-active .results-count {
    color: #9ca3af;
    border-bottom-color: #4b5563;
}

/* Highlight dark mode */
body.dark-mode-active .search-highlight {
    background-color: rgba(220, 38, 38, 0.25);
    color: #fca5a5;
}

/* Pagination dark mode */
body.dark-mode-active .search-pagination {
    border-top-color: #4b5563;
}

body.dark-mode-active .page-button {
    background: #4b5563;
    border-color: #6b7280;
    color: #e5e7eb;
}

body.dark-mode-active .page-button:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

body.dark-mode-active .page-current {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

/* AI Answer dark mode */
body.dark-mode-active #ai-answer {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border-color: #3b82f6;
}

body.dark-mode-active .ai-answer-content h3 {
    color: #93c5fd;
}

body.dark-mode-active .answer-text {
    color: #dbeafe;
}

/* Info box dark mode */
body.dark-mode-active .search-info {
    background: #1e3a8a;
    border-left-color: #3b82f6;
}

body.dark-mode-active .search-info h3 {
    color: #93c5fd;
}

body.dark-mode-active .search-info p {
    color: #dbeafe;
}

/* Dark mode toggle button */
body.dark-mode-active #dark-mode-toggle {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    border-color: #fbbf24;
}

/* Subtle pattern στο dark mode */
body.dark-mode-active .search-result:after {
    background: 
        linear-gradient(45deg, transparent 95%, rgba(252, 165, 165, 0.05) 95%),
        linear-gradient(-45deg, transparent 95%, rgba(252, 165, 165, 0.05) 95%);
}

/* Loading dark mode */
body.dark-mode-active .loading {
    color: #fca5a5;
}