@font-face {
  font-family: "iran";
  src: url("../fonts/Iran.otf");
  src: url("../fonts/Iran.otf?#iefix") format("embedded-opentype"),
    url("../fonts/Iran.ttf") format("truetype"),
    url("../fonts/Iran.otf") format("otf"),
    url("../fonts/Iran.svg") format("svg"),
    url("../fonts/Iran.woff2") format("woff2"),
    url("../fonts/Iran.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
* {
  font-family: "iran";
}
button {
  border: none;
  background: none;
  text-align: left;
  padding: 0;
}

.date-time {
  margin-left: 10px;
  font-weight: 700;
  font-size: 0.8rem;
}

.b-shadow {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.m--202560 {
  margin: -20px -25px -60px;
}

.m-0 {
  margin: 0;
}

.l--17 {
  left: -17px;
}

.b-0 {
  bottom: 0;
}

.p-202560 {
  padding: 20px 25px 60px;
}

.p20 {
  padding: 20px;
}

.w-auto {
  width: auto;
}

.h-3050 {
  height: 3050px;
}

.visible {
  visibility: visible;
}

.sc-style {
  height: 262px;
  transform: translate3d(0px, 0px, 0px);
  display: block;
}

.main-content-container {
  /* display: flex; */
  /* justify-content: center; وسط‌چین کردن افقی */
  /* align-items: center; وسط‌چین کردن عمودی */
  width: 100%; /* تمام عرض صفحه */
  min-height: 10vh; /* حداقل ارتفاع برابر با ارتفاع صفحه */
}

.custom-square-btn {
  padding: 0.5rem 0.5rem;

  width: 80px; /* تعیین عرض */
  height: 80px; /* تعیین ارتفاع برابر با عرض (مربع) */
  display: flex;
  font-size: 0.8rem;
  line-height: 1.2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0.5rem;
}

.f-large {
  font-size: 1.5rem !important;
}

.lang-dropdown {
  position: absolute;
  inset: 0px 0px auto auto;
  margin: 0px;
  transform: translate(0px, 31px);
}

/* مخفی کردن اسکرول‌بار پیش‌فرض مرورگر */
.simplebar-content-wrapper {
  scrollbar-width: none; /* برای فایرفاکس */
  -ms-overflow-style: none; /* برای اینترنت اکسپلورر و اج */
}

.simplebar-content-wrapper::-webkit-scrollbar {
  display: none; /* برای کروم، سافاری و اج */
}

/* Full Background Image */
img.full-bg {
  min-height: 100%;
  min-width: 1280px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1280px) {
  img.full-bg {
    left: 50%;
    margin-left: -640px;
  }
}

/* Login */
#login-background {
  width: 100%;
  height: 224px;
  overflow: hidden;
  position: relative;
}

#login-background > img {
  position: absolute;
  width: 2560px;
  height: 400px;
  right: 50%;
  margin-right: -1280px;
}

#login-alt-container {
  display: none;
}

#login-container,
#login-alt-container {
  position: absolute;
  width: 400px;
  top: 20%;
  right: 50%;
  margin-right: -150px;
  z-index: 1000;
}

#login-container .login-title {
  padding: 20px 10px;
  background: #444444;
  background: rgba(0, 0, 0, 0.6);
}

#login-container .login-title h1,
#login-alt-container h1 {
  font-size: 26px;
  color: #ffffff;
}

#login-container .login-title h1 small,
#login-alt-container h1 small {
  font-size: 16px;
  color: #dddddd;
}

#login-container > .block {
  border: none;
}

#login-container .register-terms {
  line-height: 30px;
  margin-left: 10px;
  float: right;
}

#page-content + footer {
  min-width: 320px;
}
#page-content {
  padding: 10px 5px 1px;
  background-color: #eaedf1;
  min-height: 90vh;
}

#page-content + footer {
  padding: 9px 10px;
  font-size: 11px;
  background-color: #ffffff;
  border-top: 1px solid #dbe1e8;
}

.d-fit {
  padding: 0 !important;
  min-height: 0vh !important;
}

.drop-open {
  position: absolute;
  inset: 0px auto auto 0px;
  margin: 0px;
  transform: translate(0px, 41px);
}

.card-drop {
  position: absolute;
  inset: 0px 0px auto auto;
  margin: 0px;
  transform: translate(0px, 25px);
}

.m-20 {
  margin: 20px !important;
}

.male {
  color: #77ebf3;
}

.female {
  color: #f88def;
}

.widget .widget-extra {
  border-radius: 5px 5px 0px 0px;
}

.text-right {
  text-align: right;
}

.avatar-open {
  position: absolute;
  inset: 0px 0px auto auto;
  margin: 0px;
  transform: translate(0px, 42.2222px);
}

.date-time {
  margin-left: 10px;
  font-weight: 700;
}

.mt-10 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 2px !important;
}
.mt-8 {
  margin-top: 8px !important;
}
.mt-5 {
  margin-top: 5px !important;
}

.mr-5 {
  margin-right: 5px;
}

.mr-10 {
  margin-right: 10px;
}

.ml-5 {
  margin-left: 5px;
}

.ml-20 {
  margin-left: 20px;
}

