:root {
  --bg-gray: #f7f8fa;
  --text-light-gray: #00000057;
  --text-dark-gray: #6f6f6f;
  --dark: black;
}

/* General SVG icon styling */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* Override Tailwind classes if not available */
.w-6.h-6, svg.w-6.h-6 {
  width: 24px;
  height: 24px;
}

.w-5.h-5, svg.w-5.h-5 {
  width: 20px;
  height: 20px;
}

.w-4.h-4, svg.w-4.h-4 {
  width: 16px;
  height: 16px;
}
a.button.not-found-button {
    margin: auto;
    display: block;
}
*{
  box-sizing: border-box;
}
body {
  background: var(--bg-gray) !important;
}

.woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: white;
}

.woocommerce {
  display: flex;
  justify-content: center;
  max-width: 96%;
}

.woocommerce nav.woocommerce-MyAccount-navigation {
  width: 30%;
  margin-left: 10px;
}

.woocommerce .woocommerce-MyAccount-content {
  width: 70%;
  margin-right: 10px;
}

@media screen and (max-width: 768px){
.woocommerce{
  flex-direction: column;
}

.woocommerce nav.woocommerce-MyAccount-navigation, .woocommerce .woocommerce-MyAccount-content{
  margin: 0 0 15px 0 !important;
  width: 100%;
}
}

.woocommerce {
  width: 100%;
  margin: 15px auto;
}

nav.woocommerce-MyAccount-navigation ul {
  display: flex;
  padding: 10px;
  text-align: right;
  flex-wrap: wrap;
  margin: 0 0;
  flex-direction: column;
  list-style: none;
}

nav.woocommerce-MyAccount-navigation ul li {
  flex: 1;
}


.woocommerce a {
  text-decoration: none;
}

.woocommerce-MyAccount-content *:not(h1, h2, h3, h4, h5, h6) {
  font-size: 13px;
}

nav.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 5px;
  font-size: 13px
}

nav.woocommerce-MyAccount-navigation ul li a:hover {
  color: #fc3;
}


.welcome-message {
  border: 1px solid #1cd71c;
  background: #00ff220d;
  padding: 5px;
  border-radius: 5px;
}

.welcome-message .name {
  font-weight: bold;
  color: green;
}

.option-message {
  border: 1px solid #eb763d;
  background: #e1ff000d;
  padding: 5px;
  border-radius: 5px;
}

.messages>div {
  margin-bottom: 10px;
}

.accouint-overview {
  display: flex;
  flex-wrap: wrap;
}

.accouint-overview .item {
  width: 50%;
  padding: 10px;
}

.accouint-overview .item a {
  border: 1px solid #ccc;
  display: block;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column
}

.accouint-overview .item a .count {
  font-size: 30px;
}

th.woocommerce-orders-table__header.woocommerce-orders-table__header-order-number {
  display: none;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-number {
  display: none;
}

a.woocommerce-button.button.cancel {
  display: none;
}

td.download-product {
  max-width: 120px;
}

th.download-remaining {
  display: none;
}

td.download-remaining {
  display: none;
}

@media screen and (max-width: 765px) {
  td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    display: block;
  }

  .woocommerce-MyAccount-navigation {
    margin-bottom: 10px;
  }

  nav.woocommerce-MyAccount-navigation ul {
    display: none;
  }

  nav.woocommerce-MyAccount-navigation ul li {
    min-width: 100%;
    margin-bottom: 3px;
    padding: 10px;
  }
}


.page-header h1 {
  display: none;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
  padding-bottom: 5px;
}

.woocommerce-orders-table,
.woocommerce-orders-table * {
  border-collapse: collapse !important;
  margin: -1px;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions>a {
  margin-bottom: 10px;
  width: fit-content;
  display: block;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions>a {
  color: white;
  background: #ec1a1ac7;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions::before {
  content: "" !important;
}

.woocommerce table.shop_table_responsive tr td,
.woocommerce-page table.shop_table_responsive tr td {
  text-align: right !important;
  ;
  border-color: #dddddded !important;
  ;
  padding: 7px;
}

.woocommerce table.shop_table_responsive tr td::before,
.woocommerce-page table.shop_table_responsive tr td::before {
  padding-left: 7px;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details,
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details * {
  border-collapse: collapse;
  margin: -1px;
}




nav.woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--dark);
}

.sub-title a {
  color: var(--dark);
}

nav.woocommerce-MyAccount-navigation ul li a {
  color: var(--dark);
}

.account-submenu li a:not(:hover, li.is-active a) {
  color: #606060 !important;
}

/* Removed old font icon rule - now using SVG */

.deliver-bg {
  height: 15px;
  background: var(--bg-gray);
}


.has-side-content {
  display: flex;
}

.has-side-content .side-content {
  width: 30%;
  border-right: 20px solid var(--bg-gray);
}

.has-side-content .main-content {
  width: 70%;
}

@media screen and (max-width: 1024px) {
  .has-side-content {
    flex-direction: column;
  }

  .has-side-content .side-content {
    width: 100%;
    border-right: 0 solid var(--bg-gray);
    border-top: 20px solid var(--bg-gray);
  }

  .has-side-content .main-content {
    width: 100%;
  }
}

.sub-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav.woocommerce-MyAccount-navigation ul li .account-submenu {
  display: none;
}

nav.woocommerce-MyAccount-navigation ul li.subactive .account-submenu {
  display: block;
}

nav.woocommerce-MyAccount-navigation ul li .arrow {
  display: inline-block;
  width: 50px;
  text-align: left;
}

 nav.woocommerce-MyAccount-navigation ul li .arrow svg{
  transition: .3s;
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.woocommerce-MyAccount-navigation-link.subactive .arrow svg{
  transform: rotate(90deg);
}

/* Dashboard */


.dashboard-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}
.dashboard-content a svg{
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 5px;
}
.dashboard-content h4 {
  margin: 0;
  font-size: 14px;
}

.dashboard-content a {
  color: var(--text-light-gray);
}
.panel-options .text svg{
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-left: 5px;
  display: inline-block;
}
.panel-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
  text-align: center;
  padding: 15px;

}

.panel-options .item .count {
  font-size: 16px;
  color: var(--dark);
}

.panel-options .item .text {
  font-size: 14px;
  color: var(--text-dark-gray);
}

.panel-options .item .text:hover {
  color: var(--dark);
}


.orders.panel-options .item i {
  font-size: 28px;
  color: var(--dark);
}

@media screen and (max-width: 765px) {
  .panel-options .item {
    width: 50%;
    margin-top: 10px;
  }
}


.product-list {
  list-style: none;
  padding: 10px !important;
  padding-top: 0;
}

.product-list a {
  color: var(--text-dark-gray);
}

.product-list li:not(:last-child) {
  margin-bottom: 10px;
}


.no-wishlist {
  display: block;
  text-align: center;
  padding: 10px;
  color: var(--text-dark-gray);
  font-size: ;
  padding-top: 0;
}

.no-wishlist img {
  width: 100px;
  display: block;
  margin: 0 auto;
}

.no-wishlist .text {
  font-size: 10px;
}
.not-found-button {
  border-radius: 5px;
  color: white !important;
  background: #ff004c;
  display: block;
  width: fit-content;
  margin-inline: auto;
  font-size: 11px !important;
  padding: 8px 10px !important;
}

.not-found-button:active, .not-found-button:hover {
  transform: scale(1.07);
}


.recent-products {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  padding: 5px !important;
justify-content: space-around;
}

.recent-products img {
  border: 1px solid var(--bg-gray);
}

.recent-products li {
  width: 170px;
  margin: -1px;
  padding: 5px;
}

.recent-products h6 {
  font-size: 10px;
  color: var(--text-dark-gray);
  margin-bottom: 7px;
}

/* End Dashboard */


/* Address Page */
.edit-address .woocommerce-MyAccount-content{
  padding: 15px;
}
/* End Address Page */


/* Point page */


.points.main-content {
  text-align: center;
}
.poinst .form-groub {
}
.points .button.change {
  background: var(--dark);
  color: white;
  border-radius: 0;
  display: block;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 10px;
}

.alert.alert-warning {
  background: #ffcc33b0;
  padding: 10px;
  border-radius: 3px;
  border: 1px solid #c19309;
}

