:root {
  --bg: #0d1117;
  --panel: #161b22;
  --line: #2d333b;
  --text: #e6edf3;
  --muted: #9da7b3;
  --accent: #005b66;
  --accent-hover: #054249;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0b1016, #111827);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 420px;
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.brand,
.card {
  padding: 40px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgb(255, 255, 255);
}

.label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand h1 {
  font-size: 38px;
  margin-bottom: 12px;
}

.brand p {
  color: var(--muted);
  line-height: 1.6;
}

.card h2 {
  margin-bottom: 24px;
  font-size: 28px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input {
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f141a;
  color: var(--text);
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}


button {
  height: 52px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: var(--accent-hover);
}

.message {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  min-height: 20px;
}

.brand-logo {
  width: 500px;
  height: auto;
  margin-bottom: 20px;
}

@media (max-width: 800px) {
  .login {
    grid-template-columns: 1fr;
  }

  .brand,
  .card {
    padding: 28px;
  }

  .brand h1 {
    font-size: 30px;
  }
}