@font-face {
    font-family: garamond;
    src: url(/fonts/garamond.ttf);
}

@font-face {
    font-family: garamond;
    src: url(/fonts/garamond-italic.ttf);
    font-style: italic;
}

@font-face {
    font-family: Gluten;
    src: url(/fonts/Gluten-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: raleway;
    src: url(/fonts/raleway.ttf);
}

@font-face {
    font-family: raleway;
    src: url(/fonts/raleway-italic.ttf);
    font-style: italic;
}

@font-face {
    font-family: space-grotesk;
    src: url(/fonts/space-grotesk.ttf);
}

:root {
    --color-primary: #1b72e8;
    --color-primary-05: #1b72e880;
    --color-primary-2: #1e65c8;
    --color-primary-2-05: #1e65c880;
    --color-primary-3: #5388d3;
    --color-secondary: #f4f4f5;
    --color-secondary-1: #4f4f4f;
    --color-secondary-2: #eaeaea;
    --color-secondary-3: #d3d3d3;
    --color-secondary-4: #888888;
    --color-secondary-5: #fafafc;
    --color-secondary-6: #eeeeee;
    --color-secondary-7: #f7f8f9;
    --color-text: #202124;
    --color-placeholder: #5f6367;
    --color-danger: #dc2626;
    --color-danger-2: #c81e1e;
    --color-good: #3f9645;
    --color-lime: #32cd32;
    --color-selected: #cce7fe;
    --color-selected-1: #ee5f99;
    --color-selected-2: #fce5ef;
    --color-progress-even: #13cfe830;
    --color-progress-odd: #14b0c430;
    --color-completed-even: #28e81330;
    --color-completed-odd: #22bf1130;
    --color-canceled-even: #e8131330;
    --color-canceled-odd: #bf111130;
    --color-1: #92c47c;
    --color-2: #e06666;
    --color-3: #f6b26a;
    --color-4: #3841bd;
    --color-5: #bd38ab;
    font-size: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    letter-spacing: 0.04rem;
    line-height: 1.25em;
    transition: background-color 0.225s linear;
}

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 3 */
    -webkit-text-size-adjust: 100%; /* 3 */
}

html,
body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: space-grotesk;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    text-align: start;
    font-weight: 600;
    word-break: break-word;
    color: var(--color-text);
}

h1 {
    font-size: 20px;
    font-weight: 700;
}

h2 {
    font-size: 18px;
    font-weight: 700;
}

h3 {
    font-size: 16px;
    font-weight: 700;
}

h4 {
    font-size: 14px;
    font-weight: 700;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 10px;
}

span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    line-height: inherit;
}

strong {
    color: inherit;
    font-size: inherit;
    font-weight: 700;
    font-family: inherit;
    line-height: inherit;
}

textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

a,
p,
li,
textarea,
div {
    font-size: 14px;
    text-align: start;
    font-weight: 300;
    margin: 0;
    word-break: break-word;
    color: var(--color-text);
}

a {
    text-decoration: underline;
    font-weight: 500;
    color: var(--color-primary);
}

li {
    padding-left: 8px;
    counter-increment: item;
    position: relative;
}

ul li::before {
    content: "";
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    position: absolute;
    left: -8px;
    top: 8px;
    border-radius: 50%;
    background-color: currentColor;
}

ul {
    list-style: none;
    padding-left: 1.5em;
}

ol {
    padding-left: 1.5em;
}

ol:not(.ql-editor ol) {
    list-style: none;
    counter-reset: item;
}

ol li:not(.ql-editor ol li)::before {
    content: counter(item) ".";
    display: inline-block;
    font-weight: bold;
    position: absolute;
    left: -16px;
}

.gluten {
    font-family: Gluten;
}

i {
    line-height: 1.25em !important;
}

button,
.button {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    padding: 0.4em 0.8em;
    background-color: white;
    color: var(--color-primary);
    background-color: white;
    border: 1px solid var(--color-primary);
    max-width: 100%;
    white-space: nowrap;
}

.button.normal,
button.normal {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: white;
}

.button.danger,
button.danger {
    background-color: var(--color-danger);
    border: 1px solid var(--color-danger);
    color: white;
}

