@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300..900&display=swap");

:root {
  --bs-primary: #26a0d9;
  --bs-gray-100: #f9f9f9;
  --bs-gray-200: #f1f1f4;
  --bs-gray-300: #dbdfe9;
  --bs-gray-400: #c4cada;
  --bs-gray-500: #99a1b7;
  --bs-gray-600: #78829d;
  --bs-gray-700: #4b5675;
  --bs-gray-800: #252f4a;
  --bs-gray-900: #071437;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
body {
  font-optical-sizing: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  background-color: #f9f9f9;
}
section {
  --gutter: 2rem;
  justify-content: center;
  margin: var(--gutter);
  height: 100%;
}
.logo-box {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.logo {
  width: 150px;
  height: auto;
}

img {
  vertical-align: middle;
  object-fit: cover;
}
.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.wrapper > * {
  flex: 1;
}

.wrapper__left {
  border-right: 1px solid var(--bs-gray-300);
  max-width: 600px;
  min-width: 400px;
}
.wrapper__left .illustration {
  max-width: 100%;
  max-height: 100%;
}
.wrapper__right {
  max-width: 400px;
}

.right header {
  padding: 1rem 0;
}

.right__title {
  font-weight: 400;
  font-size: 2.2rem;
}

.right__comment {
  color: var(--bs-gray-600);
  font-size: 0.9rem;
  padding: 1rem 0 2rem 0;
}

input[type="email"],
input[type="password"] {
  display: block;
  width: 100%;
  border-radius: 0.325rem;
  border: 2px solid var(--bs-gray-200);
  padding: 1rem;
  margin: 0.325rem 0;
  outline: none;
  transition: 0.35s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
  background-color: var(--bs-gray-300);
  border-color: var(--bs-gray-300);
}

.actions {
  justify-content: space-between;
  padding: 0.5rem;
  margin-bottom: 0.825rem;
  font-size: 0.9rem;
  color: var(--bs-gray-700);
}

#remember_me {
  position: relative;
  height: 1.2rem;
  width: 1.2rem;
  vertical-align: center;
  top: 3px;
  accent-color: var(--bs-primary);
}
.forgot-password {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 300;
}

.bg-label-danger {
  background-color: #fce5e6 !important;
  width: 100%;
  color: #ea5455 !important;
}

.badge {
  --bs-badge-padding-x: 1em;
  --bs-badge-padding-y: 0.8em;
  --bs-badge-font-size: 0.9rem;
  --bs-badge-font-weight: 400;
  --bs-badge-border-radius: 0.25rem;
  display: inline-block;
  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
  font-size: var(--bs-badge-font-size);
  font-weight: var(--bs-badge-font-weight);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-badge-border-radius);
}

button[name="login"] {
  width: 50%;
  padding: 1rem;
  font-size: 1rem;
  color: white;
  font-weight: 500;
  background-color: var(--bs-primary);
  font-weight: 500;
  border: 1px solid var(--bs-primary);
  outline: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

button[name="login"]:hover {
  filter: brightness(120%);
}

@media only screen and (max-width: 900px) {
  .wrapper__left {
    display: none;
  }
}
