:root{
  --parami-yellow: #ffe11e;
  --parami-navy: #002169;
  --parami-gray: #e6e7e8;

  --text: #0b1220;
  --muted: #516071;
  --bg: #f6f7fb;
  --card: #ffffff;

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(255,225,30,.22) 0%, transparent 55%),
    radial-gradient(900px 600px at 85% 20%, rgba(0,33,105,.12) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
}

.container{
  max-width: 960px;
  margin: 48px auto;
  padding: 0 16px;
}

.card{
  background: var(--card);
  border: 1px solid var(--parami-gray);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

h1{
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--parami-navy);
}

p{
  margin: 10px 0 18px;
  color: var(--muted);
}

.small{
  font-size: 13px;
  color: var(--muted);
}

hr{
  border: 0;
  border-top: 1px solid var(--parami-gray);
  margin: 22px 0;
}

/* Grid / responsiveness */
.row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.row > div{
  min-width: 0; /* prevents overflow issues in grid */
}

@media (max-width: 720px){
  .container{ margin: 28px auto; }
  .card{ padding: 18px; border-radius: 16px; }
  .row{ grid-template-columns: 1fr; }
}

/* Form controls */
label{
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--parami-navy);
}

input, textarea, select{
  width: 100%;
  padding: 12px 12px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid var(--parami-gray);
  background: #fbfbfc;
  color: var(--text);
  outline: none;

  /* IMPORTANT: subtle transition that doesn't feel like a "box on top" */
  transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease;
}

/* cleaner placeholder */
input::placeholder,
textarea::placeholder{
  color: #8b97a6;
}

/* Focus: NO heavy glow. Just clean border + thin ring */
input:focus,
textarea:focus,
select:focus{
  border-color: var(--parami-navy);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 225, 30, 0.35); /* Parami yellow ring */
}

/* Remove the "over-rectangle" feel on click */
input:active,
textarea:active{
  box-shadow: 0 0 0 2px rgba(255, 225, 30, 0.28);
}

/* textarea */
textarea{
  min-height: 120px;
  resize: vertical;
}

/* Button in Parami colors */
.btn{
  margin-top: 18px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,33,105,.20);
  cursor: pointer;

  background: var(--parami-navy);
  color: white;
  font-weight: 800;
  letter-spacing: 0.01em;

  box-shadow: 0 10px 18px rgba(0,33,105,.18);
  transition: transform .06s ease, filter .15s ease, box-shadow .15s ease;
}

.btn:hover{
  filter: brightness(1.05);
  box-shadow: 0 12px 22px rgba(0,33,105,.22);
}

.btn:active{
  transform: translateY(1px);
}

/* Notes and alerts */
.note{
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
  line-height: 1.35;
}

.alert{
  padding: 12px 14px;
  border-radius: 12px;
  margin: 14px 0;
  border: 1px solid var(--parami-gray);
}

.alert.error{
  background: #fff7f8;
  border-color: #f3c7cf;
  color: #8a1f1f;
}

.alert.ok{
  background: #f1fff6;
  border-color: #bfe9cf;
  color: #1c6b1c;
}

/* Turnstile responsive */
.cf-turnstile{
  max-width: 100%;
}

.turnstile-wrap{
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
}

@media (max-width: 420px){
  .turnstile-wrap{
    justify-content: center;
  }
}