button:not([disabled]):hover,
.button:not([disabled]):hover {
    background-color: var(--color-primary-05);
    border: 1px solid var(--color-primary-05);
    color: white;
}

button.normal:not([disabled]):hover,
.button.normal:not([disabled]):hover {
    background-color: var(--color-primary-2);
    border: 1px solid var(--color-primary-2);
    color: white;
}

button.active,
.button.active {
    background-color: var(--color-primary);
    color: white;
}

button.active:not([disabled]):hover,
.button.active:not([disabled]):hover {
    background-color: var(--color-primary-2);
    border: 1px solid var(--color-primary-2);
}

button.danger:not([disabled]):hover,
.button.danger:not([disabled]):hover {
    background-color: var(--color-danger-2);
    border: 1px solid var(--color-danger-2);
}

button.action,
.button.action,
button.action:not([disabled]):hover,
.button.action:not([disabled]):hover {
    color: var(--color-primary);
    background-color: white;
    box-shadow: 0px 1px 3px 0px var(--color-secondary-4);
    border: none;
}

.button.action.danger,
button.action.danger,
button.action.danger:not([disabled]):hover,
.button.action.danger:not([disabled]):hover {
    color: var(--color-danger);
    border: 1px solid var(--color-danger);
}

.button.action.good,
button.action.good,
button.action.good:not([disabled]):hover,
.button.action.good:not([disabled]):hover {
    color: var(--color-good);
}

.button.action.good1,
button.action.good1,
button.action.good1:not([disabled]):hover,
.button.action.good1:not([disabled]):hover {
    color: var(--color-good);
    border: 1px solid var(--color-good);
}

button.action:not([disabled]):hover,
.button.action:not([disabled]):hover {
    background-color: var(--color-secondary);
}

button.back-button,
.button.back-button,
button.back-button:not([disabled]):hover,
.button.back-button:not([disabled]):hover {
    box-shadow: 0px 1px 3px 0px var(--color-secondary-4);
    background-color: white;
    color: var(--color-text);
    border: none;
}

button.back-button:not([disabled]):hover,
.button.back-button:not([disabled]):hover {
    background-color: var(--color-secondary);
}

button[disabled],
.button[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
}

button.text,
.button.text {
    background-color: unset;
    border: unset;
}

button.text.danger,
.button.text.danger {
    background-color: unset;
    border: unset;
    padding: 0;
    color: var(--color-danger);
}

button.text:not([disabled]):hover,
.button.text:not([disabled]):hover {
    background-color: unset;
    border: unset;
    padding: 0;
}

input,
select,
textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: var(--color-text);
    overflow: hidden;
    font-size: 14px;
    border-radius: 4px;
    padding: 0.5em 0.8em;
    font-weight: 400;
    border: none;
    box-shadow: 0px 0px 0px 1px var(--color-secondary-3);
    background-color: white;
    font-family: space-grotesk;
}

textarea {
    overflow: auto;
}

input.error,
select.error,
textarea.error {
    box-shadow: 0px 0px 0px 2px var(--color-danger);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0px 0px 0px 2px var(--color-primary);
}

input:focus.error,
select:focus.error,
textarea:focus.error {
    box-shadow: 0px 0px 0px 2px var(--color-danger);
}

textarea {
    resize: none;
}

input[type="color"] {
    padding: 0px;
}

input[type="color"]::-webkit-color-swatch {
    border-radius: 3px;
    border: none;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0px;
}

input[type="color"]:focus {
    outline: none;
}

.color-container {
    display: grid;
    grid-auto-rows: 4fr 1fr;
    justify-items: center;
    position: relative;
}

.color-container input {
    width: 100%;
    height: 100%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: none;
}

select {
    padding-right: 2.8em;
    cursor: pointer;
}

.select-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.select-container select {
    width: 100%;
}

.select-icon {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: var(--color-text);
}

.warning-icon {
    background-color: var(--color-secondary-4);
    color: yellow;
    border-radius: 50%;
    line-height: 1.2em;
    text-align: center;
    font-size: 0.8em;
    padding: 0.1em 0.2em;
}

.select-delete-icon {
    position: absolute;
    background-color: var(--color-secondary-4);
    border-radius: 50%;
    cursor: pointer;
    right: 35px;
    color: white;
    line-height: 1.2em;
    text-align: center;
    font-size: 0.8em;
    padding: 0em 0.2em;
}

