/**
 * =====================================================================
 * 📁 Dosya: /assets/css/comp-compress-jpg.css
 * ---------------------------------------------------------------------
 * 📌 AMAÇ:
 *   - /compress/comp-compress-jpg.php sayfasının tüm UI düzeni
 *   - Upload (drag & drop), galeri, kartlar, sağ panel, CTA
 *   - Light/Dark mode
 *   - Responsive (mobil/tablet)
 *
 * 🔗 BAĞLANTILI DOSYALAR:
 *   - /compress/comp-compress-jpg.php
 *   - /assets/js/comp-compress-jpg.js
 * =====================================================================
 */

/* ============================================================
   🌗 GLOBAL THEME VARIABLES
============================================================ */
:root {
	--bg: #ffffff;
	--text: #111827;
	--muted: #6b7280;
	--card: #ffffff;
	--border: #d1d5db;
	--primary: #3577ff;
	--primary-hover: #255bd4;
	--soft: #f7f9ff;
	--soft-2: #eef3ff;
	--shadow: 0 6px 22px rgba(0,0,0,0.08);
}

body.dark {
	--bg: #0b1220;
	--text: #e2e8f0;
	--muted: #94a3b8;
	--card: #0f172a;
	--border: #1e293b;
	--soft: #1e293b;
	--soft-2: rgba(53,119,255,0.16);
	--shadow: 0 10px 32px rgba(0,0,0,0.70);
}

/* ============================================================
   ✅ HELPERS
============================================================ */
.hidden { display: none; }

/* ============================================================
   🧱 PAGE LAYOUT
   - merged-layout
   - left-column-main
   - right-column-main
============================================================ */
.merged-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 30px;
	max-width: 1300px;
	margin: 10px auto;
	padding: 0 12px;
}
.left-column-main > * { margin-bottom: 30px; }
.right-column-main > * { margin-bottom: 30px; }

