:root {
  --st-topbar-height: 3.125rem;
  --st-leftside-height: calc(100vh - 7.6875rem);
  --st-leftside-sm-height: calc(100vh - 7.6875rem);
  --st-leftbar-width: 22.375rem;
  --st-leftbar-sm-width: 3.375rem;
}
.navbar-custom {
  min-height: var(--st-topbar-height);
  margin-left: var(--st-leftbar-width);
  position: sticky;
  top: 0;
  -webkit-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
  z-index: 1000;
  overflow: hidden;
}
.navbar-custom .topbar {
  display: flex;
  align-content: center;
  justify-content: space-between;
  height: var(--st-topbar-height);
}
.navbar-custom .topbar .pattern.style-01 {
  position: absolute;
  bottom: 0rem; left: -6.8rem;
}
.navbar-custom .topbar > a {
  display: flex;
  align-content: center;
  justify-content: flex-end;
}
@media screen and (max-width: 575.98px) {
  .navbar-custom .hide-mobile {
    display: none !important;
  }
}
@media screen and (min-width: 576px) and (max-width: 1199.98px) {
  .navbar-custom .hide-tablet {
    display: none !important;
  }
}

.leftside-menu {
  z-index: 1000;
  bottom: 0;
  top: 0;
  position: fixed;
  height: 100vh;
  width: var(--st-leftbar-width);
  min-width: var(--st-leftbar-width);
  -webkit-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}
.leftside-menu .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}
.leftside-menu .simplebar-wrapper {
  position: relative;
  box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.1);
}
.leftside-menu .logo-container {
  position: relative;
  padding-bottom: .5rem
}
.leftside-menu .logo-container::before {
  content: '';
  position: absolute;
  height: .5rem;
  width: 100%;
  bottom: 0;
  left: 0;
}
.leftside-menu .logo {
  display: flex;
  align-items: center;
  padding: 1.5rem 1rem;
}
.leftside-menu .logo img {
  display: block;
  height: 5.125rem;
  width: auto;
  margin: auto;
  max-width: 100%;
}
.leftside-menu .logo .main-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}
.leftside-menu .logo .sub-title {
  font-size: .875rem;
  font-weight: 700;
}
.leftside-menu .menu {
  height: var(--st-leftside-height);
  margin: .5rem;
  /* overflow-y: auto; */
}
.leftside-menu .menu .user-avatar {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}
.leftside-menu .menu .menu-item {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 500;
  padding: 1rem 1.5rem;
  margin-bottom: 0.2rem;
  margin-left: 0.2rem;
  border-radius: 0.75rem;
  gap: .5rem;
}
.leftside-menu .menu .menu-item.active,
.leftside-menu .menu .menu-item:hover {
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15);
}
.leftside-menu .menu .menu-item:last-child::before {
  content: '';
  position: absolute;
  top: -0.145rem;
  left: 0;
  width: 100%;
  height: 1px;
}
.leftside-menu .menu .menu-item .icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.leftside-menu .menu .menu-item.active .icon,
.leftside-menu .menu .menu-item:hover .icon {
  filter: brightness(0) invert(1);
}
.leftside-menu .menu .menu-item .text {
  margin-top: .2rem;
}

@media screen and (max-width: 1199.98px) {
  .navbar-custom {margin-left: var(--st-leftbar-sm-width);}
  .leftside-menu {
    width: var(--st-leftbar-sm-width);
    min-width: var(--st-leftbar-sm-width);
  }
  .navbar-custom .topbar .pattern.style-01 img {object-fit: cover; object-position: right; height: 3rem;}
  .leftside-menu .logo {justify-content: center;padding: .56rem .2rem;}
  .leftside-menu .logo img {height: 6.7rem;}
  .leftside-menu .logo .text,
  .leftside-menu .menu .user-avatar .text,
  .leftside-menu .menu .menu-item .text {display: none;}
  .leftside-menu .menu .user-avatar {padding: .25rem;}
  .leftside-menu .menu .menu-item{
    padding: .5rem .25rem; margin-left: 0; margin-bottom: .5rem; 
    justify-content: center;
  }
  .leftside-menu .menu .menu-item:last-child::before {
    top: -0.25rem;
  }
  .leftside-menu .menu .menu-item .icon{
    display: flex; justify-content: center; align-items: center;
  }
  .leftside-menu .menu .menu-item .text {
    position: absolute; left: calc(100% + .25rem);
    width: 8rem; padding: .5rem .365rem; border-radius: .365rem;
    background: var(--color-t);
  }
  .leftside-menu .menu .menu-item:hover .text{display: block;}
}

.content-page {
  position: relative;
  margin-left: var(--st-leftbar-width);
  min-height: calc(100vh - var(--st-topbar-height) - 2px);
  -webkit-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}
.box-card {
  border-radius: .75rem;
  padding: 1.5rem 1.8rem;
}
.box-card.md {
  padding: 2rem 0;
  max-width: 38.125rem;
  margin: auto;
}
.box-card .box-title {
  position: relative;
  font-size: 1.45rem;
  font-weight: 500;
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 1.5rem 1rem;
  overflow: hidden;
}
.box-card .box-title .pattern img {
  position: absolute;
  bottom: 0;
  left: calc(100% - 14rem);
  transform: scaleX(-1);
  height: 90%;
}
/* .box-card .box-content {
  padding: 2rem 3rem;
  border-radius: 0 0 0.75rem 0.75rem;
} */

@media screen and (max-width: 1199.98px) {
  .content-page {margin-left: var(--st-leftbar-sm-width);}
  .upload-container-round {
      max-height: 18vw;
      max-width: 18vw;
      padding: .5rem;
  }
}
@media screen and (max-width: 991.98px) {
  .upload-text{font-size:14px;}
  .upload-subtext {font-size: 10px;}
}
@media screen and (max-width: 567.98px) {
  .content-page .content{padding: 1rem;}
  .box-card {padding: 0;}
  .box-card .box-title .pattern{display: none;}
  .upload-container-round{ max-height: 10rem; max-width: 10rem; margin: auto;}
}

/* Info User */
.info-user {
  display: flex;
  gap: 1rem;
}
.info-user .image {
  position: relative;
  width: 10.813rem;
  max-height: 10.813rem;
  border-radius: 1.25rem;
  overflow: hidden;
}
.info-user .image img {
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
  border-radius: 1.25rem;
}
.info-user .image .icon {
  position: absolute;
  bottom: .25rem;
  right: .25rem;
  max-width: 2.5rem;
}
.info-user .text {
  max-width: 15.5rem;
}
#imageUpload {
  position: absolute;
  top: 0;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}