@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap);

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: #eef3f8;
  background: #071526;
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.admin-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.admin-gate__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 58, .55) 0%, rgba(6, 22, 48, .78) 48%, rgba(5, 16, 36, .92) 100%),
    url("../img/admin-login-city.jpg") center / cover no-repeat;
  filter: saturate(.85);
}

.admin-gate__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
}

.admin-gate__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  text-align: center;
}

.admin-gate__brand {
  margin-bottom: 28px;
}

.admin-gate__mark {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}

.admin-gate__mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.admin-gate__brand h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.6px;
}

.admin-gate__brand p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 600;
}

.admin-gate__alert,
.admin-gate__error {
  margin: 0 0 10px;
  color: #ffd0d0;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.admin-gate__alert {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(140, 20, 20, .45);
  text-align: center;
}

.admin-gate__alert.is-success {
  color: #d9f5e1;
  background: rgba(24, 110, 58, .45);
}

.admin-gate__form {
  display: grid;
  gap: 12px;
}

.admin-gate__field {
  position: relative;
  display: block;
}

.admin-gate__field input {
  width: 100%;
  height: 52px;
  padding: 0 46px 0 48px;
  border: 0;
  border-radius: 999px;
  color: #1d2430;
  background: #fff;
  outline: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
}

.admin-gate__field input::placeholder {
  color: #8b95a5;
  font-weight: 500;
}

.admin-gate__field input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .28);
}

.admin-gate__ico,
.admin-gate__eye {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  color: #8b95a5;
  transform: translateY(-50%);
}

.admin-gate__ico {
  left: 16px;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.admin-gate__ico svg,
.admin-gate__eye svg {
  width: 20px;
  height: 20px;
}

.admin-gate__eye {
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-gate__submit,
.admin-gate__demo {
  width: 100%;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.admin-gate__submit {
  color: #fff;
  background: #2a2a2a;
}

.admin-gate__demo {
  margin-top: 12px;
  color: #fff;
  background: #ff7a1a;
  box-shadow: 0 8px 18px rgba(255, 122, 26, .28);
}

.admin-gate__demo svg {
  width: 16px;
  height: 16px;
}

.admin-gate__submit:hover,
.admin-gate__demo:hover {
  filter: brightness(1.06);
}

.admin-gate__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.admin-gate__remember input {
  width: 15px;
  height: 15px;
  accent-color: #fff;
}

.admin-gate__forget {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.admin-gate__forget:hover {
  color: #fff;
}

.login-logo {
  max-width: 200px;
  width: 100%;
  display: inline-block;
}

.forget-page {
  max-width: 600px;
  margin: auto;
  padding: 10% 0 0;
}

.form {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  background: #202940;
  border-radius: 8px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.form input {
  width: 100%;
  margin: 0 0 15px;
  padding: 15px;
  border: 1px solid #2f374b;
  color: #fff;
  background: #1a2035;
  outline: 0;
  font-family: inherit;
  font-size: 14px;
}

.form button {
  width: auto;
  min-width: 120px;
  padding: 12px 18px;
  border: 0;
  color: #fff;
  background: #4CAF50;
  font-family: inherit;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.form button:hover {
  background: #43A047;
}

a.forget-link,
a.back-to-login {
  display: block;
  margin-top: 17px;
  color: #9fb3d1;
  font-size: 14px;
  text-decoration: none;
}

a.back-to-login:hover,
a.forget-link:hover {
  color: #fff;
}