/* ============================================================
   🏷️ TITLE AREA
   - title-and-format
   - gallery-title
   - page-subtitle
============================================================ */
.title-and-format {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.gallery-title {
	font-size: 26px;
	font-weight: 700;
	color: var(--text);
	margin: 0;
}
.page-subtitle {
	font-size: 15px;
	color: var(--muted);
	margin: 0;
}

/* ============================================================
   📦 UPLOAD BOX
   - upload-box
   - select-btn
   - drag-info
   - drag-info-en
   - privacy-info
============================================================ */
.upload-box {
	padding: 45px 30px;
	background: var(--soft);
	border-radius: 16px;
	text-align: center;
	border: 2px dashed #8ea2ff;
	position: relative;
}
.upload-box::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 2px solid rgba(142,162,255,0.35);
	border-radius: 12px;
	pointer-events: none;
}
.upload-box.drag-over {
	background: #e6eeff;
	border-color: #4b6fff;
}
body.dark .upload-box.drag-over {
	background: #243147;
	border-color: #5a7dff;
}
.select-btn {
	display: inline-block;
	padding: 14px 26px;
	background: #4b6fff;
	color: #fff;
	font-weight: 700;
	border-radius: 10px;
	cursor: pointer;
	transition: 0.25s;
	margin-bottom: 10px;
}
.select-btn:hover { background: #3a55d6; }
.drag-info {
	color: var(--muted);
	font-size: 16px;
	margin-top: 10px;
}
.drag-info-en {
	margin-top: 12px;
	font-size: 14px;
	color: #4b6fff;
	background: rgba(75,111,255,0.10);
	display: inline-block;
	padding: 6px 12px;
	border-radius: 8px;
}
body.dark .drag-info-en {
	background: rgba(75,111,255,0.15);
	color: #8db2ff;
}
.privacy-info {
	margin-top: 8px;
	font-size: 14px;
	color: var(--muted);
}

/* ============================================================
   🧾 CTA CARD
   - cta-wrapper
   - process-card
   - process-btn
============================================================ */
.cta-wrapper {
    margin-top: 20px;
}
.process-card {
	background: var(--card);
	border-radius: 14px;
	padding: 25px 30px;
	box-shadow: var(--shadow);
	border: 1px solid rgba(0,0,0,0.04);
}
body.dark .process-card {
	border: 1px solid var(--border);
}
.process-card h2 {
	font-size: 20px;
	margin: 0 0 10px 0;
	color: var(--text);
}
.process-card p {
	font-size: 14px;
	color: var(--muted);
	margin: 0 0 14px 0;
}
.process-card ul { margin: 0 0 16px 0; padding-left: 18px; }
.process-card ul li { margin-bottom: 6px; color: var(--text); opacity: 0.9; }
.process-btn { width: 220px; }

/* ============================================================
   🟩 RIGHT PANEL
   - options-section
   - options-box
   - info-list
   - ad-box
============================================================ */
.options-section {
    margin-bottom: 15px;
}
.options-box {
	background: var(--card);
	padding: 20px;
	border-radius: 14px;
	box-shadow: var(--shadow);
	border: 1px solid rgba(0,0,0,0.04);
}
body.dark .options-box {
	border: 1px solid var(--border);
}
.options-box h3 { margin: 0 0 8px 0; color: var(--text); }
.options-box p  { margin: 0 0 12px 0; color: var(--muted); }

/* ===============================
   SAĞ PANEL – YATAY OPTIONS BOX
================================ */
.options-box-yatay {
	background: var(--card);
	padding: 20px;
	border-radius: 14px;
	box-shadow: var(--shadow);
	border: 1px solid rgba(0,0,0,0.04);
	display: flex;
	gap: 16px;
	align-items: stretch;
	flex-wrap: wrap; /* dar ekranda alta geçsin */
}
/* DARK MODE */
body.dark .options-box-yatay {
	border: 1px solid var(--border);
}
/* İçindeki card’lar */
.options-box-yatay > .side-card {
	flex: 1 1 220px; /* yanyana + responsive */
	min-width: 220px;
}
/* Başlık ve metin */
.options-box-yatay h3 {
	margin: 0 0 8px 0;
	color: var(--text);
}
.options-box-yatay p {
	margin: 0 0 12px 0;
	color: var(--muted);
}



.info-list {
	margin: 0 0 14px 0;
	padding-left: 18px;
	color: var(--text);
	opacity: 0.92;
}
.ad-box {
	height: 250px;
	background: #f8d7b9;
	border-radius: 12px;
	margin: 16px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #a6652e;
	font-size: 18px;
}
body.dark .ad-box {
	background: #1e293b;
	color: #d1d9e6;
	border: 1px solid #334155;
}

/* ============================================================
   📥 DOWNLOAD ALL BUTTON
   - download-all-btn
============================================================ */
.download-all-btn {
	width: 100%;
	padding: 12px;
	background: #0cbb6e;
	border-radius: 10px;
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	transition: 0.25s;
	border: none;
}
.download-all-btn:hover { background: #099d5c; }

/* ============================================================
   🖼️ GALLERY
   - gallery-wrapper
   - gallery-grid
============================================================ */
/* gallery-wrapper için */
.gallery-wrapper {
    margin-top: 30px;
}
.gallery-grid {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ============================================================
   🧩 IMAGE CARD (Başarılı / Hata kartları bu sayfada)
   - img-card
   - preview
   - format-info
   - size-info
   - format-note
   - opt-badge
   - download-btn
============================================================ */
.img-card {
	background: var(--card);
	border-radius: 16px;
	padding: 16px;
	box-shadow: var(--shadow);
	text-align: center;
	transition: transform .18s ease, box-shadow .18s ease;
	border: 1px solid rgba(0,0,0,0.04);
	position: relative;
}
body.dark .img-card { border: 1px solid var(--border); }
.img-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.img-card .preview {
	width: 100%;
	border-radius: 12px;
	height: 160px;
	object-fit: cover;
	margin-bottom: 14px;
}

/* ============================================================
   🔁 BEFORE / AFTER ÖNİZLEME TOGGLE
   - preview-wrap
   - compare-toggle-btn
============================================================ */
.preview-wrap {
	position: relative;
	margin-bottom: 14px;
}
.preview-wrap .preview {
	margin-bottom: 8px;
}
.compare-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	padding: 6px 0;
	border: 1px solid var(--border);
	background: var(--soft);
	color: var(--text);
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease, transform .15s ease;
}
.compare-toggle-btn:hover {
	background: var(--soft-2);
	transform: translateY(-1px);
}
body.dark .compare-toggle-btn {
	background: var(--soft);
	border-color: var(--border);
	color: var(--text);
}

/* ============================================================
   📊 KALİTE SKORU (TAHMİNİ — GERÇEK SSIM DEĞİL)
   - quality-score-block / header / title
   - quality-score-bar / fill
   - quality-score-footer / value / desc
   - quality-estimated-note
   - quality-warn-banner
============================================================ */
.quality-score-block {
	margin-top: 10px;
	margin-bottom: 6px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--soft);
	border: 1px solid var(--border);
	text-align: left;
}
.quality-score-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.quality-score-title {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--text);
	opacity: 0.9;
}
.quality-score-bar {
	width: 100%;
	height: 8px;
	border-radius: 6px;
	background: rgba(120,120,120,0.18);
	overflow: hidden;
}
.quality-score-fill {
	height: 100%;
	border-radius: 6px;
	transition: width .3s ease;
}
.quality-score-fill.q-excellent { background: linear-gradient(135deg, #22c55e, #16a34a); }
.quality-score-fill.q-good      { background: linear-gradient(135deg, #4b6fff, #3577ff); }
.quality-score-fill.q-fair      { background: linear-gradient(135deg, #f59e0b, #d97706); }
.quality-score-fill.q-low       { background: linear-gradient(135deg, #ef4444, #dc2626); }

.quality-score-footer {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
}
.quality-score-value {
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}
.quality-score-value.q-excellent { color: #16a34a; }
.quality-score-value.q-good      { color: #3577ff; }
.quality-score-value.q-fair      { color: #d97706; }
.quality-score-value.q-low       { color: #dc2626; }

.quality-score-desc {
	font-size: 12px;
	color: var(--muted);
	text-align: right;
}
.quality-estimated-note {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	color: var(--muted);
	opacity: 0.85;
	line-height: 1.35;
}
.quality-warn-banner {
	margin-top: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: rgba(239,68,68,0.12);
	border: 1px solid rgba(239,68,68,0.35);
	color: #b91c1c;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
}

/* 🌙 DARK MODE */
body.dark .quality-score-block {
	background: var(--soft);
	border-color: var(--border);
}
body.dark .quality-score-bar {
	background: rgba(255,255,255,0.12);
}
body.dark .quality-warn-banner {
	background: rgba(239,68,68,0.15);
	border-color: rgba(239,68,68,0.45);
	color: #fca5a5;
}

/* 📱 MOBİL */
@media (max-width: 520px) {
	.quality-score-block {
		padding: 10px 12px;
	}
	.quality-score-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
	.quality-score-desc {
		text-align: left;
	}
}
.format-info {
	font-size: 15px;
	font-weight: 700;
	color: var(--primary);
	background: var(--soft-2);
	padding: 6px 12px;
	border-radius: 8px;
	display: inline-block;
	margin-bottom: 10px;
}
.size-info {
	font-size: 14px;
	color: var(--text);
	opacity: 0.75;
	margin: 6px 0 12px;
}
/* .format-note { */
	/* margin-top: 8px; */
	/* font-size: 12px; */
	/* color: var(--muted); */
	/* text-align: center; */
	/* line-height: 1.4; */
/* } */

.download-btn,
.download-btn:hover,
.download-btn:focus,
.download-btn:active {
	text-decoration: none !important;
	border: none !important;
	outline: none !important;
}
.download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 12px 0;
	background: var(--primary);
	color: #fff;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	transition: background .25s ease, transform .15s ease;
}
.download-btn:hover {
	background: var(--primary-hover);
	transform: scale(1.03);
}
/* Badge */
.opt-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: linear-gradient(135deg, #1DD1A1, #22C55E);
	color: #ffffff;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 3px 10px rgba(0,0,0,0.25);
	pointer-events: none;
	z-index: 5;
}
/* Badge renk sınıfları (JS kullanıyor) */
.opt-green   { background: rgba(0, 200, 0, 0.15); color: #00c800; }
.opt-neutral { background: rgba(255,255,255,0.15); color: #dddddd; }
/* Hata önizleme */
.error-preview {
    padding: 20px;
    background: #fee;
    border-radius: 12px;
    color: #c00;
    font-size: 14px;
}
body.dark .error-preview {
    background: #3a2323;
    color: #ff6b6b;
}

/* ============================================================
   📱 RESPONSIVE
============================================================ */
@media (max-width: 900px) {
	.merged-layout { grid-template-columns: 1fr; }
	.right-column-main { order: 2; }
	.left-column-main  { order: 1; }
	.upload-box { padding: 34px 18px; }
	.gallery-title { font-size: 22px; }
}
@media (max-width: 520px) {
	.process-btn { width: 100%; }
	.drag-info-en { display: block; width: fit-content; margin: 10px auto 0; }
}

/* ============================================================
   🌙 DARK MODE
============================================================ */
body.dark .settings-title {
	color: #e5edff;
}
body.dark .settings-desc {
	color: #b6c4d9;
}

/* ============================================================
   🧩 IMAGE CARD - NO PREVIEW
============================================================ */
.no-preview-box {
	width: 100%;
	height: 160px;
	border: 2px dashed #ff4d4f;
	border-radius: 14px;
	background: #ffeaea;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.no-preview-text {
	color: #ff0000;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.5px;
}
/* 🌙 DARK MODE */
body.dark .no-preview-box {
	background: #2a1414;
	border-color: #ff6b6b;
}
body.dark .no-preview-text {
	color: #ff6b6b;
}
/* 📱 MOBİL */
@media (max-width: 600px) {
	.no-preview-box {
		height: 130px;
	}
	.no-preview-text {
		font-size: 14px;
	}
}





/* ============================================================
   🖼️ JPG QUALITY CONTROL (FREE / PRO)
============================================================ */
.quality-control-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px;
	box-shadow: var(--shadow);
}
.quality-control-card h4 {
	margin: 0 0 10px 0;
	font-size: 16px;
	color: var(--text);
}
.quality-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.quality-row input[type="range"] {
	flex: 1;
}
.quality-value {
	font-weight: 700;
	color: var(--text);
	min-width: 44px;
	text-align: right;
}
.quality-lock-note {
	padding: 12px 16px;
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
}

/* ============================================================
   🧠 FORMAT SELECT (FREE)
============================================================ */
.format-select-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px;
	box-shadow: var(--shadow);
}
.format-select-card h4 {
	margin: 0 0 10px 0;
	font-size: 16px;
	color: var(--text);
}
/* .fmt-btn { */
	/* flex: 1; */
	/* padding: 10px 0; */
	/* border-radius: 10px; */
	/* border: 1px solid var(--border); */
	/* background: var(--soft); */
	/* color: var(--text); */
	/* font-weight: 700; */
	/* cursor: pointer; */
	/* transition: 0.2s; */
/* } */
/* .fmt-btn.active { */
	/* background: var(--primary); */
	/* color: #fff; */
	/* border-color: var(--primary); */
/* } */
/* .fmt-btn[disabled] { */
	/* padding: 10px 10px; */
    /* cursor: not-allowed; */
    /* opacity: 0.85; */
    /* background: var(--primary); */
    /* color: #fff; */
    /* border-color: var(--primary); */
	/* text-align: center; */
	/* align-items: center; */
/* } */
/* .fmt-btn:hover { */
	/* transform: translateY(-1px); */
/* } */
/* .format-note { */
	/* font-size: 13px; */
	/* color: var(--muted); */
/* } */

/* =========================================================================
   🎨 LIGHT MODE — KİLİTLİ PRO PANEL
   ========================================================================= */
.pro-options-locked {
    background: #ffffff;
    padding: 25px 30px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    margin-top: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
/* Üst başlık + buton hizalama */
.pro-header-and-button {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch; 
    margin-bottom: 25px;
    gap: 20px;
}
/* Başlık metni alanı */
.header-text-container {
    flex-grow: 1;
}
.pro-options-title {
    font-size: 22px;
    margin-bottom: 5px;
    color: #0C1B33;
}
.pro-options-desc {
    opacity: 0.9;
    margin-bottom: 20px;
    color: #4d5875;
}
/* PRO Butonu — Full Height */
.pro-btn-header {
    height: 100%;
    padding: 15px 26px;
    background: #3577ff;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.pro-btn-header:hover {
    background: #1d5ce8;
}
/* Grup Başlığı */
.pro-group-title {
    margin-top: 25px;
    margin-bottom: 5px;
    font-size: 19px;
    font-weight: 600;
}
.pro-group-desc {
    margin-bottom: 10px;
    opacity: 0.85;
    font-size: 14px;
    color: #4d5875;
}
/* === 2 SÜTUN GRID (masaüstü) === */
.pro-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
/* Ayar Kartı */
.pro-setting-card {
    background: #f7f9fc;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid #eaedf2;
    transition: background .2s;
}
.pro-setting-card:hover {
    background: #dce4ed;
}
.pro-setting-card.locked {
    opacity: 0.55;
}
/* Sol taraf (kilit + label) */
.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.left-side {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lock {
    font-size: 18px;
    opacity: .7;
    color: #6b7280;
}
.pro-feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* LİST NO İCON */
.no-list-icon {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* =========================================================================
   🛈 TOOLTIP SİSTEMİ — Light & Dark Uyumlu
   ========================================================================= */
.info-icon {
    font-size: 15px;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.info-icon:hover {
    color: #3577ff;
}
.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%) translateY(-100%);
    background: #1f2937;
    color: #fff;
    padding: 8px 12px;
    font-size: 12.5px;
    border-radius: 6px;
    white-space: normal;
    max-width: 240px;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transition: 0.15s ease;
    z-index: 50;
}
.info-icon:hover::after {
    opacity: 1;
}
/* Tooltip ok işareti */
.info-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -6px;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #1f2937 transparent;
    opacity: 0;
    transition: 0.15s ease;
}
.info-icon:hover::before {
    opacity: 1;
}
/* -------------------------------------------------------------------------
   🌙 DARK MODE
--------------------------------------------------------------------------- */
body.dark .pro-options-locked {
    background: #121826;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
body.dark .pro-setting-card {
    background: #1a2031;
    border-color: rgba(255,255,255,0.08);
}
body.dark .pro-setting-card:hover {
    background: #252c3d;
}
body.dark .pro-options-title {
    color: #ffffff;
}
body.dark .pro-options-desc,
body.dark .pro-group-desc,
body.dark .left-side span {
    color: #c7c7c7;
}
body.dark .info-icon {
    color: #aab4c4;
}
body.dark .info-icon:hover {
    color: #4b89ff;
}
/* Dark Tooltip */
body.dark .info-icon::after {
    background: #e5e7eb;
    color: #111827;
}
body.dark .info-icon::before {
    border-color: transparent transparent #e5e7eb transparent;
}
/* -------------------------------------------------------------------------
   📱 MOBİL — 1 sütun görünüm
--------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .pro-header-and-button {
        grid-template-columns: 1fr;
    }
    .pro-btn-header {
        width: 100%;
        height: auto;
    }
    .pro-settings-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* -------------------------------------------------------------------------
   CARD İÇİ PRO UYARISI
--------------------------------------------------------------------------- */
.compression-note {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}
.pro-upgrade-btn {
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #000;
}
.pro-upgrade-btn:hover {
    transform: scale(1.04);
}
.pro-note {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.85;
}
/* 🌙 DARK MODE */
body.dark .compression-note {
    color: var(--muted);
}
body.dark .pro-upgrade-btn {
    background: linear-gradient(135deg, #fde047, #facc15);
    color: #000;
}
/* 📱 MOBİL — görünüm  */
@media (max-width: 520px) {
    .pro-upgrade-btn {
        width: 100%;
        padding: 12px 0;
        font-size: 15px;
    }
    .compression-note {
        font-size: 12.5px;
    }
}

/* ============================================================
   UYUGUNSUZ FORMAT İÇİN CARD İÇİ PRO UYARISI
============================================================ */
/* 🔒 PRO KİLİTLİ KART */
.img-card.pro-locked {
	opacity: 0.92;
	border: 1px dashed rgba(255, 183, 3, 0.55);
	background: rgba(255, 183, 3, 0.04);
}

/* 🌙 DARK MODE */
html[data-theme="dark"] .img-card.pro-locked {
	background: rgba(255, 183, 3, 0.08);
	border-color: rgba(255, 183, 3, 0.7);
}

/* 🔒 PRO BADGE */
.opt-locked {
	background: #ffb703;
	color: #000;
	font-weight: 600;
}

/* 🌙 DARK MODE BADGE */
html[data-theme="dark"] .opt-locked {
	background: #ffd166;
	color: #000;
}

/* 📱 MOBİL */
@media (max-width: 600px) {
	.img-card.pro-locked {
		opacity: 1;
	}
}




/* ============================================================
   ⚠️ POPUP STYLES
============================================================ */
.popup-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.popup-box {
    background: var(--card);
    padding: 25px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.popup-box h3 {
    margin-top: 0;
    color: var(--text);
}
.popup-box p {
    color: var(--muted);
}
.popup-box button {
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}


/* ===============================
   SAĞ PANEL – GENEL CARD (GÜNCEL)
================================ */
.side-card {
    background: var(--card-bg, #ffffff);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: background .25s ease, box-shadow .25s ease;
}

body.dark .side-card {
    background: #141b2d;
    box-shadow: 0 6px 18px rgba(0,0,0,.45);
}

.side-card h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

/* ===============================
   INFO CARD
================================ */
.info-list {
    padding-left: 0;
    list-style: none;
}
.info-list li {
    margin: 6px 0;
    font-size: 14px;
    opacity: .9;
}

/* ===============================
   QUALITY CARD (FREE)
================================ */
.quality-presets {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.preset {
    background: #eef2ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
}

.preset:hover {
    background: #dbe4ff;
}

body.dark .preset {
    background: #1f2a48;
    color: #e5e7eb;
}

body.dark .preset:hover {
    background: #2a3a64;
}

.preset.active {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}

/* Slider */
.quality-slider input[type="range"] {
    width: 100%;
    margin-top: 8px;
}

.quality-percent {
    text-align: right;
    font-weight: 600;
    margin-top: 4px;
    font-size: 13px;
}

/* ===============================
   METADATA CARD (FREE)
================================ */
.meta-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-size: 14px;
    cursor: pointer;
}

.meta-option input {
    cursor: pointer;
}

.meta-option:hover {
    opacity: .85;
}

.meta-option.optional {
    opacity: .7;
}

/* ===============================
   AÇIKLAMA METNİ
================================ */
.card-desc {
    margin-top: 8px;
    font-size: 12px;
    opacity: .7;
}





/* ===============================
   APPLY BUTTON
================================ */
.apply-card {
	text-align: center;
}
.apply-btn {
	width: 100%;
	margin-bottom: 12px;
	padding: 14px;
	border-radius: 12px;
	border: none;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	color: #fff;
	transition: all .25s ease;
}
.apply-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(37,99,235,.35);
}
body.dark .apply-btn {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.apply-note {
	margin-top: 8px;
	font-size: 12px;
	color: #6b7280;
}
body.dark .apply-note {
	color: #9ca3af;
}








