@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #27313D;
  font-family: 'Lato', sans-serif;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

#alert {
  width: 100%;
}

#alert .alert {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  border-radius: 6px;
  margin-bottom: 16px;
  border: none;
}

#alert .alert-danger {
  background-color: #fdecea;
  color: #8b1a1a;
}

#alert .alert-success {
  background-color: #eaf6ec;
  color: #1a5c2a;
}

#alert .alert-warning {
  background-color: #fff5e6;
  color: #7a4a00;
}

.form-signin {
  width: 100%;
  padding: 40px 35px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.form-signin .logo-wrapper {
  text-align: center;
  margin-bottom: 24px;
}

.form-signin .logo-wrapper img {
  max-height: 60px;
  width: auto;
}

.form-signin h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #2F2F2F;
  margin-bottom: 24px;
}

.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 12px 14px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: #2F2F2F;
  background-color: #f9f9fb;
  border: 1px solid #d0d4da;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-signin .form-control::placeholder {
  color: #8B8B8B;
}

.form-signin .form-control:focus {
  z-index: 2;
  border-color: #F48020;
  box-shadow: 0 0 0 3px rgba(244, 128, 32, 0.15);
  background-color: #ffffff;
  outline: none;
}

.form-signin .btn-primary {
  background-color: #F48020;
  border-color: #F48020;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 12px;
  border-radius: 6px;
  margin-top: 8px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-signin .btn-primary:hover {
  background-color: #F0691A;
  border-color: #F0691A;
  box-shadow: 0 4px 12px rgba(244, 128, 32, 0.35);
}

.form-signin .btn-primary:focus {
  box-shadow: 0 0 0 3px rgba(244, 128, 32, 0.3);
}

.form-signin .btn-primary:active {
  background-color: #d95e15;
  border-color: #d95e15;
}

.form-signin .copyright {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: #8B8B8B;
}

.form-signin .divider {
  display: flex;
  align-items: center;
  margin: 20px 0 16px;
}

.form-signin .divider::before,
.form-signin .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #d0d4da;
}
