﻿/* _reset.scss */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

:root {
  --primary-color: #1C355E;
  --primary-color-light: #E8F0FF;
  --background-color: #fafbfc;
  --card-bg-color: #ffffff;
  --shadow: 0 0.25rem 0.5rem -1px #00000010;
  --shadow-inset: 0 0 0.5rem -1px #00000010 inset;
  --gray-border-color: #e5e7eb;
  --text-secondary: #6b7280;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 4rem;
  border: 1px solid var(--gray-border-color);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  margin: 0 0.5rem;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.8784313725);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: ease 300ms;
}
@media (min-width: 992px) {
  header {
    height: 5rem;
    background: none;
    border: none;
    box-shadow: none;
  }
}

header.float {
  background: rgba(255, 255, 255, 0.8784313725);
  padding: 0 0.75rem 0 0.75rem;
  box-shadow: 0 0.25rem 0.5rem 0.25rem rgba(128, 128, 128, 0.062745098);
  border: 1px solid var(--gray-border-color);
}

.sidebar-btn {
  height: 3rem;
  width: 2.75rem;
  cursor: pointer;
  padding: 0.5rem 0 0.5rem 0.5rem;
  border-radius: 0.5rem;
  opacity: 0.7;
  transition: ease 200ms;
}
.sidebar-btn svg path {
  fill: var(--primary-color);
}
.sidebar-btn:hover {
  opacity: 0.9;
  width: 3rem;
  background: var(--primary-color);
  box-shadow: var(--shadow);
  padding: 0.675rem;
  border: 1px solid var(--gray-border-color);
}
.sidebar-btn:hover svg path {
  fill: #fff;
}

#header-title {
  margin: 0;
  margin-left: 0.25rem;
  font-size: 1.675rem;
  line-height: 1.675rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -1px;
}

.header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.875rem;
  width: 1.875rem;
  cursor: pointer;
}
@media (min-width: 992px) {
  .header-logo {
    height: 2rem;
    width: 2rem;
  }
}

.header-brand {
  height: 1.675rem;
  margin-left: 2px;
}
@media (min-width: 992px) {
  .header-brand {
    height: 1.875rem;
    margin-left: 2px;
  }
}

.sign-in-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
.sign-in-btn p {
  margin: 0;
  font-weight: 500;
  color: #fff;
}

#user-container #user-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.375rem;
  padding-left: 0.675rem;
  padding-right: 0;
}
#user-container #user-btn p {
  margin: 0;
}
#user-container #user-btn .username {
  flex-direction: column;
  font-size: 0.75rem;
  line-height: 1rem;
}
#user-container #user-btn .username span {
  text-align: end;
  color: rgba(0, 0, 0, 0.6901960784);
}
#user-container #user-btn .username .name {
  font-size: 1rem;
  line-height: 1.125rem;
  font-weight: 500;
  color: var(--primary-color);
}
#user-container #user-btn:hover {
  padding-right: 0.375rem;
  background: var(--primary-color-light);
  box-shadow: var(--shadow);
  cursor: pointer;
}
@media (min-width: 992px) {
  #user-container #user-btn {
    padding: 0.5rem;
    padding-left: 0.75rem;
    border-radius: 0.5rem;
    gap: 0.75rem;
  }
  #user-container #user-btn .username {
    flex-direction: column;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  #user-container #user-btn .username span {
    text-align: end;
    color: rgba(0, 0, 0, 0.6901960784);
  }
  #user-container #user-btn .username .name {
    font-size: 1.125rem;
    line-height: 1.375rem;
    font-weight: 500;
    color: var(--primary-color);
  }
}
.avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.375rem;
  width: 2.375rem;
  opacity: 0.9;
  border: 1px solid var(--primary-color);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-inset);
}
.avatar p {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
}
@media (min-width: 992px) {
  .avatar {
    height: 2.75rem;
    width: 2.75rem;
    opacity: 1;
  }
}

#user-action-container {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  margin-top: 0.75rem;
  min-width: 12rem;
  border: 1px solid var(--gray-border-color);
  border-radius: 0.25rem;
  box-shadow: var(--shadow);
}
@media (min-width: 992px) {
  #user-action-container {
    margin-top: 1rem;
  }
}

.action-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  cursor: pointer;
}
.action-item p {
  margin: 0;
  color: #000000;
  font-size: 0.875rem;
}
.action-item .svg-container svg path {
  fill: #000000;
}
.action-item:hover {
  background: var(--primary-color-light);
}

@media (min-width: 992px) {
  main #main-content {
    padding: 0 0rem;
  }
}

#sidebar {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.8784313725);
  box-shadow: var(--shadow);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--gray-border-color);
}
#sidebar #sidebar-header {
  flex-shrink: 0;
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  padding-left: 1.5rem;
}
@media (min-width: 992px) {
  #sidebar #sidebar-header {
    justify-content: center;
    padding-left: 0.75rem;
  }
}
#sidebar #sidebar-content {
  flex-grow: 1;
  overflow: scroll;
}
@media (min-width: 992px) {
  #sidebar #sidebar-content {
    overflow: hidden;
  }
}
@media (min-width: 992px) {
  #sidebar {
    border-radius: 0.75rem;
  }
}

