:root {
  --bg0: #050712;
  --bg1: #090f1f;
  --card: #0e1731de;
  --stroke: rgba(122, 198, 255, .20);
  --stroke2: rgba(122, 198, 255, .34);
  --text: #e8f1ff;
  --muted: rgba(226, 240, 255, .76);
  --muted2: rgba(226, 240, 255, .56);
  --accent: #5cf2ff;
  --accent2: #ff6bd8;
  --good: #42e796;
  --mono: "JetBrains Mono", "IBM Plex Mono", monospace;
  --sans: "JetBrains Mono", "IBM Plex Mono", "Space Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: radial-gradient(circle at 50% 0%, #151d38 0%, #050712 60%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .02) 0px, rgba(255, 255, 255, .02) 1px, transparent 2px, transparent 4px);
  pointer-events: none;
  z-index: 0;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 50;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}

.logo {
  width: 210px;
  height: 90px;
  border-radius: 14px;
  background: url('https://plazzma.cloud/logo-plazzma.png') center/contain no-repeat;
  border: none;
}
.brand span:not(.logo) {
  display: none;
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 10;
  padding: 20px;
}

.auth-card {
  width: min(420px, 100%);
  background: rgba(14, 23, 49, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(122, 198, 255, .15);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 234, 255, .5), transparent);
}

h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff, #b4c6ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

label {
  display: block;
  font-size: 12px;
  color: var(--muted2);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  background: rgba(5, 7, 18, 0.6);
  border: 1px solid rgba(122, 198, 255, .15);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(100, 243, 255, 0.1);
}

button.btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #050712;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  margin-top: 10px;
}

button.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.alt {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

.alt a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

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

.error {
  background: rgba(255, 95, 125, 0.1);
  border: 1px solid rgba(255, 95, 125, 0.3);
  color: #ff8fa5;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}
/* Split Layout for Register */
.auth-wrap-split {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 900px;
}

.summary-card {
  flex: 1;
  min-width: 300px;
  background: rgba(5, 7, 18, 0.6);
  border: 1px solid rgba(122, 198, 255, .15);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.summary-card h3 {
  margin: 0 0 20px;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 16px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.summary-item .label { color: var(--muted); }
.summary-item .val { color: #fff; font-family: var(--mono); text-align: right; }

.summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 0;
}

.summary-item.total .val {
  color: var(--accent);
  font-size: 18px;
}

.secure-badge {
  margin-top: 24px;
  background: rgba(66, 231, 150, 0.1);
  color: var(--good);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(66, 231, 150, 0.2);
}
