@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.fv-caption-page {
    --fv-font: 'Inter', -apple-system, sans-serif;
    --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --fv-primary: #dc2743;       
    --fv-text-dark: #0f172a;
    --fv-text-muted: #475569;
    --fv-bg-white: #ffffff;
    --fv-bg-soft: #f8fafc;
    --fv-border: #e2e8f0;
    --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;

    /* Dış çerçeveler kaldırıldı, esneklik sağlandı */
    width: 100%; max-width: 900px; margin: 0 auto; padding: 15px 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-caption-page * { box-sizing: border-box; }

body.dark .fv-caption-page {
    --fv-text-dark: #f8fafc; --fv-text-muted: #94a3b8;
    --fv-bg-white: #1e293b; --fv-bg-soft: #0f172a; --fv-border: #334155;
}

.scraper-wrapper { width: 100%; margin: 0 auto; }

/* Breadcrumb */
.fv-caption-page .fv-breadcrumb { width: 100%; margin: 0 auto 30px auto; padding: 10px 15px; 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-caption-page .fv-breadcrumb { background: rgba(30, 41, 59, 0.6); border-color: rgba(51, 65, 85, 0.8); }
.fv-caption-page .fv-bc-wrapper { display: flex; align-items: center; overflow-x: auto; gap: 10px; scrollbar-width: none; }
.fv-caption-page .fv-bc-wrapper::-webkit-scrollbar { display: none; }
.fv-caption-page .fv-bc-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--fv-text-muted); text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color 0.2s ease; font-family: 'Inter', sans-serif;}
.fv-caption-page .fv-bc-item svg { stroke: var(--fv-primary); }
.fv-caption-page .fv-bc-item:hover { color: var(--fv-primary); }
.fv-caption-page .fv-bc-item.active { color: var(--fv-text-dark); font-weight: 700; background: var(--fv-bg-white); padding: 5px 12px; border-radius: 20px; box-shadow: var(--fv-shadow-md); border: 1px solid var(--fv-border); }
body.dark .fv-caption-page .fv-bc-item.active { background: #0f172a; color: #f8fafc; border-color: #334155; }
.fv-caption-page .fv-bc-divider { font-size: 10px; color: #94a3b8; opacity: 0.6; }

/* Scraper Card (Dış Çerçeve ve Gölge İptal, Gömülü (Seamless) Tasarım) */
.scraper-card { background: transparent; border: none; border-radius: 0; padding: 0; box-shadow: none; text-align: center; }
.scraper-header { margin-bottom: 30px; }
.scraper-title { font-size: 32px; font-weight: 800; color: var(--fv-text-dark); margin: 0 0 12px 0; line-height: 1.3;}
.fv-title-highlight { background: var(--ig-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.scraper-subtitle { font-size: 15.5px; color: var(--fv-text-muted); line-height: 1.5; max-width: 700px; margin: 0 auto; }

.fv-hero-image-container { margin: 0 auto 30px; 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; }

.fv-alert { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 12px; padding: 15px; margin-bottom: 25px; color: #3b82f6; font-size: 14px; text-align: left; }
.fv-turnstile-container { margin: 15px 0; display: flex; justify-content: center; }

/* Input Group */
.input-group { position: relative; width: 100%; margin-bottom: 15px; }
.input-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--fv-primary); font-size: 20px; }
.input-group input { width: 100%; padding: 20px 20px 20px 55px; border-radius: 16px; border: 2px solid var(--fv-border); background: var(--fv-bg-soft); font-size: 16px; font-family: var(--fv-font); color: var(--fv-text-dark); outline: none; transition: 0.3s; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);}
.input-group input:focus { border-color: var(--fv-primary); background: var(--fv-bg-white);}

.fv-premium-btn { width: 100%; padding: 18px; border: none; border-radius: 16px; font-size: 16px; font-weight: 800; font-family: var(--fv-font); cursor: pointer; display: flex; justify-content: center; align-items: center; color: #fff; transition: transform 0.2s, box-shadow 0.2s; }
.btn-pink { background: var(--ig-gradient); }
.fv-premium-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -5px rgba(220, 39, 67, 0.3);}
.fv-premium-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow:none;}

/* Loader */
.fv-loader-area { display: flex; flex-direction: column; align-items: center; padding: 20px; }
.fv-spinner { width: 45px; height: 45px; border: 4px solid var(--fv-border); border-top-color: var(--fv-primary); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 15px; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Results */
.result-box { background: var(--fv-bg-soft); border: 1px solid var(--fv-border); border-radius: 16px; overflow: hidden; animation: fadeIn 0.5s ease; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);}
.result-header { background: var(--fv-bg-white); padding: 15px 20px; border-bottom: 1px solid var(--fv-border); display: flex; justify-content: space-between; align-items: center; }
body.dark .result-header { background: rgba(30, 41, 59, 0.6); border-bottom-color: var(--fv-border); }
.result-content { padding: 20px; font-size: 15px; color: var(--fv-text-dark); line-height: 1.6; white-space: pre-wrap; word-break: break-word;}
.hashtag-grid { padding: 20px; display: flex; flex-wrap: wrap; gap: 8px;}
.hashtag-item { background: var(--fv-bg-white); border: 1px solid var(--fv-border); color: var(--fv-primary); padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600;}
body.dark .hashtag-item { background: rgba(30, 41, 59, 0.6); }

.fv-btn-copy-small { background: var(--fv-bg-white); border: 1px solid var(--fv-border); color: var(--fv-text-dark); padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.2s;}
.fv-btn-copy-small:hover { background: var(--fv-primary); color: white; border-color: var(--fv-primary);}
body.dark .fv-btn-copy-small { background: rgba(30, 41, 59, 0.6); color: #f8fafc;}
body.dark .fv-btn-copy-small:hover { background: var(--fv-primary); border-color: var(--fv-primary);}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* SEO Section (Dış Çerçeve İptal) */
.fv-dynamic-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; font-family: var(--fv-font);}
.fv-dynamic-seo .info-container, .fv-dynamic-seo .article-container { background: transparent; border: none; padding: 15px 0; }
.fv-dynamic-seo h2 { font-size: 22px; 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, .fv-dynamic-seo ul { color: var(--fv-text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 15px; }
.fv-dynamic-seo li { margin-bottom: 10px; }

/* Mobil Uyum (Responsive) */
@media (max-width: 768px) {
    .fv-caption-page { padding: 10px; }
    .scraper-title { font-size: 26px; }
    .scraper-subtitle { font-size: 14.5px; }
    .input-group input { padding: 18px 15px 18px 50px; font-size: 15px;}
    .fv-premium-btn { padding: 16px; font-size: 15px;}
    
    .fv-dynamic-seo { grid-template-columns: 1fr; gap: 30px; margin-top: 30px;}
    .result-header { flex-direction: column; gap: 15px; align-items: flex-start; }
    .fv-btn-copy-small { width: 100%; text-align: center; padding: 12px;}
}

/* Swal2 Popup CSS */
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: 30px !important; font-family: var(--fv-font) !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(--ig-gradient) !important; color: white !important; padding: 14px 30px !important; border-radius: 12px !important; font-weight: 700 !important; width: 100%; margin-top: 15px;}