/* ============ Hızlı güzelleştirme (native) ============ */

/* Checkbox & Radio: daha küçük ve marka rengine uyumlu */
input[type="checkbox"],
input[type="radio"]{
  accent-color: #2f6bff;               /* ana renk */
  inline-size: 18px;                    /* genişlik */
  block-size: 18px;                     /* yükseklik */
  vertical-align: -2px;                 /* metinle hizalama */
  margin-right: 8px;
  transition: transform 160ms cubic-bezier(.2,.6,.2,1);
  width: auto !important;
}
input[type="checkbox"]:active,
input[type="radio"]:active{
  transform: scale(.96);
}

/* Inline label metinlerinin görünümü */
.gform-field-label--type-inline,
label { font-weight: 600; color: #1f2328; }

/* Radio/checkbox listelerinde boşluk */
.gfield_radio li,
.gfield_checkbox li{
  margin: 6px 12px 6px 0;
}

input[name="webseite"]::placeholder{
  text-transform: lowercase !important;
}

/* Select: yumuşak köşeler, modern ok ikonu, focus halkası */
select,
.form-grp select,
.gfield_select{
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #e6e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,53,112,.08);
  color: #1f2328;
  font: inherit;
  height: 44px;
  line-height: 42px;
  padding: 0 42px 0 14px;
  transition: border-color 160ms cubic-bezier(.2,.6,.2,1),
              box-shadow 160ms cubic-bezier(.2,.6,.2,1);
  background-image:
    url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
}
select:hover{ border-color: #cfd2d8; }
select:focus{
  outline: none;
  border-color: #2f6bff;
  box-shadow: 0 0 0 3px rgba(47,107,255,.15);
}
select:disabled,
input[disabled]{ opacity: .6; cursor: not-allowed; }

/* ============ Tam özel görünüm (istersen) ============ */
/* Markup örneği:
   <label class="choice"><input type="radio" name="x">Ja</label>
   <label class="choice"><input type="checkbox" name="y">Akzeptiere</label>
*/
.choice{
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; user-select: none;
  font-weight: 600; color: #1f2328; margin-right: 16px;
}
.choice > input{
  position: absolute; opacity: 0; inset: auto;
}
.choice::before{
  content: "";
  inline-size: 18px; block-size: 18px;
  border: 1px solid #e6e7eb; background: #fff;
  border-radius: 6px; /* checkbox */
  box-shadow: 0 2px 8px rgba(35,53,112,.08);
  transition: all 160ms cubic-bezier(.2,.6,.2,1);
}
.choice:hover::before{ border-color: #cfd2d8; }
.choice:has(input:focus-visible)::before{
  box-shadow: 0 0 0 3px rgba(47,107,255,.15);
  border-color: #2f6bff;
}
/* Radio daire */
.choice:has(input[type="radio"])::before{ border-radius: 999px; }
/* Checked durumları */
.choice:has(input[type="checkbox"]:checked)::before{
  border-color: #2f6bff;
  background:
    radial-gradient(circle at 50% 50%, #2f6bff 0 50%, transparent 51%);
  mask:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / 14px 14px;
}
.choice:has(input[type="radio"]:checked)::before{
  border-color: #2f6bff;
  background:
    radial-gradient(circle at 50% 50%, #2f6bff 0 45%, transparent 46%);
}
.choice:has(input:disabled){ opacity: .55; cursor: not-allowed; }

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce){
  *{ transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