.select-delete-icon:hover {
    background-color: var(--color-secondary-1);
}

/* select:invalid {
    font-style: italic;
    color: gray;
} */

select option[disabled] {
    display: none;
}

.textarea-container {
    display: flex;
    align-items: start;
    position: relative;
}

.textarea-container textarea {
    width: 100%;
    min-height: 180px;
}

.input-container {
    display: flex;
    align-items: center;
    position: relative;
}

.input-container input {
    width: 100%;
}

.input-container .floating-right {
    position: absolute;
    right: 10px;
    color: var(--color-placeholder);
    pointer-events: none;
}

.input-container .input-card {
    display: flex;
    align-items: center;
    position: absolute;
    border-radius: 4px;
    padding: 0.2em 0.2em;
    width: 100%;
    height: 100%;
}

.input-container .input-card > div {
    display: flex;
    align-items: center;
    background-color: var(--color-secondary);
    border-radius: 4px;
    padding: 0em 0.6em;
    width: 100%;
    height: 100%;
}

.input-container .suggestions {
    position: absolute;
    background-color: white;
    width: 100%;
    z-index: 11;
    bottom: 0px;
    translate: 0px 100%;
    border-radius: 3px;
    font-size: inherit;
    border: 1px solid var(--color-secondary-1);
    overflow: auto;
    max-height: 200px;
}

.input-container .suggestions .suggestion {
    font-size: inherit;
    padding: 0.3em 0.8em;
    cursor: pointer;
}

.input-container .suggestions .suggestion:not(:last-child) {
    border-bottom: 1px solid var(--color-secondary-3);
}

.input-container .suggestions .suggestion.highlighted {
    background-color: var(--color-primary);
    color: white;
}

.input-container .suggestions .suggestion * {
    color: inherit;
}

