:root {
  --app-green-900: #073b2c;
  --app-green-800: #0b4d38;
  --app-green-700: #106b4c;
  --app-gold: #d4af37;
  --app-gold-soft: #f2dfa3;
  --app-cream: #f6f3ea;
  --app-ink: #1f2a24;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.app-topbar {
  background: linear-gradient(100deg, var(--app-green-900), var(--app-green-700));
  border-bottom: 3px solid var(--app-gold);
  box-shadow: 0 .35rem 1rem rgba(7, 59, 44, .22);
  padding: .35rem 0;
}

.app-topbar .container-fluid {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff !important;
  text-decoration: none;
}

.app-brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: .8rem;
  background: var(--app-gold);
  color: var(--app-green-900);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .04em;
  box-shadow: 0 .2rem .6rem rgba(0, 0, 0, .18);
}

.app-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.app-brand-text strong {
  font-size: 1.05rem;
  letter-spacing: .01em;
}

.app-brand-text small {
  color: var(--app-gold-soft);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.app-toggler {
  border-color: rgba(255, 255, 255, .6) !important;
  filter: invert(1);
}

.app-nav-main, .app-nav-user {
  gap: .4rem;
}

.app-nav-user {
  margin-left: 1rem;
}

.app-nav-link {
  color: rgba(255, 255, 255, .82) !important;
  font-weight: 600;
  padding: .65rem 1.15rem !important;
  border-radius: .55rem;
  transition: background-color .15s ease, color .15s ease;
}

.app-nav-link:hover, .app-nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 0 -2px 0 var(--app-gold);
}

.app-user-link {
  display: flex !important;
  align-items: center;
  gap: .6rem;
  color: #fff !important;
  padding: .35rem .6rem !important;
}

.app-user-avatar {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--app-gold-soft);
  color: var(--app-green-900);
  font-weight: 800;
}

.app-user-link small {
  display: block;
  color: var(--app-gold-soft);
  font-size: .68rem;
  line-height: 1;
}

.app-logout-btn {
  border: 1px solid var(--app-gold);
  background: transparent;
  color: var(--app-gold-soft) !important;
  border-radius: .55rem;
  padding: .45rem .85rem;
  margin-left: .35rem;
  font-weight: 700;
}

.app-logout-btn:hover {
  background: var(--app-gold);
  color: var(--app-green-900) !important;
}

.app-login {
  min-height: 100vh;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  background: var(--app-cream);
  color: var(--app-ink);
}

.app-login-shell {
  flex: 1 0 auto;
  min-height: calc(100vh - 3.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}

.app-login-shell .row {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.app-login-brand {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 3rem;
  border-radius: 1.25rem 0 0 1.25rem;
  color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(212, 175, 55, .32), transparent 32%), linear-gradient(145deg, var(--app-green-900), var(--app-green-700));
}

.app-login-brand::before {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  right: -10rem;
  bottom: -12rem;
  border: 1px solid rgba(242, 223, 163, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(242, 223, 163, .05), 0 0 0 6rem rgba(242, 223, 163, .04);
}

.app-login-brand > * {
  position: relative;
  z-index: 1;
}

.app-login-emblem {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--app-gold);
  border-radius: 50%;
  color: var(--app-gold);
  font-weight: 800;
  letter-spacing: .05em;
}

.app-login-brand h1 {
  margin-top: 2rem;
  font-size: 2.15rem;
  font-weight: 750;
  line-height: 1.15;
}

.app-login-brand .lead {
  color: rgba(255, 255, 255, .82);
  margin-top: .9rem;
}

.app-login-points {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
}

.app-login-points li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  color: rgba(255, 255, 255, .9);
}

.app-login-points li::before {
  content: "";
  width: .5rem;
  height: .5rem;
  margin-top: .45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--app-gold);
}

.app-login-form-panel {
  display: flex;
  align-items: center;
  padding: 2rem;
}

.app-login-card {
  width: 100%;
  padding: 2.5rem;
  border: 1px solid rgba(11, 77, 56, .12);
  border-top: 4px solid var(--app-gold);
  border-radius: 0 1.25rem 1.25rem 0;
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(7, 59, 44, .14);
}

.app-login-kicker {
  color: var(--app-green-700);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.app-login-card h2 {
  margin: .4rem 0 .35rem;
  color: var(--app-green-900);
  font-size: 1.8rem;
  font-weight: 750;
}

.app-login-card .form-label {
  color: var(--app-green-900);
  font-weight: 650;
}

.app-input-group .input-group-text {
  background: var(--app-cream);
  border-right: 0;
  color: var(--app-green-700);
}

.app-input-group .form-control {
  border-left: 0;
}

.app-input-group .form-control:focus {
  border-color: var(--app-gold);
  box-shadow: 0 0 0 .2rem rgba(212, 175, 55, .25);
}

.app-password-toggle {
  border-left: 0;
  background: var(--app-cream);
  color: var(--app-green-700);
  font-weight: 700;
  padding: .55rem .9rem;
}

.app-password-toggle:hover {
  background: var(--app-gold-soft);
  color: var(--app-green-900);
}

.app-login-btn {
  padding: .8rem;
  border: 0;
  background: linear-gradient(100deg, var(--app-green-800), var(--app-green-700));
  color: #fff;
  font-weight: 750;
  letter-spacing: .02em;
}

.app-login-btn:hover {
  background: linear-gradient(100deg, var(--app-green-700), var(--app-green-800));
  color: var(--app-gold-soft);
}

.app-login-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 77, 56, .12);
  color: #6b7a72;
  font-size: .85rem;
}

@media (max-width: 991.98px) {
  .app-login-brand {
    min-height: auto;
    padding: 2rem;
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .app-login-brand h1 {
    margin-top: 1.25rem;
    font-size: 1.7rem;
  }

  .app-login-points {
    display: none;
  }

  .app-login-form-panel {
    padding-top: 0;
  }

  .app-login-card {
    border-radius: 0 0 1.25rem 1.25rem;
  }
}

.app-footer {
  margin-top: auto;
  padding: .8rem 0;
  border-top: 3px solid var(--app-gold);
  background: linear-gradient(90deg, var(--app-green-900), var(--app-green-800));
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
}

.app-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1rem;
}

.app-footer-left {
  font-weight: 600;
  letter-spacing: .02em;
}

.app-footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
}

.app-footer a {
  color: var(--app-gold-soft);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 223, 163, .45);
}

.app-footer a:hover {
  color: #fff;
  border-bottom-color: var(--app-gold);
}

.app-footer-separator {
  padding: 0 .4rem;
  color: var(--app-gold);
}

@media (max-width: 575.98px) {
  .app-footer-inner {
    justify-content: center;
    text-align: center;
  }

  .app-footer-right {
    justify-content: center;
  }

  .app-footer-separator {
    display: none;
  }
}
