:root {
  --accent_color1: #2b2a86;
  --accent_color2: #2b2a86;
  --accent_gradient_from: #2B2A86;
  --accent_gradient_to: #2B2A86;
  --darkmode_background: #EFEFEF;
  --darkmode_text: #1E1E1E;
}

/* Local Persian font (FaNum) */
@font-face {
  font-family: 'IRANSansWebFaNum';
  src: url('../fonts/IRANSansWeb_FaNum.woff2') format('woff2'),
       url('../fonts/IRANSansWeb_FaNum.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* RTL helpers */
html[dir="rtl"] body { direction: rtl; }
* { box-sizing: border-box; }
a { text-decoration: none; }

/* Global font for site and admin */
body { font-family: 'IRANSansWebFaNum', IRANSansWebFaNum, Tahoma, sans-serif; }
form#profileForm {
    grid-template-columns: unset !important;
}
button.btn.btn-primary {
    font-family: 'IRANSansWebFaNum';
}

#profileForm button.btn.btn-primary {
    background: green;
    color: #fff;
    border: 0;
    border-radius: 6px;
}

.btn.btn-outline {

    border: 1px solid #333;
    padding: 5px 10px;
    border-radius: 4px;
    background: #eee;
    color: #333;
}
.btn.btn-primary {
      border: 1px solid green;
    background:green;
    color:#fff!important;
    padding: 7px 10px;
    border-radius: 4px;
}
button, input {
    font-family: inherit;
}
.btn.btn-outline {
    border: 1px solid #333;
    padding: 7px 10px;
    border-radius: 4px;
    background: #2b2a86;
    color: #fff;
}
span.ql-picker-label {
    text-align: left;
}
.ql-editor {
    font-family: 'IRANSansWebFaNum' !important;
}
.wrap {
    max-width: 100%!important;
}
.wrap.panel {
    overflow: hidden;
}

.main {
    overflow-x: scroll;
}

.ql-editor li:not(.ql-direction-rtl)::before {
    margin-left: 0.3em!important;
    margin-right: 1.5em!important;
}
.mg-slide-order button:not(.btn) {
  color: #000;
}