:root{
  --bg:#0b1020;
  --bg2:#0f1631;
  --card:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --accent:#7c5cff;
  --accent2:#21d4fd;
  --danger:#ff4d4d;
  --shadow:0 16px 50px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:transparent;
  padding:12px;
}

.gruwu-iframe-widget{
  width:min(520px,100%);
  margin:0 auto;
  background:transparent;
  border:1px solid transparent;
  border-radius:22px;
  box-shadow:none;
  padding:0;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.gruwu-iframe-widget h2{
  margin:0 0 12px;
  font-weight:900;
  letter-spacing:.2px;
  font-size:1.15rem;
}

.disabled-box{
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
}

.gruwu-form{
  display:grid;
  gap:12px;
}

.form-group label{
  display:block;
  margin-bottom:6px;
  color:rgba(255,255,255,.86);
  font-size:.95rem;
}

input,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,10,22,.85);
  color:var(--text);
  outline:none;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}

textarea{
  min-height:110px;
  resize:vertical;
}

input:focus,textarea:focus{
  border-color:rgba(124,92,255,.45);
  box-shadow:0 0 0 3px rgba(124,92,255,.18);
  background:rgba(8,10,22,.92);
}

.btn-send{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
  background:linear-gradient(135deg,rgba(107,124,255,.95),rgba(124,92,255,.88));
  box-shadow:0 12px 28px rgba(107,124,255,.22);
  transition:transform .14s ease,filter .14s ease,box-shadow .14s ease;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

.btn-send:hover{transform:translateY(-1px);filter:brightness(1.03);}
.btn-send:active{transform:translateY(0) scale(.99);}
.btn-send:disabled{cursor:not-allowed;opacity:.7;filter:none;}

.hint{
  min-height:18px;
  font-size:.92rem;
  color:rgba(255,255,255,.72);
}

.popup{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  color:rgba(255,255,255,.92);
}

.popup.error{
  border-color:rgba(255,77,77,.35);
  background:rgba(255,77,77,.14);
}

.hidden{display:none;}

.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

@media (max-width:420px){
  body{padding:10px;}
  .gruwu-iframe-widget{padding:0;border-radius:20px;}
}
