:root{
  --bg1:#f3f4f6;
  --bg2:#e5e7eb;

  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;

  --field:#f9fafb;
  --border:#d1d5db;

  --shadow: 0 18px 55px rgba(17,24,39,.12);

  --btn:#2f3339;
  --btnHover:#1f2328;

  --okBg:#ecfdf5;
  --okBr:#bbf7d0;
  --okTx:#065f46;

  --erBg:#fef2f2;
  --erBr:#fecaca;
  --erTx:#991b1b;

  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);

  background:
    radial-gradient(900px 420px at 50% 10%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--bg1), var(--bg2));

  display:flex;
  justify-content:center;
  align-items:center;

  padding: 28px 14px;
}

.wrap{
  width: min(94vw, 920px); /* GENİŞ */
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}

.head{
  text-align:center;
  margin-bottom: 18px;
}

.head h1{
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .2px;
}

.head .sub{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.notice{
  display:none;
  padding: 12px 14px;
  border-radius: 14px;
  margin: 14px 0 18px;
  font-weight: 800;
}

.notice.ok{
  background: var(--okBg);
  border: 1px solid var(--okBr);
  color: var(--okTx);
}

.notice.err{
  background: var(--erBg);
  border: 1px solid var(--erBr);
  color: var(--erTx);
}

.form{ margin-top: 12px; }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items:start;
}

.form-group{ margin-bottom: 16px; }

label{
  display:block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

input, select, textarea{
  width:100%;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

textarea{ min-height: 120px; resize: vertical; }

input:focus, select:focus, textarea:focus{
  background:#ffffff;
  border-color:#9ca3af;
  box-shadow: 0 0 0 4px rgba(17,24,39,.08);
}

input::placeholder, textarea::placeholder{ color:#9ca3af; }

.fieldset{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin: 0 0 16px;
}

.fieldset legend{
  font-size: 13px;
  font-weight: 900;
  color: #374151;
  padding: 0 8px;
}

.rating{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.rate{
  flex:1;
}

.rate input{ display:none; }

.rate-ui{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 10px;

  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background:#fff;

  cursor:pointer;
  user-select:none;

  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.rate-ui:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17,24,39,.10);
}

.rate-ui .n{
  font-weight: 900;
  font-size: 16px;
}

.rate-ui .dot{
  width: 14px; height: 14px;
  border-radius: 999px;
  border: 2px solid #9ca3af;
}

.rate input:checked + .rate-ui{
  border-color:#374151;
  box-shadow: 0 14px 30px rgba(17,24,39,.14);
}

.rate input:checked + .rate-ui .dot{
  border-color:#374151;
  background:#374151;
}

/* honeypot gizli */
.hp{
  position:absolute;
  left:-9999px;
  top:-9999px;
}

.btn{
  width:100%;
  margin-top: 10px;

  border: none;
  border-radius: 14px;

  padding: 14px 16px;
  background: var(--btn);
  color:#fff;

  font-size: 16px;
  font-weight: 900;
  cursor:pointer;

  display:flex;
  justify-content:center;
  align-items:center;
  gap: 12px;

  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, opacity .12s ease;
}

.btn:hover{
  background: var(--btnHover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17,24,39,.16);
}

.btn:active{
  transform: translateY(0);
  box-shadow:none;
}

.btn[disabled]{
  opacity:.75;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.btnSpin{
  display:none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

.btn.loading .btnSpin{ display:inline-block; }

@keyframes spin{
  to{ transform: rotate(360deg); }
}

.mini{
  margin: 12px 0 0;
  text-align:center;
  color: var(--muted);
  font-size: 12px;
}

/* Mobil */
@media (max-width: 720px){
  .card{ padding: 26px; }
  .head h1{ font-size: 28px; }
  .grid{ grid-template-columns: 1fr; }
}
