:root{
  --bolt-bg: #f9fafb;
  --bolt-panel: #ffffff;
  --bolt-card: #ffffff;
  --bolt-green: #22c55e;      /* zbliżone do Bolt */
  --bolt-green-dark: #16a34a;
  --bolt-text: #020617;
  --bolt-muted: #6b7280;
  --bolt-border: #e5e7eb;
}

*{box-sizing:border-box;margin:0;padding:0}

body{
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 0 0, rgba(34,197,94,.12), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(22,163,74,.08), transparent 60%),
    linear-gradient(180deg,#ecfeff,#f9fafb);
  color: var(--bolt-text);
  min-height: 100vh;
}

/* layout */

.container{
  max-width:1120px;
  margin:0 auto;
  padding:16px 16px 40px;
}

.row{
  display:flex;
  align-items:center;
  gap:8px;
}

.row.end{
  justify-content:flex-end;
}

/* TOPBAR */

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(16px);
  background:rgba(249,250,251,.92);
  border-bottom:1px solid rgba(209,213,219,.9);
}

.topbar .container{
  padding-top:10px;
  padding-bottom:10px;
}

.logo{
  height:30px;
}

/* inputs / buttons */

.input{
  background:#ffffff;
  border:1px solid #d1d5db;
  border-radius:999px;
  padding:7px 12px;
  color:var(--bolt-text);
  font-size:13px;
}

.input:focus{
  outline:none;
  border-color:var(--bolt-green);
}

.btn{
  border:none;
  border-radius:999px;
  padding:8px 16px;
  cursor:pointer;
  font-size:13px;
  font-weight:500;
  background:#111827;
  color:#f9fafb;
}

.btn:hover{
  background:#020617;
}

.btn.primary{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#f9fafb;
}

.btn.primary:hover{
  filter:brightness(1.05);
}

.btn-back{
  background:#ffffff;
  border:1px solid #d1d5db;
  color:#111827;
  margin-left:8px;
}

.btn-back:hover{
  background:#f3f4f6;
}

/* HERO */

.bolt-hero{
  margin-top:16px;
  margin-bottom:18px;
  padding:18px 16px 18px;
  border-radius:24px;
  border:1px solid #d1fae5;
  background:
    radial-gradient(circle at 0 0,rgba(34,197,94,.25),transparent 60%),
    radial-gradient(circle at 80% 120%,rgba(56,189,248,.15),transparent 55%),
    #ecfeff;
}

.bolt-hero-main h1{
  font-size:22px;
  margin-bottom:4px;
}

.bolt-hero-main p{
  font-size:14px;
  color:var(--bolt-muted);
  max-width:520px;
}

.bolt-search{
  margin-top:12px;
  display:flex;
  gap:8px;
}

.bolt-search input{
  flex:1;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid #d1d5db;
  background:#ffffff;
  color:var(--bolt-text);
  font-size:13px;
}

.bolt-search input:focus{
  outline:none;
  border-color:var(--bolt-green);
}

.bolt-tags{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.tag{
  font-size:11px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,.6);
  color:#166534;
  background:rgba(187,247,208,.7);
}

/* GRID */

.section-title{
  font-size:18px;
  margin-bottom:10px;
}

.grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.card{
  border-radius:18px;
  overflow:hidden;
  background:var(--bolt-card);
  border:1px solid #e5e7eb;
  box-shadow:0 14px 35px rgba(15,23,42,.12);
}

.box{
  padding:12px 14px 14px;
}

.box h3{
  font-size:15px;
  margin-bottom:8px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:10px;
}

.chip{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  background:#f3f4f6;
  color:var(--bolt-muted);
}

.chip strong{
  color:var(--bolt-text);
}

.star{
  color:#f59e0b;
}

/* MODAL */

.modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:100;
}

.modal.hidden{
  display:none;
}

.modal-box{
  background:#ffffff;
  border-radius:18px;
  padding:18px 18px 14px;
  max-width:420px;
  width:100%;
  border:1px solid #e5e7eb;
  box-shadow:0 24px 60px rgba(15,23,42,.38);
  color:var(--bolt-text);
}

.modal-box h3{
  margin-bottom:8px;
  font-size:16px;
}

.modal-box p{
  font-size:13px;
  color:var(--bolt-muted);
  margin-bottom:14px;
}

.modal-box label{
  display:block;
  font-size:13px;
  margin-bottom:8px;
}

.modal-box input[type="range"]{
  width:100%;
}

.modal-box textarea{
  width:100%;
  min-height:70px;
  resize:vertical;
  margin-top:4px;
  padding:6px 8px;
  border-radius:10px;
  border:1px solid #d1d5db;
  background:#ffffff;
  color:var(--bolt-text);
  font-size:13px;
}

.modal-box-login{
  max-width:440px;
}

/* RESPONSIVE */

@media (max-width:720px){
  .topbar .container{
    flex-wrap:wrap;
  }
  .bolt-search{
    flex-direction:column;
  }
  .grid{
    grid-template-columns:minmax(0,1fr);
  }
}
