:root {
  --bg-main: #f5f5f7;
  --bg-white: #ffffff;
  --text-main: #1d1d1f;
  --text-sub: #6e6e73;
  --hover: #e8e8ed;
  --border: #d2d2d7;
  --blue: #0071e3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-main);

  font-family: Arial, Helvetica, sans-serif;

  height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;
}

.auth-container {
  width: 100%;

  display: flex;

  justify-content: center;

  align-items: center;
}

.auth-box {
  width: 420px;

  background: var(--bg-white);

  padding: 40px;

  border-radius: 25px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 2px 10px rgba(0, 0, 0, 0.05);

  animation: fadeUp 0.5s ease;
}

.auth-box h1 {
  text-align: center;

  margin-bottom: 10px;

  color: var(--text-main);
}

.sub-text {
  text-align: center;

  color: var(--text-sub);

  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;

  margin-bottom: 8px;

  color: var(--text-main);

  font-weight: 600;
}

.input-group input {
  width: 100%;

  height: 50px;

  border: 1px solid var(--border);

  border-radius: 12px;

  padding: 0 15px;

  font-size: 16px;

  transition: 0.25s ease;
}

.input-group input:focus {
  border-color: var(--blue);

  outline: none;

  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.extra {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 25px;

  font-size: 14px;
}

.extra a {
  text-decoration: none;

  color: var(--blue);
}

button {
  width: 100%;

  height: 50px;

  border: none;

  border-radius: 14px;

  background: var(--text-main);

  color: white;

  font-size: 17px;

  font-weight: bold;

  cursor: pointer;

  transition: 0.3s ease;
}

button:hover {
  background: #3a3a3c;

  transform: translateY(-2px);
}

.bottom-text {
  text-align: center;

  margin-top: 25px;

  color: var(--text-sub);
}

.bottom-text a {
  color: var(--blue);

  text-decoration: none;

  font-weight: bold;
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}
