/* Yapay Zeka Analiz — white cards, blue + green accents (owner 2026-11-15: simple, readable at a glance). */
#aiAnalysisPage .ai-body { display: flex; flex-direction: column; gap: 12px; padding: 0 4px 16px; }
#aiAnalysisPage .ai-card { background: #ffffff; border: 2px solid #bfe0fb; border-radius: 16px; padding: 18px; color: #1f2937; }
#aiAnalysisPage .ai-intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
#aiAnalysisPage .ai-robot { width: 132px; height: 132px; object-fit: contain; }
#aiAnalysisPage .ai-intro-text { margin: 0; font-size: 18px; color: #1f2937; max-width: 560px; }
#aiAnalysisPage .ai-btn { border: 0; border-radius: 12px; background: #22c55e; color: #ffffff; font-weight: 800; font-size: 16px; padding: 10px 16px; cursor: pointer; }
#aiAnalysisPage .ai-btn:active { transform: scale(0.97); }
#aiAnalysisPage .ai-btn-big { font-size: 22px; padding: 14px 40px; }
#aiAnalysisPage .ai-btn-ghost { background: #e3f2ff; color: #1d6fb0; align-self: center; }
#aiAnalysisPage .ai-scan-label { font-size: 18px; font-weight: 800; color: #1d6fb0; margin-bottom: 10px; }
#aiAnalysisPage .ai-bar { height: 16px; border-radius: 999px; background: #e3f2ff; overflow: hidden; }
#aiAnalysisPage .ai-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #2f9be8, #22c55e); }
#aiAnalysisPage .ai-tips { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
#aiAnalysisPage .ai-card.ai-tips { margin-top: 0; }
#aiAnalysisPage .ai-tip { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: #1f2937; background: #f3f9ff; border-radius: 10px; padding: 10px 12px; }
#aiAnalysisPage .ai-tip-icon { font-size: 20px; line-height: 1.2; }
#aiAnalysisPage .ai-in { animation: aiIn 0.4s ease-out; }
@keyframes aiIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#aiAnalysisPage .ai-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
#aiAnalysisPage .ai-stat { background: #ffffff; border: 2px solid #bfe0fb; border-radius: 14px; padding: 10px; text-align: center; color: #1f2937; }
#aiAnalysisPage .ai-stat b { display: block; font-size: 24px; color: #1d6fb0; }
#aiAnalysisPage .ai-stat span { font-size: 13px; color: #64748b; }
#aiAnalysisPage .ai-offers-title { margin: 4px 0 0; font-size: 20px; color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
#aiAnalysisPage .ai-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
#aiAnalysisPage .ai-offer { background: #ffffff; border: 2px solid #bfe0fb; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; color: #1f2937; }
#aiAnalysisPage .ai-tag { align-self: flex-start; background: #dcfce7; color: #15803d; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 3px 10px; }
#aiAnalysisPage .ai-offer-name { font-size: 18px; font-weight: 800; color: #1f2937; }
#aiAnalysisPage .ai-offer-why { font-size: 14px; color: #64748b; }
#aiAnalysisPage .ai-pills { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; }
#aiAnalysisPage .ai-pill { display: inline-flex; align-items: center; gap: 4px; background: #f3f9ff; color: #1f2937; border-radius: 8px; padding: 3px 8px; font-size: 13px; font-weight: 700; }
#aiAnalysisPage .ai-pill-star { background: #e3f2ff; color: #1d6fb0; }

/* levels: red = falls short, orange = so-so, green = fine (owner 2026-11-15) */
#aiAnalysisPage .ai-stat i { display: block; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 1px 8px; width: max-content; margin-left: auto; margin-right: auto; }
#aiAnalysisPage .ai-stat.ai-lv-bad { border-color: #fca5a5; background: #fff5f5; }
#aiAnalysisPage .ai-stat.ai-lv-bad b { color: #dc2626; }
#aiAnalysisPage .ai-stat.ai-lv-bad i { background: #fee2e2; color: #b91c1c; }
#aiAnalysisPage .ai-stat.ai-lv-mid { border-color: #fcd34d; background: #fffbeb; }
#aiAnalysisPage .ai-stat.ai-lv-mid b { color: #d97706; }
#aiAnalysisPage .ai-stat.ai-lv-mid i { background: #fef3c7; color: #b45309; }
#aiAnalysisPage .ai-stat.ai-lv-good { border-color: #86efac; background: #f0fdf4; }
#aiAnalysisPage .ai-stat.ai-lv-good b { color: #16a34a; }
#aiAnalysisPage .ai-stat.ai-lv-good i { background: #dcfce7; color: #15803d; }
#aiAnalysisPage .ai-r { display: inline-block; min-width: 26px; margin: 0 2px; border-radius: 6px; font-style: normal; font-size: 18px; color: #ffffff; }
#aiAnalysisPage .ai-r-w { background: #16a34a; }
#aiAnalysisPage .ai-r-d { background: #94a3b8; }
#aiAnalysisPage .ai-r-l { background: #dc2626; }
#aiAnalysisPage .ai-tip { border-left: 5px solid #2f9be8; }
#aiAnalysisPage .ai-tip.ai-lv-bad { border-left-color: #dc2626; background: #fff5f5; }
#aiAnalysisPage .ai-tip.ai-lv-mid { border-left-color: #f59e0b; background: #fffbeb; }
#aiAnalysisPage .ai-tip.ai-lv-good { border-left-color: #16a34a; background: #f0fdf4; }
/* offers: a light → dark green ladder; the top pack is the darkest */
#aiAnalysisPage .ai-offer { border-width: 3px; }
#aiAnalysisPage .ai-offer.ai-tier-0 { border-color: #86efac; }
#aiAnalysisPage .ai-offer.ai-tier-0 .ai-btn { background: #22c55e; }
#aiAnalysisPage .ai-offer.ai-tier-1 { border-color: #4ade80; }
#aiAnalysisPage .ai-offer.ai-tier-1 .ai-btn { background: #16a34a; }
#aiAnalysisPage .ai-offer.ai-tier-2 { border-color: #16a34a; }
#aiAnalysisPage .ai-offer.ai-tier-2 .ai-btn { background: #15803d; }
#aiAnalysisPage .ai-offer.ai-tier-3 { border-color: #166534; background: linear-gradient(180deg, #f0fdf4, #ffffff 60%); }
#aiAnalysisPage .ai-offer.ai-tier-3 .ai-btn { background: #14532d; }
#aiAnalysisPage .ai-offer.ai-tier-3 .ai-tag { background: #166534; color: #ffffff; }
