/*
Theme Name: MoviePro - Professional Movie Theme
Theme URI: https://netguruindia.com
Author: NetGuru India
Author URI: https://netguruindia.com
Description: A professional, SEO-optimized movie database theme with modern design, fully automated features, and beautiful UI. Perfect for movie websites, streaming platforms, and entertainment portals.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moviepro
Tags: movies, entertainment, streaming, modern, responsive, seo-optimized

MoviePro Theme - Professional Movie Database Theme
Copyright (C) 2025 NetGuru India
*/

/* Critical CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #f7fafc;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

html {
    scroll-behavior: smooth;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100000;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   FAQs Section Styles
   ======================================== */

.faqs-section {
    margin: 40px 0;
}

.faqs-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #e94560;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #e94560;
}

.faq-q-text {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 14px;
    color: #e94560;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: #646970;
    line-height: 1.8;
    font-size: 15px;
}

.faq-answer-content p {
    margin: 0 0 10px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .faq-item {
        background: #1e1e1e;
        border-color: #333;
    }
    
    .faq-question {
        color: #e5e7eb;
    }
    
    .faq-answer-content {
        color: #9ca3af;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .faq-answer-content {
        padding: 0 20px 15px;
        font-size: 14px;
    }
}


/* ========================================
   Import Modal Styles
   ======================================== */

.import-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.import-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.import-modal-header {
    background: linear-gradient(135deg, #e94560 0%, #d63651 100%);
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
}

.import-modal-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.import-modal-header .dashicons {
    font-size: 24px;
}

.import-modal-body {
    padding: 30px;
}

.import-progress {
    margin-bottom: 20px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: #f0f0f1;
    border-radius: 6px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
    background: #e8f4fd;
    border-left: 4px solid #e94560;
}

.progress-step.complete {
    opacity: 1;
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.progress-step .dashicons {
    font-size: 24px;
    color: #646970;
}

.progress-step.active .dashicons {
    color: #e94560;
}

.progress-step.complete .dashicons {
    color: #28a745;
}

.progress-step .dashicons.spin {
    animation: spin 1s linear infinite;
}

.step-text {
    font-size: 14px;
    font-weight: 500;
    color: #1d2327;
}

.import-result {
    margin-top: 20px;
}

.import-success,
.import-error {
    text-align: center;
    padding: 20px;
}

.import-success .dashicons {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 10px;
}

.import-error .dashicons {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 10px;
}

.import-success p,
.import-error p {
    margin: 10px 0;
}

.import-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
