.dcm-login {
  min-height: 100dvh;
  overflow: hidden;
  color: #172033;
  background:
    radial-gradient(circle at 78% 12%, rgba(54, 177, 132, 0.12), transparent 28rem),
    linear-gradient(135deg, #f7f9fc 0%, #eef4f7 48%, #f8fafb 100%);
}

.dcm-login__inner,
.dcm-login .min-vh-100 {
  min-height: 100dvh !important;
}

.dcm-login__showcase {
  position: relative;
  overflow: hidden;
  align-items: stretch;
  color: #fff;
  background:
    linear-gradient(116deg, rgba(14, 24, 38, 0.97) 0%, rgba(18, 51, 62, 0.91) 52%, rgba(36, 100, 88, 0.78) 100%),
    url('../img/backgrounds/16.jpg') center/cover no-repeat;
}

.dcm-login__showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #172033 0%, transparent 72%);
}

.dcm-login__showcase::after {
  content: '';
  position: absolute;
  right: -13rem;
  bottom: -15rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  transform: translate3d(0, 0, 0);
  animation: dcm-login-float 9s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

.dcm-login__showcase-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: 100%;
  min-height: 100dvh;
  padding: clamp(2.75rem, 5vw, 5rem);
}

.dcm-login__brand,
.dcm-login__mobile-brand {
  display: inline-flex;
  width: fit-content;
}

.dcm-login__brand img,
.dcm-login__mobile-brand img {
  width: 230px;
  max-width: 100%;
  filter: drop-shadow(0 14px 24px rgba(7, 14, 24, 0.22));
}

.dcm-login__headline {
  align-self: center;
  max-width: 690px;
  padding: 4rem 0 3rem;
  animation: dcm-login-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dcm-login__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  color: #9ee7c8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dcm-login__headline h1 {
  max-width: 650px;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.dcm-login__headline p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.dcm-login__metrics {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.18fr;
  gap: 1rem;
  max-width: 780px;
  animation: dcm-login-rise 0.72s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dcm-login__metrics div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 76px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.085);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
}

.dcm-login__metrics i {
  color: #7ddfba;
  font-size: 1.55rem;
}

.dcm-login__metrics span {
  color: rgba(255, 255, 255, 0.91);
  font-weight: 700;
}

.dcm-login__status {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-self: end;
  gap: 0 0.6rem;
  margin-top: 2rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 20, 32, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.dcm-login__status span {
  grid-row: 1 / span 2;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: #7ddfba;
  box-shadow: 0 0 0 0 rgba(125, 223, 186, 0.38);
  animation: dcm-login-pulse 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.dcm-login__status strong {
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.1;
}

.dcm-login__status small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  line-height: 1.1;
}

.dcm-login .authentication-bg {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.95)),
    radial-gradient(circle at 12% 18%, rgba(125, 223, 186, 0.18), transparent 21rem);
}

