Files
ai-gift-planner-mockup/person.html

712 lines
52 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Szczegóły Osoby - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="main.js" defer></script>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8 pb-24 lg:pb-8">
<button onclick="window.history.back()" class="bg-white px-5 py-2.5 rounded-xl border border-gray-100 text-[10px] font-black text-gray-500 hover:text-indigo-600 hover:border-indigo-100 transition-all flex items-center gap-2 shadow-sm mb-8 uppercase tracking-widest">
<i data-lucide="arrow-left" class="w-3.5 h-3.5"></i> Powrót do listy
</button>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-12">
<!-- Left: Gift Planning -->
<div class="lg:col-span-2 space-y-12">
<!-- Enhanced Profile Header -->
<section class="mb-8">
<div class="bg-white rounded-[2rem] border border-gray-100 shadow-sm overflow-hidden relative">
<!-- Decorative background elements -->
<div class="absolute right-0 top-0 w-48 h-48 bg-indigo-50 rounded-full -mr-24 -mt-24 opacity-20"></div>
<div class="p-6 md:p-8 relative z-10">
<div class="flex flex-col md:flex-row gap-8 items-center md:items-start text-center md:text-left">
<!-- Avatar -->
<div class="relative group shrink-0">
<div class="w-32 h-32 rounded-[2rem] overflow-hidden border-4 border-gray-50 shadow-lg group-hover:scale-105 transition-transform duration-500 bg-white">
<img src="https://ui-avatars.com/api/?name=Mama&background=f0f9ff&color=6366f1&size=256" class="w-full h-full object-cover">
</div>
<button onclick="openModal('modal-edit-profile')" class="absolute -bottom-1 -right-1 w-9 h-9 bg-indigo-600 rounded-xl shadow-lg flex items-center justify-center text-white border-2 border-white hover:scale-110 transition-all">
<i data-lucide="camera" class="w-4 h-4"></i>
</button>
</div>
<!-- Content & Details -->
<div class="flex-1 w-full space-y-6">
<div class="flex flex-col md:flex-row md:items-center justify-between gap-4">
<div>
<div class="flex flex-col md:flex-row items-center gap-3 mb-1">
<h2 class="text-3xl font-black text-gray-900 tracking-tight leading-none">Mama</h2>
<span class="px-3 py-1 bg-indigo-50 text-indigo-600 text-[9px] font-black uppercase tracking-widest rounded-lg border border-indigo-100">RODZINA</span>
</div>
<p class="text-xs font-bold text-gray-400 uppercase tracking-[0.15em] leading-none">Anna Nowak • 58 Lat</p>
</div>
<button onclick="openModal('modal-edit-profile')" class="bg-gray-50 hover:bg-white hover:border-indigo-200 hover:text-indigo-600 px-4 py-2.5 rounded-xl transition-all font-black text-[9px] uppercase tracking-widest border border-gray-100 shadow-sm flex items-center gap-2 self-center md:self-auto">
<i data-lucide="edit-3" class="w-3.5 h-3.5"></i> EDYTUJ PROFIL
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- Personality (More compact) -->
<div class="border-r border-gray-50 pr-6 hidden md:block">
<h4 class="text-[9px] font-black text-gray-300 uppercase tracking-widest flex items-center gap-1.5 mb-2">
<i data-lucide="info" class="w-3 h-3"></i> KRÓTKI OPIS
</h4>
<p class="text-sm text-gray-500 font-medium italic leading-relaxed">
"Gotowanie, ogrodnictwo i joga to jej codzienny świat pełen pasji."
</p>
</div>
<!-- Quick Facts Grid (More compact) -->
<div>
<div class="grid grid-cols-2 gap-3">
<div class="bg-gray-50/50 p-3 rounded-xl border border-gray-100/50">
<p class="text-[9px] font-black text-gray-400 uppercase tracking-widest mb-1 leading-none">Urodziny</p>
<p class="text-[13px] font-black text-gray-900 leading-none">12 Marca</p>
</div>
<div class="bg-gray-50/50 p-3 rounded-xl border border-gray-100/50">
<p class="text-[9px] font-black text-gray-400 uppercase tracking-widest mb-1 leading-none">Imieniny</p>
<p class="text-[13px] font-black text-gray-900 leading-none">24 Sierpnia</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div>
<div class="flex items-center justify-between mb-8">
<h3 class="text-xl font-black text-gray-900 flex items-center gap-3 leading-tight">
<i data-lucide="calendar-check" class="text-indigo-600"></i> Aktywne okazje i prezenty
</h3>
</div>
<!-- Occasion: Christmas 2025 (Global Event) -->
<div class="space-y-6 mb-12">
<div class="flex items-center justify-between px-2">
<div class="flex items-center gap-3">
<div class="w-2.5 h-2.5 rounded-full bg-indigo-600"></div>
<span class="text-[11px] font-black text-gray-900 uppercase tracking-[0.1em]">Boże Narodzenie 2025</span>
</div>
<a href="occasion.html" class="text-[10px] font-black text-gray-400 hover:text-indigo-600 flex items-center gap-1.5 uppercase tracking-wider transition-colors">
ZARZĄDZAJ OKAZJĄ <i data-lucide="chevron-right" class="w-3.5 h-3.5"></i>
</a>
</div>
<div class="grid gap-4">
<div onclick="window.location.href='gift.html'" class="bg-white p-5 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl hover:scale-[1.01] transition-all cursor-pointer flex items-center gap-6 group relative overflow-hidden pl-8">
<div class="absolute left-0 top-0 bottom-0 w-2 bg-indigo-600"></div>
<div class="w-16 h-16 rounded-2xl overflow-hidden shrink-0 shadow-inner">
<img src="https://images.unsplash.com/photo-1517668808822-9ebb02f2a0e6?auto=format&fit=crop&q=80&w=200" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
</div>
<div class="flex-1">
<h4 class="font-black text-gray-900 mb-1">Ekspres Sage Barista</h4>
<p class="text-[10px] font-bold text-gray-400 flex items-center gap-1.5 uppercase tracking-widest">
<i data-lucide="link" class="w-3 h-3"></i> MEDIA EXPERT
</p>
</div>
<div class="flex items-center gap-8 pr-2">
<div class="text-right">
<p class="text-[10px] font-black text-gray-300 uppercase leading-none mb-1">Cena</p>
<p class="text-sm font-black text-gray-900">2 499 PLN</p>
</div>
<div class="px-4 py-1.5 bg-emerald-50 text-emerald-600 text-[10px] font-black rounded-full uppercase tracking-tighter border border-emerald-100 italic">Kupiony</div>
</div>
</div>
</div>
</div>
<!-- Occasion: Urodziny (Treated as Normal Occasion) -->
<div class="space-y-6">
<div class="flex items-center justify-between px-2">
<div class="flex items-center gap-3">
<div class="w-2.5 h-2.5 rounded-full bg-pink-500"></div>
<span class="text-[11px] font-black text-gray-900 uppercase tracking-[0.1em]">Urodziny (12 Marca)</span>
</div>
<span class="text-[10px] font-black text-pink-600 bg-pink-50 px-3 py-1 rounded-full uppercase tracking-tighter">Za 76 dni</span>
</div>
<div class="bg-white p-5 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl hover:scale-[1.01] transition-all flex items-center justify-between group cursor-pointer relative overflow-hidden pl-8">
<div class="absolute left-0 top-0 bottom-0 w-2 bg-pink-500"></div>
<div class="flex items-center gap-6">
<div class="w-16 h-16 bg-pink-50 rounded-2xl flex items-center justify-center text-pink-300">
<i data-lucide="gift" class="w-8 h-8"></i>
</div>
<div>
<h4 class="font-black text-gray-900 mb-1 leading-tight">Brak wybranych prezentów</h4>
<p class="text-[10px] font-bold text-gray-400 uppercase tracking-widest">KLIKNIJ ABY ZAPLANOWAĆ</p>
</div>
</div>
<div class="w-12 h-12 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 group-hover:bg-pink-600 group-hover:text-white transition-all mr-2">
<i data-lucide="plus" class="w-5 h-5"></i>
</div>
</div>
</div>
</div>
<!-- AI Recommendations Specifically for Her -->
<div class="bg-gray-900 rounded-[2.5rem] p-8 text-white relative overflow-hidden shadow-2xl shadow-indigo-500/10">
<div class="relative z-10">
<div class="flex items-center justify-between mb-6">
<h4 class="text-xl font-black flex items-center gap-2">
<i data-lucide="sparkles" class="text-indigo-400 fill-indigo-400"></i> Sugestie dla Mamy
</h4>
<div class="px-3 py-1 bg-white/10 rounded-full border border-white/10 flex items-center gap-2">
<i data-lucide="zap" class="w-3 h-3 text-yellow-400 fill-yellow-400"></i>
<span class="text-[9px] font-black uppercase tracking-widest">1 TOKEN</span>
</div>
</div>
<p class="text-gray-400 text-sm mb-8 max-w-sm font-medium leading-relaxed italic">"Na podstawie profilu Wellness & Kuchnia przygotowałem unikalne propozycje, które ją zachwycą."</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="bg-white/5 backdrop-blur-md p-5 rounded-2xl border border-white/10 hover:bg-white/10 transition-all cursor-pointer group">
<p class="text-sm font-black mb-1 group-hover:text-indigo-400 transition-colors">Mata do akupresury</p>
<p class="text-[10px] text-gray-500 font-bold uppercase tracking-widest">Wellness</p>
</div>
<div class="bg-white/5 backdrop-blur-md p-5 rounded-2xl border border-white/10 hover:bg-white/10 transition-all cursor-pointer group">
<p class="text-sm font-black mb-1 group-hover:text-indigo-400 transition-colors">Zestaw herbat BIO</p>
<p class="text-[10px] text-gray-500 font-bold uppercase tracking-widest">Kuchnia</p>
</div>
<div class="bg-white/5 backdrop-blur-md p-5 rounded-2xl border border-white/10 hover:bg-white/10 transition-all cursor-pointer group">
<p class="text-sm font-black mb-1 group-hover:text-indigo-400 transition-colors">Kurs ceramiki</p>
<p class="text-[10px] text-gray-500 font-bold uppercase tracking-widest">Hobby</p>
</div>
</div>
</div>
<i data-lucide="brain" class="absolute -right-16 -bottom-16 w-64 h-64 text-indigo-500 opacity-5"></i>
</div>
</div>
<!-- Right Sidebar: Person Fact Sheet -->
<div class="space-y-8">
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 relative overflow-hidden">
<h4 class="text-sm font-black text-gray-900 mb-8 flex items-center gap-2">
<i data-lucide="scroll-text" class="text-indigo-600"></i> Specyfikacja Osoby
</h4>
<div class="space-y-8">
<!-- Cechy Charakteru -->
<div>
<p class="text-[9px] font-black text-gray-400 uppercase tracking-[0.2em] mb-3">Cechy Charakteru</p>
<div class="flex flex-wrap gap-1.5">
<span class="px-2.5 py-1 bg-indigo-50 text-[10px] font-black text-indigo-600 rounded-lg border border-indigo-100 uppercase tracking-tighter">Minimalista</span>
<span class="px-2.5 py-1 bg-indigo-50 text-[10px] font-black text-indigo-600 rounded-lg border border-indigo-100 uppercase tracking-tighter">Praktyczny</span>
</div>
</div>
<!-- Pasje i Zainteresowania -->
<div>
<p class="text-[9px] font-black text-gray-400 uppercase tracking-[0.2em] mb-3">Zainteresowania</p>
<div class="flex flex-wrap gap-1.5">
<span class="px-2.5 py-1 bg-emerald-50 text-[10px] font-black text-emerald-600 rounded-lg border border-emerald-100 uppercase tracking-tighter">Gotowanie</span>
<span class="px-2.5 py-1 bg-emerald-50 text-[10px] font-black text-emerald-600 rounded-lg border border-emerald-100 uppercase tracking-tighter">Sztuka</span>
<span class="px-2.5 py-1 bg-emerald-50 text-[10px] font-black text-emerald-600 rounded-lg border border-emerald-100 uppercase tracking-tighter">Ogrodnictwo</span>
</div>
</div>
<!-- Styl życia i Etap -->
<div class="grid grid-cols-1 gap-4">
<div class="p-4 bg-amber-50/50 rounded-2xl border border-amber-100/30">
<p class="text-[9px] font-black text-amber-600 uppercase tracking-widest mb-2">Styl Życia</p>
<div class="space-y-2">
<div class="flex items-center gap-2 text-xs font-bold text-gray-700">
<i data-lucide="sun" class="w-3.5 h-3.5 text-amber-500"></i>
<span>Stabilizacja / Etap: Doświadczony</span>
</div>
<div class="flex items-center gap-2 text-xs font-bold text-gray-700">
<i data-lucide="home" class="w-3.5 h-3.5 text-amber-500"></i>
<span>Dom z ogrodem</span>
</div>
</div>
</div>
</div>
<!-- Estetyka -->
<div>
<p class="text-[9px] font-black text-gray-400 uppercase tracking-[0.2em] mb-3">Estetyka i Materiały</p>
<p class="text-xs font-bold text-gray-700 leading-relaxed mb-3">#len #drewno #ceramika</p>
<div class="flex gap-2">
<div class="w-5 h-5 rounded-full bg-[#E5D3B3] border border-white shadow-sm" title="Beż"></div>
<div class="w-5 h-5 rounded-full bg-[#AFCBFF] border border-white shadow-sm" title="Błękit"></div>
<div class="w-5 h-5 rounded-full bg-[#800000] border border-white shadow-sm" title="Bordo"></div>
</div>
</div>
<!-- Ograniczenia -->
<div class="p-4 bg-red-50 rounded-2xl border border-red-100">
<p class="text-[9px] font-black text-red-400 uppercase tracking-widest mb-2 flex items-center gap-1">
<i data-lucide="slash" class="w-3 h-3"></i> Unikać / Alergie
</p>
<p class="text-xs font-bold text-red-900 leading-relaxed">Brak alkoholu, alergia na orzechy.</p>
</div>
<!-- Kontekst AI -->
<div>
<p class="text-[9px] font-black text-indigo-400 uppercase tracking-widest mb-2">Głęboki Kontekst AI</p>
<div class="relative">
<p class="text-[11px] text-indigo-900/60 font-medium italic leading-relaxed pl-4">
Mama ceni prezenty z duszą i ekologiczne materiały. Uwielbia czytać o architekturze ogrodów przy dobrej herbacie.
</p>
</div>
</div>
</div>
<button onclick="openModal('modal-edit-spec')" class="w-full mt-10 py-4 bg-gray-50 border border-gray-100 text-gray-500 text-[10px] font-black rounded-2xl hover:bg-white hover:border-indigo-200 hover:text-indigo-600 transition-all uppercase tracking-widest shadow-sm">
Edytuj profilowanie AI
</button>
</section>
<section class="bg-white rounded-[2rem] p-6 shadow-sm border border-gray-100">
<h4 class="text-sm font-black text-gray-900 mb-4 flex items-center gap-2">
<i data-lucide="history" class="text-indigo-600"></i> Ostatnio kupione
</h4>
<div class="space-y-4">
<div class="flex items-center gap-3">
<div class="w-10 h-10 bg-gray-100 rounded-lg shrink-0 flex items-center justify-center text-gray-300">
<i data-lucide="package"></i>
</div>
<div class="flex-1">
<p class="text-xs font-bold text-gray-700">Wyciskarka do soków</p>
<p class="text-[10px] text-gray-400">Maj 2025</p>
</div>
<span class="text-xs font-black text-gray-900">899 PLN</span>
</div>
</div>
</section>
</div>
</div>
</main>
</div>
<!-- Modal: Edytuj Profil -->
<div id="modal-edit-profile" class="modal-overlay">
<div class="modal-content !max-w-2xl !p-0 overflow-hidden">
<div class="p-8 md:p-10 border-b border-gray-100 flex items-center justify-between bg-gray-50/50">
<div>
<h3 class="text-2xl font-black text-gray-900 leading-none mb-2">Edytuj Profil</h3>
<p class="text-[10px] font-black text-indigo-400 uppercase tracking-widest">Podstawowe dane tożsamości</p>
</div>
<button onclick="closeModal('modal-edit-profile')" class="w-12 h-12 rounded-2xl bg-white border border-gray-100 flex items-center justify-center text-gray-400 hover:text-indigo-600 hover:border-indigo-100 transition-all shadow-sm">
<i data-lucide="x" class="w-5 h-5"></i>
</button>
</div>
<form class="p-8 md:p-10 space-y-10 overflow-y-auto max-h-[75vh]">
<!-- Profile Identity Section -->
<div class="grid grid-cols-1 gap-10">
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Nazwa (np. Mama)</label>
<input type="text" value="Mama" class="form-input !bg-white">
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Imię</label>
<input type="text" value="Anna Nowak" class="form-input !bg-white">
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Płeć</label>
<div class="flex gap-2">
<label class="flex-1 cursor-pointer group">
<input type="radio" name="gender" class="hidden peer" checked>
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-pink-500 peer-checked:bg-pink-50 peer-checked:text-pink-600 transition-all flex items-center justify-center gap-2 group-hover:border-gray-200">
<i data-lucide="venus" class="w-4 h-4 transition-transform group-hover:scale-110"></i>
<span class="text-[10px] font-black uppercase tracking-wider">Kobieta</span>
</div>
</label>
<label class="flex-1 cursor-pointer group">
<input type="radio" name="gender" class="hidden peer">
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-600 transition-all flex items-center justify-center gap-2 group-hover:border-gray-200">
<i data-lucide="mars" class="w-4 h-4 transition-transform group-hover:scale-110"></i>
<span class="text-[10px] font-black uppercase tracking-wider">Mężczyzna</span>
</div>
</label>
</div>
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Główna relacja</label>
<select class="form-input !bg-white">
<option selected>Rodzina</option>
<option>Przyjaciel / Znajomy</option>
<option>Praca / Biznes</option>
<option>Partner / Małżonek</option>
</select>
</div>
</div>
<!-- Nested Relationship Degree (Family example) -->
<div class="p-5 bg-indigo-50/50 rounded-2xl border border-indigo-100/50 space-y-4">
<div>
<div class="flex items-center gap-3">
<div class="w-2 h-2 rounded-full bg-indigo-400 animate-pulse"></div>
<h4 class="text-[10px] font-black text-gray-900 uppercase tracking-widest leading-none">Detale Relacji (Rodzina)</h4>
</div>
<p class="text-[8px] text-gray-400 ml-1 italic mt-1">* Pomaga AI w dobieraniu życzeń</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-2">
<label class="block text-[9px] font-black text-indigo-400 uppercase tracking-widest ml-1">Stopień relacji</label>
<select class="form-input !bg-white !py-2.5 text-xs">
<option selected>Rodzic (Matka)</option>
<option>Dziecko (Córka/Syn)</option>
<option>Rodzeństwo</option>
<option>Dziadek / Babcia</option>
<option>Dalsza rodzina</option>
<option>Inny (wpisz obok)</option>
</select>
</div>
<div class="space-y-2">
<label class="block text-[9px] font-black text-indigo-400 uppercase tracking-widest ml-1">Własne określenie</label>
<input type="text" placeholder="np. Chrzestna" class="form-input !bg-white !py-2.5 text-xs">
</div>
</div>
</div>
</div>
</div>
<!-- Dates Section -->
<div class="p-8 bg-indigo-50/30 rounded-[2rem] border border-indigo-50/50 space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="calendar" class="w-5 h-5 text-indigo-600"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Kluczowe Daty</h4>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Data Urodzenia</label>
<input type="date" value="1967-03-12" class="form-input !bg-white">
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Imieniny (MM-DD)</label>
<input type="text" value="08-24" class="form-input !bg-white" placeholder="np. 05-24">
</div>
</div>
</div>
<button type="submit" class="w-full gradient-bg text-white py-5 rounded-[1.5rem] font-black shadow-2xl shadow-indigo-200 transition-all hover:scale-[1.01] active:scale-[0.98] uppercase tracking-[0.2em] text-xs">
Zapisz zmiany profilu
</button>
</form>
</div>
</div>
<!-- Modal: Profilowanie AI (Specyfikacja) -->
<div id="modal-edit-spec" class="modal-overlay">
<div class="modal-content !max-w-4xl !p-0 overflow-hidden">
<div class="p-8 md:p-10 border-b border-gray-100 flex items-center justify-between bg-gray-50/50">
<div>
<h3 class="text-2xl font-black text-gray-900 leading-none mb-2">Profilowanie AI</h3>
<p class="text-[10px] font-black text-emerald-500 uppercase tracking-widest">Zbuduj portret psychologiczny dla silnika rekomendacji</p>
</div>
<button onclick="closeModal('modal-edit-spec')" class="w-12 h-12 rounded-2xl bg-white border border-gray-100 flex items-center justify-center text-gray-400 hover:text-emerald-600 hover:border-emerald-100 transition-all shadow-sm">
<i data-lucide="x" class="w-5 h-5"></i>
</button>
</div>
<form class="p-8 md:p-10 space-y-12 overflow-y-auto max-h-[75vh]">
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
<!-- Left Column: Character & Interests -->
<div class="space-y-10">
<!-- Personality Traits (Pretty Toggles) -->
<div class="space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="fingerprint" class="w-5 h-5 text-indigo-500"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Cechy Charakteru</h4>
</div>
<div class="grid grid-cols-2 gap-3">
<label class="cursor-pointer group">
<input type="checkbox" class="hidden peer" checked>
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-indigo-600 peer-checked:bg-indigo-50 peer-checked:text-indigo-600 transition-all flex items-center gap-2">
<div class="w-2.5 h-2.5 rounded-full bg-gray-200 peer-checked:bg-indigo-600"></div>
<span class="text-[10px] font-black uppercase tracking-wider">Minimalista</span>
</div>
</label>
<label class="cursor-pointer group">
<input type="checkbox" class="hidden peer">
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-indigo-600 peer-checked:bg-indigo-50 peer-checked:text-indigo-600 transition-all flex items-center gap-2">
<div class="w-2.5 h-2.5 rounded-full bg-gray-200 peer-checked:bg-indigo-600"></div>
<span class="text-[10px] font-black uppercase tracking-wider">Nowoczesny</span>
</div>
</label>
<label class="cursor-pointer group">
<input type="checkbox" class="hidden peer" checked>
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-indigo-600 peer-checked:bg-indigo-50 peer-checked:text-indigo-600 transition-all flex items-center gap-2">
<div class="w-2.5 h-2.5 rounded-full bg-gray-200 peer-checked:bg-indigo-600"></div>
<span class="text-[10px] font-black uppercase tracking-wider">Praktyczny</span>
</div>
</label>
<label class="cursor-pointer group">
<input type="checkbox" class="hidden peer">
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-indigo-600 peer-checked:bg-indigo-50 peer-checked:text-indigo-600 transition-all flex items-center gap-2">
<div class="w-2.5 h-2.5 rounded-full bg-gray-200 peer-checked:bg-indigo-600"></div>
<span class="text-[10px] font-black uppercase tracking-wider">Eko-świadomy</span>
</div>
</label>
</div>
</div>
<!-- Interests (Visual Chips) -->
<div class="space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="tent" class="w-5 h-5 text-emerald-500"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Pasje i Zainteresowania</h4>
</div>
<div class="flex flex-wrap gap-2">
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer" checked>
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Gotowanie</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer" checked>
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Sztuka</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer">
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Technologia</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer" checked>
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Ogrodnictwo</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer">
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Podróże</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer">
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Sport</div>
</label>
<button type="button" class="px-4 py-2 rounded-full border-2 border-dashed border-gray-100 text-[9px] font-black uppercase tracking-widest text-gray-300 hover:border-emerald-200 hover:text-emerald-500 transition-all">+ Inne</button>
</div>
</div>
<!-- Lifestyle & Status -->
<div class="space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="briefcase" class="w-5 h-5 text-amber-500"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Status i Styl Życia</h4>
</div>
<div class="space-y-4">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Obecny etap życia</label>
<select class="form-input !bg-white shadow-sm">
<option>Młody dorosły / Student</option>
<option>Rozwój kariery</option>
<option selected>Doświadczony dorosły / Stabilizacja</option>
<option>Złoty wiek / Emerytura</option>
</select>
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Mieszka w...</label>
<select class="form-input !bg-white shadow-sm">
<option selected>Dom z ogrodem</option>
<option>Mieszkanie w mieście</option>
<option>Często podróżuje / brak stałego miejsca</option>
</select>
</div>
</div>
</div>
<!-- Aesthetic Preferences -->
<div class="space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="palette" class="w-5 h-5 text-indigo-400"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Estetyka i Preferencje</h4>
</div>
<div class="space-y-4">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Ulubione Materiały</label>
<input type="text" value="Len, drewno, ceramika" class="form-input !bg-white shadow-sm" placeholder="np. Złoto, skóra, jedwab">
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Dominujące kolory w życiu</label>
<input type="text" value="Beże, błękity, bordo" class="form-input !bg-white shadow-sm" placeholder="np. Pastelowe, czarno-białe">
</div>
</div>
</div>
</div>
<!-- Right Column: Context & Constraints -->
<div class="space-y-10">
<!-- Deep Context (The AI Brain) -->
<div class="space-y-4">
<div class="flex items-center justify-between">
<div class="flex items-center gap-3">
<i data-lucide="sparkles" class="w-5 h-5 text-indigo-600"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Notatki dla AI</h4>
</div>
</div>
<div class="space-y-2">
<textarea class="form-input !bg-white h-[120px] py-4 leading-relaxed shadow-sm text-sm" placeholder="Opisz osobowość, marzenia, wspólne żarty oraz to, co sprawiło, że ostatnie prezenty były udane (lub nie)."></textarea>
</div>
</div>
<!-- Restrictions (Visualized) -->
<div class="space-y-4">
<div class="flex items-center gap-3 text-red-500">
<i data-lucide="slash" class="w-4 h-4"></i>
<h4 class="text-[10px] font-black uppercase tracking-widest">Ograniczenia i Antypatie</h4>
</div>
<div class="space-y-2">
<textarea class="form-input !bg-white border-red-50 focus:ring-red-500 h-[80px] py-3 text-xs" placeholder="Alergie, nienawidzone kolory, nielubiane zapachy...">Brak alkoholu, alergia na orzechy</textarea>
</div>
</div>
</div>
</div>
<div class="pt-6 border-t border-gray-100 sticky bottom-0 bg-white">
<button type="submit" class="w-full gradient-bg text-white py-5 rounded-[1.5rem] font-black shadow-2xl shadow-indigo-200 transition-all hover:scale-[1.01] active:scale-[0.98] uppercase tracking-[0.2em] text-xs">
Zaktualizuj profilowanie AI
</button>
<p class="text-[9px] text-center text-gray-400 mt-4 font-black uppercase tracking-widest opacity-50">Zmiany wpłyną na nowo generowane pomysły</p>
</div>
</form>
</div>
</div>
<!-- Modal: Dodaj Prezent -->
<div id="modal-add-gift" class="modal-overlay">
<div class="modal-content">
<div class="flex items-center justify-between mb-8">
<h3 class="text-2xl font-black text-gray-900">Nowy Prezent</h3>
<button onclick="closeModal('modal-add-gift')" class="text-gray-400 hover:text-gray-600">
<i data-lucide="x"></i>
</button>
</div>
<form class="space-y-6">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Nazwa Prezentu</label>
<input type="text" placeholder="np. Słuchawki Sony" class="form-input" required>
</div>
<div class="grid grid-cols-2 gap-4">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Szacowana Cena (PLN)</label>
<input type="number" placeholder="0.00" class="form-input" required>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Status</label>
<select class="form-input">
<option>Idea</option>
<option>Wybrany</option>
<option>Kupiony</option>
<option>Zapakowany</option>
</select>
</div>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Link do produktu</label>
<input type="url" placeholder="https://..." class="form-input">
</div>
<button type="submit" class="w-full gradient-bg text-white py-4 rounded-2xl font-bold shadow-xl shadow-indigo-100 mt-4">
Dodaj prezent
</button>
</form>
</div>
</div>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-6 left-6 right-6 bg-gray-900/90 backdrop-blur-xl border border-white/10 p-4 rounded-[2rem] flex justify-around items-center z-50 shadow-2xl shadow-indigo-500/20">
<a href="dashboard.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
</a>
<a href="occasions.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="calendar" class="w-6 h-6"></i>
</a>
<a href="notes.html" class="w-12 h-12 gradient-bg rounded-2xl flex items-center justify-center text-white shadow-lg shadow-indigo-500/40 -translate-y-4 border-4 border-gray-50">
<i data-lucide="pen-tool" class="w-6 h-6"></i>
</a>
<a href="persons.html" class="flex flex-col items-center text-white">
<i data-lucide="users" class="w-6 h-6"></i>
</a>
<a href="search.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="sparkles" class="w-6 h-6"></i>
</a>
</nav>
<script>
lucide.createIcons();
</script>
</body>
</html>