:root{
  /* === ORANGE SENSUS EKONOMI === */
  --pri:#f97316;
  --pri2:#ea580c;
  --pri3:#fb923c;

  --txt:#0f172a;
  --mut:#64748b;
  --card:rgba(255,255,255,.80);
  --border:rgba(15,23,42,.10);
  --shadow: 0 26px 70px rgba(2,6,23,.16);
}

html,body{height:100%}
body{
  color:var(--txt);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 520px at 10% -10%, rgba(249,115,22,.24), transparent 60%),
    radial-gradient(900px 520px at 110% 0%, rgba(234,88,12,.20), transparent 55%),
    radial-gradient(800px 520px at 50% 115%, rgba(251,146,60,.14), transparent 60%),
    linear-gradient(180deg, #ffffff, #fff7ed);
  overflow-x:hidden;
}

body:before{
  content:"";
  position:fixed; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  opacity:.06;
  pointer-events:none;
  z-index:-1;
}

.blob{
  position:fixed;
  width:540px;height:540px;
  filter: blur(70px);
  border-radius:999px;
  opacity:.55;
  z-index:-2;
  animation: floaty 9s ease-in-out infinite;
  transform: translate3d(0,0,0);
}
.b1{left:-180px;top:-220px;background:radial-gradient(circle at 30% 30%, rgba(249,115,22,.58), transparent 62%);}
.b2{right:-220px;top:-200px;background:radial-gradient(circle at 30% 30%, rgba(234,88,12,.55), transparent 62%);animation-delay:-2s;}
.b3{left:30%;bottom:-260px;background:radial-gradient(circle at 30% 30%, rgba(251,146,60,.45), transparent 62%);animation-delay:-4s;}
@keyframes floaty{
  0%,100%{ transform: translateY(0) translateX(0) scale(1); }
  50%{ transform: translateY(18px) translateX(12px) scale(1.03); }
}

.wrap{
  min-height:100%;
  display:grid;
  place-items:center;
  padding: 28px 14px;
}

.shell{
  width:min(460px, 94vw);
  perspective: 900px;
}

.cardx{
  border-radius: 28px;
  overflow:hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transform: translateZ(0);
}

.hero{
  padding: 22px 22px 18px;
  color:#fff;
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(255,255,255,.25), transparent 60%),
    linear-gradient(120deg, rgba(234,88,12,.95), rgba(249,115,22,.95));
  position:relative;
  isolation:isolate;
}
.hero:after{
  content:"";
  position:absolute;
  right:-70px; bottom:-120px;
  width:320px; height:320px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 62%);
  transform: rotate(12deg);
  z-index:-1;
}

.brand{display:flex; align-items:center; gap:12px;}
.logo{
  width:54px;height:54px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  display:grid; place-items:center;
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
  flex:0 0 auto;
}
.logo svg{width:28px;height:28px}
.brand h1{
  margin:0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing:.2px;
  line-height:1.15;
}

.content{
  padding: 18px 22px 22px;
  background: rgba(255,255,255,.70);
}
.title{
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 4px;
}

.field{position:relative;margin-bottom: 12px;}
.field input{
  height: 52px;
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  padding: 20px 52px 10px 56px;
  outline: none;
  box-shadow:none;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.field input:focus{
  background:#fff;
  border-color: rgba(249,115,22,.55);
  box-shadow: 0 0 0 .25rem rgba(249,115,22,.14);
}
.field label{
  position:absolute;
  left:56px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(100,116,139,.95);
  font-size: 14px;
  transition: all .16s ease;
  pointer-events:none;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label{
  top: 12px;
  transform: none;
  font-size: 11.5px;
  color: rgba(234,88,12,.90);
  font-weight: 700;
}

.iconL{
  position:absolute;
  left:12px; top:50%;
  transform: translateY(-50%);
  width:40px; height:40px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(249,115,22,.14);
  color: rgba(234,88,12,.95);
  pointer-events:none;
}
.iconL svg{width:18px;height:18px}

.iconR{
  position:absolute;
  right:10px; top:50%;
  transform: translateY(-50%);
  width:42px; height:42px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  display:grid; place-items:center;
  cursor:pointer;
  user-select:none;
}
.iconR:active{ transform: translateY(-50%) scale(.98); }

.btnx{
  height: 52px;
  border-radius: 18px;
  border: none;
  width:100%;
  font-weight: 900;
  letter-spacing:.2px;
  color:#fff;
  background: linear-gradient(120deg, var(--pri2), var(--pri));
  box-shadow: 0 18px 38px rgba(249,115,22,.30);
  position:relative;
  overflow:hidden;
  transition: transform .08s ease, filter .2s ease;
}
.btnx:before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(240px 120px at 20% 0%, rgba(255,255,255,.30), transparent 55%);
  opacity:.9;
}
.btnx span{ position:relative; z-index:1; }
.btnx:hover{ filter: brightness(1.03); }
.btnx:active{ transform: translateY(1px); }
.btnx:disabled{ opacity:.85; }

.spinner{
  width:18px; height:18px;
  border: 2px solid rgba(255,255,255,.55);
  border-top-color:#fff;
  border-radius:999px;
  display:inline-block;
  vertical-align:-3px;
  margin-right:8px;
  animation: spin .7s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg);} }

.foot{
  margin-top: 10px;
  text-align:center;
  font-size: 12px;
  color: rgba(15,23,42,.45);
}

.hint{
  display:none;
  margin-top:6px;
  font-size: 12px;
  color:#b45309;
}
.hint.show{ display:block; }

.toastx{
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: min(520px, 92vw);
  z-index: 9999;
  display:none;
}
.toastx.show{ display:block; }
.toastx .box{
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(2,6,23,.12);
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.toastx .dot{ width:10px;height:10px;border-radius:999px;margin-top:6px;flex:0 0 auto; }
.toastx .t1{ font-weight: 900; margin:0; font-size:14px; }
.toastx .t2{ margin:2px 0 0; color: rgba(100,116,139,.95); font-size: 12.8px; }
.toastx .close{
  margin-left:auto;
  border:none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: rgba(15,23,42,.55);
  padding: 2px 6px;
}

@media (max-width: 520px){
  .shell{ perspective: none; }
}