.dcm-login__panel {
  max-width: 468px;
  padding: 2rem;
  animation: dcm-login-rise 0.56s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dcm-login__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(40, 154, 113, 0.22);
  border-radius: 999px;
  color: #167552;
  background: rgba(95, 204, 162, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
}

.dcm-login__panel h2 {
  color: #172033;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.dcm-login__form .form-label {
  color: #344054;
  font-weight: 700;
}

.dcm-login__form .input-group {
  border-radius: 8px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.dcm-login__form .input-group:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -22px rgba(12, 20, 32, 0.46);
}

.dcm-login__form .input-group-lg > .form-control,
.dcm-login__form .input-group-lg > .input-group-text {
  min-height: 3.35rem;
  border-color: #d9e0e8;
  font-size: 1rem;
}

.dcm-login__form .input-group-text,
.dcm-login__form .form-control {
  background: #fff;
}

.dcm-login__form .input-group-text {
  color: #667085;
}

.dcm-login__form .form-control::placeholder {
  color: #98a2b3;
}

.dcm-login__form .form-control:focus {
  border-color: #6ac9a4;
}

.dcm-login__form .btn-lg {
  min-height: 3.35rem;
  border: 0;
  border-radius: 8px;
  background: #1b7f5d;
  box-shadow: 0 18px 34px -20px rgba(27, 127, 93, 0.78);
  font-weight: 700;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.26s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.dcm-login__form .btn-lg:hover,
.dcm-login__form .btn-lg:focus {
  background: #176f51;
  box-shadow: 0 20px 38px -20px rgba(27, 127, 93, 0.86);
  transform: translateY(-1px);
}

.dcm-login__form .btn-lg:active {
  transform: scale(0.985);
}

.dcm-login__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: #1b7f5d;
  font-weight: 700;
  transition: color 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.dcm-login__back-link:hover,
.dcm-login__back-link:focus {
  color: #176f51;
  transform: translateX(-2px);
}

.dcm-login__loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.dcm-login__loading span {
  position: relative;
  width: 2.15rem;
  height: 0.36rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.dcm-login__loading span::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.84);
  transform: translateX(-120%);
  animation: dcm-login-loading 0.9s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@media (max-width: 991.98px) {
  .dcm-login {
    background:
      linear-gradient(180deg, rgba(247, 249, 252, 0.9), #f7f9fc 58%),
      url('../img/backgrounds/16.jpg') center/cover no-repeat;
  }

  .dcm-login .authentication-bg {
    min-height: 100dvh;
    background: rgba(247, 249, 252, 0.9);
  }

  .dcm-login__panel {
    max-width: 520px;
    padding: 2rem 1.25rem;
  }

  .dcm-login__mobile-brand {
    margin-bottom: 2.25rem;
  }
}

.dcm-login--recover .dcm-login__showcase {
  background:
    linear-gradient(116deg, rgba(14, 24, 38, 0.98) 0%, rgba(28, 57, 66, 0.92) 54%, rgba(56, 94, 81, 0.8) 100%),
    url('../img/backgrounds/17.jpg') center/cover no-repeat;
}

.dcm-login--recover .dcm-login__headline {
  max-width: 720px;
}

.dcm-login--recover .dcm-login__metrics--steps {
  grid-template-columns: 0.96fr 0.9fr 1.08fr;
}

.dcm-login--recover .dcm-login__panel {
  max-width: 476px;
}

.dcm-login--verify .dcm-login__showcase {
  background:
    linear-gradient(116deg, rgba(16, 35, 48, 0.98) 0%, rgba(24, 72, 80, 0.94) 55%, rgba(34, 105, 99, 0.86) 100%),
    url('../img/backgrounds/17.jpg') center/cover no-repeat;
}

.dcm-login--verify .dcm-login__headline {
  max-width: 650px;
}

.dcm-login--verify .dcm-login__headline h1 {
  max-width: 560px;
}

.dcm-login--verify .dcm-login__panel {
  max-width: 500px;
}

.dcm-login--verify .dcm-login__badge {
  background: #e3f5f0;
  color: #14615e;
}

.dcm-login--verify .dcm-login__form .form-control {
  min-height: 50px;
}

.dcm-login--verify #reset-code {
  background: #f7fbfa;
  border: 1px solid #b9d9d3;
  color: #174c51;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .28em;
  min-height: 62px;
}

.dcm-login--verify #reset-code:focus {
  background: #fff;
  border-color: #2b8c82;
  box-shadow: 0 0 0 .2rem rgba(43, 140, 130, .16);
}

.dcm-login--verify .dcm-login__form .small {
  background: #f4f8f7;
  border: 1px solid #e1ece9;
  border-radius: 10px;
  color: #536b6d !important;
  padding: 10px 12px;
}

@media (prefers-reduced-motion: reduce) {
  .dcm-login *,
  .dcm-login *::before,
  .dcm-login *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes dcm-login-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes dcm-login-float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-1rem, -1.25rem, 0) scale(1.035);
  }
}

@keyframes dcm-login-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 223, 186, 0.36);
  }

  72% {
    box-shadow: 0 0 0 0.55rem rgba(125, 223, 186, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(125, 223, 186, 0);
  }
}

@keyframes dcm-login-loading {
  to {
    transform: translateX(260%);
  }
}