input[type="checkbox"],
input[type="radio"] {
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container,
.radio-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.radio-container {
    align-items: center;
}

.checkbox-container:hover .checkmark:after {
    transform: scale(1) rotate(45deg);
    opacity: 0.3;
}

.radio-container:hover .radiomark:after {
    transform: scale(1);
    opacity: 0.3;
}

.radio-container[disabled="true"],
.checkbox-container[disabled="true"] {
    opacity: 0.3;
    cursor: not-allowed;
}

.checkbox-container .checkmark,
.radio-container .radiomark {
    position: relative;
    height: 18px;
    width: 18px;
    border: 1px solid var(--color-text);
    background-color: white;
    flex-shrink: 0;
    border-radius: 2px;
}

.radio-container .radiomark {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark:after {
    transform: scale(1) rotate(45deg);
    opacity: 1;
}

.radio-container input[type="radio"]:checked ~ .radiomark:after {
    transform: scale(1);
    opacity: 1;
}

.checkbox-container .checkmark:after {
    content: "";
    opacity: 0;
    position: absolute;
    display: block;
    width: 5px;
    top: 0px;
    left: 4px;
    height: 10px;
    border: 1px solid var(--color-primary);
    border-width: 0 3px 3px 0;
    -webkit-transform: scale(0) rotate(45deg);
    -ms-transform: scale(0) rotate(45deg);
    transform: scale(0) rotate(45deg);
    transition: 250ms transform ease-in-out, 125ms opacity ease-in-out;
}

.radio-container .radiomark:after {
    content: "";
    opacity: 0;
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    background-color: var(--color-primary);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    transition: 250ms transform ease-in-out, 125ms opacity ease-in-out;
}

.placeholder {
    font-weight: 400;
    position: absolute;
    pointer-events: none;
    left: 0.8em;
    top: 0.5em;
    background-color: white;
    transition: 0.225s;
    color: var(--color-placeholder);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: calc(100% - 1.6em);
    z-index: 10;
}

input:focus + .placeholder,
select:focus + .placeholder,
textarea:focus + .placeholder,
.input-container.focus .placeholder,
.textarea-container.focus .placeholder,
input:not(:placeholder-shown) + .placeholder,
select.valid + .placeholder,
textarea:not(:placeholder-shown) + .placeholder,
.input-container.valid .placeholder,
.textarea-container.focus .placeholder {
    translate: 0em -1.1em;
    line-height: 0.7em;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 0.8em;
    color: var(--color-primary);
    font-weight: 600;
}

input.error + .placeholder,
select.error + .placeholder,
textarea.error + .placeholder,
.input-container.error .placeholder,
.textarea-container.error .placeholder,
input:not(:placeholder-shown).error + .placeholder,
select.valid.error + .placeholder,
textarea:not(:placeholder-shown).error + .placeholder,
.input-container.valid.error .placeholder,
.textarea-container.error .placeholder {
    color: var(--color-danger);
}

.dateinput {
    width: 100% !important;
    appearance: none !important;
    color: var(--color-text) !important;
    overflow: hidden !important;
    font-size: 14px !important;
    border-radius: 3px !important;
    padding: 0.3em 0.8em !important;
    font-weight: 400 !important;
    border: 1px solid var(--color-text) !important;
    background-color: white !important;
    font-family: space-grotesk !important;
    position: relative !important;
}

.std-calendar-wrap {
    position: absolute !important;
    z-index: 10000 !important;
}

.std-component-wrap {
    position: relative;
    width: 100%;
}

.dateinput:focus {
    outline: none !important;
    border: 1px solid var(--color-primary) !important;
}

header,
footer {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px;
}

header {
    border-bottom: 1px solid var(--color-secondary-3);
}

footer {
    border-top: 1px solid var(--color-secondary-3);
    padding-bottom: 32px;
}

header .logo {
    width: 100px;
    cursor: pointer;
}

header .logo-text {
    width: 175px;
    cursor: pointer;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    box-shadow: 0px 0px 16px 1px var(--color-secondary-4);
}

.icon {
    cursor: pointer;
    flex-shrink: 0;
    color: var(--color-secondary-1);
    transition: fill 0.225s linear, transform 0.225s linear;
}

.icon.add {
    color: var(--color-good);
}

.icon:hover,
.icon.active {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.icon.delete:hover {
    color: var(--color-danger);
}

.icon.modify {
    width: 20px;
    height: 20px;
}

.icon.modify:hover {
    transform: none;
    animation-name: rotate-back-forth-30;
    animation-duration: 0.225s;
    animation-iteration-count: 2;
}

.filter-container {
    display: flex;
    position: relative;
}

.filter-ribbon {
    position: absolute;
    right: -8px;
    top: -8px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px;
    width: 25px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: #0000006b;
    padding: 8px;
    animation: fade-in 0.225s;
}

.modal > div {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 3px;
    overflow: auto;
    margin-top: 32px;
    margin-bottom: 32px;
    animation: scale-in 0.225s;
    min-width: 100%;
}

.modal header {
    justify-content: space-between;
    width: unset;
}

.modal .modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
    gap: 16px;
}

.separator {
    height: 1px;
    width: 100%;
    border-bottom: 1px solid var(--color-secondary-3);
}

.separator-1 {
    height: 1px;
    width: 100%;
    border-bottom: 1px solid var(--color-secondary-4);
}

.add-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.add-more:hover {
    background-color: var(--color-secondary);
}

.color-primary {
    color: var(--color-primary);
}

.color-good {
    color: var(--color-good);
}

.color-lime {
    color: var(--color-lime);
}

.color-danger {
    color: var(--color-danger);
}

.color-transparent {
    color: transparent;
}

.color-4 {
    color: var(--color-4);
}

.color-5 {
    color: var(--color-5);
}

.bcwhite {
    background-color: white;
}

.bccolor-1 {
    background-color: var(--color-1);
}

.bccolor-2 {
    background-color: var(--color-2);
}

.bccolor-3 {
    background-color: var(--color-3);
}

.spinner-1 {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    color: var(--color-primary);
}
.spinner-1:before,
.spinner-1:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}
.spinner-1:after {
    color: var(--color-primary);
    transform: rotateY(70deg);
    animation-delay: 0.4s;
}

.card,
.card-1,
.card-2,
.card-3 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--color-secondary-1);
    border-radius: 4px;
}

.card-1 {
    padding: 8px;
}

.card-2 {
    padding: 16px;
}