.btn-left {
  border-radius: 5px 0px 0px 5px;
}

.btn-right {
  border-radius: 0px 5px 5px 0px;
}

.gender-ring {
  border: 3px solid transparent;
  border-radius: 50%;
  display: inline-block;
  padding: 0px; /* این باعث می‌شود که رینگ اطراف تصویر ظاهر شود */
}

.male-ring {
  border-color: #77ebf3; /* آبی */
}

.female-ring {
  border-color: #f88def; /* صورتی */
}

.paginate-hover:hover {
  color: #ffffff;
}

.disabled,
.paginate-hover .disabled:hover {
  display: none;
}

.mb-10 {
  margin-bottom: 2rem !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.text-center {
  text-align: center;
}

.header-box {
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.header-box .logo {
  height: 50px;
  margin-bottom: 10px;
}

.header-box h2 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* استایل پیام‌های خطا */
.error-msg {
  display: block;
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.animation-pulseSlow {
  animation-name: pulseSlow;
  -webkit-animation-name: pulseSlow;
  animation-duration: 30s;
  -webkit-animation-duration: 30s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
}

@keyframes pulseSlow {
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@-webkit-keyframes pulseSlow {
  0% {
    -webkit-transform: scale(1.1);
  }
  50% {
    -webkit-transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.1);
  }
}

.border-b-10 {
  border-radius: 0px 0px 10px 10px;
}

.border-t-10 {
  border-radius: 10px 10px 0 0;
}

.red {
  color: red;
}

.green {
  color: #1f783e;
}

.sys-border {
  border: 1px solid #605dff;
}

.user-border {
  border: 1px solid #ffbc5d;
}

.sidebar-area .logo .logo-text {
  top: 25%;
  left: 100%;
  color: #444444 !important;
}

/* .justify-left {
  justify-content: left;
} */

.br-2525 {
  bottom: 25px;
  right: 25px;
}

.bp-r0-center {
  background-position: right 0 center;
}

.bc-2196f3 {
  background-color: #2196f3;
}

.bc-007ab9 {
  background-color: #007ab9;
}

.bc-03a9f4 {
  background-color: #03a9f4;
}

.bc-3a559f {
  background-color: #3a559f;
}

.cursor-pointer {
  cursor: pointer;
}

tr.cursor-pointer:hover {
  background-color: #e4f2fd !important; /* رنگ دلخواه */
  /* --bs-table-hover-bg:#e4f2fd !important */
}

.DatePicker {
  width: 100%;
  z-index: 2 !important;
}

.DatePicker__input {
  font-size: 1.2rem !important;
}

.calendar-cell {
  position: relative;
}

.from-time {
  position: absolute;
  top: 50%;
  right: 10px; /* فاصله از سمت راست */
  transform: translateY(-50%);
  font-size: 12px;
  text-align: right;
  color: white;
}

.to-time {
  position: absolute;
  top: 50%;
  left: 10px; /* فاصله از سمت چپ */
  transform: translateY(-50%);
  font-size: 12px;
  text-align: left;
  color: white;
}

.Toastify__toast-theme--colored.Toastify__toast--error {
  font-family: "iran";
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.blink {
  animation: blink 1s infinite;
}

.pagination-ellipsis .page-link {
  cursor: default;
  color: #6c757d; /* خاکستری خوانا */
  background-color: transparent;
  border: none;
  pointer-events: none;
  font-weight: bold;
  font-size: 18px;
  user-select: none;
}

.tab-index-0 {
  z-index: 0;
}

.max-width-150 {
  max-width: 150px !important;
}

.mr-1r {
  margin-right: 1rem !important;
}

.mr-20 {
  margin-right: 20px;
}

.read-receipt-avatar {
  position: relative;
  display: inline-block;
}

.read-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ccc;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  width: max-content;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 4px;
  padding: 6px 8px;
  position: absolute;
  z-index: 10;
  bottom: 125%; /* بالای آواتار */
  right: 100%;
  white-space: nowrap;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.hover-red:hover,
.fix-red {
  color: red !important;
}

.spinner-border {
  max-width: 20px;
  max-height: 20px;
  margin-right: 25%;
  margin-left: 25%;
}

.r-15-b-0 {
  right: -15px;
  bottom: 0;
}

.simple {
  height: auto;
  overflow: hidden scroll;
}

.p-0 {
  padding: 0;
}

.simple2 {
  width: auto;
  height: 874px;
}

.simple3 {
  transform: translate3d(0px, 0px, 0px);
  display: none;
}

.simple4 {
  height: 200px;
  transform: translate3d(0px, 0px, 0px);
  display: block;
}

.hidden {
  visibility: hidden;
}

.drop-icon {
  width: 16px;
  height: 16px;
  margin-right: 2px;
  position: relative;
  top: -3px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px; /* فاصله بین متن و آیکون */
}

.drop-icon {
  font-size: 20px; /* سایز مناسب برای آیکون */
}

.card {
  --bs-card-border-color: rgb(241, 241, 241);
}

.cd-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  pointer-events: auto;
}

.cd-dialog-box {
  background: #fff;
  border-radius: 12px;
  width: 600px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: cd-slideIn 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
}

.cd-dialog-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-direction: row-reverse;
}

.cd-dialog-icon {
  font-size: 20px;
}

.cd-dialog-header h2 {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin: 0;
}

.cd-dialog-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 20px 0;
  white-space: pre-wrap;
}

.cd-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cd-btn {
  padding: 8px 16px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.cd-btn-cancel {
  background: #e0e0e0;
  color: #333;
}

.cd-btn-cancel:hover {
  background: #cfcfcf;
}

.cd-btn-confirm {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  color: white;
}

.cd-btn-confirm:hover {
  filter: brightness(1.1);
}

@keyframes cd-slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cd-credit-box {
  background: #f7faff;
  border-left: 4px solid #007bff;
  border-right: 4px solid #007bff;
  padding: 12px 16px;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.cd-credit-amount {
  font-size: 18px;
  color: #007bff;
  font-weight: bold;
}

.recharts-default-legend {
  margin-top: 40px !important;
}

.fs-08r {
  font-size: 0.8rem;
  font-weight: 300;
}

.fs-07r {
  font-size: 0.7rem;
  font-weight: 300;
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: contain; /* یا cover */
}

.btn-center {
  border-radius: 0;
}

.w-33 {
  width: 33%;
}
.display-none {
  display: none;
}

.react-select__menu,
.react-select__control,
.react-select__input {
  z-index: 1; /* برای دراپ‌داون مشتریان */
  position: relative !important;
}

.default-table-area .table-responsive .table {
  font-size: 0.7rem;
}
.td-p0 {
  padding: 5px !important;
}

th.sortable {
  cursor: pointer;
  position: relative;
  user-select: none;
  padding-right: 20px;
}

th.sortable::after {
  content: "⇅";
  position: absolute;
  right: 1.2rem;
  color: #aaa;
  font-size: 0.8em;
  top: 50%;
  transform: translateY(-50%);
}

th.sorted-asc::after {
  content: "↑";
  color: #1121ff;
}

th.sorted-desc::after {
  content: "↓";
  color: #1121ff;
}

.dir-rtl {
  direction: rtl;
}

.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* Adjust as needed */
}

.dot-loader {
  display: flex;
  justify-content: space-between;
  width: 70px;
}

.dot-loader div {
  width: 15px;
  height: 15px;
  background-color: #007bff; /* You can change to primary color of your app */
  border-radius: 50%;
  animation: bounce 0.8s infinite ease-in-out;
}

.dot-loader div:nth-child(2) {
  animation-delay: 0.4s;
}
.dot-loader div:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.blue {
  color: #007bff;
}

.form-control {
  font-size: 0.8rem !important;
}

.th {
  position: relative !important;
}
th .resizer {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 5px !important;
  height: 100% !important;
  cursor: col-resize !important;
  user-select: none !important;
}

.my-select-custom {
  position: relative;
  width: 100%;
  font-family: inherit;
}

.my-select-custom-toggle {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  width: 100%;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  cursor: pointer;
  flex-direction: row-reverse;
}

.my-select-custom-toggle:hover {
  background-color: #eaeaea;
}

.my-select-custom-toggle:focus {
  outline: none;
  border-color: #999;
}

.my-select-custom-arrow {
  transition: transform 0.3s ease;
}

.my-select-custom-arrow.open {
  transform: rotate(180deg);
}

.my-select-custom-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  max-height: 230px;
  overflow-y: auto;
  animation: fadeIn 0.2s ease;
}

.my-select-custom-menu button {
  width: 100%;
  text-align: right;
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.my-select-custom-menu button:hover,
.my-select-custom-menu button:focus {
  background-color: #deebfb;
}

.my-select-custom-error {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.my-select-custom-search {
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-bottom: 1px solid #ddd;
  outline: none;
  font-size: 14px;
  background-color: #fafafa;
}

.my-select-custom-search-wrapper {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  background-color: #fafafa;
}

.search-input-wrapper {
  position: relative;
}

.my-select-custom-search {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: right;
  direction: rtl;
}

.clear-search {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  border: none;
  background: none !important;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  text-align: left !important;
}

.my-select-custom-no-result {
  padding: 10px 12px;
  color: #999;
  text-align: center;
  font-size: 13px;
}

.my-switch-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.my-switch-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.my-switch-label {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  background-color: #ccc;
  border-radius: 24px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.my-switch-slider {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.my-switch-input:checked + .my-switch-label {
  background-color: #4caf50;
}

.my-switch-input:checked + .my-switch-label .my-switch-slider {
  transform: translateX(22px);
}

.my-switch-toggle.my-switch-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.my-switch-toggle.my-switch-disabled .my-switch-label {
  pointer-events: none;
}

/* کارت کلی برای هر آیتم */
.selection-card {
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  padding: 1rem;
  height: 100%;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
  position: relative;
  cursor: pointer;
}

.selection-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-color: #0d6efd; /* آبی کم‌رنگ */
}

/* ظاهر ورودی‌ها */
.selection-card .form-check-input {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  cursor: pointer;
}

/* عنوان داخل کارت */
.selection-card .selection-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  padding-top: 0.5rem;
  padding-left: 2rem;
  word-wrap: break-word;
}

/* انتخاب‌شده */
.selection-card.selected {
  border-color: #0d6efd;
  background-color: #e7f1ff;
}

/* برای شبکه‌بندی مرتب‌تر */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.section-wrapper {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #ddd;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}

.bg-light-custom {
  background-color: rgb(182 205 255 / 13%) !important;
}

.gender-display {
  display: flex;
  gap: 1rem;
}

.gender-option {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  color: #888;
  background-color: #f8f9fa;
  cursor: default;
  transition: all 0.3s ease;
}

.gender-option .icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 4px;
}

.gender-option.active {
  border-color: #0d6efd;
  background-color: #e7f1ff;
  color: #0d6efd;
  font-weight: 600;
}

.customer-card-scrollable {
  max-height: 60vh; /* یا هر ارتفاعی که مناسب طراحی‌ت هست */
  overflow-y: auto;
  padding-right: 4px; /* برای اسکرول تمیز */
  margin-bottom: 1rem;
}

.current-customer-card-scrollable {
  max-height: 67vh; /* یا هر ارتفاعی که مناسب طراحی‌ت هست */
  overflow-y: auto;
  padding-right: 4px; /* برای اسکرول تمیز */
  margin-bottom: 1rem;
}

.customer-card-scrollable::-webkit-scrollbar,
.current-customer-card-scrollable::-webkit-scrollbar {
  width: 6px;
}
.customer-card-scrollable::-webkit-scrollbar-thumb,
.current-customer-card-scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.cardCustomer:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.customer-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.cardCustomer {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardCustomer:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.border-normal {
  box-shadow: 0 2px 3px 1px #1f783e, 0 0 0 1px #d4d4d5 !important;
}

.border-red,
.br-danger {
  border: 5px solid #fd5812 !important;
}

.border-alarm {
  border: 2px solid orange !important; /* یا هر رنگی که به عنوان هشدار می‌خواهید */
}

.br-warning {
  border: 2px solid #ffbc2b !important;
}

/* رنگ آبی برای ایونت‌های مربوط به مدرسه‌های Boys */
.blue-event {
  background-color: #4a90e2 !important;
  color: white !important;
  border: 1px solid #357abd !important;
}

/* رنگ صورتی برای ایونت‌های مربوط به مدرسه‌های Girls */
.pink-event {
  background-color: #f5a7b8 !important;
  color: white !important;
  border: 1px solid #f184a0 !important;
}

/* رنگ قرمز برای ایونت‌های لغو شده */
.paid-event {
  background-color: #2e9c02 !important;
  color: white !important;
  border: 1px solid #4d59ff !important;
}

/* رنگ قرمز برای ایونت‌های لغو شده */
.canceled-event {
  background-color: #ff6b6b !important;
  color: white !important;
  border: 1px solid #ff4d4d !important;
}

.__calendar-table-td-body-events-item {
  height: 20% !important;
}

/* استایل اسکرول‌بار برای مرورگرهای مبتنی بر WebKit (مثل کروم و اج) */
.block .__calendar {
  scrollbar-width: thin; /* برای Firefox */
  scrollbar-color: #b0c4de transparent;
}

/* مخصوص Webkit (کروم، اج، سفاری) */
.block .__calendar::-webkit-scrollbar {
  width: 6px;
}

.block .__calendar::-webkit-scrollbar-track {
  background: transparent;
}

.block .__calendar::-webkit-scrollbar-thumb {
  background-color: #90a4ae;
  border-radius: 8px;
  border: 1px solid transparent;
  background-clip: content-box;
}

.block .__calendar::-webkit-scrollbar-thumb:hover {
  background-color: #78909c;
}

.top-rounded {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.timesheet-calendar-container {
  padding: 1rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  direction: rtl;
  font-family: sans-serif;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-header button {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: 100px repeat(14, 1fr);
  grid-auto-rows: 60px;
}

.calendar-time-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.calendar-time-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* تغییر به راست‌چین */
  background: #f9fafb;
  font-size: 0.9rem;
  color: #4b5563;
  font-weight: bold;
  margin-right: -10px;
}

.calendar-day-header {
  background: #e0f2fe;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  font-weight: bold;
  border: 1px solid #bae6fd;
}

.day-name {
  font-size: 0.9rem;
  color: #0c4a6e;
}

.day-date {
  font-size: 0.8rem;
  color: #0369a1;
}

.calendar-cell {
  border-bottom: 1px solid #e7e7e7;
  background-color: #ffffff;
}

/* TimesheetCalendar.css */

.presence-block {
  background-color: #3b82f6; /* آبی */
  height: 100%;
  width: 100%;
}

.mb-lg-4 {
  text-align: right;
}

.dashboard-right-card {
  max-width: 80%;
  margin: auto;
  margin-top: 0px;
  margin-bottom: 0px;
}

.min-height-114 {
  min-height: 114px;
}

.w-153-h-99 {
  width: 153px;
  height: 99px;
}

.apex-tooltip-font {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.bg-31-100-241 {
  background-color: rgb(31, 100, 241);
}

.bg-194-205-255 {
  background-color: rgb(194, 205, 255);
}

.stats-box .stats-list li .test::before {
  background-color: rebeccapurple !important;
}

.rtl .sidebar-area .logo .logo-text {
  right: 5rem !important;
}
@media (max-width: 576px) {
  .customer-card-scrollable {
    max-height: 300px; /* یا مناسب موبایل */
  }
}

/* کانتینر گرید تمام‌عرض */
.session-wall {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(330px, 1fr)
  ); /* عرض کارت را کم و زیاد کن */
  gap: 12px;
}

/* کارت */
.wall-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #e9ecef;
  border-radius: 14px;
  padding: 30px 18px;
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* head, info, spacer, actions */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wall-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* پس‌زمینه‌های تولد (اختیاری) */
.wall-bg-birthday {
  background-image: url("/images/birth-bg.jpg");
  background-size: cover;
  background-position: center;
}
.wall-bg-birthday-upcoming {
  background-image: url("/images/birth-bg3.jpg");
  background-size: cover;
  background-position: center;
}

/* رینگ رنگ مرزی براساس وضعیت زمان */
.border-red {
  border-color: #dc3545 !important;
}
.border-alarm {
  border-color: #ffc107 !important;
}
.border-normal {
  border-color: #e9ecef !important;
}

/* هدر کارت */
.wall-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: 12px;
  margin-bottom: 8px;
}
.wall-head-left {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: start;
  column-gap: 10px;
}
.wall-avatar {
  width: 45px;
  height: 45px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid transparent;
}
.male-ring {
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.35);
}
.female-ring {
  box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.35);
}
.wall-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wall-head-right {
  text-align: end;
  font-size: 0.85rem;
}

/* اطلاعات کارت/تولد/تماس */
.wall-info {
  display: grid;
  row-gap: 8px;
}
.wall-row {
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  column-gap: 8px;
}
.wall-row.wrap {
  grid-auto-flow: row;
  grid-template-columns: repeat(2, max-content);
  gap: 8px 16px;
}
.wall-info-text {
  font-size: 0.85rem;
}

/* اکشن‌ها */
.wall-actions {
  margin-top: 8px;
}
.wall-actions-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wall-overlay {
  position: fixed;
  inset: 0;
  background: #fff; /* پس‌زمینه روشن؛ اگر تاریک می‌خواهی rgba(0,0,0,.6) + یک کانتینر سفید */
  z-index: 1050; /* بالاتر از کارت‌ها/هدرها */
  display: grid;
  grid-template-rows: auto 1fr;
}

.wall-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
  position: sticky;
  top: 0;
}

.wall-content {
  overflow: auto;
  padding: 12px;
  height: 100%;
}

.masked {
  filter: blur(6px);
  user-select: none;
}

/* کارت relative باشد */
.wall-card {
  position: relative;
}

/* جای لوگو گوشه بالا-راست */
.payopt-corner {
  position: absolute;
  inset-inline-end: 8px;
  inset-block-start: 8px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 2px 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 3;
}

.payopt-corner img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.8;
}

