/* /themes/vision/assets/css/siparis-takip.css
   =========================================================
   QUANTAPS • Sipariş Takip (Kurumsal)
   - Inline CSS YOK
   - FontAwesome YOK
   - SVG sprite ikonlar: #qt-ic-*
   - Hero + Alert ikonları kilitli (kayma yok)
   - Alt iletişim: Mail + WhatsApp şablonu (kilit)
   ========================================================= */

:root{
  --ink:#0f172a;
  --soft:#505a7a;
  --lav:#6a7eff;
  --lav2:#97a3ff;
  --bd:rgba(106,126,255,.18);
  --surface:#ffffffcc;
  --surface2:#ffffffee;
  --max:880px;
}

/* Background */
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(820px 260px at 50% -140px, rgba(106,126,255,.14), transparent),
    linear-gradient(180deg,#f6f7ff,#ffffff);
  color:var(--ink);
}

/* Container */
.qp-wrap{
  width:min(var(--max),100%);
  margin:0 auto;
  padding:26px 20px 60px;
  overflow-wrap:anywhere;
}

/* HERO – Cam Panel */
.qp-hero{ padding:24px 0 14px; }
.qp-hero-inner{
  padding:20px 24px;
  border-radius:20px;
  background:linear-gradient(180deg,var(--surface2),var(--surface));
  border:1px solid var(--bd);
  backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  box-shadow:0 6px 22px rgba(106,126,255,.10);
}

.qp-hero h1{
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:clamp(24px,4vw,30px);
  font-weight:900;
  letter-spacing:-.02em;
  background:linear-gradient(90deg,var(--lav),var(--lav2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Gradient başlıkta ikon görünür kalsın */
.qp-hero h1 .qp-ic{
  width:34px; height:34px;
  border-radius:12px;
  display:grid; place-items:center;
  background:linear-gradient(135deg,rgba(106,126,255,.18),rgba(255,255,255,.72));
  box-shadow:inset 0 0 0 1px rgba(106,126,255,.22);
  color:var(--lav);
  flex:0 0 auto;
  line-height:0;
}

.qp-hero p{
  margin:6px 0 0;
  font-size:.95rem;
  color:var(--soft);
  max-width:520px;
  line-height:1.45;
}

/* SVG base */
.qp-svg{
  width:20px; height:20px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}

/* Hero ikon daha net */
.qp-hero h1 .qp-ic .qp-svg{ width:20px; height:20px; }

/* Cards */
.q-card{
  margin-top:20px;
  background:var(--surface2);
  border:1px solid var(--bd);
  border-radius:18px;
  padding:22px 24px;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
}

.q-card h2{
  margin:0 0 14px;
  font-size:1.1rem;
  font-weight:900;
  color:var(--ink);
}
.q-card h2::after{
  content:"";
  display:block;
  height:2px;
  width:42px;
  margin-top:6px;
  background:linear-gradient(90deg,var(--lav),var(--lav2));
  border-radius:2px;
  opacity:.95;
}

/* Form */
.q-form{ display:grid; gap:16px; }
.q-form label{
  font-weight:750;
  font-size:.93rem;
  color:var(--ink);
}
.q-form input,
.q-form textarea{
  width:100%;
  padding:11px 14px;
  border-radius:12px;
  border:1px solid rgba(106,126,255,.22);
  background:#fff;
  font-size:.95rem;
  color:var(--ink);
  box-shadow:inset 0 1px 0 #fff;
}
.q-form input:focus,
.q-form textarea:focus{
  outline:3px solid rgba(106,126,255,.22);
  border-color:rgba(106,126,255,.28);
}

/* Button */
.q-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  font-weight:900;
  border-radius:14px;
  background:linear-gradient(180deg,var(--lav),var(--lav2));
  color:#fff;
  text-decoration:none;
  border:0;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(106,126,255,.22);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.q-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(106,126,255,.26);
  filter:saturate(1.05);
}
.q-btn:active{ transform:translateY(0); }

/* Alerts */
.alert{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  font-weight:750;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.alert .al-ic{
  width:22px; height:22px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  line-height:0;
}
.alert .al-ic .qp-svg{
  width:18px; height:18px;
  margin-top:2px;
}

.alert.success{
  background:#ecfdf5;
  color:#065f46;
  border:1px solid #a7f3d0;
}
.alert.error{
  background:#fef2f2;
  color:#7f1d1d;
  border:1px solid #fecaca;
}
.alert.info{
  background:#eff6ff;
  color:#1e40af;
  border:1px solid #bfdbfe;
}

/* Muted text */
.muted{ color:#6a759f; font-size:.92rem; }
.hint{ color:#5c6490; font-size:.87rem; }

/* =========================
   Alt İletişim Şablonu
   ========================= */
.qp-actions{
  display:grid;
  gap:12px;
  margin-top:14px;
}
@media(min-width:680px){
  .qp-actions{ grid-template-columns:repeat(2,1fr); }
}

.qp-btn{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  min-height:86px;
  border-radius:16px;
  text-decoration:none;
  border:1px solid rgba(106,126,255,.18);
  background:linear-gradient(180deg,#ffffff,#f7f9ff);
  box-shadow:0 10px 26px rgba(106,126,255,.10);
  color:var(--ink);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.qp-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(106,126,255,.14);
  border-color:rgba(106,126,255,.30);
  background:linear-gradient(180deg,#ffffff,#f4f6ff);
}
.qp-btn:active{ transform:translateY(0); }
.qp-btn:focus-visible{
  outline:2px solid rgba(106,126,255,.45);
  outline-offset:2px;
}

.qp-ic-btn{
  width:56px;
  height:56px;
  border-radius:18px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  line-height:0;
}

/* Mail kapsülü */
.qp-btn-mail .qp-ic-btn{
  background:linear-gradient(180deg,#ffffff,#f7f9ff);
  box-shadow:inset 0 0 0 2px rgba(106,126,255,.24);
  color:var(--lav);
}

/* WhatsApp kapsülü (lavanta dolu) */
.qp-btn-wa .qp-ic-btn{
  background:linear-gradient(135deg,var(--lav),var(--lav2));
  box-shadow:0 12px 28px rgba(106,126,255,.20);
  color:rgba(15,23,42,.92);
}

.qp-txt{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  min-width:0;
}
.qp-title{
  font-weight:900;
  line-height:1.1;
  letter-spacing:-.01em;
}
.qp-btn-mail .qp-title{
  background:linear-gradient(90deg,var(--lav),var(--lav2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.qp-sub{
  color:#6a7398;
  font-weight:650;
  font-size:.88rem;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Mobil */
@media (max-width:480px){
  .qp-wrap{ padding:20px 14px 52px; }
  .q-card{ padding:18px 16px; }
  .qp-hero-inner{ padding:18px 16px; }

  .qp-btn{ min-height:78px; padding:14px 14px; }
  .qp-ic-btn{ width:48px; height:48px; border-radius:16px; }
  .qp-svg{ width:18px; height:18px; }
}