




.transition, p, ul li i:before, ul li i:after {
  transition: all 0.25s ease-in-out;
}

.flipIn, h1, ul li {
  animation: flipdown 0.5s ease both;
}

.no-select, h2 {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  width: 100%;
  height: 100%;
  perspective: 900;
  overflow-y: scroll;


  color: #7cb9ff;
  display: flex;
  justify-content: center;

}

 .kol{
  min-height: 0;
  display: inline-block;




  box-shadow: 0 10px 0 0 #5699dc inset;
  background-color: #ffffff;
  max-width: 100%;

}
@media (max-width: 550px) {
  body {
    box-sizing: border-box;
    transform: translate(0, 0);
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    left: 0;
  }
}

.rules h1, h2 {
  color: #7cb9ff;
}

.rules h1 {
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: 3px;
  font-weight: 100;
border: none;
}

.rules h2 {
  margin-right: 20px;
  color: white;
  font-size: 26px;
  line-height: 34px;
padding: 1px;
  font-weight: 300;
  letter-spacing: 1px;
  display: block;

  cursor: pointer;
}

.rules ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}
.rules ul li {
  position: relative;
  padding: 0;
  margin: 0;
  padding-bottom: 4px;
  padding-top: 18px;
  border-top: 1px solid #7cb9ff;

}
.rules ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}
.rules ul li:nth-of-type(2) {
  animation-delay: 0.75s;
}
.rules ul li:nth-of-type(3) {
  animation-delay: 1s;
}
.rules ul li:last-of-type {
  padding-bottom: 0;
}
.rules ul li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 16px;
  right: 0;
}
.rules ul li i:before, ul li i:after {
  content: "";
  position: absolute;
  background-color: #ffffff;
  width: 3px;
  height: 9px;
}
.rules ul li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}
.rules ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}
.rules ul li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
}
.rules ul li input[type=checkbox]:checked ~ p {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}
.rules ul li input[type=checkbox]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg);
}
.rules ul li input[type=checkbox]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg);color: #1f57f1;
}

@keyframes flipdown {
  0% {
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
  }
  5% {
    opacity: 1;
  }
  80% {
    transform: rotateX(8deg);
  }
  83% {
    transform: rotateX(6deg);
  }
  92% {
    transform: rotateX(-3deg);
  }
  100% {
    transform-origin: top center;
    transform: rotateX(0deg);
  }
}

.ewlink {
  text-decoration: none;
  color: #ff6873;
}



.rules ul li i::before, ul li i::after {
  content: "";
  position: absolute;
  background-color: #7cb9ff;
  width: 9px;

  height: 14px;
}

.text-center-company{background-color: #0abeff ; color: white; height: 60px}
.text-wash{color: white;  background-color: rgb(52,52 ,52 );padding: 13px;
}


.table {
    direction: rtl;
    text-align: right;
}

th {
    /* استایل گرادیانت th اصلی */
    background: #ffffff;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 212, 255, 0.34) 0%);
}

/* بهینه‌سازی برای موبایل (جدول ریسپانسیو) */
@media screen and (max-width: 768px) {
    .table-bordered th, .table-bordered td {
        border-width: 0 0 1px 0 !important; /* حذف خطوط عمودی */
    }

    .table thead {
        display: none; /* پنهان کردن هدر جدول اصلی */
    }

    .table tbody tr {
        display: block;
        margin-bottom: 1.5em; /* فاصله بین ردیف‌های تبدیل‌شده به کارت */
        border: 1px solid #ffffff;
        padding: 0; /* padding از اینجا حذف و به tdها داده می‌شود */
        overflow: hidden; /* برای جلوگیری از مشکلات border-radius */
    }

    .table tbody td {
        /* نمایش هر سلول به صورت یک بلوک */
        display: block;
        text-align: right;
        padding: 0 !important; /* پدینگ برای کنترل بهتر حذف می‌شود */
    }

    /* ---- بخش اصلی تغییر یافته برای استایل دهی عنوان ---- */

    .table tbody td::before {
        /* این لیبل (Item) اصلی شماست */
        content: attr(data-label);

        /* استایل درخواستی برای لیبل */
        font-weight: bold;
        color: white; /* متن سفید */
        background-color: #212529; /* پس زمینه مشکی (معادل bg-dark بوت‌استرپ) */

        /* چیدمان بلوکی */
        display: block; /* نمایش به صورت بلوک تا تمام عرض را بگیرد */
        width: 100%;
        text-align: right;
        padding: 0.5em 1em; /* پدینگ داخلی لیبل */
        margin-bottom: 5px; /* فاصله بین لیبل و محتوا */
    }

    .table tbody td {
        /* استایل برای محتوای سلول (مقدار) */
        padding: 0.5em 1em !important; /* پدینگ برای محتوا */
        border-bottom: 1px solid #dee2e6; /* جداکننده بین سلول‌ها */
    }

    .table tbody tr:last-child td:last-child {
        /* حذف border-bottom از آخرین سلول برای تمیزکاری */
        border-bottom: none;
    }
.bg-table{backdrop-filter: blur(5px) saturate(200%);
background: #ffffff;
background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(11, 62, 150, 0.2) 0%);
    /* ---------------------------------------------------- */
}
strong{padding: 10px}
    .table tbody tr {
        display: block;
        margin-bottom: 1.5em; /* فاصله بین ردیف‌های تبدیل‌شده به کارت */
        border: 1px solid #ffffff;
        padding: 0; /* padding از اینجا حذف و به tdها داده می‌شود */
        overflow: hidden; /* برای جلوگیری از مشکلات border-radius */
    }


    .table-bordered tbody tr {
    background-color: white !important;
}




}


.glass-card {
backdrop-filter: blur(5px) saturate(200%);
background-color: rgba(255,255,255,0.85);
border: 1px solid rgba(255,255,255,0.25);
border-radius: 12px;
}