/* یک سطر افقی، بدون شکست */
.wall-contacts {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap; /* جلوگیری از رفتن به سطر بعد */
  overflow: hidden; /* اگر خیلی طولانی شد، از بیرون نزند */
}
/* تایمر وسط کارت */
/* قبلی‌ات را آپدیت کن */
.wall-countdown-center {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%) scale(1.8); /* ⬅️ بزرگ‌تر */
  transform-origin: center;
  z-index: 2;
  pointer-events: none;
  display: grid;
  place-items: center;
  padding: 0.3rem 1rem; /* کمی بزرگ‌تر شود */
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  font-variant-numeric: tabular-nums; /* اعداد ردیفی‌تر و خواناتر */
}

/* iPad/نمایشگر کوچک‌تر: کمی جمع‌وجور */
@media (max-width: 576px) {
  .wall-countdown-center {
    transform: translate(-50%, -50%) scale(1.3);
  }
}

/* فضای اضافه برای محتوای زیر تایمر تا زیر آن پنهان نشود */
.wall-info {
  margin-top: 44px;
} /* ← مهم: مقدار را با توجه به اندازه تایمر تنظیم کن */

/* فقط از breakpoint دسکتاپ به بعد (sm+) پنهان شود */
@media (min-width: 576px) {
  .session-card .wall-actions {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  /* نمایش وقتی موس روی کارت است یا فوکوس کیبورد داخل کارت است */
  .session-card:hover .wall-actions,
  .session-card:focus-within .wall-actions {
    opacity: 1;
    pointer-events: auto;
  }
}

/* اگر می‌خواهید سه دکمه دسکتاپی گرید تمیز داشته باشد: */
.wall-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.scard {
  background-color: transparent !important;
  border: none !important;
}

.editor-container {
  height: 250px;
  border-color: #d5d9e2;
}

.token-chip {
  border-radius: 999px;
  padding-inline: 12px;
  font-family: inherit;
}

.modern-textarea {
  resize: vertical;
  border-radius: 12px;
}

.card {
  border-radius: 12px;
}

.label {
  font-weight: 600;
}

.tippy-box[data-theme~="small"] {
  font-size: 11px;
  padding: 3px 5px;
  border-radius: 3px;
}

.count.positive {
  background-color: #d1fae5;
  color: #065f46;
  border: solid 1px #c1e6d3 !important;
}

.count.negative {
  background-color: #fee2e2;
  color: #991b1b;
  border: solid 1px #e6c8c8 !important;
}

.justify-content-center {
  justify-content: center;
}


/* پس‌زمینه لطیف و شیشه‌ای */
.kiosk-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: radial-gradient(1200px 800px at 80% -10%, #4553ff22 0, transparent 60%),
              radial-gradient(900px 600px at 10% 110%, #0ea55a22 0, transparent 60%),
              linear-gradient(180deg, #0f172a, #0b1220 60%, #0b1220);
  color: #fff;
}

.kiosk-topbar {
  backdrop-filter: blur(8px);
}

.kiosk-body {
  min-height: calc(100vh - 86px);
  display: flex;
  /* align-items: center; */
  padding-bottom: 220px;
  flex-direction:column;
  /* justify-content:space-around; */
}

/* کارت‌های انتخاب */
.kiosk-card {
  border: 0;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05)),
    radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.12), rgba(255,255,255,0));
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  padding: .25rem;
}
.kiosk-card:hover,
.kiosk-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(0,0,0,0.35);
}
.kiosk-card:active { transform: translateY(0); }