.divider {
  height: 1px;
  background: rgba(128, 128, 128, 0.3137254902);
  margin: 0 0.375rem;
}

.expand-nav-title-item {
  padding-right: 1rem;
  padding-bottom: 1rem;
}
.expand-nav-title-item .svg-container {
  height: 1.25rem;
}

nav {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}
@media (min-width: 992px) {
  nav {
    overflow: hidden;
  }
}

nav ul {
  flex-grow: 1;
  margin: 0;
  padding: 0;
  padding-bottom: 0.5rem;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
}

.nav-title {
  text-transform: uppercase;
  color: var(--primary-color);
  margin: 0 1rem;
  font-weight: 500;
  opacity: 0.8;
}

.nav-item {
  list-style: none;
  margin: 0 0 0.5rem 1rem;
  background: none;
  border: none;
}

.nav-item-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  padding-left: 0.5rem;
  width: 100%;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  background: var(--primary-color-light);
  border-radius: 0.25rem 0 0 0.25rem;
}
.nav-item-btn .svg-container {
  height: 2rem;
  width: 2rem;
  padding: 0.375rem;
  background: #fcfcfc;
  border-radius: 0.25rem;
  display: flex;
  justify-content: center;
}
.nav-item-btn .svg-container svg path {
  fill: var(--primary-color);
}
.nav-item-btn .nav-item-btn-label {
  margin: 0;
  color: var(--primary-color);
}

.nav-item-btn.collapsed {
  padding-left: 0.5rem;
  background: transparent;
  border-radius: 0.5rem 0 0 0.5rem;
  border: none;
}
.nav-item-btn.collapsed .svg-container {
  height: 2rem;
  width: 2rem;
  padding: 0.375rem;
  background: #fcfcfc;
  border-radius: 0.25rem;
}
.nav-item-btn.collapsed .svg-container svg path {
  fill: var(--primary-color);
}
.nav-item-btn.collapsed .nav-item-btn-label {
  margin: 0;
  color: rgba(0, 0, 0, 0.6901960784);
}
.nav-item-btn.collapsed:hover {
  padding-left: 0.75rem;
  opacity: 0.8;
}
.nav-item-btn.collapsed:hover .svg-container {
  opacity: 0.7;
}
.nav-item-btn.collapsed:hover .nav-item-btn-label {
  color: var(--primary-color);
}

.nav-child-item-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 1.75rem;
  text-decoration: none;
  margin: 0.5rem 0;
  margin-left: 0.375rem;
  border-radius: 0.5rem 0 0 0.5rem;
}
.nav-child-item-btn .nav-item-btn-label {
  margin: 0;
  color: var(--primary-color);
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6901960784);
}
.nav-child-item-btn:hover {
  padding-left: 1rem;
  opacity: 0.8;
}
.nav-child-item-btn:hover .svg-container {
  opacity: 0.7;
}
.nav-child-item-btn:hover .nav-item-btn-label {
  color: var(--primary-color);
}

.nav-item-btn-id {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5647058824);
  opacity: 0.8;
  margin: 0;
}

.sidebar-collapse-btn {
  height: 3rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
}
.sidebar-collapse-btn svg path {
  fill: var(--primary-color);
}
.sidebar-collapse-btn:hover {
  padding: 0.675rem;
  background: var(--primary-color-light);
}

.sidebar-logo {
  height: 2.25rem;
}

.collapse-container {
  padding-left: 0.5rem;
}

.current-page {
  background: var(--primary-color-light) !important;
  padding-left: 0.5rem !important;
  border-left: 4px solid var(--primary-color) !important;
  border-radius: 0.25rem 0 0 0.25rem !important;
  box-shadow: var(--shadow);
}
.current-page .nav-item-btn-label {
  font-weight: 500;
}
.current-page .nav-item-btn-id {
  background: var(--primary-color);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.svg-container svg {
  height: 100%;
  width: auto;
  max-width: fit-content;
}

#body-content {
  background: linear-gradient(135deg, var(--primary-color-light), #fff, #f8f9fc, #fff, var(--primary-color-light));
}

#main-section {
  margin: 0.675rem 0 0.5rem;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#main-section header {
  flex-shrink: 0;
}
#main-section #content {
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  padding-top: 1rem;
}
#main-section main {
  flex-grow: 1;
}
#main-section footer {
  flex-shrink: 0;
  border-top: 1px solid var(--gray-border-color);
  padding: 1rem;
  margin-top: 1rem;
}
#main-section footer #copyright {
  text-align: center;
  color: #808080;
}
#main-section #page-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0.5rem 1.25rem;
  color: var(--primary-color);
}
@media (min-width: 992px) {
  #main-section {
    padding: 0 0.5rem;
  }
  #main-section #page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 1.5rem 0.5rem 1rem;
  }
}

#sidebar-section {
  width: 0;
  transition: ease 300ms;
}

#sidebar-section.expand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  padding: 1rem;
}
#sidebar-section.expand #sidebar-underlay {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(128, 128, 128, 0.062745098);
  backdrop-filter: blur(1rem);
}
@media (min-width: 992px) {
  #sidebar-section.expand {
    position: relative;
    width: 20rem;
    padding: 0.5rem 0.25rem 0.5rem 0.5rem;
  }
  #sidebar-section.expand #sidebar-underlay {
    display: none;
  }
}
