body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}
  
.parallax {
    /*scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.top-banner {
    background: rgb(36,35,200);
    background: -moz-linear-gradient(180deg, rgba(36,35,200,1) 0%, rgba(117,116,220,1) 58%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(36,35,200,1) 0%, rgba(117,116,220,1) 58%, rgba(255,255,255,1) 100%);
    background: linear-gradient(180deg, rgba(36,35,200,1) 0%, rgba(117,116,220,1) 58%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2423c8",endColorstr="#ffffff",GradientType=1); 
    height: 70vh;
}


.banner {
    background-image: url("img/signin.png");
    height: 90vh;
}




#myTabContent {
    border-top: 0!important;
}


.nav-tabs{
    --bs-nav-tabs-border-width: 0px;
}

.tik {
    position: absolute;
    top: -16px;
    left: -11px;
    font-size: 1.8vw;
    background-color: var(--bs-light);
    z-index: 9;
}

#groupItems {
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
}

.list-section {
    margin-right: 0.8vw;
    border: 0.5vh dashed;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
}

@media screen and (max-width: 768px) {
    #groupItems {
        position: relative !important;
        transform: unset !important;
        padding-right: 0%;
        padding-left: 0%;
        margin-bottom: 5vh;
    }
}



*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Vazirmatn', sans-serif !important;

}
.sidebar{
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 78px;
  background: rgba(112, 50, 226, 0.95);
  padding: 6px 14px;
  z-index: 99;
  transition: all 0.5s ease;
}
.sidebar.open{
  width: 250px;
}
.sidebar .sidebar-details{
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
  /* direction: rtl; */
}
.sidebar .sidebar-details .icon{
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar .sidebar-details .side_name{
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.5s ease;
  padding-left: 0%;
}
.sidebar.open .sidebar-details .icon,
.sidebar.open .sidebar-details .side_name{
  opacity: 1;
  padding-left: 70%;
}
.sidebar .sidebar-details #btn{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 22px;
  transition: all 0.4s ease;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
}
.sidebar.open .sidebar-details #btn{
  text-align: right;
}
.sidebar i{
  color: #fff;
  height: 60px;
  min-width: 50px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}
.sidebar .nav-list{
  margin-top: 20px;
  height: 100%;
}
.sidebar li{
  position: relative;
  margin: 8px 0;
  list-style: none;
}
.sidebar li .tooltip{
  position: absolute;
  top: -20px;
  right: calc(100% + 15px);
  z-index: 3;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
}

.sidebar li:hover .tooltip{
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar.open li .tooltip{
  display: none;
}


.sidebar li a{
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  background: rgba(112, 50, 226, 0.95);
  min-width: 50px;
  direction: rtl;
}
.sidebar li a:hover{
  background: #FFF;
}
.sidebar li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}
.sidebar.open li a .links_name{
  opacity: 1;
  pointer-events: auto;
}
.sidebar li a:hover .links_name,
.sidebar li a:hover i{
  transition: all 0.5s ease;
  color: rgba(112, 50, 226, 0.95);;
}
.sidebar li i{
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}


.sidebar li img{
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}


.home-section{
  position: relative;
  /* background: #E4E9F7; */
  min-height: 100vh;
  top: 0;
  bottom: 50px;
  right: 78px;
  width: calc(100% - 78px);
  transition: all 0.5s ease;
  /* z-index: 2; */
}
.sidebar.open ~ .home-section{
  right: 250px;
  width: calc(100% - 250px);
}
.home-section .text{
  display: inline-block;
  color: #11101d;
  font-size: 25px;
  font-weight: 500;
  margin: 18px
}
@media (max-width: 420px) {
  .sidebar li .tooltip{
    display: none;
  }
}

.footer {
  background: rgba(112, 50, 226, 0.95);
  transition: padding 500ms;
}



.notification {
  position: fixed;
  bottom: 0; 
  left: 0;
  right: 0;
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Ensure it covers the full width */
  margin: 0; /* Reset any default margins */
}

.notification-message {
  flex-grow: 1;
  margin-right: 10px;
}


@media (min-width: 768px) { /* Revert to original style on larger screens */
  .notification {
    bottom: 20px;
    left: 20px;
    right: 20px;
    border-radius: 5px;
    width: auto; /* Allow width to adjust based on content */
  }
}