:root {
  --ps-btn-bg: #890046;
  --ps-btn-text: #fff;
  --ps-danger-bg: #a11616;
  --ps-bg-dark: #333;
  --ps-yellow: #fff941;
}
#wpap-user-panel #wpap-sidebar #wpap-nav .wpap-active,
#wpap-user-panel #wpap-sidebar #wpap-nav a:hover {
  color: #fff;
}
#wpap-user-panel #wpap-sidebar #wpap-top-sidebar #wpap-sidebar-user-info {
  flex-direction: column;
  margin: 1em auto;
}
#wpap-user-panel
  #wpap-sidebar
  #wpap-top-sidebar
  #wpap-sidebar-user-info
  #wpap-user-avatar
  img {
  width: 100px;
  height: 100px;
}
#wpap-user-panel #wpap-sidebar #wpap-top-sidebar {
  height: 200px;
  margin: 1em auto;
  min-height: 200px;
}
#wpap-logo {
  width: 100%;
  text-align: center;
  width: 80px;
  margin: auto;
}
#wpap-logo img {
  width: 100%;
  height: auto;
}
#wpap-user-panel #wpap-sidebar #wpap-top-sidebar #wpap-sidebar-user-info span {
  font-weight: 700;
  font-size: 17px;
}
#wpap-user-panel
  #wpap-sidebar
  #wpap-nav
  a:not(.wpap-active, :hover)
  .wpap-menu-unread {
  color: var(--ap-menus-color);
}

.dashboard-packages {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.dashboard-packages a {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  order: 1;
}
.dashboard-packages a.please-buy p {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0000007a;
  color: #fff;
  font-weight: 700;
  flex-direction: column;
  gap: 1em;
}
.dashboard-packages a p i {
  font-size: 30px !important;
}
.dashboard-packages a.bought {
  order: 0;
}
.bought img,
.please-buy img {
  height: 100%;
}
.dashboard-packages a.please-buy p span {
  transition: all ease 0.3s;
}
.dashboard-packages a.please-buy p:not(:hover) span {
  opacity: 0;
}
#user-all-orders .btn {
  background: var(--ps-btn-bg);
  color: var(--ps-btn-text);
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 300px;
  justify-content: space-between;
}
#user-all-orders .items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: start;
  align-items: flex-start;
  margin: 1em auto;
}
.azmoon-item {
  display: grid;
  grid-template-columns: 50px 2fr 1fr 1fr;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0;
  align-items: center;
  margin-bottom: 1em;
  text-align: center;
}
.azmoon-item.first {
  background: var(--ps-btn-bg);
  color: #fff;
  margin-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.azmoon-item.item-1 {
  border-radius: 0 0 8px 8px;
}
.azmoon-item .sherkat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.azmoon-item .sherkat .btn {
  border-radius: 8px;
  padding: 10px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.azmoon-item .sherkat .btn-sherkat {
  border: 1px solid var(--ps-btn-bg) !important;
  color: var(--ps-btn-bg);
  width: 100%;
}
.azmoon-item .sherkat .btn-sherkat.passed {
  background: var(--ps-yellow);
  border-color: var(--ps-yellow) !important;
}
.azmoon-item .sherkat .btn-pasokh {
  border: 1px solid var(--ps-danger-bg);
  color: #fff;
  background: var(--ps-danger-bg);
  height: 45px;
  font-weight: 300;
  margin-bottom: 10px;
}
.azmoon-item .sherkat .btn-video {
  border: 1px solid var(--ps-bg-dark);
  color: var(--ps-bg-dark);
}
#user-selected-dars {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}
.azmoons-title {
  font-size: 22px;
  text-align: center;
  margin: 1em auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.azmoons-title:after,
.azmoons-title:before {
  content: "";
  border-bottom: 1px dashed var(--ps-btn-bg);
  display: block;
  width: 100%;
}
.azmoons-title span {
  width: 100%;
}
.exam-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: #fff;
  display: none;
}
.exam-loader {
  width: 200px;
  height: 140px;
  background: #979794;
  box-sizing: border-box;
  position: relative;
  border-radius: 8px;
  perspective: 1000px;
  display: block;
  margin: auto;
}
.exam-loader:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  border-radius: 8px;
  background: #f5f5f5 no-repeat;
  background-size: 60px 10px;
  background-image: linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0);
  background-position: 15px 30px, 15px 60px, 15px 90px, 105px 30px, 105px 60px,
    105px 90px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
.exam-loader:after {
  content: "";
  position: absolute;
  width: calc(50% - 10px);
  right: 10px;
  top: 10px;
  bottom: 10px;
  border-radius: 8px;
  background: #fff no-repeat;
  background-size: 60px 10px;
  background-image: linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0);
  background-position: 50% 30px, 50% 60px, 50% 90px;
  transform: rotateY(0);
  transform-origin: left center;
  animation: paging 1s linear infinite;
}
@keyframes paging {
  to {
    transform: rotateY(-180deg);
  }
}
.exam-info {
  display: flex;
  margin: 0;
  gap: 10px;
  justify-content: space-between;
  font-weight: 700;
  background: var(--ps-btn-bg);
  color: #fff;
  border-radius: 8px 8px 0 0;
  padding: 10px;
  margin-bottom: -5px;
  z-index: 2;
}
.soals {
  background: #fff;
  padding: 10px;
}
.end-exam .f-g {
  margin: 1em auto;
  background: #fff;
  padding: 1em;
  border-radius: 8px;
}
#exam_answer_file {
  display: none;
}
.end-exam label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 18px;
  align-items: center;
  gap: 20px;
  min-height: 120px;
  cursor: pointer;
}
.end-exam label span.tt {
  font-weight: 700;
  color: var(--ps-btn-bg);
}
#filepreview img {
  max-height: 100px;
  border-radius: 8px;
}
#filepreview {
  max-height: 100px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