.alert.alert-success {
  padding: 10px;
  border: 1px solid #008000b0;
  border-radius: 5px;
  background: #90ee907d;
}


.user-logs {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.user-logs .log-item {display: flex;margin-bottom: 3px;}

.user-logs span.log-col {
  display: block;
  flex: 1;
  text-align: right;
  padding: 3px;
}

.user-logs .log-item.minus {
  background: #ffc6be;
}

.user-logs .log-item.plus {
  background: #83f683;
}


/* End Point page */


/* Visited products */
.visited-products.main-content .recent-products li {
  width: calc(100% / 3);
}
@media screen and (max-width: 765px){
  .visited-products.main-content .recent-products li {
    width: calc(100% / 2);
  }
}
/* End visited products */


/* Wallet Start */
.charge, .receive{
  padding: 15px;
}
.charge .form-inputs {
  display: flex;
  align-items: flex-end;
}
.charge .form-inputs .col-1 {
  width: 100%;
  padding: 5px;
}
.charge .form-inputs .col-2 {
  padding: 5px;
}
.charge .form-inputs .col-2 button, .receive .submit {
  background: black;
  color: white;
  border: none;
  height: 40px;
  border: 1px solid transparent;
  transition: 0.5s !important;;
}
.charge .form-inputs .col-2 button:hover, .receive .submit:hover {
  background: white;
  color: black;
  border: 1px solid black;
}
.charge .hint, .receive .hint {
  font-size: 11px !important;
  color: #ea0000;
}
.wallet-info{
  text-align: center;
}

.receive .submit:disabled {
  opacity: 0.7;
  pointer-events: none;
}
.form-input.hint.success {
  color: green;
}
.requests-box .items .item{
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 10px;
}
.requests-box .items .item:not(:last-child){
  border-bottom:1px solid var(--bg-gray);
}
.requests-box{
  padding: 15px;
}

.requests-box .items .item.pending{
  background: #ff000014;
}

.requests-box .items .item.success{
  background: #00ff0f26;
}

.wallet-notice{
  padding: 15px;
}

.main-cotent.gifts {
  padding: 15px;
}

.main-cotent.gifts .items .item:not(last-child) {
  margin-bottom: 15px;
}

.main-cotent.gifts .items .item {
  padding: 10px;
  color: black;
  background-image: linear-gradient(147deg, #FFE53B 0%, #FF2525 74%);
  background: var(--bg-gray)
}

.main-cotent.gifts .name {
    display: flex;
    gap: 5px;
}
.main-cotent.gifts .copyref{
  cursor: pointer;
}
.main-cotent.gifts .copyref .text {
    font-size: 12px;
}

.main-cotent.gifts .copyref svg,
.main-cotent .copyref svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    display: inline-block;
    margin-left: 5px;
}


/* End Wallet */


/* WishList */
.wishlist .items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.wishlist .items .item {
  display: flex;
  align-items: center;
  margin-bottom: 0; /* Changed from 15px to 0 because gap handles spacing */
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
}

.wishlist .items .item .name {
    flex-grow: 1;
    color: var(--text-dark-gray);
    font-size: 14px;
    font-weight: 500;
}
.wishlist .items .item .name:hover {
    color: var(--dark);
}

.wishlist .items .item button {
  padding: 5px;
  margin-left: 10px;
  border: none;
  color: #ff004c; /* Changed to red for better visibility */
  vertical-align: sub;
  background: rgba(255, 0, 76, 0.1); /* Light red background */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.wishlist .items .item button .aticon,
.wishlist .items .item button svg {
  width: 16px;
  height: 16px;
  display: inline-block;
}
.wishlist .items button:hover{
  background: #ff004c !important;
  color: white !important;
  outline: none !important;
}

.wishlist .items .item .close form {
    margin: 0;
}
/* End Wishlist */


/* Orders */

.woocommerce-view-order .woocommerce-MyAccount-content, body[class *= "-orders"] .woocommerce-MyAccount-content{
  padding: 15px;
}

.orders-title{
  font-size: 14px;
}
table.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive.my_account_orders.account-orders-table {
  display: none;
}
.woocommerce-pagination.woocommerce-pagination--without-numbers.woocommerce-Pagination {
  display: none;
}


table.woocommerce-orders-table th{
font-weight: bold;
}
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-product_name {
width: 300px
}

@media screen and (max-width: 765px){
table.woocommerce-orders-table th{
    display: none;
}
.woocommerce-orders-table__row {
display: flex;
flex-wrap: wrap;
width: 100% !important;
    margin-bottom: 20px !important;
}

.woocommerce-orders-table__row td {
width: 50%;
}


table.woocommerce-orders-table, table.woocommerce-orders-table tbody {
display: block;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-product_name {
width: 100%;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-product_name::before {
content: "نام محصول:";
font-weight: bold;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-date::before {
content: "تاریخ:";
font-weight: bold;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status::before {
content: "وضعیت:";
font-weight: bold;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-total::before {
content: "هزینه:";
font-weight: bold;
}
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {display: flex;flex-direction: column;}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
margin-top: 5px;
}

.my_account_orders  td.order-actions .button {
    border-radius: 5px;
    color: white !important;
    background: #ff004c;
    padding: 7px 10px;
	margin: 3px;
}

a.woocommerce-MyAccount-downloads-file.button, a.woocommerce-button.button.pay.order-actions-button {
    border-radius: 5px;
    color: white !important;
    background: #ff004c;
    padding: 7px 10px;
    margin: 3px;
    min-width: 115px;
    max-width: 100% !important;
}


p.order-again {
    display: none;
}

section.woocommerce-customer-details {
    display: none;
}

@media screen and (max-width: 765px){

	.my_account_orders tr.order {
		display: flex;
		flex-wrap: wrap;
	}

	.my_account_orders tr.order td {
		flex: 1 1 50%;
		display: block;
	}

	.my_account_orders tr.order td::before {
		content: attr(data-title) ":";
		font-weight: bold;
	}

	.my_account_orders td.order-number {
		order: 1;
	}

	.my_account_orders td.order-date {
		order: 2;
	}

	.my_account_orders td.order-status {
		order: 3;
	}

	.my_account_orders td.order-total {
		order: 4;
	}

	.my_account_orders td.order-actions {
		order: 6;
	}

	.my_account_orders td.product_name {
		order: 5;
	}

	.my_account_orders td.order-actions, .my_account_orders td.product_name {
		flex-basis: 100% !important;
	}

	.my_account_orders td.order-actions::before {
		display: none;
	}
}

/* End orders */


/* Profile */

.profile .woocommerce-MyAccount-content {
  padding: 15px;
}

.profile .woocommerce-MyAccount-content h6 {
  font-size: 14px;
}

.profile form.edit-profile input[type=text], form.edit-profile input[type=number] {
  border: 1px solid var(--text-dark-gray);
  border-radius: 0;
}

.profile form.edit-profile .form-group, .profile form.edit-profile fieldset {
  margin-bottom: 20px;
}

.profile form.edit-profile .form-group label {
  margin-bottom: 5px;
}

.profile form.edit-profile fieldset {
  border: 1px solid black;
}

.profile .form-group.gender label[for=female] {
  margin-right: 15px;
}

.profile .button.change {
  background: var(--dark);
  color: white;
  border-radius: 0;
  display: block;
  margin-bottom: 10px;
}
/* End profile */

/* Marketing */


.my-code {
  text-align: center;
}

.my-code .name, .name a {
  font-size: 16px !important;
}

.my-code .my-code .desc {
  color: var(--text-dark-gray);
  font-size: 12px;
  margin-bottom: 10px;
}

.my-code .share * {
  font-size: 12px !important;
}

.my-code .share ul {
  list-style: none;
  display: flex;
  padding: 0;
}

.my-code .share {
  display: flex;
  justify-content: center;
}

.my-code .share ul li {
  margin-right: 7px;
  border-bottom: 1px solid;
}

.my-code .share ul li a {
  color: var(--dark);
  font-weight: normal;
}

.my-code .share .name {
  font-weight: bold;
  color: var(--text-dark-gray);
}

.my-code > .name {
  color: var(--text-dark-gray);
}

.my-code > .name a {
  color: var(--dark);
}

.my-code {
  margin-bottom: 15px;
}

.items-ref .item {
  text-align: center;
  flex: 1;
  border: 1px solid var(--text-light-gray);
  margin: 5px;
  padding: 9px;
}

.items-ref {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}
@media screen and (max-width: 770px){
  .items-ref {
      flex-direction: column;

  }
}

.my-plan .count {
  text-align: center;
  font-size: 14px !important;
  display: block;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid var(--dark);
  width: fit-content;
  padding: 10px 15px;
  border-radius: 0;
}

.all-plans {
  margin-top: 20px;
}

.all-plans .plan{
  margin-bottom: 10px;
  background: var(--bg-gray);
  padding: 10px;
  border: 1px solid #a7a7a7;
}

.all-plans .plan .name {
  font-weight: bold;
}


.sell-item {
  padding: 15px;
  background: var(--bg-gray);
  margin-bottom: 15px;
  border: 1px solid #a7a7a7;
}
/* End marketing */


/* Global */
.woocommerce-MyAccount-navigation .toggle {
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 10px;
  display:none;
  cursor: pointer;
}

.woocommerce-MyAccount-navigation .toggle svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-left: 10px;
  display: inline-block;
}
@media screen and (max-width: 768px){
  .woocommerce-MyAccount-navigation .toggle{
      display: flex;
    background: #e7e7e7c5;
  }
}
/* End gloal */




/* Exams */


.exam-wrapper {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: space-between;
}

.exam-wrapper .exam-item {
display: block;
width: 32%;
border: 1px solid #ccc;
border-radius: 5px;
padding: 7px;
transition: 0.5s;
}
.exam-wrapper .exam-item:hover{
background: #eeeeee;
}
.exam-wrapper .exam-item  img {
object-fit: cover;
border-radius: 5px;
margin-bottom: 14px;
}

.exam-wrapper .exam-item  h3 {
margin-bottom: 5px;
font-size: 17px;
}

.exam-wrapper .exam-item  p {
color: #333;
font-size: 14px;
margin-bottom: 0;
}

.exam-wrapper .exam-item  .exam-info {
display: flex;
justify-content: space-between;
text-align: center;
flex-wrap: wrap;
}

.exam-wrapper .exam-item  .exam-info .info-item {
display: flex;
font-size: 12px;
color: black;
padding: 5px;
width: 47%;
background: #f7f5f5ee;
border-radius: 5px;
margin: 3px;
border: 1px solid #ccce;
}

.exam-wrapper .exam-item .exam-info .info-item strong {
padding-left: 5px;
}

@media screen and (max-width: 1000px){
.exam-wrapper .exam-item{
    width: 49%
}
}
@media screen and (max-width: 600px){
 .exam-wrapper .exam-item{
    width: 100%
}
.exam-wrapper .exam-item:not(:first-child){
    margin-top: 15px;
}
.exam-wrapper{
    gap: 0;
}
}

.exam-wrapper .exam-item .info-item.your-count {
width: 100% !important;
text-align: center !important;
justify-content: center;
}

.exam-wrapper .exam-item .info-item.your-count.count-0 {
background: #ff004c !important;
color: white !important;
}

.exam-wrapper .exam-item span.pay-notic {
background: #000000db;
border-radius: 5px;
padding: 3px;
position: absolute;
top: calc(50% + 9px);
transition: 0.3s all;
z-index: 999;
pointer-events: none;
opacity: 0;
width: 100%;
display: block;
}

.exam-wrapper .exam-item .info-item.your-count {
position: relative;
}

.exam-wrapper .exam-item span.pay-notic::before {
content: "";
width: 0;
height: 0;
border-right: 5px solid transparent;
border-left: 5px solid transparent;
border-bottom: 5px solid #000000db;
position: absolute;
bottom: 100%;
left: 50%;
transform: translate(-50%, 0);
}

.exam-wrapper .exam-item:hover .pay-notic {
top: calc(100% + 9px);
opacity: 1;
  color: white;

}

.user-exam-wrapper  tr.true {
background: #06a306eb;
color: white;
}

.user-exam-wrapper tr.false {
background: #fb4040fa;
color: white;
}


.popup.exam-ad-popup .ad-items {
  display: flex;
  flex-wrap: wrap;
  width: 100% !important;
  justify-content: space-between;
  gap: 10px;
}

.popup.exam-ad-popup .ad-items .ad-item {
  display: block;
  width: calc(100% /3 - 10px) !important;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: 0.3s;
  padding: 15px;
  text-align: center;
}
.popup.exam-ad-popup  .ad-item:hover{
  background: #f5f5f5;
  scale: 1.03;
}
.popup.exam-ad-popup .ad-items .ad-item h3{
  font-size: 16px;
  border-bottom: 1px solid #fc3;
  width: fit-content;
  padding-bottom: 10px;
  margin-inline: auto;
}
.popup.exam-ad-popup .ad-items .ad-item img{
  width: 75% !important;
  margin-bottom: 15px;
}
.popup.exam-ad-popup .ad-items .ad-content {
  width: 100% !important;
}

.popup.exam-ad-popup .body {
  flex-direction: column;
}

.popup.exam-ad-popup .ad-items .ad-item span {
  border: 1px solid  #ff004c;
  background: #ff004c;
  color: white !important;
  border-radius: 4px;
  padding: 3px 15px;
  display: block;
}

.popup.exam-ad-popup  .ad-content {
  text-align: center;
}

.popup.exam-ad-popup  .ad-content .ad-title {
  margin-bottom: 2px;
}

@media screen and (max-width: 850px){
   .popup.exam-ad-popup .body{
       overflow: auto !important;
       max-height: 80vh;
   }
  .popup.exam-ad-popup .ad-items{
      gap: 5px;
  }
  .popup.exam-ad-popup .ad-items .ad-item{
      width: calc(50% - 5px) !important;
      margin-bottom: 5px;
      padding: 5px 3px;
  }
  .popup.exam-ad-popup .ad-items .ad-item img{
      margin-bottom: 5px;
  }
  .popup.exam-ad-popup .ad-items .ad-item :is(h3, span){
      font-size: 13px;
      margin-bottom: 0;
  }
}

/* End Exams */


/* Portal Style */
.user-info-table tr td img.preview{
width: 150px;
display: block;
}

.loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #ffffffb5;
display: flex;
align-items: center;
justify-content: center;
z-index: 2343434345;
display: none;
}
.loader img {
width: 120px;
animation: 3s roate infinite linear;
display: block;
}

@keyframes roate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}


#birth_date {
width: 100%;
}


.apply-button {
margin-top: 10px;
background: #ff004c;
color: white;
border-radius: 5px;
border: none;
}
ul.account-submenu {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.woocommerce-MyAccount-navigation-link {
  padding-top: 0 !important;
padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.user-register-table *{
	user-select: none;
}

@media screen and (min-width: 1024px){
.user-register-table .show-res{
  display: none;
}
.table-wrapper.user-register-table tr .course-info{
  max-width: 150px;
}
}
@media screen and (max-width: 1024px){

tr.thead-nav {
  display: none;
}

.table-wrapper.user-register-table tr:not(.thead-nav) {
  display: flex;
  flex-wrap: wrap;
}

.table-wrapper.user-register-table tr td {
  width: 50%;
}

.table-wrapper.user-register-table tr:not(:last-child) {
  border-bottom: 1px solid #ccc;
}

nav.woocommerce-MyAccount-navigation ul {
  flex-wrap: wrap;
  border: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

nav.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link {
  padding-bottom: 5px;
  border-radius: 3px;
}

.user-register-table.fix-width tbody{
	max-width: 100%;
	display: block;
}
.user-register-table.fix-width table{
	overflow-x: unset !important;
	max-width: 100%;
	display: block;
}


}

.table-wrapper.user-register-table tr .pay-payment-button {
  background: none;
  color: #ff004c;
  font-weight: normal;
display: block;
border: 1px solid #ff004c;
padding: 3px 5px !important;
margin-top: 10px;
font-size: 14px !important;
letter-spacing: -1px;
line-height: 1.5;
}


.woocommerce-MyAccount-content p.alert.alert-error {
  background: #fcb5801f;
  border: 2px solid orangered;
  color: orangered;
  padding: 5px;
  border-radius: 5px;
}


.woocommerce-MyAccount-content p.alert.alert-success {
  background: #80fcaf0a;
  border: 2px solid #0a8d0b;
  color: #0a8d0b;
  padding: 5px;
  border-radius: 5px;
}

.woocommerce-MyAccount-content a.woocommerce-button.button.view {
  color: white !important;
border: 2px solid transparent !important;
}

.woocommerce-MyAccount-content a.woocommerce-button.button.view:hover{
color: #13aff0 !important;
border: 2px solid #13aff0 !important;
background: none !important;
}
.woocommerce-MyAccount-content .related-download {
  background: #ff004c !important;
}

.woocommerce-MyAccount-content .related-download:hover {
  color: #ff004c !important;
  border-color: #ff004c !important;
}

.table-wrapper.user-register-table * {
font-size: 12px;
}

.table-wrapper.user-register-table .button, .table-wrapper.user-register-table tr .pay-payment-button {
padding: 5px !important;
font-size: 12px !important;
font-weight: normal;
/* min-width: 120px; */
min-width: 105px;
max-width: unset;
text-align: center;
}
.table-wrapper.user-register-table {
  overflow-x: auto;
}
.mot-course-al{
  margin-bottom: 20px;
}
.mot-course-al >h4{
margin-bottom: 0px;
margin-left: 10px;
font-size: 14px;
line-height: 32px !important;
}
.mot-course-al .mot-course-rules {
  color: #747474;
  border-bottom: 1px solid #7474743b;
  margin-bottom: 16px;
  display: inline-block;
  font-size: 11px;
  cursor: pointer;
}
.mot-course-al .mot-course-rules svg {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  display: inline-block;
}
@media screen and (min-width: 1024px) {
  .mot-course-al .mot-course-rules {
      margin-bottom: 0px !important;
      font-size: 12px !important;
  }
}

/* my styles start */
.mot-table-account .mot-ths th ,.mot-table-account .mot-tds td{
  border:none;
}
.mot-table-account .mot-ths{
  border-bottom: 1px solid #e9e9e991 ;
  padding-bottom: 7px;
}
.mot-table-account a,
.mot-table-account input[type="submit"],
.mot-table-account button{
  border-radius: 5px !important;
}

td.mot-grow.mot-course-links {
  display: flex;
  flex-wrap: wrap;
  width: 100% !important;
  align-items: center;
  justify-content: unset;
  padding: 5px;
}

.mot-course-links form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

td.mot-grow.mot-course-links .button {
  min-width: 100px;
  margin-bottom: 5px !important;
  margin-left: 5px;
}

.pay-payment-button:not(input) {
  min-width: 200px !important;
  margin-left: 5px;
}

@media screen and (min-width:1025px) {
  .mot-course-progress-container{
    padding: 10px !important;
  }
  .mot-table-account .mot-ths ,.mot-table-account .mot-tds{
    display: flex;
    justify-content: space-between;
    width:100%;
  }
  .mot-table-account .mot-tds:not(:has(.mot-course-progress-container)) {
    border-bottom: 1px solid #e9e9e9 !important;
  }
  .table-wrapper.user-register-table.mot-table-account{
    border: 1px solid #e9e9e9 ;
    border-radius: 5px;
  }
  .table-wrapper.user-register-table.mot-table-account .mot-tds:nth-child(even){
    background-color: #e9e9e991;
  }
  .mot-table-account .pay-payment-button {
    font-weight: normal;
    min-width: 120px;
    max-width: 120px !important;
    text-align: center;
  }

  .mot-table-account .mot-ths th ,.mot-table-account .mot-tds td{
    width: calc(100%/10 - 5px);
    flex-grow: 1;
  }
  .mot-table-account .mot-tds {
    flex-wrap: wrap;
  }
  .mot-table-account .mot-w-100{
    width: 100% !important;
  }
  .mot-table-account .mot-w-50{
    width: 57px !important;
  }
  .mot-table-account .mot-grow{
    flex-grow: 3 !important;
  }
  .mot-course-progress-container{
    padding: 0px 10px 18px !important;
  }

}
@media screen and (max-width:1025px){
  .full-md{
    width: 100% !important;
  }
  .mot-tds .mot-course-links{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: baseline;
  }
  .mot-course-progress-container{
    padding: 10px 10px 18px;
    padding-right: 10px !important;
    width: 100% !important;
  }

}
.mot-course-progress-container{
  border-bottom: 1px solid #e9e9e9 !important;
}

.mot-course-progress-container .mot-course-progress{
  height: 20px;
  border-radius:5px !important;
  border:1px solid #e9e9e9;
  display: flex;
  justify-content: flex-start;
  margin-top: 5px;
  background-color: #13aff017;
}
.mot-course-progress-container .mot-course-progress .mot-progress-count{
  background-color: #ff004c;
  border-radius: 5px !important;
  transition: .3s;
  width: 50%;
  display: flex;
  justify-content: end;
  padding-left: 10px;
  padding-right: 10px;
}
.mot-course-progress-container .mot-course-progress .mot-progress-count::before{
  content: attr(data-progress);
  display: inline-block;
  color: white;
}
.mot-course-progress-container .mot-progress-title{
  font-size: 14px;
  margin-bottom: 5px !important;
  font-weight: 700;
}

tr.leaved {
    background: #fbcdcd;
    pointer-events: none;
}

tr.leaved span.leaved {
    background: red;
    color: white;
    border-radius: 5px;
    padding: 0 3px;
    display: block;
    width: fit-content;
}

tr.leaved a, tr.leaved button{
    background: darkgray !important;;
}

.course-box small.disconted{
  display: block;
  font-weight: bold;
}
/* my styles end */

/* End Portal Style */




/* documents and certificates start */
@media screen and (min-width:1024px) {
  .mot-certificates-sec .mot-certificates-lists-title> .mot-certificates-al >h4{
	      font-size: 18px;
  }
  .mot-certificates-sec ul.mot-certificates-list-ul{
    flex-direction: row !important;
  }
  .mot-certificates-sec ul.mot-certificates-list-ul .mot-certificates-list-li{
    flex-direction: column !important;
	justify-content: unset !important;
  }


  /* progressbar start */
   ul.mot-certificates-list-ul .mot-certificates-list-li:first-child .mot-line,
   ul.mot-certificates-list-ul .mot-certificates-list-li:last-child .mot-line{
    width: 50% !important;
  }
   ul.mot-certificates-list-ul .mot-certificates-list-li:first-child .mot-circle,
   ul.mot-certificates-list-ul .mot-certificates-list-li:last-child .mot-circle{
    right: 50% !important;
    transform: translateX(50%) !important;
  }
  ul.mot-certificates-list-ul .mot-certificates-list-li:first-child .mot-certificates-progress-bar{
    justify-content: flex-end !important;
  }
   ul.mot-certificates-list-ul .mot-certificates-list-li:last-child .mot-certificates-progress-bar{
    justify-content: flex-start !important;
  }
  .mot-certificates-list-li .mot-certificates-progress-bar{
    margin-bottom: 20px;
    width: 100% !important;
    margin-left: 0 !important;
  }
  .mot-certificates-list-li .mot-certificates-info{
    width: unset;
  }
  .mot-certificates-sec  .mot-certificates-list-li .mot-certificates-progress-bar .mot-line{
    width: 100% !important;
    height: 3px !important;
  }
  ul.mot-certificates-list-ul .mot-certificates-list-li:last-child .mot-circle
  {
    bottom: unset !important;
  }
  ul.mot-certificates-list-ul .mot-certificates-list-li:first-child .mot-circle{
    top: unset !important;
  }
  .mot-certificates-list-li .mot-certificates-info{
    align-items: center !important;
    width: 100% !important;
    text-align: center;
  }
  .mot-certificates-sec .mot-certificates-lists-title a:not(.mot-certificate-rules ){
    padding: 5px 10px !important;
  }
  .mot-certificates-sec .mot-certificate-rules{
    margin-bottom: 0px !important;
    font-size: 12px  !important;
  }
}
.mot-certificates-list .mot-certificates-interception{
  color: #0b9102;
  margin-right: 14px;
  font-weight: 700;
  border-bottom: 1px solid #0b9102;
  font-size: 12px;
}
.mot-certificates-list  .mot-certificates-t{
  display: flex;
}
.mot-certificates-sec .mot-certificates-list svg {
  vertical-align: middle;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.mot-certificates-sec .mot-certificates-sec-title{
  font-size: 14px;
}
.mot-certificates-sec .mot-certificates-lists-title{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 20px;
}
.mot-certificates-sec .mot-certificates-lists-title> .mot-certificates-al >h4{
  margin-bottom: 0px;
  margin-left: 10px;
  font-size: 14px;
  line-height: 32px !important;
}
.mot-certificates-sec  .mot-certificate-rules{
  color: #747474;
  border-bottom: 1px solid #7474743b;
  margin-bottom: 16px;
  display: inline-block;
  font-size: 11px;
  cursor: pointer;
}
.mot-certificates-sec  .mot-certificate-rules svg{
  width: 23px;
  height: 23px;
  vertical-align: middle;
  display: inline-block;
}
.mot-certificates-sec  .mot-certificate-rules:hover{
  color: #13aff0;
}
.mot-certificates-sec .mot-certificates-lists-title a:not(.mot-certificate-rules ){
  background-color: #ff004c;
  outline: none;
  padding: 2px 5px;
  border-radius: 5px;
  color: #fff;
  transition: .3s;
  border: 2px solid #ff004c;
  cursor: pointer;
  line-height: normal;
}
.mot-certificates-sec .mot-certificates-lists-title a:not(.mot-certificate-rules ):hover{
  color: #ff004c;
  background-color: #fff;
}
.mot-certificates-sec .mot-certificates-lists-title a:not(.mot-certificate-rules ) svg{
  width: 22px;
  height: 22px;
  vertical-align: middle;
  display: inline-block;
}
.mot-certificates-sec .mot-certificates-list{
  display: flex;
  align-content: center;
  margin: 20px 0px;
  flex-direction: column;
}
.mot-certificates-sec .mot-certificates-list h4{
  margin-left: 10px;
  margin-bottom: 30px;
  font-size: 14px;
}
.mot-certificates-list:has(.mot-certificates-list-li:last-child.true) > h4 .aticon{
  color: #0b9102 ;
}
.mot-certificates-list:has(.mot-certificates-list-li:last-child.false) > h4 .aticon{
  color:#b3b2b2 !important;
}
.mot-certificates-sec ul.mot-certificates-list-ul{
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  flex-direction: column;
}
.mot-certificates-sec ul.mot-certificates-list-ul .mot-certificates-list-li{
  display: flex;
  align-items: center;
  flex: 1 ;
  justify-content: center;
}
.mot-certificates-sec .mot-certificates-list{
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 20px;
}
.mot-certificates-sec .mot-certificates-list:last-child{
  border: none !important;
  padding-bottom: none !important;
}
/* progressbar start */

.mot-certificates-list-li .mot-certificates-info{
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: start;
}
  .mot-certificates-list-li .mot-certificates-progress-bar{
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-left: 20px;
  position: relative;
}
.mot-certificates-sec  .mot-certificates-list-li .mot-certificates-progress-bar .mot-circle{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
}
.mot-certificates-sec  .mot-certificates-list-li.true .mot-certificates-progress-bar .mot-circle{
  box-shadow: inset 0px 0px 0px 8px #0b9102;
}
.mot-certificates-sec  .mot-certificates-list-li.false .mot-certificates-progress-bar .mot-circle{
  box-shadow: inset 0px 0px 0px 8px #ff004c;
}
.mot-certificates-sec  .mot-certificates-list-li .mot-certificates-progress-bar .mot-line{
  width: 3px;
  height: 74px;
  background-color: #e9e9e991;
}
.mot-certificates-sec  .mot-certificates-list-li .mot-certificates-info>span{
  font-weight: 600;
}
.mot-certificates-sec  .mot-certificates-list-li .mot-certificates-info>a, .mot-certificates-sec  .mot-certificates-list-li .mot-certificates-info button{
  background-color: #13aff0;
  color: #fff;
  padding: 2px 10px;
  border-radius: 5px;
  min-width: 115px;
  text-align: center;
  transition: .3s;
  border: none;
  font-size: 12px;
  width: 140px !important;
  min-width: 140px !important;
}
.mot-certificates-sec  .mot-certificates-list-li .mot-certificates-info>a:hover, .mot-certificates-sec  .mot-certificates-list-li .mot-certificates-info button:hover{
  background-color: #0087c1;
}
ul.mot-certificates-list-ul .mot-certificates-list-li:last-child .mot-circle
{
  bottom: 0;
}
ul.mot-certificates-list-ul .mot-certificates-list-li:first-child .mot-circle{
  top: 0;
}
ul.mot-certificates-list-ul .mot-certificates-list-li:last-child .mot-line,
ul.mot-certificates-list-ul .mot-certificates-list-li:first-child .mot-line{
  height: 48.5px;
}
ul.mot-certificates-list-ul .mot-certificates-list-li:last-child {
  align-items: flex-end;
}
ul.mot-certificates-list-ul .mot-certificates-list-li:first-child{
  align-items: flex-start;
}
/* progressbar end */
/* Certificate  popup */
.mot-hidden{
  display: none;
}
.mot-certificate-search{
  border-radius: 10px 10px 0px 0px!important;
  border-bottom: 0px !important;
  border-color: #ff004c !important;
  outline: none !important;
}
.mot-certificate-search::placeholder {
  color: #201919c2;
}
  .mot-certificate-popup:not(.btn-p) {
      padding: 5px 10px;
      width: 100%;
      max-height: 70vh;
      overflow: auto;
      font-size: 14px;
  }
  .mot-certificates-title > input{
      width: 60%;
      border-radius: 10px;
      padding: 8px;
      outline: none;
      border: 1px solid  #e9e9e9;
  }
  .mot-certificate-popup  > .mot-certificate-popup-header h3{
      display: flex;
      flex-direction: row-reverse;
      justify-content: flex-end;
      align-items: center;
      margin: 0px;
  }
  .mot-certificate-popup  > .mot-certificate-popup-header h3 svg{
      margin-left: 5px;
      width: 20px;
      height: 20px;
      vertical-align: middle;
      display: inline-block;
  }
  .mot-certificate-popup  > .mot-certificate-popup-header{
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .mot-certificate-form >.mot-certificate-form-wrapper{
      margin-top: 20px;
      border: 1px solid #e9e9e9;
      border-radius: 10px;
      padding: 10px;
	  display: none;
  }
  .mot-certificate-form-wrapper .mot-certificates-desc{
      color: #ff004c;
      margin-bottom: 10px;
      border: none;
      padding: 0px !important;
      font-size: 12px;
  }
  .mot-certificate-form-wrapper .mot-certificates-title{
      display: flex;
      align-items: center;
      font-size: 14px;
      margin: 0px;
      margin-bottom: 5px;
      font-weight: 800;
      background-color: transparent;
      box-shadow: none;
      border: none;
      padding: 0px;
  }
  .mot-certificate-form-wrapper .mot-certificate-form-item{
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      border: none;
      border-radius:0px 0px 10px 10px;
      padding: 5px;
      border: 1px solid #e9e9e9;
	border-top-color: #ff004c;

  }
  .mot-certificate-form-wrapper:not(:has(.mot-c-label)) .mot-certificate-form-item{
    border-top: 0px !important;
  }
  .mot-certificate-form-wrapper .mot-certificate-form-item input{
      display: none;
  }
  .mot-certificate-form-item .mot-c-label{
    display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #000;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: .2s !important;
  text-align: start;
  justify-content: center;
  width: calc(100% / 2);
  }
  .mot-certificate-form-item .mot-c-label .mot-c-name{
    font-weight: 700;
    direction: ltr;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    text-align: end;
  }
  .mot-certificate-form-item .mot-c-label .mot-c-name .mot-course-title{
    direction: rtl;
    text-align: start;
  }

  .mot-certificate-form-item .mot-c-label select.select-fee {
    padding: 2px !important;
    height: auto !important;
    min-height: auto !important;
    font-size: 11px !important;
    background: white;
}
  .mot-certificate-form-item .mot-c-label:hover{
      background-color: #ff004c;
      color: white
  }
  .mot-certificate-form-item .mot-c-label:hover svg{
      color: #fff;
  }
  .mot-certificate-form-item .mot-c-label svg{
      color: #ff004c;
      width: 20px;
      height: 20px;
      vertical-align: middle;
      display: inline-block;
  }
  .mot-certificate-form-item .mot-c-label span{
    font-size: 12px;
  }
  @media screen and (max-width:768px){
    .mot-certificate-search{
      font-size: 12px !important;
    }
  }
  @media screen and (min-width:768px) {
    .mot-certificate-form-item .mot-c-label{
      width: calc(100% / 4 - 5px);
    }
    .mot-certificate-form-wrapper .mot-certificates-title{
      font-size: 16px !important;
    }

    .mot-certificate-popup:not(.btn-p) {
      font-size: 12px;
      padding: 10px 20px;
    }
  }

.certificate-rules-popup .contain-m, .course-rules-popup .contain-m {
    width: 500px;
}
.certificate-rules-popup .reserve-content, .course-rules-popup .reserve-content {
    width: 100%;
}
.certificate-rules-popup .reserve-content{
    max-height: 340px;
    overflow: auto;
    border-bottom: 1px solid #ccc;
}

.certificate-rules-popup button.accept-rules {
    background: #ff004c !important;
    color: white !important;
    padding: 5px 15px !important;
    width: fit-content;
    margin: auto;
    margin-top: 15px;
}

.certificate-rules-popup .body, .course-rules-popup .body {
    flex-direction: column;
    max-height: 80vh;
    overflow-y: auto;
}

.certificate-rules-popup button.btn-reserve, .course-rules-popup button.btn-reserve {
    width: fit-content;
    margin: 10px auto;
    border: none;
    background: var(--main-color);
    border-radius: 5px;
    color: white;
}

.certificate-rules-popup .reserve-content ul, .course-rules-popup .reserve-content ul {
    padding-right: 21px !important;
    list-style: disc !important;
}

.certificate-rules-popup .reserve-content ul li, .course-rules-popup .reserve-content ul li {
    margin-top: 0px !important;
}

.certificate-rules-popup .reserve-content p, .reserve-content ul li, .course-rules-popup .reserve-content p {
    margin-bottom: 5px;
}

.mot-certificate-form img.loading {
  width: 150px !important;
  margin: 0 auto;
  display: block;
}

.mot-certificate-form:has(.mot-certificate-form-wrapper) .loading {
  display: none;
}


.mot-certificate-popup .guide-list {
  display: none;
  gap: 10px;
  margin-top: 10px;
  width: 450px;
  margin-inline: auto;
  max-width: 100%;
  cursor: pointer;
}
.mot-certificate-popup .guide-list.active{
  display: flex;
}
.mot-certificate-popup .guide-list .guide-item {
  border-radius: 5px;
  border: 1px solid #ccc !important;
  padding: 15px;
  text-align: center;
   transition: 0.3s;

}
.mot-certificate-popup .guide-list:has(.guide-item:hover) :not(.guide-item:hover){
  filter: blur(2px);
}
.mot-certificate-popup .guide-list .guide-item:hover{
  transform: scale(1.02);
  background: #f3f3f3;
}
.mot-certificate-popup .guide-list .guide-item:hover, .guide-list .guide-item:hover *{
  filter: unset !important;
}
.mot-certificate-popup .guide-list img{
  padding: 15px;

}

.mot-certificate-popup .guide-list .guide-item h3 {
  font-size: 17px;
  min-block-size: 48px;
}

.mot-certificate-popup .guide-list .guide-item span {
  border: 2px solid #ff004c;
  border-radius: 5px;
  color: #ff004c;
  padding: 2px 10px;
  min-width: 100%;
  display: block;
}

@media screen and (max-width: 765px){
  .mot-certificate-popup .guide-list .guide-item{
      padding: 10px;
  }
  .mot-certificate-popup .guide-list .guide-item h3{
      font-size: 14px;
      line-height: 1.5 !important;
  }
  .mot-certificate-popup .guide-list .guide-item img{
      max-width: 50%;
      padding: 0;
  }
  .mot-certificate-popup .guide-list .guide-item span{
    font-size: 11px;
    padding: 5px 0;
  }
}

.mot-certificate-popup .back-wrapper{
  display: none;
}
.mot-certificate-popup .back-to-guide {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 5px;
  color: #ff004c;
  border: 1px solid #ff004c;
  margin-top: 7px;
  border-radius: 5px;
  width: fit-content;
  margin-inline: auto;
  padding: 3px 20px;
  cursor: pointer;
  transition: 0.3s all;
}
.mot-certificate-popup .back-to-guide * {
  font-size: 15px !important;
  font-weight: bold;
}

.mot-certificate-popup .back-to-guide:hover {
  color: white;
  background: #ff004c !important;
}
.mot-certificate-popup .guide-list .guide-item p {
  font-size: 11px !important;;
  margin-bottom: 7px !important;;
}
.mot-certificate-popup .guide-list .guide-item h3{
  margin-bottom: 7px;
}

/* End certificate popup */

/* documents and certificates  end*/

/* Club */

.club .items {
display: flex;
flex-wrap: wrap;
}

.club .items .item-wrapper {
width: calc(100% / 2);
padding: 10px;
}

.club .items .item-wrapper .item {
background: var(--bg-gray);
border-radius: 5px;
padding: 10px;
border: 1px solid #ddd;
text-align: center;
}

.club .items .item .title {
font-size: 16px !important;
font-weight: bold;
}

.club .items .item .main-data {
display: flex;
align-items: center;
text-align: center;
border: 1px solid #ddd;
border-radius: 5px;
margin: 10px auto;
width: 90%;
}

.club .items .item .main-data .banner,.main-data .price {
flex: 1;
padding: 10px;
}

.club .items .item .main-data .banner:not(img) {
border-right: 1px solid #ddd;
}

.club .items .item .main-data .banner img {
width: 80px;
}

.club .items .item .main-data .price {
color: #ff004c !important;
font-size: 15px;
}

.club .items .item .main-data .price strong {
color: black;
}

.club .items .item .main-data .price {
display: flex;
flex-direction: column;
}

.club .items .item .info {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20px;
padding-top: 20px;
border-top: 2px dotted #ddd;
position: relative;
}

.club .items .item .info > * {
flex: 1;
padding: 5px;
}

.club .items .item .info .take, .club .items .item .info .taked-code {
border: 1px solid #ff004c;
border-radius: 5px;
background: #ff004c;
color: white;
display: flex;
align-items: center;
}

.club .items .item .info .take:not(:disabled):hover, .club .items .item .info .taked-code:hover {
background: white;
color: #ff004c;
}
.club .items .item .info .take:disabled{
opacity:0.7;
}

.club .items .item .info .take.loading{
pointer-events: none;
}

.club .items .item .info .take.loading::before{
content: "";
display: block;
width: 15px;
height: 15px;
border-radius: 5px;
background: url(https://www.aryatehran.com/wp-content/themes/arya/assets/images/loader.png);
filter: brightness(100) invert(0);
margin-left: 5px;
background-size: cover;
animation: 2s rotate infinite linear;
}
.club .items .item button.show-rules {
background: white;
border: 1px solid black;
border-radius: 5px;
}

.club .items .item .info button {
min-width: 100%;
justify-content: center;
}

.club .items .item .info::before {
content: "";
width: 25px;
height: 25px;
background: white;
border-radius: 50%;
position: absolute;
left: -1px;
top: 0;
transform: translate(calc(-50% - 10px), -50%);
z-index: 3;
border: 2px dotted #dddd;
clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
-webkit-clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.club .items .item .info .taked-code::after {
content: attr(data-code);
padding-right: 5px;
}
.club .items .item .info::after {
content: "";
width: 25px;
height: 25px;
background: white;
border-radius: 50%;
position: absolute;
right: 0;
top: 0;
transform: translate(calc(50% + 11px), -50%);
z-index: 3;
border: 2px dotted #dddd;
clip-path: polygon(0% 0, 50% 0, 50% 100%, 00% 100%);
-webkit-clip-path: polygon(0% 0, 50% 0, 50% 100%, 00% 100%);
}

@media screen and (max-width: 1250px){
.club .items .item-wrapper {
width: 50%;
}
}

@media screen and (max-width: 960px){
.club .items .item-wrapper {
width: 100%;
}
}


.club p.user-point, p.user-point * {
font-size: 14px !important;
}

.club p.user-point {
width: fit-content;
}

.club p.user-point .count {
color: orange;
border-bottom: 2px solid;
display: inline-block;
}

.club .alert.success {
background: #38ea135e;
border: 1px solid #0dae04;
border-radius: 5px;
margin-top: 15px;
}

.club .alert.danger {
background: #ffa5007d;
border: 1px solid #ff8d00;
border-radius: 5px;
margin-top: 15px;
}

.club .items .item .info-popup{
display: none;
}

.popup.club-item-popup .contain-m {
width: 500px;
}

.popup.club-item-popup .info-popup {
width: 100%;
}

.popup.club-item-popup .info-popup ul.rule-gift li {
display: flex;
align-items: center;
flex-wrap: wrap;
}

.popup.club-item-popup .info-popup ul.rule-gift li a {
padding-right: 5px;
color: #ff004c;
border-bottom: 1px solid;
padding: 0px;
margin-right: 5px;
}

.popup.club-item-popup .info-popup > div {
margin-bottom: 5px;
padding-bottom: 5px;
}

.popup.club-item-popup .info-popup > div:not(:last-child) {
border-bottom: 1px solid #ddd;
}
/* End Club */


/* Teacher Code */

.teacher .woocommerce.columns-4 {
padding: 0;
margin: 0;
}


/* End teacher code */

/* exercises start */
.mot-exercises-table tr.mot-exercises-table-tds {
  background-color: #f2f2f2;
}
.mot-exercises-table-tds td{
  border-color: #fff !important;
}

 tr.mot-comment-textarea{
  position: relative;
  border-bottom: 1px solid #e9e9e9;
  display: none;

}
 tr.mot-comment-textarea td{
  max-width: 100%;
  overflow: auto;
  padding: 10px !important;
  border-bottom: none;
  width: 100%;
}

.mot-toggle-slide-textarea svg{
  display: inline-block;
  width: 26px;
  height: 26px;
  vertical-align: middle;
}
.mot-toggle-slide-textarea {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #ff6a00;
  color: white !important;
  border: none;
  border-radius: 5px;
  padding: 5px 7px;
  min-width: 108px;
  text-align: center;
  font-size: 12px !important;
  outline: none !important;
  transition: .2s;
}
.mot-toggle-slide-textarea:hover{
  background-color: #246972;
}
.mot-toggle-slide-textarea svg{
  transition: .3s;
}
.mot-toggle-slide-textarea.rotate svg{
  transform: rotate(90deg);
}
.woocommerce-MyAccount-content{
  padding: 20px 10px;
}
.mot-exercises-table-ths th{
  font-weight: 700 !important;
}
.mot-exercises-table-tds td>a:not(.mot-toggle-slide-textarea ):hover{
  background-color: #ff6a00;
}
.mot-exercises-table-tds td>a:not(.mot-toggle-slide-textarea ){
  background-color: #246972;
  color: white !important;
  border: none;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 12px !important;
  display: inline-block;
  min-width: 108px;
  text-align: center;
  transition: .2s;
}
.mot-exercises-table-tds td>.mot-label input{
  display: none;
}
.mot-exercises-table-tds td>.mot-label label:hover{
  background-color: #ff6a00;
}
.mot-exercises-table-tds td>.mot-label label{
  text-wrap-mode: nowrap;
  background-color: #246972;
  cursor: pointer;
  color: white;
  border: none;
  border-radius: 5px;
  transition: .2s;
  padding: 5px 7px;
  outline: none !important;
}
@media screen and (min-width:1025px) {
  .mot-exercises-table-tds > td:first-child ,.mot-exercises-table-ths > th:first-child{
    text-align: center;
    border-left: 1px solid #e9e9e9;
    padding-left: 10px;
  }
  tr.mot-comment-textarea td{
    padding: 20px;
  }
}

@media screen and (max-width:1025px) {
  .exercise-content{
	  flex-direction: column;
	  text-align: right;
	  justify-content: flex-start !important;
	  align-items: flex-start  !important;
  }
}


.mot-exercises-table{
  border: 1px solid #e9e9e9;
}.mot-exercises-table-tds .mot-rate:hover{
  transform: scale(1.05);
}
.mot-exercises-table-tds .mot-rate{
  color: #fff;
  background-color: #d1cd22;
  font-size: 16px;
  border-radius: 50%;
  text-align: center;
  width: 30px;
  height: 30px;
  display: flex
;
  align-items: center;
  transition: .1s;
  justify-content: center;
}
/* tiny */
.tox.tox-silver-sink.tox-tinymce-aux{
  display: none !important;
}
.mot-exercises-table .mot-comment-textarea input[type="submit"]{
  padding: 4px 11px;
  background-color: #246972 !important;
  color: white;
  line-height: normal;
  border-radius: 5px;
}

.mot-exercises-table  .tox .tox-edit-area::before{
  border-color: #246972 !important;
}
.mot-comment-textarea.mot-restricted .tox-editor-header{
  display: none;
}
/* table */
@media screen and (max-width:1025px) {
  .mot-exercises-table.table .mot-exercises-table-ths{
    display: none !important;
  }
  .mot-exercises-table.table .mot-exercises-table-tds{
    display: flex;
    flex-direction: column;
    padding: 10px !important;
  }
  .mot-exercises-table.table .mot-exercises-table-tds:not(:first-child){
	  margin-top: 10px;
  }
  .mot-exercises-table.table .mot-exercises-table-tds td{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mot-exercises-table.table .mot-exercises-table-tds td::before{
    content: attr(data-th);
    display: inline;
  }
  .mot-exercises-table-tds td>.mot-label{
    display: flex;
    flex-direction: column;
  }
  .mot-exercises-table.table .mot-comment-textarea{
    background-color: white;
  }

}
/* exercises end */
/* headlines start */
.woocommerce-MyAccount-content> .mot-course-headline{
  display: flex;
  flex-wrap: wrap;
  padding:0px 5px 0px 0px ;
  border-radius: 10px;
}
.woocommerce-MyAccount-content> .mot-course-headline .mot-course-headline{
  margin-right: 12px;
}
.woocommerce-MyAccount-content> .mot-course-headline .mot-headline-wrapper >.mot-headline{
  padding-bottom: 0px !important;
}
.woocommerce-MyAccount-content> .mot-course-headline .mot-headline-wrapper .mot-headline{
  padding: 2px;
  border-radius: 10px;
}

.woocommerce-MyAccount-content> .mot-course-headline .mot-headline-wrapper > .mot-course-headline{
  display: flex;
  flex-direction: column;

  flex-wrap: wrap;
}
.woocommerce-MyAccount-content> .mot-course-headline .mot-headline.checked {
  background: #00f54d7a;
}

.woocommerce-MyAccount-content> .mot-course-headline >.mot-headline-wrapper{
  margin-left: 5px;
  width: calc(100% / 2 - 5px);
}
.woocommerce-MyAccount-content> .mot-course-headline > label{
  font-weight: bold;
}
.woocommerce-MyAccount-content> .mot-course-headline >.mot-headline-wrapper > .mot-headline > label {
  font-weight: bold;
  font-size: 12px !important;
}
.woocommerce-MyAccount-content .mot-course-headline .mot-headline-wrapper  .mot-headline  label{
  font-size: 11px;
}
.woocommerce-MyAccount-content .mot-headline-wrapper{
  padding: 1px;
    border-radius: 5px;
    margin-top: 3px;
}
.woocommerce-MyAccount-content> .mot-course-headline .mot-headline-wrapper > .mot-course-headline:has(.mot-course-headline) {
  border-radius: 5px;
}
.mot-course-headline >.mot-headline-wrapper:has(.mot-course-headline.all-checked){
  background-color: #0080002e !important;
}

.mot-course-headline .mot-headline-wrapper{
  height: auto;

}

@media screen and (max-width: 1024px){
  .woocommerce-MyAccount-content> .mot-course-headline >.mot-headline-wrapper{
    width: 100%;
  }
}
/* headlines end */


/* check user info value - start */
.mot-table-account{
  position: relative;
}
body:not(.uncomplete-info) .mot-table-account{
  height: unset !important;
}
body.uncomplete-info .mot-table-account{
  max-height: 400px;
  overflow: hidden;
}
body.uncomplete-info .mot-table-account >table{
    filter: blur(7px);
    pointer-events: none;
    user-select: none
}
body:not(.uncomplete-info) .mot-table-account >table{
  filter:blur(0px) !important ;
	pointer-events: all;
	user-select: all
}

body:not(.uncomplete-info) .mot-table-account .mot-check-user-alert{
  display: none !important;
}
body.uncomplete-info .mot-table-account .mot-check-user-alert{
  display: flex;
}
body.uncomplete-info .mot-check-user-alert{
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  background-color: #ff004c;
  color: white;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.uncomplete-info .mot-check-user-alert a{
  background-color: white;
  padding: 5px 10px;
  font-size: 14px !important;
  font-weight: 900;
  margin: auto;
  color: #ff004c;
  transition: .3s;
}
body.uncomplete-info .mot-check-user-alert p{
  text-align: center;
  font-size: 14px !important;
  font-weight: 900;
  margin-bottom: 10px;
}
body.uncomplete-info .mot-check-user-alert a:hover{
  transform: scale(1.1) ;
  color: #ff004c;
  background-color: white;
}
@media screen and (max-width: 768px){
  body.uncomplete-info .mot-check-user-alert{
    border-radius: 6px;
  }
  body.uncomplete-info .mot-check-user-alert a {
    padding: 5px 8px;
    font-size: 13px;
  }
  body.uncomplete-info .mot-check-user-alert p{
    font-size: 13px;
  }
}
/* check user info value - end */

/* ==========================================
   Gamification Styles
   ========================================== */

/* Mission Badge and Timer in Menu */
.mission-badge {
  display: inline-block;
  background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 5px;
  box-shadow: 0 2px 5px rgba(142, 68, 173, 0.3);
  vertical-align: middle;
}

.mission-timer-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 5px;
  vertical-align: middle;
}

.mission-timer-track {
  position: relative;
  width: 50px;
  height: 6px;
  background: rgba(230, 126, 34, 0.15);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(230, 126, 34, 0.2);
}

.mission-timer-progress {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(90deg, #e67e22 0%, #f39c12 100%);
  transition: width 1s linear;
  border-radius: 3px;
}

.mission-timer-text {
  color: #e67e22;
  font-size: 10px;
  font-weight: 600;
  font-family: monospace;
  white-space: nowrap;
}

.woocommerce-MyAccount-navigation .mission-badge,
.woocommerce-MyAccount-navigation .mission-timer-wrapper {
  white-space: nowrap;
}

/* Gamification Banner Styles - Dashboard */
.arya-gamification-banner {
  position: relative;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, #8e44ad 0%, #6c3483 90%);
  box-shadow: 0 8px 25px rgba(108, 52, 131, 0.4);
  color: #fff;
  direction: rtl;
  animation: slideInDown 0.6s ease-out;
}

.arya-gamification-banner-content {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.arya-gamification-banner-icon-wrapper {
  flex-shrink: 0;
}

.arya-gamification-banner-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
  transform: rotate(-5deg);
}

.arya-gamification-banner-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.arya-gamification-banner-info {
  flex: 1;
  min-width: 200px;
}

.arya-gamification-banner-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: #fff;
  line-height: 1.3;
}

.arya-gamification-banner-title .highlight {
  color: #f39c12;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-size: 1.1em;
  vertical-align: middle;
}

.arya-gamification-banner-description {
  font-size: 12px;
  margin: 0 0 10px 0;
  opacity: 0.9;
  font-weight: 300;
}

.arya-gamification-banner-prize {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(243, 156, 18, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 6px;
}

.arya-gamification-banner-prize .prize-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.arya-gamification-banner-prize .prize-info {
  flex: 1;
  display: flex;
  gap: 10px;
}

.arya-gamification-banner-prize .prize-title {
  font-size: 12px;
  font-weight: 700;
  color: #f39c12;
  margin-bottom: 2px;
}

.arya-gamification-banner-prize .prize-amount {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.arya-gamification-banner-stats-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  padding: 8px 15px;
  border-radius: 8px;
  text-align: center;
  min-width: 140px;
  position: relative;
  backdrop-filter: blur(5px);
}

.stats-label {
  font-size: 10px;
  color: #f39c12;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.stats-value {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stats-value span {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.8;
}

.stats-timer-wrapper {
  position: relative;
  width: 100%;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid rgba(243, 156, 18, 0.3);
}

.stats-timer-progress {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
  transition: width 1s linear;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.stats-timer-text {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-family: monospace;
  white-space: nowrap;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.arya-gamification-banner-cta {
  background: #fff;
  color: #8e44ad;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.arya-gamification-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #f39c12;
  color: #fff;
}

.arya-gamification-banner-cta svg {
  width: 14px;
  height: 14px;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.decoration-circle.circle-1 {
  width: 150px;
  height: 150px;
  top: -50px;
  right: -30px;
}

.decoration-circle.circle-2 {
  width: 100px;
  height: 100px;
  bottom: -40px;
  left: 20%;
}

.decoration-sparkle {
  position: absolute;
  color: #f39c12;
  font-size: 14px;
  opacity: 0.6;
  animation: sparkle 3s infinite ease-in-out;
  z-index: 1;
}

.decoration-sparkle.sparkle-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.decoration-sparkle.sparkle-2 {
  bottom: 20%;
  left: 5%;
  animation-delay: 1.5s;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    text-shadow: 0 0 5px #f39c12;
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .arya-gamification-banner-content {
    padding: 15px;
    justify-content: space-between;
  }
  
  .arya-gamification-banner-icon-wrapper {
    display: none;
  }
  
  .arya-gamification-banner-stats-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
  }
  
  .arya-gamification-banner-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .arya-gamification-banner-info {
    min-width: auto;
  }
  
  .arya-gamification-banner-cta {
    display: flex;
    justify-content: center;
    margin-top: 5px;
  }
}

/* ==========================================
   Badges Styles
   ========================================== */

/* Simple Badges Bar */
.arya-badges-simple-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 15px;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
    transition: opacity 0.2s;
}

.arya-badges-simple-bar:hover {
    opacity: 0.8;
}

.arya-badges-icon {
    width: 18px;
    height: 18px;
    color: #6b7280;
    flex-shrink: 0;
}

.arya-badges-label {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
}

.arya-badges-images {
    display: flex;
    align-items: center;
    gap: 1px;
    flex: 1;
    overflow: hidden;
}

.arya-badge-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.arya-badge-img.arya-badge-text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid #e5e7eb;
}

.arya-badges-more {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-left: 4px;
    white-space: nowrap;
}

.arya-badges-view-link {
    font-size: 13px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    margin-left: auto;
    transition: color 0.2s;
    padding-left: 10px;
}

.arya-badges-view-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Mobile: Hide top bar and show in menu */
@media (max-width: 768px) {
    .arya-badges-simple-bar {
        display: none;
    }
    
    .arya-badges-simple-bar-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        border-bottom: 1px solid #e5e7eb;
        transition: opacity 0.2s;
        border-radius: 8px;
        margin-left: 10px;
        margin-right: auto;
    }
}

/* Desktop: Hide mobile bar */
@media (min-width: 769px) {
    .arya-badges-simple-bar-mobile {
        display: none;
    }
}

/* Badges Popup (using popup system) */
.arya-badges-popup .contain-m {
    max-width: 600px;
    width: 90%;
}

.arya-badges-popup .body {
    flex-direction: column;
    padding: 0;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.arya-badges-popup-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 15px 15px 0 0;
}

.arya-badges-popup-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.arya-badges-popup-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.arya-badge-popup-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.arya-badge-popup-item:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.arya-badge-popup-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #667eea;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.arya-badge-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arya-badge-popup-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 700;
    font-size: 24px;
}

.arya-badge-popup-info {
    flex: 1;
    text-align: right;
}

.arya-badge-popup-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.arya-badge-popup-info p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.arya-badges-popup-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    border-radius: 0 0 15px 15px;
}

.arya-badges-contributors-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.arya-badges-contributors-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .arya-badges-popup .contain-m {
        width: 95%;
        max-height: 85vh;
    }
    
    .arya-badge-popup-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .arya-badge-popup-info {
        text-align: center;
    }
}
