:root {
  --primary: #033043;
  --primaryHint: #05394f;
  --primaryDark: #1a4557;
  --success: #00a693;
  --danger: #fe4337;
  --deactive: #e5e5e5;
  --textLight: #ffffff;
  --textHint: #a2a2a2;
  --dark: #3c3c3c;
  --gray: #949494;
  --body: #f2f2f2;
  --info: #0099cc;
  --warning: #ffb443;
  --successHint: #00a69317;
  --radius: 6px;
  --radiusBox: 16px;
  --grdWarning: linear-gradient(45deg, #ffcc33, #ff5722);
  --grdInfo: linear-gradient(45deg, #66c2ff, #0073e6);
  --grdPurple: linear-gradient(45deg, #d1a8ff, #4c6ef5);
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: var(--textDark);
  background: var(--body);
  direction: rtl;
  position: relative;
  z-index: 9;
}
body.dark {
  background-color: var(--primaryDark);
  color: var(--textLight);
}
.container {
  display: flow-root;
  max-width: 1280px;
  padding: 0 16px;
  box-sizing: border-box;
  margin: 0 auto;
}
.w100 {
  width: calc(100% - 16px);
}

.w66 {
  width: calc(66.66% - 19px);
}
.w75 {
  width: calc(75% - 19px);
}

.w60 {
  width: calc(60% - 19px);
}

.w50 {
  width: calc(50% - 19px);
}

.w40 {
  width: calc(40% - 19px);
}

.w30 {
  width: calc(30% - 20px);
}
.w33 {
  width: calc(33.33% - 19px);
}

.w25 {
  width: calc(25% - 20px);
}

.w70 {
  width: calc(70% - 20px);
}

.w20 {
  width: calc(20% - 20px);
}
.column {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  margin: 8px;
  position: relative;
}
section {
  display: flow-root;
  overflow-y: auto;
  width: calc(100% - 270px);
  margin: 8px 0;
  height: calc(100vh - 68px);
  float: left;
  position: relative;
  z-index: -1;
}
@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(-8deg); }
  100% { transform: rotate(0deg); }
}
.box {
  display: flex;
  float: right;
  align-items: center;
  min-height: 50px;
  padding: 20px;
  background: var(--textLight);
  direction: rtl;
  position: relative;
  margin-bottom: 16px;
  border-radius: var(--radiusBox);
}
body.dark .box {
  background: var(--primary);
}
.box.FBetween {
  justify-content: space-between;
}
.lnkSuccess {
  color: var(--success);
}
a,
a:hover,
a:active,
a:focus {
  text-decoration: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Peyda";
  font-size: 12pt;
}
.hide {
  display: none !important;
}
.btn {
  display: inline-block;
  background: var(--gray);
  color: var(--textLight);
  box-sizing: border-box;
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: all ease 0.3s;
  opacity: 1;
}
.btn:hover {
  opacity: 0.8;
}
.btn.success {
  background: var(--success);
  border: 1px solid;
}
.btn.successHint {
  background: var(--successHint);
  border: 1px solid var(--successHint);
  color: var(--success);
}
backward {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  opacity: 0;
  transition: all ease 0.3s;
}
backward.open {
  z-index: 9;
  opacity: 1;
}
/*#region header*/
menu-mobile {
  display: none;
}
header {
  display: flex;
  width: calc(100% - 270px);
  padding: 0 16px;
  min-height: 10px;
  position: relative;
  float: left;
  background-color: var(--textLight);
  height: 60px;
  align-items: center;
  justify-content: space-between;
}
body.dark header {
  background-color: var(--primary);
}
.profile-section {
  display: flex;
  align-items: center;
}

.profile-picture {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* overflow: hidden; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}
dropdown .profile-picture {
  width: 100px;
  height: 100px;
  margin-right: 0;
}
.profile-picture img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
dropdown .profile-picture img {
  width: 90px;
  height: 90px;
}
.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #00b18d;
  box-sizing: border-box;
}