#send_pasokh {
  width: 100%;
  display: block;
  margin-top: 15px;
}
.progress {
  width: 100%;
  height: 20px;
  background-color: #0c942557;
  border-radius: 8px;
  overflow: hidden;
  direction: ltr;
  display: none;
}
.progress-bar {
  background: #0c9425;
  height: 20px;
  font-size: 12px;
  color: #fff;
  text-align: right;
  padding: 0 5px;
}
button[disabled="disabled"] {
  opacity: 0.7;
}
.img-sended-pasokh {
  width: 500px;
  max-width: 100%;
  display: block;
  margin: auto;
  border-radius: 8px;
}
.alert.alert-sended-pasokh {
  text-align: center;
  font-weight: 700;
}
.alert.alert-error-pasokh {
  background: var(--ps-danger-bg);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  margin: 1em auto;
}
.azmoon-tashih-ostad .img {
  width: 100%;
  border-radius: 10px;
  max-width: 1200px;
  margin: auto;
  display: block;
}
.unsolved-table {
  background: #fff;
  border-radius: 8px;
  border: 0;
  overflow: hidden;
}
.unsolved-table td,
.unsolved-table th {
  border: 0;
  text-align: center;
}
.unsolved-table th {
  background: var(--ps-btn-bg);
  color: var(--ps-btn-text);
}
.unsolved-table tr:nth-child(even) td {
  background: #93d3fd30;
}
.azmoon_filters {
  display: grid;
  grid-template-columns: 160px 160px 160px 160px;
  gap: 10px;
  margin: 1em auto;
}
.azmoon_filters .btn:not(.active, .btn:hover) {
  background: #999;
}
.tashih-btns {
  margin: 1em auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
#sabte-nomre {
  background: #1a971a;
}
#time-rem-upload {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
#wpap-content p {
  margin: 0;
}
.azmoons-tashih-title {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 16px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 1em;
  margin-bottom: 2em;
}
.azmoons-tashih-title .vaziat {
  color: var(--ps-btn-bg);
}
#save_tashih {
  max-width: 200px;
}
.eteraz-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0000009e;
  display: none;
  align-items: center;
  justify-content: center;
}
.eteraz-form .inner {
  max-width: 470px;
  margin: auto;
  width: 100%;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
}
.eteraz-form .inner textarea {
  max-height: 300px;
  overflow: hidden;
}
.eteraz-form .inner .btn {
  margin: 1em auto;
  text-align: center;
  justify-content: center;
}
.btn.close-eteraz {
  border: 1px solid var(--ps-danger-bg);
  background: #fff;
  color: var(--ps-danger-bg);
}
.karname-item {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
}
.karname-item.nomre {
  text-align: center;
}
.azmoon-item .sherkat .btn-sherkat.new-karname {
  color: var(--ps-danger-bg) !important;
  border: 1px solid var(--ps-danger-bg) !important;
  position: relative;
  background: var(--ps-yellow);
}
.azmoon-item .sherkat .btn-sherkat.new-karname:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--ps-danger-bg);
  border-radius: 100%;
}
.azmoon-item.best {
  grid-template-columns: 50px 2fr 1fr;
  justify-content: center;
}
.sp-cir {
  background: red;
  width: 15px;
  height: 15px;
  display: inline-block;
  position: absolute;
  border-radius: 100%;
  left: 3px;
  top: 3px;
  font-size: 12px;
}
.azmoon_filters .btn {
  position: relative;
}
.videos-item {
  background: #fff;
  padding: 10px;
  margin: 1em auto;
  border-radius: 8px;
}
.user-edit h2,
.videos-item .videos-title {
  font-size: 16px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
.videos-item video {
  width: 500px;
  max-width: 100%;
  margin: auto;
  display: block;
  border-radius: 8px;
}
.user-edit {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
}
.incomplete {
  color: var(--ps-danger-bg);
}
.incomplete-text {
  color: var(--ps-danger-bg);
  margin: 1em auto !important;
}
.soal {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.soal-title {
  border-left: 1px dashed var(--ps-btn-bg);
  padding: 5px;
  font-weight: 700;
  margin-left: 10px;
}
.soal-title p {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background: var(--ps-btn-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.soal-body.close {
  font-weight: 700;
  color: var(--ps-btn-bg);
  cursor: pointer;
}
.soal-body {
  width: 100%;
}
.zee-q-container {
  background-color: #f7f9fc;
  border: 1px solid #e1e5eb;
  border-radius: 6px;
  padding: 15px;
}
.zee-q-part {
  border-top: 1px solid #d1d7e0 !important;
  margin-top: 15px !important;
  padding-top: 15px !important;
}
.zee-q-part:first-child {
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.zee-q-part > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.zee-q-part label {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  font-weight: 400;
  cursor: pointer;
  background: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ccc;
  transition: all 0.2s ease-in-out;
}
.zee-q-part label:has(input:checked) {
  background-color: var(--ps-btn-bg);
  color: #fff;
  border-color: var(--ps-btn-bg);
}
.zee-q-part input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  display: none;
}
.zee-q-part input[type="text"],
.zee-q-part textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.zee-q-part textarea {
  max-width: 600px;
}
@media (max-width: 576px) {
  .dashboard-packages {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-packages a p {
    font-size: 12px;
    gap: 3px;
    line-height: 1.3;
    text-align: center;
  }
  .dashboard-packages a p span {
    display: none;
  }
  .dashboard-packages a p i {
    font-size: 16px !important;
  }
  .azmoon-item {
    grid-template-columns: 20px 1fr 80px;
  }
  #user-all-orders .btn {
    min-width: 100%;
  }
  .sherkat {
    grid-column: auto/span 3;
    margin-top: 12px;
  }
  .azmoons-title {
    flex-direction: column;
  }
  .azmoons-title span {
    padding: 10px 0;
  }
  .azmoon-item.first .sherkat {
    display: none;
  }
  .zee-q-part > div {
    flex-direction: column;
    align-items: flex-start;
  }
}