/* محتوای کارت */
.kiosk-title { font-weight: 800; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.kiosk-sub { color: rgba(255,255,255,.8); font-size: clamp(.9rem, .8rem + .3vw, 1rem); }

/* آیکن دایره‌ای */
.kiosk-icon {
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; border-radius:18px;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}

/* فلش سمت چپ کارت */
.kiosk-chevron {
  font-size: 42px;
  line-height: 1;
  opacity: .7;
  transform: translateY(-2px);
}

/* واکنش‌گرا: ارتفاع کافی روی موبایل */
@media (max-width: 576px){
  .kiosk-body {   padding-bottom: 220px;
 }
  .kiosk-icon { width:56px; height:56px; }
}

/* ---- پایه مشترک (از نسخه قبلی) ---- */
.kiosk-overlay { position: fixed; inset: 0; z-index: 1050; color: var(--kiosk-fg); }
.kiosk-topbar { backdrop-filter: blur(8px); }
.kiosk-card { border: 0; border-radius: 28px; backdrop-filter: blur(12px); transition: transform .15s, box-shadow .2s, background .2s; padding: .25rem; }
.kiosk-card:hover, .kiosk-card:focus-visible { transform: translateY(-2px); }
.kiosk-title { font-weight: 800; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.kiosk-sub { font-size: clamp(.9rem, .8rem + .3vw, 1rem); opacity: .9; }
.kiosk-icon { display:inline-flex; align-items:center; justify-content:center; width:64px; height:64px; border-radius:18px; background-clip: padding-box; }
.kiosk-chevron { font-size: 42px; line-height: 1; opacity: .7; transform: translateY(-2px); }
@media (max-width:576px){ .kiosk-body{  padding-bottom: 220px;
} .kiosk-icon{width:56px;height:56px} }

/* ---- تم تیره (قبلی) ---- */
.kiosk-dark{
  --kiosk-fg:#fff;
  --kiosk-muted:#ffffffcc;
  --kiosk-card-bg1: rgba(255,255,255,.10);
  --kiosk-card-bg2: rgba(255,255,255,.06);
  --kiosk-card-ring: rgba(255,255,255,.20);
  --kiosk-shadow: 0 10px 40px rgba(0,0,0,.25);
  background:
    radial-gradient(1200px 800px at 80% -10%, #4553ff22 0, transparent 60%),
    radial-gradient(900px 600px at 10% 110%, #0ea55a22 0, transparent 60%),
    linear-gradient(180deg, #0f172a, #0b1220 60%, #0b1220);
}
.kiosk-dark .kiosk-sub{ color:var(--kiosk-muted); }
.kiosk-dark .kiosk-card{
  background:
    linear-gradient(180deg, var(--kiosk-card-bg1), var(--kiosk-card-bg2)),
    radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.12), rgba(255,255,255,0));
  box-shadow: var(--kiosk-shadow);
}
.kiosk-dark .kiosk-icon{
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px var(--kiosk-card-ring);
}

/* ---- تم روشن (جدید) ---- */
.kiosk-light{
  --kiosk-fg:#0f172a;
  --kiosk-muted:#334155;
  --kiosk-card-bg1: rgba(255,255,255,.75);
  --kiosk-card-bg2: rgba(255,255,255,.55);
  --kiosk-card-ring: rgba(15,23,42,.10);
  --kiosk-shadow: 0 8px 30px rgba(15,23,42,.12);
  background:
    radial-gradient(1000px 700px at 85% -10%, #6ea8fe33 0, transparent 60%),
    radial-gradient(900px 600px at 10% 110%, #5fd6a433 0, transparent 60%),
    linear-gradient(180deg, #f3f6fb, #ffffff 60%, #ffffff);
  color: var(--kiosk-fg);
}
.kiosk-light .kiosk-topbar{
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.35));
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.kiosk-light .kiosk-sub{ color: var(--kiosk-muted); }
.kiosk-light .kiosk-card{
  background:
    linear-gradient(180deg, var(--kiosk-card-bg1), var(--kiosk-card-bg2)),
    radial-gradient(140% 140% at 100% 0%, rgba(0,0,0,.04), rgba(0,0,0,0));
  box-shadow: var(--kiosk-shadow);
}
.kiosk-light .kiosk-card:hover, .kiosk-light .kiosk-card:focus-visible{
  box-shadow: 0 12px 42px rgba(15,23,42,.18);
}
.kiosk-light .kiosk-icon{
  background: rgba(15,23,42,.06);
  box-shadow: inset 0 0 0 1px var(--kiosk-card-ring);
}
.kiosk-light .text-white-50{ color:#64748b !important; }  /* متن‌های راهنما روشن‌تر */

/* ظرف اسکرول مرحله ۲: ارتفاع بر اساس ویوپورت و حاشیه‌ها تنظیم شده */
.kiosk-scroll {
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-inline: .25rem;
  scrollbar-gutter: stable both-edges;
}

/* کارت هر کودک بالای بقیه قرار بگیرد وقتی فوکوس داخلش است */
.child-block { position: relative; z-index: 1; }
.child-block:focus-within { z-index: 5; }

/* پاپ‌آپ تقویم را همیشه بالاتر نگه دار */
.kiosk-body .Calendar,
.kiosk-body .DatePicker .Calendar,
.kiosk-body .DatePicker__calendar {
  z-index: 4000 !important;
}

/* اگر جایی روی کارت/فرم z-index بالاتری داری، این مقدار را بزرگ‌تر کن (مثلاً 9999) */
/* ظرف اسکرول مرحله ۲ */
.kiosk-scroll{
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: .25rem;
  scrollbar-gutter: stable both-edges; /* از پریدن محتوا جلوگیری می‌کند */
}

/* WebKit (Chrome/Edge/Safari) */
.kiosk-scroll::-webkit-scrollbar{ width: 10px; }
.kiosk-scroll::-webkit-scrollbar-track{
  background: transparent;
}
.kiosk-scroll::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, #c7d2fe, #a5b4fc); /* آبی لطیف */
  border-radius: 8px;
  border: 2px solid transparent;          /* باریک‌تر دیده شود */
  background-clip: content-box;
}
.kiosk-scroll::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, #a5b4fc, #818cf8);
}

/* Firefox */
.kiosk-scroll{
  scrollbar-width: thin;
  scrollbar-color: #a5b4fc transparent;
}

.datepicker-wrap:focus-within { z-index: 6; }

/* ---------- پس‌زمینه و سطح کارت‌ها ---------- */
.kiosk-light {
  --k-fg: #0f172a;
  --k-muted: #475569;
  --k-surface: #ffffffcc;
  --k-surface-2: #ffffffa6;
  --k-ring: #93c5fd;
  --k-primary: #6366f1; /* بنفش ملایم */
  --k-primary-weak: #e0e7ff;
  --k-success-weak: #dcfce7;

  background:
    radial-gradient(1150px 600px at 80% -10%, #93c5fd33 0, transparent 60%),
    radial-gradient(1000px 600px at 8% 110%, #86efac33 0, transparent 60%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 55%, #ffffff 100%);
  color: var(--k-fg);
}

.kiosk-body .card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, var(--k-surface), var(--k-surface-2));
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

/* ---------- استایل فرم‌ها (مدرن‌تر) ---------- */
.form-control,
.form-select {
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(15,23,42,0.08);
  background-color: #fff;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--k-ring);
  box-shadow: 0 0 0 .25rem rgba(99,102,241,.15); /* حلقه فوکوس بنفش لطیف */
}

/* DatePicker input که کلاسش رو دادی */
.h-55 { height: 55px; }

/* ---------- Stepper (شیک و مدرن) ---------- */
.k-stepper{
  display: flex; gap: 1.25rem; justify-content: center; align-items: center;
  list-style: none; padding: 0; margin: 0;
}
.k-step{
  position: relative; display: flex; align-items: center; gap: .65rem;
}
.k-step__circle{
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
  background: #e5e7eb; color: #475569; /* default (todo) */
  transition: all .2s ease;
}
.k-step__label{
  font-size: .9rem; color: var(--k-muted);
  transform: translateY(1px);
  min-width: max-content;
}

/* حالت active */
.k-step.active .k-step__circle{
  background: var(--k-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(99,102,241,.25);
}
.k-step.active .k-step__label{ color: #111827; font-weight: 700; }

/* حالت done */
.k-step.done .k-step__circle{
  background: var(--k-primary-weak);
  color: var(--k-primary);
  box-shadow: inset 0 0 0 2px var(--k-primary);
}
.k-step.done .k-step__line{
  background: var(--k-primary);
}

/* حالت todo (پیش‌فرض) */
.k-step.todo .k-step__circle{ background: #eef2ff; color: #64748b; }
.k-step.todo .k-step__line{ background: #e5e7eb; }

/* RTL: خط اتصال برای آیتم‌های وسط */
[dir="rtl"] .k-step .k-step__line{
  inset-inline-start: unset;
  inset-inline-end: calc(100% + .6rem);
}

/* ---------- اسکرول مدرن برای ظرف مرحله ۲ ---------- */
.kiosk-scroll{
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-inline: .25rem;
  scrollbar-gutter: stable both-edges;
}
.kiosk-scroll::-webkit-scrollbar{ width: 10px; }
.kiosk-scroll::-webkit-scrollbar-track{ background: transparent; }
.kiosk-scroll::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, #e0e7ff, #c7d2fe);
  border-radius: 8px; border: 2px solid transparent; background-clip: content-box;
}
.kiosk-scroll::-webkit-scrollbar-thumb:hover{ background: linear-gradient(180deg, #c7d2fe, #a5b4fc); }
.kiosk-scroll{ scrollbar-width: thin; scrollbar-color: #c7d2fe transparent; }

/* ---------- پاپ‌آپ تقویم بالاتر از فرم‌ها ---------- */
.child-block{ position: relative; z-index: 1; }
.child-block:focus-within{ z-index: 5; }
.kiosk-body .Calendar,
.kiosk-body .DatePicker__calendar{ z-index: 4000 !important; }



/* ظرف استپر */
.k-stepper{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;                 /* فاصله را با before مدیریت می‌کنیم */
  list-style:none;
  padding:0; margin:0;
}

/* خود آیتم */
.k-step{
  display:flex;
  align-items:center;
  gap:.6rem;
  position:relative;
}

/* دایره و لیبل */
.k-step__circle{
  width:36px; height:36px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:700; font-size:.95rem;
  background:#e5e7eb; color:#475569;
  transition:all .2s ease;
}
.k-step__label{ font-size:.9rem; color:#475569; transform:translateY(1px); }

/* خط اتصال «قبل از» هر آیتم به جز اولی (بدون absolute) */
.k-step + .k-step::before{
  content:"";
  display:block;
  width:56px; height:3px; border-radius:2px;
  background:#e5e7eb;
  margin-inline:.8rem;   /* فاصله‌ی دو سر خط از دایره‌ها */
}

/* حالت‌ها */
.k-step.active .k-step__circle{
  background:#6366f1; color:#fff;
  box-shadow:0 8px 18px rgba(99,102,241,.25);
}
.k-step.active .k-step__label{ color:#111827; font-weight:700; }

.k-step.done .k-step__circle{
  background:#e0e7ff; color:#6366f1;
  box-shadow:inset 0 0 0 2px #6366f1;
}
/* خط بین «مرحله‌ی قبلی» و «فعلی» هم رنگی شود */
.k-step.done + .k-step::before{ background:#6366f1; }

/* حالت todo همان پیش‌فرض است */


/* وقتی تقویم باز است: اجازه‌ی بیرون‌زدن + فضای پایین برای پاپ‌آپ */
.kiosk-scroll.open-calendar{
  overflow: visible;              /* مهم */
  padding-bottom: 380px;          /* فضا برای تقویم */
}

/* کارت فعال بالاتر بیاید که سایه تقویم زیرش نرود */
.child-block{ position: relative; z-index: 1; }
.child-block:focus-within{ z-index: 5; }

/* پاپ‌آپ تقویم روی بقیه عناصر بماند */
.kiosk-body .Calendar,
.kiosk-body .DatePicker__calendar{
  z-index: 4000 !important;
}

/* اسکرول مدرن */
.kiosk-scroll::-webkit-scrollbar{ width: 10px; }
.kiosk-scroll::-webkit-scrollbar-track{ background: transparent; }
.kiosk-scroll::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, #e0e7ff, #c7d2fe);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.kiosk-scroll::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, #c7d2fe, #a5b4fc);
}
.kiosk-scroll{ scrollbar-width: thin; scrollbar-color: #c7d2fe transparent; }

.select-rtl-fix {
  background-position: left 0.75rem center;
  padding-left: 2rem;
  padding-right: 0.75rem;
}

.border-200 { border-color: rgba(15,23,42,.12) !important; }

.k-count-card {
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
  user-select: none;
}
.k-count-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2,6,23,.08);
}
.k-count-card--active {
  background: linear-gradient(180deg,#fff,#f8fafc);
  box-shadow: 0 10px 24px rgba(99,102,241,.18);
}

/* استایل چیپ‌ها */
.k-chip{ display:inline-flex; align-items:center; gap:.4rem; background:#f5f6fa; color:#333;
  border-radius:999px; padding:.35rem .75rem; margin:.25rem; border:1px solid rgba(15,23,42,.06);
  box-shadow:0 1px 3px rgba(0,0,0,.06); transition:.15s ease; }
.k-chip:hover{ background:#eef1f8; transform:translateY(-1px); }
.k-chip--active{ background:#e0e7ff; border-color:#6366f1; box-shadow:0 4px 12px rgba(99,102,241,.18); }
.k-chip__dot{ width:6px; height:6px; border-radius:50%; background:#9aa4b2; }

.row-reverse {
  flex-direction: row-reverse;
}

.start-80 {
  margin-left: 80% !important;
}