/* ==========================================================================
   🤖 EMLAK STÜDYOM - YAPAY ZEKA & AI ENHANCER MODÜL STİLLERİ
   Referans: UI_DESIGN_SYSTEM.md | Kaynak: styles.css
   ========================================================================== */

/* ==========================================================================
   ✨ AI HD GÖRSEL & UYDU NETLEŞTİRİCİ (PICSART TARZI AI ENHANCER) STILLERI
   ========================================================================== */

.ai-enh-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: satModalFadeIn 0.25s ease-out;
}

.ai-enh-container {
    background: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    width: 100%;
    max-width: 960px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.15);
    overflow: hidden;
}

.ai-enh-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(30, 41, 59, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-enh-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-enh-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.ai-enh-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.ai-enh-subtitle {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #94a3b8;
}

.ai-enh-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-enh-badge {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ai-enh-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-enh-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.ai-enh-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-enh-preset-group,
.ai-enh-slider-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-enh-label {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ai-enh-preset-btns {
    display: flex;
    gap: 6px;
}

.ai-enh-preset-btn {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-enh-preset-btn:hover {
    background: #334155;
    color: #ffffff;
}

.ai-enh-preset-btn.active {
    background: linear-gradient(135deg, #0284c7, #4f46e5);
    border-color: #38bdf8;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.ai-enh-range {
    width: 110px;
    accent-color: #94a3b8;
    cursor: pointer;
}

/* Öncesi / Sonrası Sahnesi */
.ai-enh-stage-wrapper {
    position: relative;
    flex: 1;
    background: #020617;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    max-height: 60vh;
}

.ai-enh-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}

.ai-enh-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ai-enh-layer img,
.ai-enh-layer canvas {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ai-enh-layer-enhanced {
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    will-change: clip-path;
}

.ai-enh-layer-tag {
    position: absolute;
    z-index: 5;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    pointer-events: none;
    backdrop-filter: blur(4px);
    letter-spacing: 0.3px;
}

.ai-enh-layer-tag.original {
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

.ai-enh-layer-tag.enhanced {
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #0284c7, #6366f1);
    border: 1px solid #38bdf8;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

/* Sürüklenebilir Bölme Çizgisi */
.ai-enh-split-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 44px;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
}

.ai-enh-split-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2.5px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 4px rgba(255, 255, 255, 0.8);
}

.ai-enh-split-handle {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #0284c7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 10px rgba(56, 189, 248, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    transition: transform 0.1s;
}

.ai-enh-split-divider:hover .ai-enh-split-handle,
.ai-enh-split-divider.is-dragging .ai-enh-split-handle {
    transform: scale(1.12);
    background: #f8fafc;
    border-color: #38bdf8;
}

.ai-enh-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
}

.ai-enh-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(56, 189, 248, 0.2);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: satSpin 0.7s linear infinite;
}

/* Alt Çubuk ve Aksiyon Butonları */
.ai-enh-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(30, 41, 59, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-enh-footer-info {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-enh-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-enh-btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-enh-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.ai-enh-btn-download {
    background: #1e293b;
    border: 1.5px solid #64748b;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.ai-enh-btn-download:hover {
    background: #334155;
    border-color: #94a3b8;
}

.ai-enh-btn-apply {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border: 1.5px solid #38bdf8;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
    transition: all 0.2s;
}

.ai-enh-btn-apply:hover {
    background: linear-gradient(135deg, #0369a1, #1d4ed8);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.6);
    transform: translateY(-1px);
}

/* Satellite Modal Kontrolleri için AI Butonları */
.sat-btn-toggle-ai {
    background: #1e293b;
    border: 1.5px solid #475569;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.sat-btn-toggle-ai i {
    color: #38bdf8;
    font-size: 12px;
}

.sat-btn-toggle-ai.active {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(99, 102, 241, 0.2));
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.sat-btn-toggle-ai.active b {
    color: #38bdf8;
}

.sat-ext-pill.ai-preview {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(2, 132, 199, 0.15));
    border-color: #10b981;
    color: #34d399;
    font-weight: 700;
}

.sat-ext-pill.ai-preview:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(2, 132, 199, 0.3));
    color: #ffffff;
    border-color: #34d399;
}

/* Satellite AI Netleştirme Toolbar Kontrolleri */
.sat-ai-ctrl-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sat-ai-slider-wrapper,
.sat-footer-ai-slider {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 3px 8px;
    transition: opacity 0.2s ease, filter 0.2s ease;
    flex-shrink: 0;
}

.sat-ai-range {
    width: 65px;
    height: 4px;
    accent-color: #94a3b8;
    cursor: pointer;
}

.sat-ai-val-badge {
    font-size: 10px;
    font-weight: 800;
    color: #38bdf8;
    min-width: 27px;
    text-align: center;
    background: rgba(56, 189, 248, 0.15);
    padding: 1px 4px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.sat-ai-live-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.9), rgba(99, 102, 241, 0.9));
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #38bdf8;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

body[data-theme="light"] .sat-ai-slider-wrapper,
body[data-theme="light"] .sat-footer-ai-slider {
    background: #f8fafc;
    border-color: #cbd5e1;
}

body[data-theme="light"] .sat-ai-val-badge {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

/* Bottom Dock AI Netleştir Butonu */
.dock-btn-ai {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(129, 140, 248, 0.2)) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

.dock-btn-ai:hover {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(129, 140, 248, 0.35)) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

/* Fotoğraf Sekmesi AI Netleştir Toggle Butonu */
.photo-ai-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 20px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.photo-ai-toggle-btn:hover {
    background: #334155;
    color: #f1f5f9;
    border-color: #475569;
}

.photo-ai-toggle-btn.active {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.55);
}

.photo-ai-toggle-btn.active i {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

/* Light Tema Uyumluluğu */
body[data-theme="light"] .ai-enh-modal-overlay {
    background: rgba(15, 23, 42, 0.7);
}

body[data-theme="light"] .ai-enh-container {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body[data-theme="light"] .ai-enh-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

body[data-theme="light"] .ai-enh-title {
    color: #0f172a;
}

body[data-theme="light"] .ai-enh-subtitle {
    color: #64748b;
}

body[data-theme="light"] .ai-enh-toolbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

body[data-theme="light"] .ai-enh-label {
    color: #334155;
}

body[data-theme="light"] .ai-enh-preset-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

body[data-theme="light"] .ai-enh-preset-btn.active {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #ffffff;
}

body[data-theme="light"] .ai-enh-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

body[data-theme="light"] .ai-enh-footer-info {
    color: #475569;
}

body[data-theme="light"] .ai-enh-btn-cancel {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

body[data-theme="light"] .ai-enh-btn-download {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* ============================================================================
   📸 FOTOĞRAF SEKMESİ - AI HD NETLEŞTİRME & FLU GİDERİCİ KARTI
   ============================================================================ */
.photo-ai-card {
    background: linear-gradient(145deg, #0f172a 0%, #172554 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 13px 14px;
    margin: 12px 0 16px 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.photo-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.photo-ai-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.2px;
}

.photo-ai-title i {
    color: #f59e0b;
    font-size: 14px;
}

.photo-ai-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #7dd3fc;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.photo-ai-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.photo-ai-slider-group {
    margin-bottom: 10px !important;
}

.photo-ai-slider-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.photo-ai-level-tag {
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.photo-ai-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 11px;
}

.photo-ai-pill {
    background: #1e293b;
    border: 1px solid #334155;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 2px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.photo-ai-pill:hover {
    background: #334155;
    color: #ffffff;
    border-color: #64748b;
}

.photo-ai-pill.active {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.photo-ai-actions {
    display: flex;
    gap: 7px;
    margin-bottom: 9px;
}

.photo-ai-btn-apply {
    flex: 1.4;
    background: linear-gradient(135deg, #0284c7, #6366f1);
    border: 1.5px solid #38bdf8;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 9px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}

.photo-ai-btn-apply:hover {
    background: linear-gradient(135deg, #0369a1, #4f46e5);
    box-shadow: 0 5px 14px rgba(2, 132, 199, 0.55);
    transform: translateY(-1px);
}

.photo-ai-btn-revert {
    flex: 1;
    background: #1e293b;
    border: 1.5px solid #475569;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    padding: 9px 6px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.photo-ai-btn-revert:hover {
    background: #334155;
    color: #ffffff;
    border-color: #94a3b8;
}

.photo-ai-btn-compare {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(56, 189, 248, 0.4);
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 600;
    padding: 7px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.photo-ai-btn-compare:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: #38bdf8;
    color: #ffffff;
}

/* Light Theme Uyum */
body[data-theme="light"] .photo-ai-card {
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

body[data-theme="light"] .photo-ai-title {
    color: #0369a1;
}

body[data-theme="light"] .photo-ai-desc {
    color: #64748b;
}

body[data-theme="light"] .photo-ai-slider-group label {
    color: #1e293b;
}

body[data-theme="light"] .photo-ai-level-tag {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

body[data-theme="light"] .photo-ai-pill {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

body[data-theme="light"] .photo-ai-pill:hover {
    background: #f1f5f9;
    color: #0f172a;
}

body[data-theme="light"] .photo-ai-pill.active {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #ffffff;
    border-color: #38bdf8;
}

body[data-theme="light"] .photo-ai-btn-revert {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

body[data-theme="light"] .photo-ai-btn-revert:hover {
    background: #f1f5f9;
    color: #0f172a;
}

body[data-theme="light"] .photo-ai-btn-compare {
    background: #f0f9ff;
    border-color: #7dd3fc;
    color: #0284c7;
}

body[data-theme="light"] .photo-ai-btn-compare:hover {
    background: #e0f2fe;
}

/* ====================================================================
   AI NETLEŞTİR KART & FOTO AKORDEON STİLLERİ (DARK & LIGHT THEME)
   ==================================================================== */
.photo-ai-card {
    margin-top: 12px;
    margin-bottom: 12px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s ease;
}
.photo-ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.photo-ai-title {
    display: flex;
    align-items: center;
    gap: 6px;
}
.photo-ai-title span {
    font-weight: 700;
    font-size: 12.5px;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 6px;
}
.photo-ai-title i {
    color: #38bdf8;
}
.photo-ai-desc {
    font-size: 11px;
    color: #94a3b8;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.photo-ai-slider-group {
    transition: all 0.2s ease;
}
.photo-ai-slider-group.disabled-state {
    pointer-events: none;
}
.photo-ai-slider-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    margin-bottom: 5px;
    color: #e2e8f0;
}
.photo-ai-slider-group label span:first-child i {
    color: #38bdf8;
    margin-right: 4px;
}
.photo-ai-level-tag {
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 5px;
    background: #1e293b;
    color: #cbd5e1;
    border: 1px solid #475569;
    transition: all 0.2s ease;
}
.photo-ai-level-tag.active {
    background: #0f2942;
    color: #38bdf8;
    border-color: #0284c7;
}
.photo-ai-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: 1.5px solid #475569;
    background: #1e293b;
    color: #cbd5e1;
    transition: all 0.2s ease;
}
.photo-ai-toggle-btn:hover {
    background: #334155;
    color: #ffffff;
    border-color: #64748b;
}
.photo-ai-toggle-btn.active {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}


/* ====================================================================
   AÇIK TEMA KONTROLLERİ (LIGHT THEME: İÇİ DOLGUSUZ, YÜKSEK KONTRASTLI, NET VE ASLA SİLİK OLMAYAN)
   ==================================================================== */
body[data-theme="light"] .photo-ai-card,
html[data-theme="light"] .photo-ai-card {
    background: #ffffff !important;
    border: 1.5px solid #94a3b8 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
}
body[data-theme="light"] .photo-ai-title span,
html[data-theme="light"] .photo-ai-title span {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
}
body[data-theme="light"] .photo-ai-title i,
html[data-theme="light"] .photo-ai-title i {
    color: #0284c7 !important;
    font-size: 14.5px !important;
}
body[data-theme="light"] .photo-ai-desc,
html[data-theme="light"] .photo-ai-desc {
    color: #1e293b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}
body[data-theme="light"] .photo-ai-slider-group label,
html[data-theme="light"] .photo-ai-slider-group label {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}
body[data-theme="light"] .photo-ai-slider-group label span:first-child,
html[data-theme="light"] .photo-ai-slider-group label span:first-child {
    color: #0f172a !important;
    font-weight: 700 !important;
}
body[data-theme="light"] .photo-ai-slider-group label span:first-child i,
html[data-theme="light"] .photo-ai-slider-group label span:first-child i {
    color: #0284c7 !important;
}
body[data-theme="light"] .photo-ai-level-tag,
html[data-theme="light"] .photo-ai-level-tag {
    background: #f1f5f9 !important;
    border: 1.5px solid #94a3b8 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 11.5px !important;
}
body[data-theme="light"] .photo-ai-level-tag.active,
html[data-theme="light"] .photo-ai-level-tag.active {
    background: #e0f2fe !important;
    border: 1.5px solid #0284c7 !important;
    color: #0284c7 !important;
    font-weight: 800 !important;
}
body[data-theme="light"] .photo-ai-toggle-btn,
html[data-theme="light"] .photo-ai-toggle-btn {
    background: #ffffff !important;
    border: 1.5px solid #94a3b8 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
body[data-theme="light"] .photo-ai-toggle-btn i,
html[data-theme="light"] .photo-ai-toggle-btn i {
    color: #64748b !important;
}
body[data-theme="light"] .photo-ai-toggle-btn:hover,
html[data-theme="light"] .photo-ai-toggle-btn:hover {
    background: #f8fafc !important;
    border-color: #64748b !important;
    color: #0f172a !important;
}
body[data-theme="light"] .photo-ai-toggle-btn.active,
html[data-theme="light"] .photo-ai-toggle-btn.active {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: 1.5px solid #0284c7 !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35) !important;
}
body[data-theme="light"] .photo-ai-toggle-btn.active i,
html[data-theme="light"] .photo-ai-toggle-btn.active i {
    color: #ffffff !important;
}

