/* ══════════════════════════════════════════════════════════════
   sekil-tanima.css  —  MatMod | MathVision AI
   Redesigned to match dark futuristic dashboard mockup
   ══════════════════════════════════════════════════════════════ */

:root {
    --navy-900: #060D1A;
    --navy-800: #0A1628;
    --navy-700: #0F1F38;
    --navy-600: #152A4A;

    --bg-dark: var(--navy-900);
    --bg-main: linear-gradient(160deg, #060D1A 0%, #0F1F38 50%, #0a1a30 100%);

    --glass: rgba(10, 20, 40, 0.75);
    --glass-border: rgba(74, 143, 231, 0.12);
    --glass-border-hover: rgba(74, 143, 231, 0.3);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    --primary: #4A8FE7;
    --primary-glow: rgba(74, 143, 231, 0.35);
    --primary-dim: rgba(74, 143, 231, 0.6);
    --accent: #EAB308;
    --accent-glow: rgba(234, 179, 8, 0.3);
    --success: #22C55E;
    --success-glow: rgba(34, 197, 94, 0.35);
    --danger: #EF4444;
    --danger-glow: rgba(239, 68, 68, 0.35);
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.35);

    --text-main: #e8f0fe;
    --text-dim: #7c9cbf;
    --text-dark: #0f172a;

    --radius-xl: 16px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --nav-h: 56px;
    --gap: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.dashboard-body {
    background: linear-gradient(135deg, #060d1a 0%, #1e112a 25%, #2a0a2b 50%, #111a3a 75%, #060d1a 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    letter-spacing: -0.01em;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ─── Navigation ─── */
.top-nav {
    height: var(--nav-h);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 13, 26, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    flex-shrink: 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-wrap {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary), #1e40af);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 0 12px var(--primary-glow);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
}

.logo-blue {
    color: var(--primary);
}

.logo-sep { margin: 0 6px; opacity: 0.25; }
.logo-sub { font-size: 0.8rem; font-weight: 500; color: var(--text-dim); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.system-status {
    background: rgba(34, 197, 94, 0.08);
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #334155;
}

.status-dot.loaded {
    background: var(--success);
    box-shadow: 0 0 10px var(--success-glow);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 6px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.nav-back-btn {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    transition: all 0.2s;
}

.nav-back-btn:hover {
    background: rgba(74, 143, 231, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* ─── Dashboard Grid ─── */
.dashboard-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: var(--gap);
    padding: var(--gap);
    min-height: 0;
    overflow: hidden;
}

.panel {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    min-height: 0;
    overflow: hidden;
}

/* ─── Cards ─── */
.card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 16px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* ─── Card Labels ─── */
.card-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mission-card .card-label { color: #f43f5e; } /* Rose */
.guide-card .card-label { color: #a855f7; } /* Purple */
.ai-card .card-label { color: #14b8a6; } /* Teal */
.info-card .card-label { color: #eab308; } /* Yellow */

/* ─── Mission Card ─── */
.mission-card {
    background: linear-gradient(135deg, rgba(74, 143, 231, 0.08), rgba(6, 13, 26, 0.9));
    border-color: rgba(244, 63, 94, 0.3) !important;
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex: 1;
}

.mission-mic-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(74, 143, 231, 0.15);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.mission-mic-btn:hover {
    background: rgba(74, 143, 231, 0.25);
    box-shadow: 0 0 12px var(--primary-glow);
}

.mission-shape-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
}

.mission-shape-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.mission-shape-name {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 30%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shapeFloat 3s ease-in-out infinite;
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.mission-hint {
    font-size: 0.78rem;
    color: #e2e8f0;
    line-height: 1.5;
    padding: 10px 12px;
    background: rgba(244, 63, 94, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(244, 63, 94, 0.15);
    text-align: center;
    margin-top: auto;
}

/* ─── Guide Card ─── */
.guide-card {
    border-color: rgba(168, 85, 247, 0.3) !important;
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.guide-card .card-label {
    /* overridden above */
}

.guide-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding-right: 4px; }

.guide-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s;
}

.guide-step:nth-child(1) { border: 1px solid rgba(168, 85, 247, 0.4); background: rgba(168, 85, 247, 0.03); border-left: 4px solid #a855f7; }
.guide-step:nth-child(2) { border: 1px solid rgba(234, 179, 8, 0.4); background: rgba(234, 179, 8, 0.03); border-left: 4px solid #eab308; }
.guide-step:nth-child(3) { border: 1px solid rgba(59, 130, 246, 0.4); background: rgba(59, 130, 246, 0.03); border-left: 4px solid #3b82f6; }

.guide-step:hover {
    background: rgba(74, 143, 231, 0.05);
    border-color: rgba(74, 143, 231, 0.15);
}

.step-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.step-focus { background: rgba(74, 143, 231, 0.15); color: var(--primary); }
.step-draw { background: rgba(139, 92, 246, 0.15); color: var(--purple); }
.step-erase { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

.step-text strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.step-text span {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* ─── Center Panel ─── */
.center-panel {
    min-width: 0;
}

.canvas-wrapper {
    flex: 1;
    position: relative;
    background: #000;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(0,0,0,0.6), inset 0 0 30px rgba(0,0,0,0.3);
    min-height: 0;
}

.canvas-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    transition: all 0.4s;
    pointer-events: none;
    z-index: 10;
}

.canvas-wrapper.drawing-active::after {
    border-color: var(--primary);
    box-shadow: inset 0 0 30px var(--primary-glow);
}

.canvas-wrapper.erasing-active::after {
    border-color: var(--danger);
    box-shadow: inset 0 0 30px var(--danger-glow);
}

#videoElement {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

#drawingCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    transform: scaleX(-1);
}

/* ─── Status Bar ─── */
.status-bar {
    background: var(--glass);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pulse-ring {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #14b8a6;
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.4);
    animation: ringPulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes ringPulse {
    0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.status-msg {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ─── Camera Overlay ─── */
.camera-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 13, 26, 0.92);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: var(--radius-xl);
}

.overlay-card {
    text-align: center;
    max-width: 360px;
    padding: 40px 32px;
}

.overlay-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(74,143,231,0.2), rgba(74,143,231,0.05));
    border: 1px solid rgba(74,143,231,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0 auto 20px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.overlay-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.overlay-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 28px;
}

.start-btn {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.45);
    filter: brightness(1.1);
}

/* ─── Right Panel: AI Engine ─── */
.ai-card {
    border-color: rgba(20, 184, 166, 0.3) !important;
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ai-card .card-label {
    /* overridden above */
}

/* Prediction view */
.prediction-view {
    flex: 1;
    min-height: 100px;
    background: rgba(74, 143, 231, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 143, 231, 0.15);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.prediction-view::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(74, 143, 231, 0.03) 0px,
        rgba(74, 143, 231, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}

.pred-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 600;
}

.pred-placeholder-icon {
    font-size: 1.4rem;
    color: rgba(74, 143, 231, 0.4);
}

.pred-result {
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.pred-name {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px var(--primary-glow);
    letter-spacing: 3px;
}

.pred-conf {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-dim);
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Confidence Bars */
.conf-bars { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding-right: 4px; flex: 1; justify-content: center; }

/* ─── Confidence Shape Progress ─── */
.shape-fill-bars {
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: flex-end;
    overflow-y: visible !important;
    padding-bottom: 8px;
}
.shape-progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.shape-progress-item .conf-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-weight: 700;
}
.shape-progress-item .conf-header span:first-child {
    font-size: 0.65rem;
    color: var(--text-dim);
}

.shape-outline {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.03);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.shape-outline.kare {
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
}
.shape-outline.daire {
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
}
.shape-outline.ucgen {
    width: 48px;
    height: 44px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: rgba(249, 115, 22, 0.1);
}

.shape-fill {
    width: 100%;
    bottom: 0;
    left: 0;
    transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#bar-daire {
    background: linear-gradient(0deg, #ef4444, #f87171);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

#bar-kare {
    background: linear-gradient(0deg, #22c55e, #4ade80);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
}

#bar-ucgen {
    background: linear-gradient(0deg, #f97316, #fb923c);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.6);
}

/* ─── Info Card ─── */
.info-card {
    border-color: rgba(234, 179, 8, 0.3) !important;
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.info-card .card-label {
    /* overridden above */
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    justify-content: flex-start;
    overflow-y: auto;
    padding-right: 4px;
}

.info-item {
    padding: 8px 10px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.2s;
    margin-bottom: 0;
    border-left: 4px solid #ff003c;
    box-shadow: -2px 0 10px rgba(255, 0, 60, 0.2);
}

.info-item:nth-child(1) { background: rgba(255, 0, 60, 0.03); }
.info-item:nth-child(2) { background: rgba(255, 0, 60, 0.03); }
.info-item:nth-child(3) { background: rgba(255, 0, 60, 0.03); }

.info-item p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* ─── Shape Dynamic Colors ─── */
.color-daire {
    color: #ef4444 !important;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4) !important;
}
.text-grad-daire {
    background: linear-gradient(135deg, #fff 20%, #ef4444) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.color-kare {
    color: #22c55e !important;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.4) !important;
}
.text-grad-kare {
    background: linear-gradient(135deg, #fff 20%, #22c55e) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.color-ucgen {
    color: #f97316 !important;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.4) !important;
}
.text-grad-ucgen {
    background: linear-gradient(135deg, #fff 20%, #f97316) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ─── Scan Line ─── */
.scan-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 12px var(--primary);
    z-index: 8;
    opacity: 0;
    pointer-events: none;
}

.drawing-active .scan-line {
    animation: scanAnim 2.5s linear infinite;
    opacity: 1;
}

@keyframes scanAnim {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* ─── BG Glow Blobs ─── */
.bg-glow {
    position: fixed;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.18;
    pointer-events: none;
    animation: blobFloat 15s infinite alternate;
}

.blob-1 { top: -15%; left: -10%; background: var(--primary); }
.blob-2 { bottom: -15%; right: -10%; background: #ec4899; animation-delay: -5s; }
.blob-3 { top: 45%; left: 55%; background: var(--purple); animation-delay: -10s; opacity: 0.15; }

@keyframes blobFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(5%, 8%) scale(1.08); }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 10px; }

/* ══════════════════════════════════════════
   AÇIK TEMA (Light Theme) Overrides
   localStorage'dan okunarak uygulanır
   ══════════════════════════════════════════ */
[data-theme="light"] {
    --navy-900: #f0f4ff;
    --navy-800: #e8effe;
    --bg-dark: #f0f4ff;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(74, 143, 231, 0.2);
    --glass-border-hover: rgba(74, 143, 231, 0.4);
    --glass-highlight: rgba(255, 255, 255, 0.8);
    --text-main: #1e293b;
    --text-dim: #64748b;
}

[data-theme="light"] body.dashboard-body {
    background: linear-gradient(135deg, #f0f4ff 0%, #fde8f3 25%, #fce7f3 50%, #e0e7ff 75%, #f0f4ff 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    background-attachment: fixed;
    color: #1e293b;
}

[data-theme="light"] .top-nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(74, 143, 231, 0.15);
    box-shadow: 0 2px 12px rgba(74, 143, 231, 0.08);
}

[data-theme="light"] .logo-text {
    color: #1e293b;
}

[data-theme="light"] .nav-back-btn {
    color: #475569;
    background: rgba(74, 143, 231, 0.06);
    border-color: rgba(74, 143, 231, 0.2);
}

[data-theme="light"] .nav-back-btn:hover {
    color: #1e40af;
    background: rgba(74, 143, 231, 0.12);
}

[data-theme="light"] .system-status {
    background: rgba(34, 197, 94, 0.07);
    border-color: rgba(34, 197, 94, 0.2);
    color: #166534;
}

[data-theme="light"] .card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(74, 143, 231, 0.15);
    box-shadow: 0 4px 16px rgba(74, 143, 231, 0.08);
}

[data-theme="light"] .card::before {
    background: linear-gradient(90deg, transparent, rgba(74, 143, 231, 0.12), transparent);
}

[data-theme="light"] .mission-card {
    background: linear-gradient(135deg, rgba(74, 143, 231, 0.06), rgba(255, 255, 255, 0.85));
    border-color: rgba(74, 143, 231, 0.2);
}

[data-theme="light"] .mission-shape-name {
    background: linear-gradient(135deg, #1e293b 30%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .mission-hint {
    background: rgba(74, 143, 231, 0.06);
    border-color: rgba(74, 143, 231, 0.12);
    color: #475569;
}

[data-theme="light"] .guide-step {
    background: rgba(74, 143, 231, 0.03);
    border-color: rgba(74, 143, 231, 0.1);
}

[data-theme="light"] .guide-step:nth-child(1) { border-color: rgba(168, 85, 247, 0.4); background: rgba(168, 85, 247, 0.05); }
[data-theme="light"] .guide-step:nth-child(2) { border-color: rgba(234, 179, 8, 0.4); background: rgba(234, 179, 8, 0.05); }
[data-theme="light"] .guide-step:nth-child(3) { border-color: rgba(59, 130, 246, 0.4); background: rgba(59, 130, 246, 0.05); }

[data-theme="light"] .guide-step:hover {
    background: rgba(74, 143, 231, 0.08);
}

[data-theme="light"] .step-text strong {
    color: #1e293b;
}

[data-theme="light"] .status-bar {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(74, 143, 231, 0.15);
}

[data-theme="light"] .camera-overlay {
    background: rgba(240, 244, 255, 0.95);
}

[data-theme="light"] .overlay-title {
    color: #1e293b;
}

[data-theme="light"] .pred-name {
    color: #1e293b;
}

[data-theme="light"] .conf-track {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .info-item {
    background: rgba(74, 143, 231, 0.03);
    border-color: rgba(74, 143, 231, 0.1);
}

[data-theme="light"] .info-item:nth-child(1),
[data-theme="light"] .info-item:nth-child(2),
[data-theme="light"] .info-item:nth-child(3) {
    border-color: rgba(255, 0, 60, 0.4);
    background: rgba(255, 0, 60, 0.04);
}

[data-theme="light"] .bg-glow {
    opacity: 0.05;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(74, 143, 231, 0.2);
}

/* ─── Light Theme Shape/Color Overrides ─── */
[data-theme="light"] .color-daire { color: #b91c1c !important; text-shadow: none !important; }
[data-theme="light"] .text-grad-daire { background: linear-gradient(135deg, #7f1d1d 10%, #ef4444) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }

[data-theme="light"] .color-kare { color: #15803d !important; text-shadow: none !important; }
[data-theme="light"] .text-grad-kare { background: linear-gradient(135deg, #14532d 10%, #16a34a) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }

[data-theme="light"] .color-ucgen { color: #c2410c !important; text-shadow: none !important; }
[data-theme="light"] .text-grad-ucgen { background: linear-gradient(135deg, #7c2d12 10%, #ea580c) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }

[data-theme="light"] .mission-card { border-color: rgba(244, 63, 94, 0.5) !important; }
[data-theme="light"] .guide-card { border-color: rgba(168, 85, 247, 0.5) !important; }
[data-theme="light"] .ai-card { border-color: rgba(20, 184, 166, 0.5) !important; }
[data-theme="light"] .info-card { border-color: rgba(234, 179, 8, 0.5) !important; }

[data-theme="light"] .shape-outline {
    background: rgba(0,0,0,0.02);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}
[data-theme="light"] .shape-outline.kare { border-color: rgba(22, 163, 74, 0.5); }
[data-theme="light"] .shape-outline.daire { border-color: rgba(239, 68, 68, 0.5); }
[data-theme="light"] .shape-outline.ucgen { background: rgba(234, 88, 12, 0.15); }