:root {
    --appTheme: '----';
}

.ql-save:after {
    content: "💾";
}

.ql-load:after {
    content: "🔃";
}

.ql-toolbar.ql-snow {
    border-radius: 5px;
    border-color: var(--appTheme);
}

.ql-snow .ql-picker.ql-header {
    width: 98px;
    color: var(--appTheme);
}

.ql-container.ql-snow {
    border: none;
    height: auto;
}

.ql-editor {
    min-height: 380px;
    overflow-y: scroll;
}

.loading:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4, end) 900ms infinite;
    animation: ellipsis steps(4, end) 900ms infinite;
    content: "\2026";
    /* ascii code for the ellipsis character */
    width: 0px;
}

@keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

.truncateText {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncateTextWider {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
}

.fixed-size-card {
    overflow: scroll;
    overflow-x: hidden;
}

.circle {
    width: var(--size);
    height: var(--size);
    box-sizing: border-box;
    position: relative;
    border: 3px solid transparent;
    border-top-color: var(--colorOuter);
    border-radius: 50%;
    animation: circleSpin 2s linear infinite;
}

.circle:before,
.circle:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
}

.circle:after {
    border-top-color: var(--colorInner);
    top: 9px;
    left: 9px;
    right: 9px;
    bottom: 9px;
    animation: circleSpin 1.5s linear infinite;
}

.circle:before {
    border-top-color: var(--colorCenter);
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    animation: circleSpin 3s linear infinite;
}

@keyframes circleSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#slider {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
}

.slide-in {
    animation: slide-in 0.5s forwards;
    -webkit-animation: slide-in 0.5s forwards;
}

.slide-out {
    animation: slide-out 0.5s forwards;
    -webkit-animation: slide-out 0.5s forwards;
    display: none;
}

.circle-1,
.circle-2,
.circle-3,
.circle-4 {
    animation: circles-fade 1.5s infinite;
    animation-direction: alternate;
    anination-timing-function: ease-in-out;
    transform-origin: center;
}

.circle-4 {
    animation-delay: 0;
}

.circle-3 {
    animation-delay: .25s;
}

.circle-2 {
    animation-delay: .5s;
}

.circle-1 {
    animation-delay: .75s;
}

@keyframes circles-fade {
    0% {
        transform: scale(.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slide-in {
    100% {
        transform: translateX(0%);
    }
}

@-webkit-keyframes slide-in {
    100% {
        -webkit-transform: translateX(0%);
    }
}

@keyframes slide-out {
    0% {
        transform: translateX(0%)
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
        display: none;
    }
}

@-webkit-keyframes slide-out {
    0% {
        -webkit-transform: translateX(0%)
    }
    100% {
        -webkit-transform: translateY(-100%);
        opacity: 0;
        display: none;
    }
}

.ql-editor.ql-blank::before {
    color: rgb(202 212 223 / 90%) !important;
    font-size: larger;
    content: attr(data-placeholder);
    font-style: italic;
    left: 15px;
    pointer-events: none;
    position: absolute;
    right: 15px;
}

.ql-clipboard {
    position: fixed;
    display: none;
    left: 50%;
    top: 50%;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .checkboxComponent,
    .radioComponent {
        --active: #275EFE;
        --active-inner: #fff;
        --focus: 2px rgba(39, 94, 254, .3);
        --border: #BBC1E1;
        --border-hover: #275EFE;
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #E1E6F9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: sub;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }
    .checkboxComponent:after,
    .radioComponent:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }
    .checkboxComponent:checked,
    .radioComponent:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: .3s;
        --d-t: .6s;
        --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }
    .checkboxComponent:disabled,
    .radioComponent:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }
    .checkboxComponent:disabled:checked,
    .radioComponent:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }
    .checkboxComponent:disabled+label,
    .radioComponent:disabled+label {
        cursor: not-allowed;
    }
    .checkboxComponent:hover:not(:checked):not(:disabled),
    .radioComponent:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }
    .checkboxComponent:focus,
    .radioComponent:focus {
        box-shadow: 0 0 0 var(--focus);
    }
    .checkboxComponent:not(.switch),
    .radioComponent:not(.switch) {
        width: 21px;
    }
    .checkboxComponent:not(.switch):after,
    .radioComponent:not(.switch):after {
        opacity: var(--o, 0);
    }
    .checkboxComponent:not(.switch):checked,
    .radioComponent:not(.switch):checked {
        --o: 1;
    }
    .checkboxComponent+label,
    .radioComponent+label {
        font-size: 14px;
        line-height: 21px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        margin-left: 4px;
    }
    .checkboxComponent:not(.switch) {
        border-radius: 7px;
    }
    .checkboxComponent:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }
    .checkboxComponent:not(.switch):checked {
        --r: 43deg;
    }
    .checkboxComponent.switch {
        width: 38px;
        border-radius: 11px;
    }
    .checkboxComponent.switch:after {
        left: 2px;
        top: 2px;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        background: var(--ab, var(--border));
        transform: translateX(var(--x, 0));
    }
    .checkboxComponent.switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }
    .checkboxComponent.switch:disabled:not(:checked):after {
        opacity: 0.6;
    }
    .radioComponent {
        border-radius: 50%;
    }
    .radioComponent:after {
        width: 19px;
        height: 19px;
        border-radius: 50%;
        background: var(--active-inner);
        opacity: 0;
        transform: scale(var(--s, 0.7));
    }
    .radioComponent:checked {
        --s: .5;
    }
}