/* Papildomi stiliai, kurių nėra originaliame Tailwind faile (site.css). */

/* ---------- Užklausos forma ---------- */
.sf-form { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; }
.sf-field { display: flex; flex-direction: column; gap: 0.4rem; }
.sf-field label { font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground)); }
.sf-field label .req { color: #B36E4D; }
.sf-form input,
.sf-form select,
.sf-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: hsl(var(--foreground));
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: border-color 150ms, box-shadow 150ms;
}
.sf-form textarea { min-height: 120px; resize: vertical; }
.sf-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}
.sf-form select:invalid { color: hsl(var(--muted-foreground)); }
.sf-form input::placeholder,
.sf-form textarea::placeholder { color: #9aa0a6; }
.sf-form input:focus,
.sf-form select:focus,
.sf-form textarea:focus {
  outline: none;
  border-color: #B36E4D;
  box-shadow: 0 0 0 3px rgba(179, 110, 77, 0.18);
}
.sf-form button[type="submit"] {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 0.375rem;
  background: #B36E4D;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 150ms;
}
.sf-form button[type="submit"]:hover { background: #8e563a; }
.sf-form button[type="submit"]:disabled { opacity: 0.7; cursor: wait; }
.sf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sf-form-status { color: hsl(var(--destructive)); font-size: 0.9rem; min-height: 1em; }
.sf-form-success { text-align: center; padding: 3rem 1rem; }
.sf-form-success p { font-weight: 600; font-size: 1rem; color: #101828; }
.sf-form-success .sf-form-success-title { font-size: 1.125rem; line-height: 1.75rem; margin-bottom: 0.25rem; }

/* ---------- Kalbos perjungiklis (LT | EN) ---------- */
.sf-lang { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; }
.sf-lang-link { color: hsl(var(--muted-foreground)); transition: color 150ms; }
.sf-lang-link:hover { color: hsl(var(--primary)); }
.sf-lang-link.is-active { color: hsl(var(--primary)); }
.sf-lang-sep { color: hsl(var(--border)); }

/* ---------- Poraštės nuorodos ---------- */
.sf-footer-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: hsl(var(--border)); transition: color 150ms; }
.sf-footer-link:hover { color: hsl(var(--primary)); text-decoration-color: currentColor; }

/* ---------- Slapukų sutikimo juosta ---------- */
.sf-consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
  max-width: 44rem; margin: 0 auto; padding: 1rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
  background: hsl(var(--background)); color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border)); border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem; line-height: 1.45;
}
.sf-consent-text { flex: 1 1 18rem; margin: 0; }
.sf-consent-text a { color: #B36E4D; text-decoration: underline; text-underline-offset: 3px; }
.sf-consent-actions { display: flex; gap: 0.5rem; flex: 0 0 auto; }
.sf-consent-btn { padding: 0.55rem 1.1rem; border-radius: 0.375rem; font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: background 150ms, color 150ms; }
.sf-consent-decline { background: transparent; border: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); }
.sf-consent-decline:hover { border-color: #B36E4D; color: #B36E4D; }
.sf-consent-accept { background: #B36E4D; border: 1px solid #B36E4D; color: #fff; }
.sf-consent-accept:hover { background: #8e563a; border-color: #8e563a; }
@media (max-width: 480px) { .sf-consent-actions { width: 100%; } .sf-consent-btn { flex: 1; } }

/* ---------- Tekstinis puslapis (privatumo politika) ---------- */
.sf-prose { color: hsl(var(--foreground)); font-size: 1.05rem; line-height: 1.75; }
.sf-prose h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin: 2.5rem 0 0.75rem; }
.sf-prose p { margin: 0 0 1rem; color: hsl(var(--muted-foreground)); }
.sf-prose ul { margin: 0 0 1rem; padding-left: 1.25rem; list-style: disc; color: hsl(var(--muted-foreground)); }
.sf-prose li { margin: 0.4rem 0; }
.sf-prose strong { color: hsl(var(--foreground)); font-weight: 600; }
.sf-prose a { color: #B36E4D; text-decoration: underline; text-underline-offset: 3px; }
.sf-prose .sf-prose-meta { font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Nuotraukų peržiūros uždarymo mygtukas ---------- */
.sf-lb-close {
  position: absolute; z-index: 10;
  top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right));
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 9999px; background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer;
  transition: background 150ms;
}
.sf-lb-close:hover { background: rgba(0, 0, 0, 0.85); }