.other-icons {
  display: flex;
  align-items: center;
  margin-right: 20px;
  border-left: 1px solid var(--deactive);
}
.icon-circle:last-child {
  margin-left: 16px;
}
.icon-circle {
  width: 40px;
  height: 40px;
  background-color: var(--body);
  border-radius: 50%;
  margin: 0 5px;
  position: relative;
}
.icon-circle::before {
  content: "";
  position: absolute;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  width: 20px;
  height: 20px;
  background: var(--dark);
  left: 0;
  top: 0;
  transform: translate(50%, 50%);
}
.icon-circle.question::before {
  -webkit-mask-image: url(../Icon/question.svg);
}
.icon-circle.cart::before {
  -webkit-mask-image: url(../Icon/cart.svg);
}
.icon-circle.notif::before {
  -webkit-mask-image: url(../Icon/notif.svg);
  
}
.icon-circle.notifA::before {
  background: url(../Icon/notif.png);
  background-repeat:no-repeat;
  animation:shake 0.8s infinite;
  top:20%;
  right:20%;
}
.icon-circle.bell::before {
  -webkit-mask-image: url(../Icon/bell.svg);
}
dropdown {
  position: absolute;
  box-sizing: border-box;
  background: var(--textLight);
  border-radius: 8px;
  min-height: 100px;
  top: 56px;
  left: 0;
  width: 290px;
  border: 1px solid var(--deactive);
  padding: 20px;
  box-sizing: border-box;
  z-index: 99;
}
body.dark dropdown {
  background: var(--primary);
  border: 1px solid var(--deactive);
}
dropdown userinfo {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--deactive);
}
dropdown::before {
  content: "";
  position: absolute;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  width: 12px;
  height: 12px;
  background: var(--textLight);
  border-top: 1px solid var(--deactive);
  border-left: 1px solid var(--deactive);
  top: -7px;
  left: 16px;
  transform: rotate(45deg);
}
body.dark dropdown::before {
  background: var(--primary);
}
dropdown userinfo h3 {
  margin-top: 10px;
}
dropdown userinfo span.level {
  font-size: 10pt;
}
dropdown userinfo span.level {
  font-size: 10pt;
  margin-top: 4px;
  color: var(--gray);
  font-weight: 500;
}
dropdown userinfo a {
  margin: 20px auto;
}
menu-user {
  display: flex;
  margin-top: 20px;
  flex-direction: column;
  gap: 10px;
}
menu-user a {
  display: block;
  color: var(--dark);
  position: relative;
}
body.dark menu-user a {
  color: var(--textLight);
}
menu-user a.exit,
body.dark menu-user a.exit {
  color: var(--danger);
}
menu-user a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  -webkit-mask-size: contain;
  background: var(--dark);
  -webkit-mask-repeat: no-repeat;
  margin: 0px 0px 0 10px;
  transition: all ease 0.3s;
  vertical-align: middle;
}
body.dark menu-user a::before {
  background: var(--textLight);
}
.panelIcon::before {
  -webkit-mask-image: url(../Icon/user.svg);
}
.exit::before,
body.dark .exit::before {
  -webkit-mask-image: url(../Icon/exit.svg);
  background: var(--danger);
}
.editUser::before {
  -webkit-mask-image: url(../Icon/edit.svg);
}
.save::before {
  -webkit-mask-image: url(../Icon/save.svg);
}
dropdown h3.dwTitle {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--deactive);
  font-size: 14pt;
}
dropdown doc-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--deactive);
}
.notif dropdown doc-text:last-of-type {
  padding-bottom: 0;
  border: 0;
}
dropdown doc-text p {
  position: relative;
}
dropdown doc-text p::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  -webkit-mask-size: contain;
  background: var(--success);
  -webkit-mask-repeat: no-repeat;
  margin: 0px 0px 0 6px;
  transition: all ease 0.3s;
  vertical-align: middle;
}
dropdown doc-text p.letterOpen::before {
  -webkit-mask-image: url(../Icon/letterOpen.svg);
}
dropdown doc-text p.doc::before {
  -webkit-mask-image: url(../Icon/document2.svg);
}
dropdown doc-text span {
  font-size: 10pt;
  color: var(--gray);
}
body.dark dropdown doc-text span {
  color: var(--body);
}
dropdown a.seeAll {
  display: block;
  text-align: center;
  padding-top: 16px;
  color: var(--success);
  font-weight: 600;
}
/*#endregion header*/
/*#region aside*/

