@font-face {
  font-family: IranYekan;
  src: url("../../font/rtl/YekanBakh-Light.woff") format("woff");
  font-weight: lighter;
  font-display: swap;
}

@font-face {
  font-family: IranYekanBold;
  src: url("../../font/rtl/YekanBakh-Bold.woff") format("woff");
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: IranYekanBlack;
  src: url("../../font/rtl/YekanBakh-Black.woff") format("woff");
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: NumberFonts;
  src: url("../../font/rtl/IRANSansWebLight.woff") format("woff");
  font-display: swap;
  unicode-range: U+30-39;
}

@font-face {
  font-family: "Roboto";
  src: url("../../font/ltr/roboto.woff2") format("woff2"),
    url("../../font/ltr/roboto.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/*-------------------------------------------------------------------------------------------
 * 			N O R M A L I Z E
 * -----------------------------------------------------------------------------------------*/
body,
html {
  overflow-x: hidden;
  direction: rtl;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  background: linear-gradient(
    112.36deg,
    #324c54 0.76%,
    #171e20 36.31%,
    #171e20 53.27%,
    #41293a 99.38%
  );
}

a {
  text-decoration: none;
}

* {
  font-family: "NumberFonts", "IranYekan", Tahoma, Arial, sans-serif;
  outline: none;
  box-sizing: border-box !important;
}

ul,
li,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  width: 94%;
  margin: 20px auto;
}

.container.ltr {
  direction: ltr;
}

.container.ltr.product-main
  *:not([class*="icon"]):not([class*="elementor-icon"]),
.container.ltr.lesson-main
  *:not([class*="icon"]):not([class*="elementor-icon"]) {
  font-family: "Roboto", "IranYekan", Tahoma, Arial, sans-serif !important;
}

:root {
  --first-color: #ed0080;
  --second-color: #05103b;
  --background-color: linear-gradient(
    112.36deg,
    #324c54 0.76%,
    #171e20 36.31%,
    #171e20 53.27%,
    #41293a 99.38%
  );
  --modal-bg: #fff;
  --modal-radius: 20px;
  --modal-border: 1px solid rgba(0, 0, 0, 0.2);
  --overlay-bg: rgba(23, 30, 32, 0.5);
  --overlay-blur: blur(10px);
  --btn-primary-bg: #ed0080;
  --btn-primary-shadow: 0 0 20px rgba(237, 0, 128, 0.5);
  --btn-dark-bg: #252c2d;
  --btn-dark-color: #cfcfcf;

  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.22);

  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.58);

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.22);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

.ck.ck-content {
  min-height: 150px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
}

.modal.ltr {
  direction: ltr !important;
}

.modal.active-modal {
  opacity: 1;
  pointer-events: auto;
}

/* Overlay */
.modal-background {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: var(--overlay-blur);
  -webkit-backdrop-filter: var(--overlay-blur);
}

/* Content */
.modal-content {
  position: relative;
  background: var(--modal-bg);
  border: var(--modal-border);
  border-radius: var(--modal-radius);
  box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
  max-width: 450px;
  width: 90%;
  overflow: hidden;
}

