﻿body {
  height: 100dvh;
  font-size: 0.875rem !important;
}

.child-centered {
  display: grid;
  place-items: center;
}

[app-container] {
  display: grid;
  grid-template: auto 1fr auto/1fr;
  height: 100dvh;
  max-width: 100dvw;
}
@media (min-width: 767.99px) {
  [app-container] {
    grid-template-columns: repeat(6, 1fr);
  }
}
[app-container] header, [app-container] footer {
  background: black;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  color: white;
  padding: 0.5rem;
}
[app-container] header {
  grid-column: 1/7;
  align-items: center;
  display: grid;
  justify-content: space-between;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 767.98px) {
  [app-container] header {
    display: flex;
    justify-content: space-between;
  }
}
[app-container] header .header-title {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding-left: 0.8rem;
  grid-column: 1/2;
  max-width: 30dvw;
  user-select: none;
}
[app-container] header .header-content {
  grid-column: 2/5;
  display: flex;
  justify-content: center;
}
[app-container] header .header-content > * {
  max-width: 40dvw;
}
[app-container] header button {
  grid-column: 5/6;
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7294117647);
  border-radius: 0.25rem;
  cursor: pointer;
  margin: 0.4rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  height: 35px;
  width: 35px;
}
@media (min-width: 768px) {
  [app-container] header button {
    display: none;
  }
}
[app-container] aside {
  display: none;
  border-right: 1px solid #ccc;
  overflow-y: auto;
  padding-right: 0.1rem;
  min-width: 200px;
}
@media (min-width: 768px) {
  [app-container] aside {
    grid-column: 1/2;
    display: block;
    width: 100%;
  }
}
[app-container] aside .user-box {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  place-items: center;
}
[app-container] aside .user-box img {
  width: 100%;
  height: 100%;
  height: 100px;
  object-fit: contain;
}
[app-container] aside .user-box .user-info {
  display: grid;
  place-items: center;
}
[app-container] aside .user-box .btn-logout {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}
[app-container] aside input[type=text] {
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  padding: 0.8rem;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1;
}
[app-container] aside [menu-container] {
  z-index: 0;
}
[app-container] aside [menu-container] > hr {
  margin: 0.5rem 0;
}
[app-container] aside [menu-container] [page-link] {
  align-content: center;
  background-position: 1rem 50% !important;
  background-repeat: no-repeat !important;
  background-size: 1.3rem !important;
  color: black;
  cursor: pointer;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 40px;
  padding: 0.55rem;
  padding-left: 2.8rem !important;
  text-decoration: none;
  user-select: none;
}
[app-container] aside [menu-container] [page-link]:hover {
  filter: opacity(1) !important;
  background-color: lightgray;
}
@media (max-width: 767.99px) {
  [app-container] aside [menu-container] [page-link] {
    min-height: 50px;
  }
}
[app-container] aside [menu-container] [page-link][menuActive] {
  background-color: #dee2e6;
}
[app-container] aside [menu-container] [group] {
  padding: 0.2rem 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}
[app-container] aside [menu-container] [group] [group-title] {
  padding: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  align-content: center;
  user-select: none;
}
@media (max-width: 767.99px) {
  [app-container] aside [menu-container] [group] [group-title] {
    min-height: 50px;
    padding-left: 2.2rem !important;
  }
}
[app-container] aside [menu-container] [group] [group-title]::after {
  display: inline-block;
  content: "";
  background-image: url(/PriyanshuAgrawal/Images/arrow-down-line.svg);
  background-repeat: no-repeat;
  height: 12px;
  width: 12px;
  position: relative;
  left: 18px;
}
[app-container] aside [menu-container] [group]:hover {
  filter: opacity(1) !important;
  background-color: rgba(211, 211, 211, 0.3490196078);
}
[app-container] aside [menu-container] [group] [group-items] {
  display: none;
}
[app-container] aside [menu-container] [group-expanded] [group-items] {
  display: block;
}
[app-container] aside [menu-container] [group-expanded] [group-title]::after {
  background-image: url(/PriyanshuAgrawal/Images/arrow-up-line.svg);
}
[app-container] aside.show {
  display: block;
  grid-column: 1;
}
[app-container] main {
  grid-column: 1;
  max-height: 92dvh;
}
@media (min-width: 768px) {
  [app-container] main {
    grid-column: 2/7;
  }
}
[app-container] main > div {
  height: 100%;
}
[app-container] main [app-page] {
  max-width: 99dvw;
  overflow: auto;
  padding: 1rem;
  height: 100%;
}
[app-container] footer {
  grid-column: 1/7;
  display: flex;
  justify-content: space-between;
  transition: all 5s ease-in-out;
  height: fit-content;
}
[app-container] footer > div {
  display: flex;
  justify-content: center;
}
@media (max-width: 767.99px) {
  [app-container] footer {
    flex-direction: column;
    align-items: center;
  }
}

.hide-menu {
  grid-template-columns: repeat(12, 1fr);
}
.hide-menu header button {
  display: none;
}
.hide-menu main {
  grid-column: 3/11;
}
@media (max-width: 1440px) {
  .hide-menu main {
    grid-column: 1/13;
  }
}
.hide-menu aside {
  display: none;
}
.hide-menu header, .hide-menu footer {
  grid-column: 1/13;
}

.full-width {
  grid-template-columns: unset;
}

.nav-link.active {
  background-color: #dee2e6 !important;
  color: black !important;
  font-weight: bold;
}
