/* =====================================================
   GLOBAL RESET + FONT (SATU FONT SAJA)
   ===================================================== */
*,
*::before,
*::after{
  box-sizing:border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html, body{
  margin:0;
  padding:0;
}

body{
  background:#0b0f14;     /* dark soft */
  color:#e6edf3;          /* white soft */
  line-height:1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

/* =====================================================
   CARD
   ===================================================== */
.card{
  width:100%;
  max-width:460px;
  background:#121826;
  border:1px solid #1f2a37;
  border-radius:18px;
  padding:26px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

/* =====================================================
   TITLE
   ===================================================== */
.title{
  text-align:center;
  margin-bottom:20px;
}

.title h1{
  margin:0;
  font-size:26px;
  font-weight:800;
  letter-spacing:.4px;
}

.title .sub{
  margin-top:8px;
  font-size:14px;
  color:#9aa6b2;
  line-height:1.5;
}

/* =====================================================
   ALERT
   ===================================================== */
.alert{
  padding:12px 14px;
  border-radius:12px;
  margin:14px 0 18px;
  font-size:14px;
  border:1px solid transparent;
}

.alert.success{
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.25);
  color:#baf7c9;
}

.alert.error{
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  color:#ffc7c7;
}

/* =====================================================
   FORM
   ===================================================== */
form{ margin-top:6px; }

label{
  display:block;
  font-size:13px;
  margin:12px 0 8px;
  color:#cbd5e1;
}

input,
textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #243244;
  background:#0f1522;
  color:#e6edf3;
  border-radius:12px;
  font-size:14px;
  outline:none;
}

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

input::placeholder,
textarea::placeholder{
  color:#6b7a8a;
}

input:focus,
textarea:focus{
  border-color:#3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}

/* =====================================================
   ERROR FIELD
   ===================================================== */
.field-error input,
.field-error textarea{
  border-color: rgba(239,68,68,.8);
  box-shadow: 0 0 0 4px rgba(239,68,68,.12);
}

.field-msg{
  margin-top:7px;
  font-size:12px;
  color:#ffb4b4;
}

/* =====================================================
   BUTTON
   ===================================================== */
button{
  width:100%;
  margin-top:16px;
  padding:12px 14px;
  background:#1d4ed8;
  color:#ffffff;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  font-size:14px;
  transition: filter .15s ease, transform .05s ease;
}

button:hover{
  filter: brightness(1.05);
}

button:active{
  transform: scale(.985);
}

/* =====================================================
   FOOTER / LINK
   ===================================================== */
.bottom{
  margin-top:20px;
  text-align:center;
  font-size:14px;
  color:#9aa6b2;
}

.bottom a{
  color:#e6edf3;
  font-weight:600;
  text-decoration:none;
}

.bottom a:hover{
  text-decoration:underline;
}
