@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.fv-export-page {
    --fv-font: 'Inter', -apple-system, sans-serif;
    --fv-primary: #10b981;       
    --fv-accent: #059669;
    --fv-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    --fv-text-dark: #0f172a;
    --fv-text-muted: #475569;
    --fv-bg-white: #ffffff;
    --fv-bg-soft: #f8fafc;
    --fv-border: #e2e8f0;
    --fv-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --fv-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --fv-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --fv-radius-lg: 24px;
    --fv-radius-md: 16px;

    width: 100%; max-width: 950px; margin: 0 auto; padding: 20px 0;
    font-family: var(--fv-font); color: var(--fv-text-dark); line-height: 1.6;
    box-sizing: border-box; transition: all 0.3s ease;
}

.fv-export-page * { box-sizing: border-box; }

body.dark .fv-export-page {
    --fv-text-dark: #f8fafc; --fv-text-muted: #94a3b8;
    --fv-bg-white: #1e293b; --fv-bg-soft: #0f172a; --fv-border: #334155;
    --fv-shadow-md: 0 10px 25px -5px rgba(0,0,0,0.5);
    --fv-shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.6);
}

/* Breadcrumb */
.fv-export-page .fv-breadcrumb { width: 100%; max-width: 800px; margin: 0 auto 35px auto; padding: 10px 20px; background: rgba(241, 245, 249, 0.6); border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 50px; backdrop-filter: blur(8px); }
body.dark .fv-export-page .fv-breadcrumb { background: rgba(30, 41, 59, 0.6); border-color: rgba(51, 65, 85, 0.8); }
.fv-export-page .fv-bc-wrapper { display: flex; align-items: center; overflow-x: auto; gap: 10px; scrollbar-width: none; }
.fv-export-page .fv-bc-wrapper::-webkit-scrollbar { display: none; }
.fv-export-page .fv-bc-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--fv-text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.fv-export-page .fv-bc-item svg { stroke: var(--fv-primary); }
.fv-export-page .fv-bc-item:hover { color: var(--fv-primary); }
.fv-export-page .fv-bc-item.active { color: var(--fv-text-dark); font-weight: 700; background: var(--fv-bg-white); padding: 6px 14px; border-radius: 20px; box-shadow: var(--fv-shadow-sm); border: 1px solid var(--fv-border); }
body.dark .fv-export-page .fv-bc-item.active { background: #0f172a; color: #f8fafc; border-color: #334155; }
.fv-export-page .fv-bc-divider { font-size: 10px; color: #94a3b8; opacity: 0.6; }

/* Header */
.fv-export-header { text-align: center; margin-bottom: 30px; padding: 0 20px; }
.fv-export-header .fv-service-title { font-size: 34px; font-weight: 800; color: var(--fv-text-dark); margin: 0 0 15px 0; letter-spacing: -0.03em; line-height: 1.3; }
.fv-export-header .fv-title-highlight { background: var(--fv-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; display: inline-block; padding: 0 4px; }
.fv-export-header .fv-export-subtitle { font-size: 16px; color: var(--fv-text-muted); font-weight: 500; max-width: 600px; margin: 0 auto; }

/* Hero Image */
.fv-hero-image-container { margin: 0 auto 40px; max-width: 500px; border-radius: 16px; overflow: hidden; box-shadow: var(--fv-shadow-md); position: relative; }
.fv-hero-image { width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Search Widget */
.fv-export-widget { width: 100%; margin-bottom: 60px; }
.fv-search-section { position: relative; z-index: 100; width: 100%; margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; }

/* Mode Toggle */
.fv-mode-toggle { display: flex; background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: 12px; padding: 4px; margin-bottom: 20px; box-shadow: var(--fv-shadow-sm); }
body.dark .fv-mode-toggle { background: var(--fv-bg-soft); }
.fv-mode-btn { flex: 1; background: transparent; border: none; padding: 10px 25px; border-radius: 8px; font-family: var(--fv-font); font-weight: 700; font-size: 14px; color: var(--fv-text-muted); cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; }
.fv-mode-btn:hover { color: var(--fv-text-dark); }
.fv-mode-btn.active { background: var(--fv-gradient); color: #fff; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3); }

/* Kredi Durumu */
.fv-credit-status { margin-top: 15px; font-size: 13px; font-weight: 600; color: var(--fv-text-muted); background: var(--fv-bg-white); border: 1px solid var(--fv-border); padding: 8px 16px; border-radius: 20px; box-shadow: var(--fv-shadow-sm);}
body.dark .fv-credit-status { background: var(--fv-bg-soft); }
.fv-credit-status i { color: #f59e0b; margin-right: 5px; }
.fv-credit-status strong { color: var(--fv-text-dark); font-weight: 800; }
body.dark .fv-credit-status strong { color: #fff; }

.fv-search-box { position: relative; width: 100%; max-width: 700px; display: flex; align-items: center; background: var(--fv-bg-white); border: 2px solid var(--fv-border); border-radius: 20px; padding: 6px; box-shadow: var(--fv-shadow-lg); transition: border-color 0.3s ease; }
body.dark .fv-search-box { background: var(--fv-bg-soft); }
.fv-search-box:focus-within { border-color: var(--fv-primary); }

.fv-export-icon { font-size: 20px; margin-left: 15px; color: #94a3b8; transition: color 0.3s; }
.fv-search-box:focus-within .fv-export-icon { color: var(--fv-primary); }

.fv-search-box input { flex: 1; padding: 18px 15px; background: transparent; border: none; font-family: var(--fv-font); font-size: 16px; color: var(--fv-text-dark); font-weight: 600; outline: none; }
.fv-btn-track { background: var(--fv-gradient); color: #fff; border: none; border-radius: 14px; padding: 0 30px; height: 50px; font-family: var(--fv-font); font-weight: 800; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
.fv-btn-track:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.4); }

.fv-turnstile-container { margin-top: 15px; display: flex; justify-content: center; }

/* Empty State */
.fv-empty-state { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; animation: fadeIn 0.5s ease; }
.empty-state-card { background: var(--fv-bg-white); border: 1px solid var(--fv-border); padding: 25px 20px; border-radius: var(--fv-radius-md); box-shadow: var(--fv-shadow-md); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s; }
body.dark .empty-state-card { background: var(--fv-bg-soft); }
.empty-state-card:hover { transform: translateY(-5px); }
.empty-state-card .es-icon { width: 50px; height: 50px; background: rgba(16, 185, 129, 0.1); color: var(--fv-primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 15px; }
.empty-state-card h3 { margin: 0 0 10px 0; font-size: 16px; color: var(--fv-text-dark); font-weight: 700; }
.empty-state-card p { margin: 0; font-size: 13.5px; color: var(--fv-text-muted); line-height: 1.5; }

/* ⚡ YÜKLEME VE İLERLEME ÇUBUĞU (PROGRESS BAR) ⚡ */
.fv-loader-area { width: 100%; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0; }
.fv-export-progress-box { width: 100%; background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); padding: 30px; box-shadow: var(--fv-shadow-lg); text-align: center; position: relative; overflow: hidden;}
body.dark .fv-export-progress-box { background: var(--fv-bg-soft); }
.fv-export-progress-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--fv-gradient); animation: pulseBorder 2s infinite;}
@keyframes pulseBorder { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.progress-title { font-size: 18px; font-weight: 800; color: var(--fv-text-dark); margin-bottom: 20px; }
.progress-bar-container { width: 100%; height: 12px; background: #e2e8f0; border-radius: 10px; overflow: hidden; margin-bottom: 15px; position: relative; }
body.dark .progress-bar-container { background: #334155; }
.progress-bar-fill { height: 100%; width: 0%; background: var(--fv-gradient); transition: width 0.3s ease; border-radius: 10px; position: relative;}
.progress-bar-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.progress-stats { font-size: 15px; font-weight: 700; color: var(--fv-primary); margin-bottom: 15px; font-family: var(--fv-font-mono);}
.progress-warning { font-size: 13px; color: #f59e0b; font-weight: 600; margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px;}

/* ⚡ SONUÇ EKRANI & TABLO ⚡ */
.fv-export-result { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); box-shadow: var(--fv-shadow-lg); padding: 30px; animation: fadeIn 0.5s ease; width: 100%; max-width: 850px; margin: 0 auto; position: relative; overflow: hidden; }
body.dark .fv-export-result { background: var(--fv-bg-soft); }
.fv-export-result::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--fv-gradient); }

.fv-result-profile-top { display: flex; align-items: center; gap: 20px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--fv-border); }
.res-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid var(--fv-primary); padding: 2px; }
.res-user-info { flex: 1; }
.res-user-info h3 { margin: 0 0 4px 0; font-size: 20px; font-weight: 800; color: var(--fv-text-dark); display: flex; align-items: center; gap: 6px; }
.res-user-info p { margin: 0; font-size: 14px; font-weight: 600; color: var(--fv-text-muted); }

.res-total-badge { background: rgba(16, 185, 129, 0.1); color: var(--fv-primary); padding: 10px 15px; border-radius: 12px; font-weight: 800; font-size: 14px; display: flex; flex-direction: column; align-items: center; line-height: 1.2; text-transform: uppercase;}
.res-total-badge span { font-size: 22px; font-family: var(--fv-font-mono); color: var(--fv-text-dark); }
body.dark .res-total-badge span { color: #fff; }

.fv-verified-warning { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: #d97706; padding: 12px 15px; border-radius: 10px; font-size: 13px; font-weight: 500; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start;}
body.dark .fv-verified-warning { color: #fbbf24; }
.fv-verified-warning i { font-size: 16px; margin-top: 2px;}

.fv-table-container { width: 100%; max-height: 350px; overflow-y: auto; overflow-x: auto; border: 1px solid var(--fv-border); border-radius: 12px; margin-bottom: 20px; background: var(--fv-bg-soft);}
body.dark .fv-table-container { background: #0f172a; }

/* Custom Scrollbar for Table */
.fv-table-container::-webkit-scrollbar { width: 8px; height: 8px; }
.fv-table-container::-webkit-scrollbar-track { background: transparent; }
.fv-table-container::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
body.dark .fv-table-container::-webkit-scrollbar-thumb { background: #475569; }

.fv-data-table { width: 100%; border-collapse: collapse; text-align: left; }
.fv-data-table th { position: sticky; top: 0; background: var(--fv-bg-white); color: var(--fv-text-dark); font-weight: 700; font-size: 13px; padding: 12px 15px; border-bottom: 2px solid var(--fv-border); z-index: 10; white-space: nowrap;}
body.dark .fv-data-table th { background: #1e293b; }
.fv-data-table td { padding: 10px 15px; border-bottom: 1px solid var(--fv-border); font-size: 13px; color: var(--fv-text-muted); white-space: nowrap; vertical-align: middle;}
.fv-data-table tr:hover td { background: rgba(16, 185, 129, 0.05); }

.td-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--fv-border);}
.td-verified { color: #3b82f6; font-size: 14px; text-align: center;}

.fv-export-actions { display: flex; gap: 15px; justify-content: center; }
.fv-btn-download { flex: 1; border: none; border-radius: 12px; padding: 14px 20px; font-family: var(--fv-font); font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff;}
.btn-csv { background: #334155; }
.btn-csv:hover { background: #0f172a; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-excel { background: #10b981; }
.btn-excel:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3); }

/* SEO & FAQ */
.fv-dynamic-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 50px auto 60px; }
.fv-dynamic-seo .info-container, .fv-dynamic-seo .article-container { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); box-shadow: var(--fv-shadow-md); padding: 40px; }
.fv-dynamic-seo h2 { font-size: 20px; color: var(--fv-text-dark); margin-top: 0; margin-bottom: 20px; font-weight: 800; border-bottom: 2px solid var(--fv-primary); padding-bottom: 10px; display: inline-block;}
.fv-dynamic-seo p { color: var(--fv-text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 15px; }
.fv-dynamic-seo ul { padding-left: 20px; color: var(--fv-text-muted); font-size: 15px; line-height: 1.7; }
.fv-dynamic-seo li { margin-bottom: 10px; }
.fv-dynamic-seo strong { color: var(--fv-text-dark); }

.faq-container { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); box-shadow: var(--fv-shadow-md); padding: 40px; margin-bottom: 50px;}
.faq-title { text-align: center; margin-top:0; margin-bottom: 30px; color: var(--fv-text-dark); font-size: 24px; font-weight: 800;}
.faq-item { margin-bottom: 15px; border: 1px solid var(--fv-border); border-radius: 12px; overflow: hidden; }
.faq-item h3 { background: var(--fv-bg-soft); padding: 18px 20px; margin: 0; font-size: 15px; font-weight: 700; color: var(--fv-text-dark); cursor: pointer; display: flex; justify-content: space-between; }
.faq-item h3:hover { background: #f1f5f9; color: var(--fv-primary); }
body.dark .faq-item h3:hover { background: #1e293b; color: var(--fv-primary); }
.faq-item h3::after { content: '+'; font-size: 20px; font-weight: 400; color: #94a3b8; }
.faq-answer { padding: 20px; margin: 0; font-size: 14.5px; color: var(--fv-text-muted); border-top: 1px solid var(--fv-border); display: none; line-height: 1.7; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media screen and (max-width: 768px) {
    .fv-export-page { padding: 10px; }
    .fv-empty-state { grid-template-columns: 1fr; }
    .fv-dynamic-seo { grid-template-columns: 1fr; }
    
    .fv-mode-toggle { width: 100%; display: flex; }
    .fv-mode-btn { padding: 12px 10px; font-size: 13px; justify-content: center; }
    
    .fv-search-box { flex-direction: column; padding: 10px; border-radius: 16px; background: transparent; border: none; box-shadow: none; gap: 10px; }
    body.dark .fv-search-box { background: transparent; }
    .fv-search-box input { width: 100%; border-radius: 12px; background: var(--fv-bg-soft) !important; border: 2px solid var(--fv-border) !important; padding: 18px 15px; box-shadow: none !important; text-align: center; }
    .fv-btn-track { width: 100%; height: 55px; justify-content: center; }
    .fv-export-icon { display: none; }
    
    .fv-result-profile-top { flex-direction: column; text-align: center; }
    .fv-export-actions { flex-direction: column; }
    .fv-btn-download { width: 100%; }
    
    .fv-export-result, .fv-dynamic-seo .info-container, .fv-dynamic-seo .article-container, .faq-container { padding: 20px; }
}

/* ====================================================================
   ⚡ SWEETALERT2 POPUP & KAPATMA (X) BUTONU CSS AYARLARI ⚡
   ==================================================================== */
body.swal2-shown:not(.swal2-no-backdrop) .swal2-container { background-color: rgba(15, 23, 42, 0.8) !important; backdrop-filter: blur(10px); }
.fv-modal__popup.swal2-popup { border-radius: 24px !important; padding: 40px 30px 30px !important; font-family: 'Inter', sans-serif !important; }
.fv-modal__title { font-size: 22px !important; font-weight: 800 !important; color: var(--fv-text-dark) !important; margin-bottom: 15px !important; }
.fv-btn-confirm { background: var(--fv-gradient) !important; color: white !important; padding: 14px 30px !important; border-radius: 12px !important; font-weight: 700 !important; width: 100%; margin-top: 15px; border: none !important;}

/* Kapatma (X) Butonu için Özel Tasarım */
.fv-btn-close-icon {
    color: var(--fv-text-muted) !important;
    font-size: 28px !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    background: transparent !important;
    border: none !important;
}
.fv-btn-close-icon:hover {
    color: #ef4444 !important; /* Kırmızı renk vurgusu */
    transform: scale(1.1) !important; /* Hafif büyüme efekti */
}
.fv-btn-close-icon:focus {
    outline: none !important;
    box-shadow: none !important; /* Çirkin mavi outline'ı kaldırır */
}
body.dark .fv-btn-close-icon {
    color: #94a3b8 !important;
}
body.dark .fv-btn-close-icon:hover {
    color: #ef4444 !important;
}