/* Header */
.modal-header {
  padding: 5px 15px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-header h3 {
  margin: 0 0 10px;
  text-align: center;
  font-weight: 400;
  color: #000;
}

.modal-header .close {
  background: none;
  border: none;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 0.3;
  padding: 0;
}

.modal-header .close:hover {
  opacity: 0.6;
}

/* Body */
.modal-body {
  padding: 15px;
  max-height: 400px;
  overflow-y: auto;
  color: #000;
  text-align: justify;
}

.modal-body img {
  display: block;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.modal-body a {
  color: var(--btn-primary-bg);
  font-weight: bold;
  font-size: 18px;
}

.modal-body p {
  padding: 0 10px !important;
  color: #000;
  font-weight: 300;
}

/* Footer */
.modal-footer {
  padding: 15px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Buttons */
.modal-content button {
  border: none;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-btn,
#content-modal {
  background: var(--btn-primary-bg);
  box-shadow: var(--btn-primary-shadow);
  color: #fff;
  padding: 10px 25px;
  font-size: 15px;
}

#cancel-modal {
  background: var(--btn-dark-bg);
  color: var(--btn-dark-color);
  font-size: 14px;
  padding: 7px 14px;
}

button.loading svg {
  display: none;
}

/* Breadcrumb */
.container .wiki-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.container .wiki-breadcrumb a {
  font-size: 15px;
  color: var(--first-color);
  font-weight: bold;
}

.container .wiki-breadcrumb span {
  font-size: 15px;
  color: #fff;
}

.container .wiki-breadcrumb svg {
  width: 20px;
  height: 20px;
}

.container .wiki-breadcrumb svg.ltr {
  transform: rotate(180deg);
}

/*----------------------------------------------
 * 			H E A D E R
 * --------------------------------------------*/
.top-header {
  padding: 20px;
  margin: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ffffffb5;
}

.top-header-logo a,
.footer-logo a {
  display: flex;
}

.top-header-logo a img {
  width: 200px;
}

.top-header .auth-btns {
  display: flex;
  align-items: center;
}

.auth-btns button {
  all: unset;
  background: var(--first-color);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
  border-radius: 20px;
  color: #fff;
  font-weight: bold;
  box-shadow: 4px 4px 10px rgb(0 0 0 / 0.25);
  cursor: pointer;
  padding-left: 15px;
}

.nav-menu-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu-header a {
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.nav-menu-header a:not(:last-child) {
  margin-left: 50px;
}

.nav-menu-header a svg {
  margin-left: 5px;
}

.nav-menu-header a:hover {
  color: var(--first-color);
  font-weight: bold;
}

.nav-menu-header a:hover svg * {
  stroke: var(--first-color);
}

.nav-menu-header a:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgba(237, 0, 128, 0.3);
  filter: blur(30px);
  border-radius: 50px 50px 0px 0px;
  opacity: 0;
}

.nav-menu-header a:hover:after {
  opacity: 1;
}

.auth-login-box {
  display: flex;
  align-items: center;
  position: relative;
}

.auth-login-box-user-data {
  display: flex;
  align-items: center;
  cursor: pointer;
}

ul.auth-login-box-shortlinks {
  position: absolute;
  top: 60px;
  background: rgba(23, 30, 32, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  min-width: 220px;
  left: 0;
  padding: 20px 15px 10px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  border: 1px solid #ffffff78;
  z-index: 100;
}

ul.auth-login-box-shortlinks.active-box {
  opacity: 1;
  pointer-events: all;
}

.auth-login-box-user-data img {
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.25));
  border-radius: 25px;
  width: 50px;
}

.auth-login-box-user-data > p {
  font-family: "IranYekanBlack";
  color: white;
  margin: 0 20px;
}

ul.auth-login-box-shortlinks li a {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: white;
}

ul.auth-login-box-shortlinks li a svg {
  margin-left: 10px;
}

.mobile-nav-link {
  display: none;
}

.nav-blur-back {
  display: none;
}

@media only screen and (max-width: 1230px) {
  .nav-blur-back {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: rgba(23, 30, 32, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 9;
  }

  .nav-blur-back.active-box {
    pointer-events: all;
    opacity: 1;
  }

  .mobile-nav-link {
    display: flex;
    padding-right: 10px;
  }

  .nav-menu-header {
    position: fixed;
    height: 100%;
    width: 80%;
    background: #171e20;
    top: 0;
    right: -100%;
    display: block;
    padding: 40px 30px;
    transition: 0.6s all;
    opacity: 0;
    z-index: 100;
    box-shadow: -7px 0px 17px #2222228c;
  }

  .nav-menu-header.active-box {
    opacity: 1;
    right: 0;
  }

  .nav-menu-header a {
    margin-bottom: 25px;
    margin-left: 0 !important;
  }

  .auth-login-box-user-data p {
    display: none;
  }

  .top-header {
    padding: 10px;
    margin: 10px;
    position: relative;
  }

  .auth-btns button{
    padding: 5px;
  }
   
  .auth-btns button span {
    display: none;
  }

  .top-header-logo a img {
    width: 150px;
  }

  .auth-login-box-user-data svg {
    display: none;
  }

  .auth-login-box-user-data img {
    width: 35px;
  }
}

footer {
  margin: auto;
  padding: 50px 50px 30px 50px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid #ffffff7d;
}

.top-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.footer-logo a img {
  width: 200px;
}

.footer-socket {
  text-align: center;
  margin-top: 40px;
  color: white;
  font-weight: bold;
}

.footer-auth-btns {
  display: flex;
}

.footer-auth-btns a {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #ffffff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 10px 20px;
}

.footer-auth-btns a img {
  max-width: 33px;
  margin-left: 10px;
  border-radius: 10px;
}

.footer-auth-btns a.footer-pink-btn {
  background: var(--first-color);
  border: none;
  margin-left: 20px;
  padding: 10px 30px;
}

@media only screen and (max-width: 900px) {
  .top-footer {
    flex-direction: column;
  }

  footer {
    padding: 15px;
  }

  .footer-socket {
    font-weight: unset;
    font-size: 12px;
    max-width: 80%;
    margin: 25px auto 0;
  }

  .footer-logo a img {
    width: 150px;
  }

  .footer-auth-btns a {
    padding: 7px 14px;
  }
}

/*----------------------------------------------
 * 			F O O T E R
 * --------------------------------------------*/
/*

.footer-cols {
    display: flex;
    margin-top: 40px;
}

.first-col-footer {
    width: 50%;
    padding-left: 5%;
}

.other-col-footer {
    width: 25%;
}

.first-col-footer p {
    color: white;
    text-align: justify;
    line-height: 1.7;
}

.first-col-footer>a {
    color: var(--first-color);
    display: flex;
    align-items: center;
}

.first-col-footer>a span {
    margin: 0px 7px;
}

.social-footer-links {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.social-footer-links a:not(:last-child) {
    margin-left: 15px;
}

.footer-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-title span {
    margin-right: 10px;
    font-family: 'IranYekanBold';
    color: white;
}

.footer-col-links a {
    display: block;
    margin-bottom: 12px;
    color: white;
    margin-right: 20px;
}

ul.contact-links li {
    display: flex;
    margin-bottom: 15px;
}

ul.contact-links li div {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

ul.contact-links li div span {
    color: var(--first-color);
    font-weight: bold;
    font-size: 15px;
}

ul.contact-links li div a {
    direction: ltr;
    color: #fff;
    margin-top: 5px;
}

.other-col-footer .contact-links a,
.social-footer-links a,
.footer-col-links a {
    position: relative;
    width: fit-content;
}

.other-col-footer .contact-links a:after,
.social-footer-links a:after,
.footer-col-links a:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(237, 0, 128, 0.3);
    filter: blur(30px);
    border-radius: 50px 50px 0px 0px;
    opacity: 0;
}

.other-col-footer .contact-links a:hover:after,
.social-footer-links a:hover:after,
.footer-col-links a:hover:after {
    opacity: 1;
}

.other-col-footer .contact-links a:hover,
.footer-col-links a:hover {
    color: var(--first-color);
    font-weight: bold;
}

.social-footer-links a:hover svg * {
    fill: var(--first-color);
}

@media only screen and (max-width: 900px) {
    .top-footer {
        flex-direction: column;
    }

    footer {
        padding: 30px 12px 19px;
    }

    .footer-cols {
        flex-wrap: wrap;
        margin-top: 15px;
    }

    .first-col-footer {
        width: 100%;
        padding-left: 0;
        font-size: 14px;
        margin-bottom: 30px;
    }

    .other-col-footer {
        width: 50%;
    }

    .footer-title span {
        font-size: 15px;
        margin-right: 5px;
    }

    .social-footer-links {
        justify-content: center;
    }

    .footer-col-links a {
        font-size: 13px;
        margin-bottom: 15px;
        margin-right: 5px;
    }

    ul.contact-links li div span {
        font-size: 13px;
    }

    ul.contact-links li div a {
        font-size: 14px;
    }

    .footer-socket {
        font-weight: unset;
        font-size: 12px;
        max-width: 80%;
        margin: 25px auto 0;
    }

    .footer-logo a img {
        width: 100px;
    }

    .footer-auth-btns a {
        padding: 7px 14px;
    }

    .first-col-footer>a {
        font-weight: bold;
    }
} */

/*----------------------------------------------
 * 			W O O C O M M E R C E
 * --------------------------------------------*/
ul.products > li {
  width: 32% !important;
  margin: 0 0 20px 1% !important;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  overflow: hidden;
  padding: 20px !important;
  border: 1px solid #ffffffbf;
}

ul.products {
  display: flex;
  flex-wrap: wrap;
}

ul.products > li span.onsale {
  display: none;
}

ul.products > li span.price {
  display: none !important;
}

ul.products > li .add_to_cart_button {
  display: none !important;
}

ul.products > li h2.woocommerce-loop-product__title {
  font-size: 18px;
  font-family: "IranYekanBlack";
  color: #fff;
  text-align: center;
}

p.woocommerce-result-count {
  display: none;
}

form.woocommerce-ordering {
  display: none;
}

ul.products > li img {
  border-radius: 15px;
}

.license {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.license .license-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.license .license-box .copy-button {
  width: fit-content;
  background: #ed0080;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
}

.license .license-box .course-license-textarea {
  background: #171e20;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  width: 100%;
  padding: 10px;
  color: #fff;
  font-size: 16px;
  overflow: hidden;
  resize: none;
  min-height: 150px;
}

.license p {
  font-size: 16px;
  text-align: justify;
  line-height: 1.9;
  color: #fff;
  border-right: 5px solid var(--first-color);
  padding-right: 10px;
  margin: 0;
}

.license .player {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.license .player-box {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 10px;
  flex-wrap: wrap;
}

.license .player-box a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-radius: 15px;
  color: #000;
  gap: 10px;
}

.license .player-box a svg {
  width: 24px;
  height: 24px;
}

@media only screen and (max-width: 800px) {
  ul.products > li {
    width: 49% !important;
    padding: 10px !important;
    border-radius: 20px !important;
  }

  ul.products > li h2.woocommerce-loop-product__title {
    font-family: "IranYekanBold";
    font-size: 15px !important;
    margin: 5px 0 !important;
  }
}

@media only screen and (max-width: 400px) {
  ul.products > li {
    width: 100% !important;
    margin: 10px 0 20px !important;
  }
}

/* Index styles */
.top-index {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-index .top-index-content {
  width: 50%;
}

.top-index img {
  width: 50%;
  max-width: 400px;
}

.top-index .top-index-content h1 {
  font-family: "IranYekanBlack";
  color: #fff;
  font-size: 30px;
}

.top-index .top-index-content p {
  font-size: 16px;
  text-align: justify;
  line-height: 1.9;
  color: #fff;
}

ul.courses-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

ul.courses-items li {
  width: 49%;
  margin-bottom: 30px;
}

ul.courses-items li a {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 0 15px 0px #ed008099;
}

ul.courses-items li a p.comming-soon-badge {
  position: absolute;
  background: var(--first-color);
  color: #fff;
  margin: 0;
  padding: 10px 30px;
  border-bottom-left-radius: 30px;
  font-size: 20px;
  font-family: "IranYekanBold";
}

.index-courses h2 {
  font-family: "IranYekanBlack";
  font-size: 30px;
  text-align: center;
  color: #fff;
}

@media only screen and (max-width: 600px) {
  .top-index {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .top-index .top-index-content {
    width: 100%;
  }

  .top-index img {
    width: 100%;
  }

  ul.courses-items li {
    width: 100%;
  }

  .top-index .top-index-content h1 {
    font-size: 24px;
    text-align: center;
  }

  .index-courses h2 {
    font-size: 24px;
  }
}

/* ===========================
   AUTH MODAL – FORMS
=========================== */
.login-modal,
.login,
.otp-form,
.register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Labels */
.login-modal label,
.login label,
.otp-form label,
.register-form label {
  font-family: "IranYekanBold";
  font-size: 14px;
  color: #222;
}

/* Inputs */
.login-modal input,
.login input,
.otp-form input,
.register-form input {
  background: #f4f4f4;
  border: 1px solid var(--first-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  transition: 0.25s;
}

.login-modal input::placeholder,
.login input::placeholder,
.otp-form input::placeholder,
.register-form input::placeholder {
  color: #999;
  font-size: 14px;
}

/* Focus */
.login-modal input:focus,
.login input:focus,
.otp-form input:focus,
.register-form input:focus {
  border-color: var(--first-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(237, 0, 128, 0.12);
}

/* Help text */
#phone-help {
  font-size: 12px;
  color: #000;
  padding-right: 5px;
}

/* ===========================
   BUTTONS
=========================== */
.footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-primary-bg);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 15px;
  font-family: "IranYekanBold";
  cursor: pointer;
  transition: 0.3s;
}
.footer-btn svg {
  width: 20px;
  height: 20px;
}
.footer-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(237, 0, 128, 0.45);
}
.footer-btn:active {
  transform: scale(0.98);
}
#login-with-password-button,
#login-with-otp-button {
  background: #2e2e2e;
  box-shadow: none;
  font-size: 14px;
}
#login-with-password-button:hover,
#login-with-otp-button:hover {
  background: #1f1f1f;
}

/* ===========================
   OTP – RESEND
=========================== */
#resend-btn {
  background: #eee;
  border: 1px dashed var(--first-color);
  color: var(--first-color);
  font-size: 14px;
  box-shadow: none;
  flex-direction: row;
}
#resend-btn svg {
  stroke: var(--first-color);
}
#resend-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Timer */
#time-counter {
  margin: 0;
  font-size: 13px;
  color: #555;
}

/* ===========================
   MODAL BODY SCROLL
=========================== */
.modal-body {
  scrollbar-width: thin;
  scrollbar-color: var(--first-color) transparent;
}
.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--first-color);
  border-radius: 10px;
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
  }
  .modal-header h3 {
    font-size: 16px;
  }
  .footer-btn {
    font-size: 14px;
    padding: 10px;
  }
}

/* Loading */
.wiki-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
  z-index: 9999;
}
.wiki-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-top-color: var(--first-color);
  border-radius: 50%;
  animation: wiki-loading-spin 1s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 99999;
}
button.wiki-loading > svg {
  display: none;
}
p#time-counter {
  color: #fff !important;
  margin: 0 !important;
}
@keyframes wiki-loading-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}