:root {
  --bs-text-light: #e6e6e6;
  --bs-text-dark: #1a1a1a;
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #f2f2f2;
  --bs-gray-dark: #343a40;
  --bs-primary: #CA2A39;
  --bs-primary-hover: #9e212e;
  --bs-secondary: #215991;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #404040;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #CA2A39;
  --bs-btn-border-color: #CA2A39;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #9e212e;
  --bs-btn-hover-border-color: #CA2A39;
  --bs-btn-focus-shadow-rgb: ff, ff, ff;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #9e212e;
  --bs-btn-active-border-color: #9e212e;
  --bs-btn-active-shadow: inset 0 3px 5px #CA2A39;
}

.btn-outline-primary {
    --bs-btn-color: #CA2A39;
    --bs-btn-border-color: #CA2A39;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #9e212e;
    --bs-btn-hover-border-color: #CA2A39;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #9e212e;
    --bs-btn-active-border-color: #9e212e;
    --bs-btn-active-shadow: inset 0 3px 5px #CA2A39;
}

.container-intend {
  left: 5%;
}

@media (min-width: 768px) {
  .container-intend {
    left: 25%;
  }
}

.page-login {
  background-color: var(--bs-dark);
  color: var(--bs-text-light);
  min-width: 365px;
}

.header-container {
  width: 152px;
}

.header-container {
  background-image: url('../img/logo-cn-mobility.svg');
  display: block;
  width: 430px;
  height: 25px;
  background-repeat: no-repeat;
  margin-top: 13px;
  z-index: -1;
}

.header-container::before {
  content: '';
  position: absolute;
  top: 0;
  display: block;
  width: 143px;
  border-top: 7px solid var(--bs-primary);
  height: 10px;
  margin-top: -13px;
}

.footer-container-content::before {
  content: '';
  position: relative;
  border-bottom: 7px solid var(--bs-primary);
  width: 80px;
  height: 10px;
  margin-right: 5px;
  display: inline-block;
}

.footer-container {
  width: 430px;
  z-index: -1;
  font-size: .7em;
}

.container-centered {
  position: absolute;
  background-color: var(--bs-gray);
  color: var(--bs-text-dark);
  min-width: 90%;
  max-width: 1100px;
  top: 80px;
  left: 50%;
  transform: translate(-50%, 0);
}

@media (min-width: 768px) {
  .container-centered {
    min-width: 70%;
  }
}

@media (min-width: 992px) {
  .container-centered {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 750px;
  }
}

.login-logo-image img {
  max-height: 50px;
}

.login-image img {
  width: 100%;
  min-height: 502px;
  object-fit: cover;
}

.login-form-container {
  padding: 2em 2em 1em;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 576px) {
    /* Sets a minimum width for larger screens to prevent layout shifts between Step 1 & Step 2 */
    .login-form-container {
        min-width: 470px;
    }
}

@media (min-width: 992px) {
    .login-form-container {
      padding: 3em 3em 1em; /* Top & Side: 3em, Bottom: 1em */
    }
}

.branding{
  margin-top: auto;
  color: lightgray;
}

.password-change-form-container {
  padding: 1em;
}

@media (min-width: 992px) {
  .password-change-form-container {
    padding: 2em;
  }
}

.card-header.bg-primary {
    background-color: #CA2A39 !important;
    border-bottom: 1px solid #b82432;
}