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, body {
  height: 100%;
}

body {
  margin: 0;
  background-color: #f7f8fb;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.app-sidebar {
  width: 250px;
  flex: 0 0 250px;
  background: #ffffff;
  border-right: 1px solid #e6e9ef;
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-brand {
  display: inline-block;
  color: #0a2c67;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.app-nav .nav-link {
  color: #1f2937;
  border-radius: 8px;
  margin-bottom: 4px;
}

.app-nav .nav-link:hover {
  background-color: #eef3ff;
}

.app-main {
  min-width: 0;
  width: 100%;
  min-height: 100vh;
}

.app-content {
  padding: 22px 22px 40px;
}

.footer {
  display: block;
  padding: 6px 22px 10px;
  background-color: transparent;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #6b7280 !important;
  border-top: 0 !important;
  pointer-events: none;
}

.footer .container-fluid {
  padding: 0;
}

.sidebar-auth .navbar-nav {
  flex-direction: column;
}

.sidebar-auth .nav-link {
  padding-left: 0;
}

@media (max-width: 991.98px) {
  .app-shell {
    display: block;
  }

  .app-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: 0;
    border-bottom: 1px solid #e6e9ef;
  }

  .app-content {
    padding: 16px 16px 28px;
  }

  .footer {
    padding: 4px 16px 8px;
    font-size: 0.75rem;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
