@import url(./../icons/style.css);

/* 
 * =======================
 *   REDESIGN VERSION
 * =======================
 * 
 * ۱. اعمال پالت رنگی نئونی با گرادیان‌های چندرنگ
 * ۲. استفاده از گلس‌مورفیسم پیشرفته در Navbar و Sidebar
 * ۳. سایه‌ها، ترنزیشن‌های جذاب، و باکس‌شدوهای رنگی
 * ۴. حفظ تمامی کلاس‌ها و ساختار اصلی
 * ۵. مناسب برای طراحی مدرن و امروزی
 */

/* ------------------------------------ */
/*         ریست و فونت‌ها               */
/* ------------------------------------ */

@font-face {
  font-family: "Vazir";
  src: url("./../assets/fonts/Vazir-Light-FD-WOL.eot");
  src:
    url("./../assets/fonts/Vazir-Light-FD-WOL.eot?#iefix") format("embedded-opentype"),
    url("./../assets/fonts/Vazir-Light-FD-WOL.woff2") format("woff2"),
    url("./../assets/fonts/Vazir-Light-FD-WOL.woff") format("woff"),
    url("./../assets/fonts/Vazir-Light-FD-WOL.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Vazir";
  src: url("./../assets/fonts/Vazir-FD-WOL.eot");
  src:
    url("./../assets/fonts/Vazir-FD-WOL.eot?#iefix") format("embedded-opentype"),
    url("./../assets/fonts/Vazir-FD-WOL.woff2") format("woff2"),
    url("./../assets/fonts/Vazir-FD-WOL.woff") format("woff"),
    url("./../assets/fonts/Vazir-FD-WOL.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Vazir";
  src: url("./../assets/fonts/Vazir-Medium-FD-WOL.eot");
  src:
    url("./../assets/fonts/Vazir-Medium-FD-WOL.eot?#iefix") format("embedded-opentype"),
    url("./../assets/fonts/Vazir-Medium-FD-WOL.woff2") format("woff2"),
    url("./../assets/fonts/Vazir-Medium-FD-WOL.woff") format("woff"),
    url("./../assets/fonts/Vazir-Medium-FD-WOL.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Vazir";
  src: url("./../assets/fonts/Vazir-Bold-FD-WOL.eot");
  src:
    url("./../assets/fonts/Vazir-Bold-FD-WOL.eot?#iefix") format("embedded-opentype"),
    url("./../assets/fonts/Vazir-Bold-FD-WOL.woff2") format("woff2"),
    url("./../assets/fonts/Vazir-Bold-FD-WOL.woff") format("woff"),
    url("./../assets/fonts/Vazir-Bold-FD-WOL.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
/* latin (Poppins) */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./../assets/fonts/poppins-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./../assets/fonts/poppins-bold.woff2") format("woff2");
}

* {
  direction: rtl;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Vazir, sans-serif;
  font-size: 16px;
  color: #2d2d2d;
  background: #fafafa;
}

/* انگلیسی در صورت نیاز */
.-eng {
  font-family: Poppins, sans-serif;
}

/* ------------------------------------ */
/*         استایل‌های پایه عمومی        */
/* ------------------------------------ */
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
h1,h2,h3,h4,h5,h6,p {
  margin: 0;
}
button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: Vazir;
  outline: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* وارد کردن آیکون‌ها */
@import url(./../icons/style.css);

/* رنگ‌های عمومی */
.--primary-color {
  color: #ff6ec4; /* رنگ اصلی نئونی صورتی/بنفش */
}
.--light-color {
  color: #ffffff;
}
.--gray-color {
  color: #7f8c8d;
}
.--bold {
  font-weight: 700;
}
.--small-text {
  font-size: 0.875em;
}
.link-input {
  border: none;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 1rem;
  font-family: Poppins;
}
.link-input::selection {
  background-color: transparent;
}

/* کانتینر اصلی */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media(max-width: 992px) {
  .container {
    padding: 0 20px;
  }
}
@media(max-width: 576px) {
  .container {
    padding: 0 10px;
  }
}

/* ------------------------------------ */
/*      صفحه لاگین (body.login)         */
/* ------------------------------------ */

body.login {
  /* بک‌گراند گرادیان نئونی */
  background: linear-gradient(135deg, #c471ed 0%, #f64f59 100%);
  font-size: 16px;
  color: #2d2d2d;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* لاگین پیج ریشه */
.loginPage {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
}

/* فرم لاگین پاپ‌آپ با انیمیشن بازشدن */
.loginPage .loginForm {
  position: absolute;
  z-index: 10;
  overflow: hidden;
  width: 0;
  height: 0;
  animation: openLogin 1s 2s forwards cubic-bezier(0.65, 0, 0.35, 1);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1.5rem;
  max-width: calc(100% - 1rem);
  max-height: calc(100% - 1rem);
}
@keyframes openLogin {
  from {
    width: 0;
    height: 0;
    border-radius: 50%;
  }
  to {
    width: 35rem;
    height: 45rem;
    border-radius: 1.5rem;
  }
}
@media (max-width: 576px) {
  .loginPage .loginForm {
    border-radius: 0.5rem;
  }
}
.loginPage .loginForm > div {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
.loginPage .loginForm div.scroll-content > div {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.loginPage .loginForm div.scroll-content > div * {
  opacity: 0;
  animation: fadeIn 1s forwards 3s;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* بخش‌های داخل فرم لاگین */
.loginPage .loginForm div.scroll-content > div h1 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255,255,255,0.5);
}
.loginPage .loginForm div.scroll-content > div p {
  color: #ffe;
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 80%;
}

/* لیبل ورودی‌ها */
.loginPage .loginForm div.scroll-content > div .label {
  width: 20rem;
  height: 3rem;
  margin: 0.5rem;
  background: rgba(255,255,255,0.3);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding: 0 1rem;
}
@media(max-width:576px) {
  .loginPage .loginForm div.scroll-content > div .label {
    width: calc(100% - 1rem);
  }
}
.loginPage .loginForm div.scroll-content > div .label input {
  flex: 1;
  font-size: 1rem;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
}
.loginPage .loginForm div.scroll-content > div .label input::placeholder {
  color: rgba(255,255,255,0.7);
}
.loginPage .loginForm div.scroll-content > div .label span {
  color: #fff;
  margin-left: 1rem;
  opacity: 0.6;
}

/* فراموشی رمز عبور */
.loginPage .loginForm div.scroll-content > div .forgot {
  color: #fff;
  margin-top: 0.5rem;
}
.loginPage .loginForm div.scroll-content > div .forgot b {
  color: #ff2e63;
}

/* کپتچا */
.loginPage .loginForm div.scroll-content > div > img.captcha {
  width: 20rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.3);
}

/* دکمه‌های ورود */
.loginPage .loginForm div.scroll-content > div .buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}
.loginPage .loginForm div.scroll-content > div .buttons button {
  width: 10rem;
  height: 3rem;
  margin: 0.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #ffc600, #ff6e6a);
  color: #2d2d2d;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 6px 20px rgba(255, 110, 106, 0.3);
}
.loginPage .loginForm div.scroll-content > div .buttons button:first-child {
  background: linear-gradient(135deg, #ad24ea, #f64f59);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(246,79,89,0.4);
}
.loginPage .loginForm div.scroll-content > div .buttons button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255,255,255,0.2);
}
.loginPage .loginForm div.scroll-content > div .buttons button span {
  margin: 0 0.25rem;
  font-weight: bold;
  font-size: 1rem;
}

/* انیمیشن بال (توپ جهنده) */
.loginPage .ballWrapper {
  position: relative;
  width: 240px;
  height: 240px;
}
.loginPage .ballWrapper .bouncingball {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  animation: bounce 1s;
  animation-iteration-count: 3;
  position: absolute;
  top: 50px;
  left: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loginPage .ballWrapper .bouncingball img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(120px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ------------------------------------ */
/*         اپلیکیشن / پنل کاربری        */
/* ------------------------------------ */

.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* انیمیشن خط بالای صفحه */
.app .animateLine {
  width: 100%;
  height: 5px;
  position: fixed;
  top: 0;
  z-index: 4;
  background: linear-gradient(90deg, #12c2e9, #c471ed, #f64f59);
  background-size: 300% 300%;
  animation: lineAnimation 10s ease infinite;
}
@keyframes lineAnimation {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.app > div:last-child {
  display: flex;
  width: 100%;
  padding-top: 75px;
  min-height: 100vh;
}

/* سایدبار (app__sidebar) با استایل گلس مورفیسم */
.app__sidebar {
  z-index: 2;
  position: fixed;
  top: 75px;
  right: 0;
  width: 70px;
  height: calc(100vh - 75px);
  overflow: hidden;
  transition: 0.3s;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  box-shadow: -1px 0 20px rgba(0,0,0,0.2) inset;
  border-left: 1px solid rgba(255,255,255,0.3);
}
.app__sidebar.-open {
  width: 240px;
}
.app__sidebar.-minimize {
  width: 70px;
}
.app__sidebar.-maximize {
  width: 0;
}

/* عناوین/تیترهای جداکننده */
.app__sidebar .scroll-wrapper {
  height: 100%;
}
.app__sidebar .scroll-wrapper .dividerTitle {
  margin: 2rem 1rem 1rem;
  opacity: 0.7;
  transition: 0.3s;
  font-size: 0.9rem;
}

/* منوی اصلی سایدبار */
.app__sidebar .scroll-wrapper .menu,
.mobileMenu .scroll-wrapper .mobileMenu__inner .menu {
  display: flex;
  flex-direction: column;
}
.app__sidebar .scroll-wrapper .menu .menu__item,
.mobileMenu .scroll-wrapper .mobileMenu__inner .menu .menu__item {
  width: 100%;
  min-height: 60px;
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

/* آیتم اکتیو منو */
.app__sidebar .scroll-wrapper .menu .menu__item.-active,
.mobileMenu .scroll-wrapper .mobileMenu__inner .menu .menu__item.-active {
  background: linear-gradient(135deg, #c471ed, #f64f59);
  color: #fff !important;
}
.app__sidebar .scroll-wrapper .menu .menu__item.-active * {
  color: #fff !important;
}
.app__sidebar .scroll-wrapper .menu .menu__item > a,
.app__sidebar .scroll-wrapper .menu .menu__item button {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: #fff;
}
.app__sidebar .scroll-wrapper .menu .menu__item:not(.-active):hover {
  background: rgba(255,255,255,0.2);
}
.app__sidebar .scroll-wrapper .menu .menu__item > a span[class^="icon"],
.app__sidebar .scroll-wrapper .menu .menu__item button span[class^="icon"] {
  margin-left: 0.5rem;
  font-size: 1.2rem;
}

/* در حالت سایدبار باز */
.app__sidebar.-open .menu__item:not(.-active):hover > a span[class^="icon"] {
  margin-left: 1rem;
}
.app__sidebar:not(.-open) .dividerTitle {
  font-size: 0.7em;
  margin: 2rem 0.5rem 1rem !important;
}
.app__sidebar:not(.-open) .menu .menu__item > button > span:not([class^="icon"]),
.app__sidebar:not(.-open) .menu .menu__item > a > span:not([class^="icon"]) {
  display: none;
}

/* بخش اصلی پنل (app__main) */
.app__main {
  width: 100%;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #ffd7d7 0%, #fffcf7 100%);
  padding: 1rem calc(70px + 1rem) 1rem 1rem; /* پیشفرض */
}
@media (max-width: 992px) {
  .app__main {
    padding: 1rem !important;
  }
}

/* نوار بالایی (app__navbar) */
.app__navbar {
  height: 75px;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* گلس‌مورفیسم */
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
@media (max-width:992px) {
  .app__navbar {
    flex-direction: row-reverse;
  }
}
.app__navbar .nav__title {
  width: 240px;
  height: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.app__navbar .nav__title span {
  font-family: Poppins, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px rgba(255,255,255,0.8);
}
.app__navbar .nav__title img {
  height: 60px;
  object-fit: contain;
}
.app__navbar .nav__toolbar {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}
.app__navbar .nav__toolbar .profile {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #fff;
}
.app__navbar .nav__toolbar .profile__avatar {
  width: 2.8rem;
  height: 2.8rem;
  margin-left: 1rem;
  border-radius: 50%;
  background: #fff;
  color: #c471ed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app__navbar .nav__toolbar .profile > div:last-of-type {
  display: flex;
  flex-direction: column;
}
.app__navbar .nav__toolbar .profile ul.dropDown {
  position: absolute;
  top: calc(100%);
  left: 0;
  width: 200px;
  max-height: 0;
  overflow: hidden;
  border-radius: 0 0 0.5rem 0.5rem;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: max-height 0.3s ease;
}
.app__navbar .nav__toolbar .profile ul.dropDown.-open {
  max-height: 10rem;
}
.app__navbar .nav__toolbar .profile ul.dropDown li {
  display: flex;
  transition: 0.3s;
}
.app__navbar .nav__toolbar .profile ul.dropDown li a {
  flex: 1;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  color: #444;
  transition: 0.3s;
}
.app__navbar .nav__toolbar .profile ul.dropDown li:hover {
  background: rgba(0,0,0,0.05);
}
.app__navbar .nav__toolbar .tools {
  display: flex;
}
.app__navbar .nav__toolbar .tools .sidebarButton,
.app__navbar .nav__toolbar .tools .viewController {
  font-size: 1.4rem;
  margin-left: 1rem;
  color: #fff;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app__navbar .nav__toolbar .tools .sidebarButton:hover,
.app__navbar .nav__toolbar .tools .viewController:hover {
  color: #ff6ec4;
}

/* منوی موبایل */
.mobileMenu {
  display: none;
  position: fixed;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  transition: 0.3s;
}
@media(min-width:992px) {
  .mobileMenu {
    display: none !important;
  }
}
.mobileMenu.-open {
  display: flex;
  align-items: flex-end;
  animation: fadeIn 0.3s forwards;
}
.mobileMenu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
}
.mobileMenu .closeBtn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #ff6ec4;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
}
.mobileMenu .scroll-wrapper {
  z-index: 12;
  width: 100%;
  max-height: 70%;
}
.mobileMenu .scroll-wrapper .mobileMenu__inner {
  background: #fff;
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 1rem;
}
.mobileMenu .scroll-wrapper .mobileMenu__inner .profile {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
.mobileMenu .scroll-wrapper .mobileMenu__inner .profile__avatar {
  width: 4rem;
  height: 4rem;
  margin-left: 1rem;
  border-radius: 2rem;
  background: #f2f2f2;
  color: #ff6ec4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobileMenu .scroll-wrapper .mobileMenu__inner .menu__item.-active {
  background: linear-gradient(135deg, #c471ed, #f64f59);
  color: #fff;
  border-radius: 1rem;
}

/* ------------------------------------ */
/*            جزییات پنل کاربری         */
/* ------------------------------------ */

.app__main .view {
  padding: 2rem;
  width: 100%;
}

/* جامبوتران */
.app__main .view .jumbotron {
  position: relative;
  min-height: 16rem;
  background: linear-gradient(135deg, #ffd7d7, #fff3d2);
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
}
.app__main .view .jumbotron > h3 {
  padding: 1rem;
  color: #444;
  font-size: 1.5rem;
}
.app__main .view .jumbotron__userStatus {
  position: absolute;
  top: -10px;
  left: 2rem;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.2));
}
.app__main .view .jumbotron__userStatus .content {
  width: 8rem;
  min-height: 8rem;
  background: linear-gradient(135deg, #52ffa8, #00ffd5);
  border-radius: 0.5rem 0.5rem 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
.app__main .view .jumbotron__userStatus .shape > div {
  width: 5.8rem;
  height: 5.8rem;
  background: linear-gradient(135deg, #52ffa8, #00ffd5);
  border-radius: 0.5rem;
  transform: rotate(45deg) translate(-45px, -20px);
}

/* نکات جامبوتران */
.app__main .view .jumbotron__tips {
  padding: 1rem 2rem;
}
.app__main .view .jumbotron__tips h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.app__main .view .jumbotron__tips ul {
  margin-top: 1rem;
}
.app__main .view .jumbotron__tips ul li {
  display: flex;
  margin-bottom: 1rem;
  color: #333;
}

/* گرید */
.app__main .view .grid {
  display: grid;
  gap: 1rem;
  width: 100%;
  height: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-template-areas:
    "c c a"
    "c c b"
    "c c d";
}
@media (max-width: 768px) {
  .app__main .view .grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "c c"
      "a b"
      "d d";
  }
}
@media (max-width: 576px) {
  .app__main .view .grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "c"
      "a"
      "b"
      "d";
  }
}
.app__main .view .grid .tutorials {
  grid-area: c;
  background: linear-gradient(135deg, #ff6ec4, #ffc600);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.app__main .view .grid .tutorials img {
  width: 50%;
  max-width: 250px;
  margin-bottom: 1.5rem;
}
.app__main .view .grid .tutorials a {
  background: #fff;
  color: #ff6ec4;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  transition: 0.3s;
}
.app__main .view .grid .tutorials a:hover {
  background: #ff6ec4;
  color: #fff;
  transform: translateY(-2px);
}
.app__main .view .grid .socialCards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #fff;
  color: #666;
  padding: 1rem;
  transition: 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.app__main .view .grid .socialCards:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.app__main .view .grid .socialCards strong {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.app__main .view .grid .socialCards span {
  font-size: 2rem;
}
.app__main .view .grid .socialCards.telegram {
  grid-area: a;
  background: #0088cc;
  color: #fff;
}
.app__main .view .grid .socialCards.telegram:hover {
  background: #06b2f6;
}
.app__main .view .grid .socialCards.whatsapp {
  grid-area: d;
  background: #25d366;
  color: #fff;
}
.app__main .view .grid .socialCards.whatsapp:hover {
  background: #20ba5a;
}
.app__main .view .grid .socialCards.email {
  grid-area: b;
  background: #ff6e6a;
  color: #fff;
}
.app__main .view .grid .socialCards.email:hover {
  background: #ff4433;
}
.app__main .view .grid .socialCards.instagram {
  grid-area: b;
  /* اگر بخواهیم یکی دیگر داشته باشیم، ولی ساختار اصلی همان است */
}

/* ------------------------------------ */
/*      سرویس‌ها، جداول، پراگرس‌ها      */
/* ------------------------------------ */

.services {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  border-top: 1px dashed #ddd;
}
.services__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}
.services__heading h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.services__heading span {
  font-size: 1rem;
  color: #555;
  text-align: center;
}
.services__triggers {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  padding: 0;
}
.services__triggers li {
  flex: 1 20%;
  margin: 0.5rem;
  height: 3rem;
  border-radius: 1rem;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  transition: 0.3s;
}
.services__triggers li:hover {
  background: #f3f3f3;
}
.services__triggers li.ui-tabs-active {
  background: linear-gradient(135deg, #ffc600, #ff6ec4);
  color: #fff;
}
.services__item .cardList {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
.services__item .cardList__card {
  flex: 1 calc(50% - 1rem);
  background: #fff;
  min-height: 200px;
  border-radius: 1rem;
  margin: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: 0.3s;
}
.services__item .cardList__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.services__item .cardList__card header {
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 1rem;
}
.services__item .cardList__card header > img {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  margin-right: 1rem;
  object-fit: cover;
}
.services__item .cardList__card header > div {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.services__item .cardList__card header > div h4 {
  font-family: Poppins;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.services__item .cardList__card header + div .textareaContainer {
  background: #fafafa;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.services__item .cardList__card header + div .textareaContainer textarea {
  width: 100%;
  height: 5rem;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.5rem;
  resize: none;
  color: #333;
}
.services__item .cardList__card header + div p {
  margin: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}
.services__item .cardList__card header + div button,
.services__item .cardList__card header + div a {
  width: 100%;
  height: 2.5rem;
  border-radius: 1rem;
  background: #ff6ec4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.services__item .cardList__card header + div button:hover,
.services__item .cardList__card header + div a:hover {
  background: #f64f59;
}
.services__item .cardList__card header + div .miniTable {
  margin-top: 1rem;
}
.services__item .cardList__card header + div .miniTable .row {
  display: flex;
  flex-direction: row-reverse;
  height: 40px;
  border-bottom: 1px solid #eee;
}
.services__item .cardList__card header + div .miniTable .row .cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 0.9rem;
}
.services__item .cardList .createCard {
  flex: 1 100%;
  background: #fff;
  border-radius: 1rem;
  margin: 0.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.services__item .cardList .createCard > img {
  width: 7rem;
  height: 7rem;
  border-radius: 1rem;
  object-fit: cover;
}
.services__item .cardList .createCard > h4 {
  font-size: 1.5rem;
  margin: 1rem 0;
}
.services__item .cardList .createCard > p {
  font-size: 1rem;
  color: #666;
  margin: 1rem 0;
}
.services__item .cardList .createCard button {
  width: 15rem;
  margin-top: 1rem;
  height: 3rem;
  border-radius: 1rem;
  background: #52ffa8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  color: #333;
  font-weight: 600;
}
.services__item .cardList .createCard button:hover {
  background: #00ffd5;
}
.services__item .progress {
  margin: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.services__item .progress__meter {
  background: #eee;
  border-radius: 1rem;
  height: 20px;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}
.services__item .progress__meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, #ff6ec4, #ffc600);
  animation: progressMove 3s linear infinite;
}
@keyframes progressMove {
  0% {
    width: 0%;
  }
  50% {
    width: 60%;
  }
  100% {
    width: 100%;
  }
}

/* جداول */
.services__item .table {
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid #eee;
}
.services__item .table .row {
  display: flex;
  border-bottom: 1px solid #eee;
}
.services__item .table .row.table__head {
  background: #f9f9f9;
}
.services__item .table .row .cell {
  flex: 1;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ------------------------------------ */
/*  انیمیشن پری‌لود (صفحه بارگذاری)     */
/* ------------------------------------ */

.preload {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #ff6ec4, #ffc600);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preload .box {
  width: 100px;
  height: 100px;
  background: #fff;
  animation: spinBox 1s infinite alternate;
  position: relative;
}
@keyframes spinBox {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
.preload .box div {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spinBox 1s infinite alternate;
  top: 0;
  left: 0;
}
.preload .box div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* تمام! */