:root {
  --bg: #0b0c10;
  --panel: #111317;
  --panel2: #16181e;
  --accent: #39ff14;
  --text: #e7e9ec;
  --muted: #9a9ea6;
  --border: #22252b;
  --error: #ff5252;
  --radius: 12px;
  --shadow: 0 8px 25px rgba(0,0,0,.4);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  height: 100%;
}

.auth-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.auth-card {
  display: flex;
  width: 850px;
  background: var(--panel);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.auth-side {
  background: radial-gradient(circle at 70% 30%, #1d261e 0%, #0d0f0d 100%);
  flex: 1;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 30px;
}
.brand small {
  color: var(--muted);
  font-size: 12px;
}
.logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  margin-bottom: 6px;
}

.side-title {
  font-size: 22px;
  font-weight: 700;
}
.side-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 15px 0;
}

.auth-main {
  flex: 1.3;
  background: var(--panel2);
  padding: 60px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-heading h1 {
  margin: 0;
  font-size: 24px;
}
.auth-heading .sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 25px;
}
.auth-heading .link {
  color: var(--accent);
  text-decoration: none;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
}
.label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.input {
  background: #0e1014;
  border: 1px solid #2a2e35;
  border-radius: var(--radius);
  color: var(--text);
  padding: 10px 12px;
  font-size: 15px;
  outline: none;
  transition: border .2s;
}
.input:focus {
  border-color: var(--accent);
}

.input-group {
  position: relative;
  display: flex;
}
.input-append {
  position: absolute;
  right: 10px;
  top: 8px;
  cursor: pointer;
  opacity: .6;
}
.input-append:hover {
  opacity: 1;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkbox {
  font-size: 13px;
  color: var(--muted);
}
.btn {
  background: var(--accent);
  border: none;
  color: #000;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s;
}
.btn:hover {
  background: #58ff39;
}

.alert.error {
  background: #2a1313;
  border: 1px solid #ff5c5c;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 15px;
}

.auth-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--muted);
}
