:root {
  --navy: #081c34;
  --blue: #102b4a;
  --green: #20d67b;
  --green-dark: #17c964;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #0d1b2a;
  --muted: #64748b;
  --border: #e5e7eb;
  --shadow: 0 24px 60px rgba(8, 28, 52, .14);
}

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

body {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(32, 214, 123, .18), transparent 32%),
    linear-gradient(180deg, #f8fbff, var(--bg));
  color: var(--text);
}

a {
  text-decoration: none;
}

.auth-page {
  min-height: 100vh;
  padding: 32px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  color: var(--navy);
}

.auth-logo img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(8, 28, 52, .12);
}

.auth-logo strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.auth-logo span {
  color: var(--green);
}

.auth-logo small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.auth-header {
  margin-bottom: 26px;
}

.auth-header h1 {
  color: var(--navy);
  font-size: 32px;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}

.form-group input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: .2s ease;
}

.form-group input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(32, 214, 123, .14);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.form-options a,
.auth-link a {
  color: var(--green-dark);
  font-weight: 700;
}

.btn-auth {
  height: 54px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(32, 214, 123, .28);
  transition: .25s ease;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(32, 214, 123, .35);
}

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

@media (max-width: 520px) {
  .auth-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .auth-logo strong {
    font-size: 24px;
  }

  .auth-header h1 {
    font-size: 28px;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
  }
}