:root {
  --bs-primary: #696cff;
  --bs-primary-rgb: 105, 108, 255;
  --bs-body-bg: #f4f5fb;
  --bs-body-color: #3b4056;
  --bs-border-color: #e5e6e8;
  --bs-heading-color: #3b4056;
}

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

body {
  background-color: var(--bs-body-bg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.authentication-wrapper {
  display: flex;
  flex-basis: 100%;
  min-height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.authentication-inner {
  width: 100%;
  max-width: 450px;
  position: relative;
  padding: 1.5rem 0;
}

.authentication-image {
  z-index: -1;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 7%;
  pointer-events: none;
}

.auth-card {
  border: 0;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(165, 163, 174, 0.15);
}

.app-brand {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.app-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.app-brand-logo {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.lang-switch {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.lang-switch a {
  color: #8e93a7;
  text-decoration: none;
}

.lang-switch a.active {
  color: var(--bs-primary);
  font-weight: 600;
}

.form-floating > .form-control,
.form-floating > .form-select {
  height: calc(3.5rem + 2px);
  line-height: 1.25;
  border-color: var(--bs-border-color);
}

.form-floating > label {
  color: #8e93a7;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.15);
}

.form-floating > .form-control.is-invalid {
  border-color: #ff4c51;
}

.form-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #8e93a7;
}

.form-password-toggle .input-group .form-floating > .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.form-password-toggle .input-group .input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-inline: 0.875rem;
}

.form-password-toggle .input-group:focus-within .input-group-text {
  box-shadow: none;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #5f61e6;
  border-color: #5f61e6;
}

.alert {
  font-size: 0.875rem;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 199, 111, 0.12);
  color: #28c76f;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .authentication-image {
    display: none !important;
  }
}