.card-3 {
    padding: 16px;
    border: 1px solid var(--color-secondary-4);
}

.workbench {
    display: flex;
    width: 100%;
    flex-grow: 1;
}

.right-side {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 16px;
    padding: 16px;
}

.elements-grid {
    display: grid;
    gap: 1px;
    background-color: var(--color-secondary-3);
    border: 1px solid var(--color-secondary-3);
    overflow: auto;
    border-radius: 4px;
}

.elements-grid > .heading,
.elements-grid > .clickable-heading {
    display: flex;
    align-items: center;
    font-weight: 600;
    background-color: var(--color-primary-3);
    color: white;
    padding: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
}

.elements-grid.two > .heading,
.elements-grid.two > .clickable-heading {
    background-color: var(--color-secondary-4);
}

.elements-grid > .heading.not-printable,
.elements-grid > .clickable-heading.not-printable {
    background-color: var(--color-secondary-3);
}

.elements-grid > .heading p,
.elements-grid > .clickable-heading p {
    font-weight: 600;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
}

.elements-grid > .clickable-heading {
    cursor: pointer;
}

.elements-grid > .field,
.elements-grid > .clickable-field {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    height: 100%;
}

.elements-grid > .clickable-field {
    cursor: pointer;
}

.elements-grid > .field p,
.elements-grid > .clickable-field p {
    background-color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
}

.elements-grid > .field.even,
.elements-grid > .clickable-field.even,
.elements-grid > .field.even p,
.elements-grid > .clickable-field.even p {
    background-color: var(--color-secondary);
}

.elements-grid > .field.even1,
.elements-grid > .clickable-field.even1,
.elements-grid > .field.even1 p,
.elements-grid > .clickable-field.even1 p {
    background-color: #e1e1e1;
}

.elements-grid > .field.selected,
.elements-grid > .clickable-field.selected,
.elements-grid > .field.selected p,
.elements-grid > .clickable-field.selected p {
    background-color: var(--color-selected);
}

.elements-grid.infinite .heading {
    overflow: unset;
}

.elements-grid.infinite .clickable-heading {
    overflow: unset;
}

.elements-grid.infinite .field {
    overflow: unset;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.text-smaller-1,
.text-smaller-1 * {
    font-size: 13px;
}

.text-smaller-2,
.text-smaller-2 * {
    font-size: 12px;
}

.text-smaller-3,
.text-smaller-3 * {
    font-size: 11px;
}

.text-bigger-1,
.text-bigger-1 * {
    font-size: 15px;
}

.text-bigger-2,
.text-bigger-2 * {
    font-size: 16px;
}

.text-bigger-3,
.text-bigger-3 * {
    font-size: 17px;
}

.tiptap {
    width: 100%;
}

.tiptap:focus {
    outline: none;
}

.tiptap table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 2px solid #ced4da;
}
.tiptap td,
.tiptap th {
    min-width: 1em;
    border: 2px solid #ced4da;
    padding: 0px 5px;
    vertical-align: top;
    box-sizing: border-box;
    position: relative;
}

.tiptap th > * {
    margin-bottom: 0;
}

.tiptap th {
    font-weight: bold;
    text-align: left;
}

.tiptap table .selectedCell:after {
    z-index: 2;
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(200, 200, 255, 0.4);
    pointer-events: none;
}

.tiptap table .column-resize-handle {
    position: absolute;
    right: -2px;
    top: 0;
    bottom: -2px;
    width: 4px;
    background-color: #adf;
    pointer-events: none;
}

.tiptap table p {
    margin: 0;
}

.tiptap .tableWrapper {
    padding: 1rem 0;
    overflow-x: auto;
}

.resize-cursor {
    cursor: ew-resize;
    cursor: col-resize;
}

.wrapper-grid-editor {
    display: grid;
    grid-template-columns: 400px auto;
    gap: 24px;
    width: 100%;
    height: 100%;
}

.wrapper-grid-editor-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.wrapper-grid-editor-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    overflow: auto;
}

.sub-section-editor {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
    padding: 8px 0px 16px 0px;
    border-top: 1px solid var(--color-secondary-4);
    border-bottom: 1px solid var(--color-secondary-4);
}

.images-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.images-grid .image {
    position: relative;
}

