@import 'components/header.css';
@import 'components/footer.css';

@import 'components/accordion.css';
@import 'components/buttons.css';
@import 'components/card.css';
@import 'components/dropdown.css';
@import 'components/input.css';
@import 'components/select.css';
@import 'components/table.css';

:where(.ag-theme-params-1) {
    --ag-accent-color: var(--brand-color-sec) !important;
    --ag-inherited-font-family: var(--font-family) !important;
    --ag-font-size: .875rem !important;
    --ag-text-color: var(--text-color) !important;
}

.ag-theme-quartz {
    --ag-menu-background-color: var(--color-primary);
    --ag-menu-text-color: var(--text-primary);
    --ag-wrapper-border-radius: var(--border-radius);
}

.app-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 9999;
}

hr {
    height: 0;
    overflow: visible;
    margin: 1rem 0;
    border-bottom-width: 1px;
    box-sizing: content-box;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: var(--font-weight-bold);
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none;
    user-select: none;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    white-space: normal;
}

progress {
    vertical-align: baseline
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

label {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    background: transparent;
}

span {
    cursor: default;
}

figcaption {
    font-size: 0.875rem;
    line-height: 2em;
    margin-bottom: 2em;
}

a {
    color: unset;
    text-decoration: none;
    box-shadow: none;
    vertical-align: baseline;
}

a,
a>*,
a span,
a i,
a::before,
a::after,
a *::before,
a *::after {
    cursor: pointer;
}

a:focus,
a:hover,
a:visited,
a:active {
    outline: 0;
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
    color: inherit;
}

a.external-link:after {
    content: "\ea2e";
    font-family: 'FSI-Res' !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    cursor: inherit;
    font-size: 1.35em;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

p {
    line-height: 2em;
    cursor: default;
}





ul {
    list-style: none;
}

ul.list-item {
    position: relative;
}

ul.list-item li {
    position: relative;
    display: list-item;
    color: var(--text-color);
    padding-right: 30px;
    line-height: 2;
}

ul.list-item li:last-child {
    margin-bottom: 20px;
}

ul.circle {
    list-style-type: circle;
}

ul.square {
    list-style-type: square;
}

ol.number {
    list-style-type: persian;
}

ul.tickmark-circle li::before {
    content: "\e3f3";
    right: 0;
    font-family: 'FSI-Res' !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    font-size: 1.3rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    position: absolute;
    color: #00d959;
}

ul.xmark-circle li::before {
    content: "\e3f3";
    right: 0;
    font-family: 'FSI-Res' !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    font-size: 1.3rem;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    position: absolute;
    color: #ff3037;
}

.ag-menu {
    max-height: calc(100% - 24px);
}

.ag-center-cols-viewport {
    min-height: unset !important;
}

.ag-layout-auto-height:has(.ag-overlay-no-rows-center) .ag-center-cols-viewport {
    min-height: 200px !important;
}

.ag-overlay-no-rows-center i {
    font-size: 3em;
}

.nagilaLoading-No1 {
    margin: auto;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #FFF;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: nagilaLoading-No1-spin 1s linear infinite;
}

@keyframes nagilaLoading-No1-spin {
    to {
        transform: rotate(360deg);
    }
}

.loader {
    width: 100%;
    height: 100%;
    position: relative;
}

.loader::after {
    content: '';
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background-color: currentColor;
    box-shadow: 16px 0 currentColor, -16px 0 currentColor;
    animation: flash 0.5s ease-out infinite alternate;
}

@keyframes flash {
    0% {
        background-color: rgba(255, 255, 255, 0.25);
        box-shadow: 16px 0 rgba(255, 255, 255, 0.25), -16px 0 currentColor;
    }

    50% {
        background-color: currentColor;
        box-shadow: 16px 0 rgba(255, 255, 255, 0.25), -16px 0 rgba(255, 255, 255, 0.25);
    }

    100% {
        background-color: rgba(255, 255, 255, 0.25);
        box-shadow: 16px 0 currentColor, -16px 0 rgba(255, 255, 255, 0.25);
    }
}

.waiting-upload {
    width: 100%;
    display: inline-block;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.25) 75%, transparent 75%, transparent);
    background-size: 2em 2em;
    box-sizing: border-box;
    animation: barStripe 1s linear infinite;
}

@keyframes barStripe {
    0% {
        background-position: 2em 0;
    }

    100% {
        background-position: 0 0;
    }
}

.circle-loader {
    width: 2em;
    height: 2em;
    display: inline-block;
    position: absolute;
    right: 0;
}

.circle-loader.offline {
    color: red;
}

.circle-loader.online {
    color: green;
}

.circle-loader::after,
.circle-loader::before {
    content: '';
    box-sizing: border-box;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: currentColor;
    position: absolute;
    left: 0;
    top: 0;
    transform: scale(0);
    animation: animCircleLoader 3s linear infinite;
}

.circle-loader::after {
    animation-delay: 2s;
}

@keyframes animCircleLoader {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.co-brand {
  color: var(--brand-color-sec);
}

.co-red {
  color: #ea5440;
}

.co-green {
  color: green;
}

.co-blue {
  color: #3897f0;
}

.co-yellow {
  color: #ffc33a;
  ;
}

.field-error {
  border-color: #f20057 !important;
  border-width: 1px !important;
}

.separator::before {
  content: " | ";
  margin: 0 3px;
  color: inherit;
  display: inline-block;
  font-size: 70%;
}

.vr-separator {
  width: 1px;
  display: inline-block;
  height: 0.8rem;
  background: var(--text-color);
  margin-right: 7px;
  margin-left: 7px;
}

.flipped-x {
  transform: scaleX(-1);
}

.flipped-y {
  transform: scaleY(-1);
}

.rotate-up {
  transform: rotate(-90deg);
}

.rotate-down {
  transform: rotate(90deg);
}

.rotate-left {
  transform: rotate(180deg);
}

.rotate-right {
  transform: rotate(0deg);
}