:root{
  --bg: #0b1220;
  --card: #121a2c;
  --card2: #0f172a;
  --text: #e6eaf2;
  --muted: #a6b0c3;
  --border: rgba(255,255,255,0.10);
  --focus: rgba(255,255,255,0.18);
  --danger: #ff5a5f;
  --ok: #25c2a0;
  --info: #56a0ff;
  --btn: #ffffff;
  --btnText: #0b1220;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}


*{ 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;
  background: radial-gradient(1200px 800px at 20% 10%, #142044 0%, rgba(20,32,68,0) 60%),
              radial-gradient(1200px 800px at 90% 30%, #1b2b5b 0%, rgba(27,43,91,0) 65%),
              var(--bg);
  color: var(--text);
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 50px;
}

.header{
  display: grid;
  gap: 16px;
  padding: 18px 18px 6px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18,26,44,0.6);
  backdrop-filter: blur(10px);
}

.brand{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
}

.logo{
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--border);
}

.logo img {
  height: 28px;      /* icon size */
  width: auto;
  display: block;
  object-fit: contain;
}


h1{
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}
.subtitle{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 6px;
}
.meta strong{ color: var(--text); font-weight: 600; }

.card{
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(18,26,44,0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.form{ display: grid; gap: 14px; }

.section-title{
  margin: 8px 0 0;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.divider{
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field{ display: grid; gap: 6px; }
label{
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}
.req{ color: var(--danger); margin-left: 2px; }

input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.65);
  color: var(--text);
  outline: none;
  font-size: 14px;
}

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

input:focus, select:focus, textarea:focus{
  border-color: var(--focus);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

.hint{
  color: var(--muted);
  font-size: 12px;
}

.note{
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.actions{
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: var(--btn);
  color: var(--btnText);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); opacity: 0.92; }

.privacy{
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.alert{
  display: none;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.65);
  color: var(--text);
  font-size: 13px;
}
.alert.alert-error{
  display: block;
  border-color: rgba(255,90,95,0.35);
}
.alert.alert-info{
  display: block;
  border-color: rgba(86,160,255,0.35);
}
.alert.alert-success{
  display: block;
  border-color: rgba(37,194,160,0.35);
}

.footer{
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* Hide honeypot */
.hp{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Responsive */
@media (max-width: 820px){
  .grid{ grid-template-columns: 1fr; }
  .brand{ grid-template-columns: 48px 1fr; }
  .logo{ width: 48px; height: 48px; border-radius: 14px; }
}