.images-grid .image img {
    width: 100px;
    aspect-ratio: 1/1;
    object-fit: contain;
    cursor: pointer;
    border: 1px solid var(--color-secondary-4);
    border-radius: 4px;
}

.images-grid .image .delete {
    position: absolute;
    border-radius: 50%;
    padding: 0em 0.2em;
    background-color: var(--color-danger);
    color: white;
    right: 0px;
    top: 0px;
    cursor: pointer;
    translate: 50% -50%;
}

.images-grid .image .delete:hover {
    transform: none;
    animation-name: rotate-back-forth-30;
    animation-duration: 0.225s;
    animation-iteration-count: infinite;
}

table tr td,
table tr th {
    padding-top: inherit !important;
    height: inherit !important;
}

.borderless,
.borderless tr,
.borderless th,
.borderless td {
    border-color: transparent !important;
}

.border-dashed,
.border-dashed tr,
.border-dashed th,
.border-dashed td {
    border-style: dashed !important;
}

.shadowed-card {
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0px 0px 8px 1px var(--color-secondary-3);
}

.shadowed-card.selected {
    background-color: var(--color-selected);
}

.shadowed-card.selected1 {
    background-color: var(--color-selected-2);
}

.shadowed-card.selected1 * {
    color: var(--color-selected-1);
}

.list-card {
    display: flex;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.list-card:hover,
.list-card.selected {
    background-color: var(--color-secondary);
}

.country-card {
    display: flex;
    gap: 16px;
    border: 1px solid var(--color-secondary-3);
    border-radius: 8px;
    padding: 8px;
}

.secondary3 {
    background-color: var(--color-secondary-3) !important;
}

.secondary5 {
    background-color: var(--color-secondary-5) !important;
}

.secondary6 {
    background-color: var(--color-secondary-6) !important;
}

@keyframes spin {
    0%,
    100% {
        box-shadow: 8px 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: 8px 8px 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 8px 0 0px currentcolor;
    }
    37% {
        box-shadow: -8px 8px 0 0 currentcolor;
    }
    50% {
        box-shadow: -8px 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -8px -8px 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -8px 0 0 currentcolor;
    }
    87% {
        box-shadow: 8px -8px 0 0 currentcolor;
    }
}

@media (min-width: 576px) {
    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    h5 {
        font-size: 14px;
    }

    h6 {
        font-size: 12px;
    }

    p,
    li,
    a,
    textarea,
    div,
    button,
    .button,
    input,
    select,
    .input-container,
    .textarea-container {
        font-size: 16px;
    }

    .dateinput {
        font-size: 16px !important;
    }

    .modal > div {
        min-width: 576px;
        width: 576px;
    }

    .text-smaller-1,
    .text-smaller-1 * {
        font-size: 15px;
    }

    .text-smaller-2,
    .text-smaller-2 * {
        font-size: 14px;
    }

    .text-smaller-3,
    .text-smaller-3 * {
        font-size: 13px;
    }

    .text-bigger-1,
    .text-bigger-1 * {
        font-size: 17px;
    }

    .text-bigger-2,
    .text-bigger-2 * {
        font-size: 18px;
    }

    .text-bigger-3,
    .text-bigger-3 * {
        font-size: 19px;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    h6 {
        font-size: 14px;
    }

    p,
    li,
    a,
    button,
    .button,
    input,
    select,
    textarea,
    div,
    .input-container,
    .textarea-container {
        font-size: 18px;
    }

    .dateinput {
        font-size: 18px !important;
    }

    .modal > div {
        min-width: 576px;
        width: 576px;
    }

    .select-delete-icon {
        right: 40px;
    }

    .desk-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .text-smaller-1,
    .text-smaller-1 * {
        font-size: 17px;
    }

    .text-smaller-2,
    .text-smaller-2 * {
        font-size: 16px;
    }

    .text-smaller-3,
    .text-smaller-3 * {
        font-size: 15px;
    }

    .text-bigger-1,
    .text-bigger-1 * {
        font-size: 19px;
    }

    .text-bigger-2,
    .text-bigger-2 * {
        font-size: 20px;
    }

    .text-bigger-3,
    .text-bigger-3 * {
        font-size: 21px;
    }
}
