@charset "UTF-8";
/* One shared style for field validation in public and admin forms. */
.ma-field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  margin-top: 6px;
  color: var(--color-error-text, #A13E37);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
  direction: rtl;
  overflow-wrap: anywhere;
}
.ma-field-error::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.64,18.1L14.24,2.28c-.47-.8-1.3-1.28-2.24-1.28s-1.77,.48-2.23,1.28L.36,18.1h0c-.47,.82-.47,1.79,0,2.6s1.31,1.3,2.24,1.3H21.41c.94,0,1.78-.49,2.24-1.3s.46-1.78-.01-2.6Zm-10.64-.1h-2v-2h2v2Zm0-4h-2v-6h2v6Z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.64,18.1L14.24,2.28c-.47-.8-1.3-1.28-2.24-1.28s-1.77,.48-2.23,1.28L.36,18.1h0c-.47,.82-.47,1.79,0,2.6s1.31,1.3,2.24,1.3H21.41c.94,0,1.78-.49,2.24-1.3s.46-1.78-.01-2.6Zm-10.64-.1h-2v-2h2v2Zm0-4h-2v-6h2v6Z'/%3E%3C/svg%3E") no-repeat center/contain;
}

.ma-field-invalid {
  outline: 1px solid var(--color-error-text, #A13E37);
  outline-offset: 1px;
}

.form-group.checkbox input.ma-field-invalid + .cover {
  border-color: var(--color-error-text, #A13E37);
  outline: 1px solid var(--color-error-text, #A13E37);
  outline-offset: 1px;
}

#noty_layout__topCenter {
  width: min(360px, 100% - 16px);
  top: var(--ma-feedback-top, 20px);
  left: var(--ma-feedback-left, 50%);
}

.noty_theme__ma.noty_bar {
  --toast-title: "عملیات موفق";
  --toast-icon-color: #059669;
  --toast-bar: #10b981;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: var(--color-surface, #fff);
  color: #64748b;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  direction: rtl;
  text-align: right;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.6;
  cursor: pointer;
}
.noty_theme__ma.noty_bar .ma-toast-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--toast-icon-color);
}
.noty_theme__ma.noty_bar .ma-toast-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.noty_theme__ma.noty_bar.noty_type__error {
  --toast-title: "خطا";
  --toast-icon-color: #e11d48;
  --toast-bar: #f43f5e;
}
.noty_theme__ma.noty_bar.noty_type__warning {
  --toast-title: "توجه";
  --toast-icon-color: #d97706;
  --toast-bar: #f59e0b;
}
.noty_theme__ma.noty_bar.noty_type__info {
  --toast-title: "راهنما";
  --toast-icon-color: #0284c7;
  --toast-bar: #0ea5e9;
}
.noty_theme__ma.noty_bar .noty_body {
  flex: 1;
  min-width: 0;
  padding: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.noty_theme__ma.noty_bar .noty_body::before {
  content: var(--toast-title);
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  line-height: 1.4;
}
.noty_theme__ma.noty_bar .noty_close_button {
  --color-text-muted: #94a3b8;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s;
}
.noty_theme__ma.noty_bar .noty_close_button svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  fill: currentColor;
}
.noty_theme__ma.noty_bar .noty_close_button:hover {
  color: var(--color-primary);
}
.noty_theme__ma.noty_bar .noty_close_button {
  position: static;
}
.noty_theme__ma.noty_bar .noty_progressbar {
  right: 0;
  left: auto;
  bottom: 0;
  height: 3px;
  background-color: var(--toast-bar);
  opacity: 1;
}