aside {
  z-index: 1;
  display: flow-root;
  width: 270px;
  background-color: var(--primary);
  position: relative;
  height: 100vh;
  min-height: 100px;
  /* overflow-y: auto; */
  float: right;
  box-sizing: border-box;
}
body.dark aside {
  background-color: var(--body);
}
toggle-arrow {
  display: block;
  width: 26px;
  height: 26px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: -13px;
  top: 48px;
  border: 1px solid var(--primaryDark);
  cursor: pointer;
}
toggle-arrow::before {
  content: "";
  position: absolute;
  display: block;
  -webkit-mask-image: url(../Icon/arrow.svg);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  background: var(--textLight);
  width: 12px;
  height: 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
toggle-arrow.close::before {
  transform: translate(-50%, -50%) rotate(180deg);
}
aside h2 {
  display: block;
  padding: 13px 25px;
  color: var(--textLight);
  border-bottom: 1px solid var(--primaryDark);
  text-align: center;
  font-size: 18pt;
}
body.dark aside h2 {
  color: var(--dark);
}
ul.sidebar-menu {
  display: block;
  padding: 10px;
  text-align: right;
  list-style: none;
}
ul.sidebar-menu li:first-of-type a {
  margin-top: 0;
}

ul.sidebar-menu li a {
  color: var(--textHint);
  position: relative;
  border-radius: 25px;
  display: block;
  margin-top: 10px;
  transition: all ease 0.3s;
  width: 100%;
  padding: 10px;
}
body.dark ul.sidebar-menu li a,  ul.sidebar-menu li.active{
  color: var(--dark);
}
ul.sidebar-menu li a:hover, ul.sidebar-menu li.active {
  background: var(--success);
  border-radius: 25px;
}
body.dark ul.sidebar-menu li a:hover, body.dark ul.sidebar-menu li.active a {
  color: var(--textLight);
}
ul.sidebar-menu li a:hover,ul.sidebar-menu li.active a {
  color: var(--textLight);
}
ul.sidebar-menu li a::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  -webkit-mask-size: 17px;
  background: var(--textHint);
  -webkit-mask-repeat: no-repeat;
  margin: 0px 5px 0 10px;
  transition: all ease 0.3s;
  vertical-align: middle;
}
body.dark ul.sidebar-menu li a::before {
  background: var(--dark);
}
body.dark ul.sidebar-menu li a:hover::before, body.dark ul.sidebar-menu li.active a:before {
  background: var(--textLight);
}
ul.sidebar-menu li:hover a::before,ul.sidebar-menu li.active a:before {
  background: var(--textLight);
}
.dashboard::before {
  -webkit-mask-image: url(../Icon/dashboard.svg);
}
.exam::before {
  -webkit-mask-image: url(../Icon/exam.svg);
}
.course::before {
  -webkit-mask-image: url(../Icon/course.svg);
}
.payment::before {
  -webkit-mask-image: url(../Icon/payment.svg);
}
.alarm::before {
  -webkit-mask-image: url(../Icon/alarm.svg);
}
.comment::before {
  -webkit-mask-image: url(../Icon/comment.svg);
}
.book::before {
  -webkit-mask-image: url(../Icon/ticket.svg);
}
.ticket::before {
  -webkit-mask-image: url(../Icon/letterOpen.svg);
}
.notification-count {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translate(0, -50%);
  background: var(--success);
  border-radius: 50%;
  color: var(--textLight);
  padding: 2px 8px 1px;
  transition: all ease 0.3s;
}
ul.sidebar-menu li a:hover .notification-count {
  background: var(--primary);
}
site-mode {
  display: flex;
  justify-content: space-between;
  margin: 20px;
  background: var(--primaryDark);
  border-radius: 25px;
  padding: 13px 6px;
  width: 230px;
  position: fixed;
  bottom: 0;
}
body.dark site-mode {
  background: var(--textLight);
}
body.dark site-mode s-mode span.active {
  background: var(--deactive);
  color: var(--dark);
}
site-mode s-mode {
  color: var(--textHint);
}
body.dark site-mode s-mode {
  color: var(--dark);
}
site-mode s-mode span {
  padding: 7px;
  cursor: pointer;
  transition: all ease 0.3s;
  text-align: center;
  border-radius: 25px;
}
site-mode s-mode span.active {
  background: var(--primary);
  color: var(--textLight);
}
site-mode s-mode span::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  -webkit-mask-size: 17px;
  background: var(--textHint);
  -webkit-mask-repeat: no-repeat;
  margin: 0 5px;
  transition: all ease 0.3s;
  vertical-align: middle;
}
body.dark site-mode s-mode span::after {
  background: var(--dark);
}
site-mode s-mode span.active::after {
  background: var(--textLight);
}
site-mode s-mode span.dark::after {
  -webkit-mask-image: url(../Icon/moon.svg);
}
site-mode s-mode span.light::after {
  -webkit-mask-image: url(../Icon/sun.svg);
}
/*#endregion aside*/
@media screen and (min-width: 0) and (max-width: 1024px) {
  menu-mobile {
    display: block;
    -webkit-mask-image: url(../Icon/menu.svg);
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    width: 28px;
    height: 28px;
    background: var(--dark);
  }
  body.dark menu-mobile {
    background: var(--body);
  }
  toggle-arrow,
  header username {
    display: none;
  }
  aside {
    transition: var(--radiusition);
    float: none;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 10px;
    opacity: 0;
    transform: translateX(104%);
    transition: all ease 0.3s;
  }
  aside.open {
    opacity: 1;
    transform: translateX(0);
    z-index: 100;
  }
  header {
    width: 100%;
    float: none;
    display: flex;
    z-index: 0;
  }
  .profile-section {
    justify-content: end;
    height: 60px;
  }
  .profile-picture {
    margin-right: 8px;
  }
  .icon-circle:last-child {
    margin-left: 8px;
  }
  .icon-circle dropdown {
    left: -60px;
  }
  .icon-circle dropdown::before {
    left: 71px;
  }
  section {
    width: 100%;
  }
}
