:root {
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-main: #060609;
    --color-light: #F2F3FB;
    --color-medium: #717171;
    --color-dark: #111111;
    --color-blue-1: #1337B5;
    --color-blue-2: #205AD7;
    --color-blue-3: #2C79F8;
    --color-grey: #D5D5D5;
    --color-green: #0E907E;
    --color-red: #F52E2E;
    --color-red-opaque: #F52E2E1A;
}

@font-face {
    font-family: 'Satoshi';
    font-weight: 300;
    font-display: swap;
    font-style: normal;
    src: url('../assets/fonts/Satoshi-Light.woff2') format('woff2'),
         url('../assets/fonts/Satoshi-Light.woff') format('woff'),
         url('../assets/fonts/Satoshi-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Satoshi';
    font-weight: 400;
    font-display: swap;
    font-style: normal;
    src: url('../assets/fonts/Satoshi-Regular.woff2') format('woff2'),
         url('../assets/fonts/Satoshi-Regular.woff') format('woff'),
         url('../assets/fonts/Satoshi-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Satoshi';
    font-weight: 500;
    font-display: swap;
    font-style: normal;
    src: url('../assets/fonts/Satoshi-Medium.woff2') format('woff2'),
         url('../assets/fonts/Satoshi-Medium.woff') format('woff'),
         url('../assets/fonts/Satoshi-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Satoshi';
    font-weight: 700;
    font-display: swap;
    font-style: normal;
    src: url('../assets/fonts/Satoshi-Bold.woff2') format('woff2'),
         url('../assets/fonts/Satoshi-Bold.woff') format('woff'),
         url('../assets/fonts/Satoshi-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Satoshi';
    font-weight: 900;
    font-display: swap;
    font-style: normal;
    src: url('../assets/fonts/Satoshi-Black.woff2') format('woff2'),
         url('../assets/fonts/Satoshi-Black.woff') format('woff'),
         url('../assets/fonts/Satoshi-Black.ttf') format('truetype');
}



/* --------------------------------------General------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    color: var(--color-main);
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
}

.site-wrapper {
    display: grid;
    grid-template-columns: 220px 1fr;
    width: 100%;
    height: 100vh;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #A8A9A880;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #A8A9A8;
    border-radius: 3px;
}



/* -------------------------------------Lat Bar------------------------------------- */
.lat-bar {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    flex-direction: column;
    height: 100vh;
    background-color: var(--color-main);
    color: var(--color-white);
    transition: width 0.45s;
    box-shadow: 1px 0 2px #00162430;
}

.lat-bar__user {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 20px 10px;
    min-width: 220px;
}

.lat-bar__user button {
    position: absolute;
    display: none;
    top: 50%;
    right: 30px;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-white);
    font-size: 1.6em;
    translate: 0 -50%;
    cursor: pointer;
}

.lat-bar__user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 0 0 0 10px;
}

.lat-bar__user-info h3 {
    font-size: 13px;
    font-weight: 700;
}

.lat-bar__user-info h4 {
    color: var(--color-white);
    font-size: 11px;
    font-weight: 500;
    line-height: 12.5px;
}

.lat-bar__user-logo {
    display: block;
    width: 60px;
    height: 60px;
    background-color: var(--color-white);
    border: 2px solid var(--color-dark);
    border-radius: 50%;
}

.lat-bar__links {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.lat-bar__links::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.lat-bar__links::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.lat-bar__links::-webkit-scrollbar-thumb {
    background: var(--color-white);
    border-radius: 3px;
}

.lat-bar__links span {
    display: block;
    padding: 10px 20px;
    width: 100%;
    color: var(--color-white);
    text-align: left;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
}

#log-out-btn,
.lat-bar__links a {
    flex-shrink: 0;
    display: block;
    padding: 12px 20px 12px 30px;
    width: 100%;
    height: 45px;
    min-width: 220px;
    background-color: transparent;
    outline: none;
    border: none;
    border-radius: 5px;
    color: var(--color-white);
    text-align: left;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

#log-out-btn:hover,
.lat-bar__links a:hover,
.lat-bar__links a.current {
    background-color: var(--color-blue-2);
}

/* .lat-bar__links a:hover:not(.current) {
    color: #3e87fc;
} */

.lat-bar__links i {
    font-size: 15px;
    width: 30px;
}


.lat-bar__collapsible {
    display: flex;
    flex-direction: column;
    height: 45px;
    transition: height 0.3s ease;
    overflow: hidden;
}

.lat-bar__collapsible button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    width: 100%;
    height: 45px;
    min-width: 220px;
    background-color: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    text-align: left;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
}

.lat-bar__collapsible button:after {
    content: '+';
    float: right;
    margin-left: 5px;
    color: var(--color-white);
    font-size: 17px;
}

.lat-bar__collapsible button:hover,
.lat-bar__collapsible button.active {
    background-color: #FFFFFF40;
}

.lat-bar__logo {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 30px 20px 15px 20px;
    color: var(--color-grey);
    font-size: 0.8em;
}

.lat-bar__logo img {
    display: block;
    height: 16px;
    object-fit: contain;
}



/* ------------------------------------CMS Content----------------------------------- */

/* Main Areas */
.content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    grid-template-rows: 75px 1fr;
    gap: 20px;
    padding: 20px;
    height: 100vh;
}

.content-area.vault,
.content-area.media {
    grid-template-rows: 95px 1fr;
    gap: 0;
}

.content-area.dash {
    grid-template-rows: 1fr;
}

.content-scroll {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 75px 1fr;
    gap: 20px;
    padding: 20px 0;
    height: 100vh;
    overflow: hidden;
}

.content-scroll .header {
    grid-column: 1 / 2;
    margin: 0 20px;
    width: calc(100% - 40px);
}

.header,
.section {
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border: 1px solid #D5D5D5;
    border-radius: 20px;
}

/* Header */
.header {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    grid-auto-flow: column;
    height: 75px;
}

.header.inner-page {
    grid-template-columns: 60px 1fr;
}

.header > *:not(:last-child) {
    border-right: 1px solid var(--color-grey);
}

.header__title {
    display: flex;
    align-items: center;
    padding: 0 10px 0 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header h1 {
    display: block;
    width: 100%;
    text-overflow: ellipsis;
    font-size: 1.5em;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

.header h1.wrap {
    text-overflow: unset;
    white-space: unset;
    overflow: unset;
}

.header .back {
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    border-right: 1px solid #D5D5D5;
    font-size: 1.6em;
    cursor: pointer;
}

.header__search-cont {
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

.header__search-bar {
    display: grid;
    grid-template-columns: 1fr 45px;
    align-items: center;
    margin: auto 0;
    width: 300px;
    height: 50px;
    background-color: var(--color-light);
    border-radius: 12px;
}

.header__search-bar input {
    display: block;
    padding: 0 20px;
    width: 100%;
    height: 45px;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-medium);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
}

.header__search-bar button {
    display: block;
    margin: 0;
    width: 45px;
    height: 45px;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-medium);
    font-size: 18px;
    transition: color 0.25s;
    cursor: pointer;
}

.header__search-bar button:hover {
    color: var(--color-blue-2);
}

.header__btn {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0 1rem;
}

.header__btn button {
    width: 100%;
}

/* Sections */
.section {
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px 10px 15px 0;
    overflow: hidden;
}

.section.full-width {
    grid-column: 1 / 3;
}

.section.full-height {
    grid-row: 1 / 3;
}

.section.main {
    grid-column: 1 / 2;
}

.section.aside {
    grid-column: 2 / 3;
}

/* Scrollable Boxes */
.scroll-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}


/* Tables */
table {
    border-collapse: collapse;
    width: calc(100% - 60px);
    margin: 0 30px;
    text-align: center;
}

table .mob {
    display: none;
}

tr {
    height: 55px;
    border-bottom: 1px solid var(--color-light);
}

td, th {
    display: table-cell;
    vertical-align: inherit;
}

th {
    color: var(--color-main);
    font-weight: 700;
}

td {
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 500;
}

td.main {
    color: var(--color-main);
}


/* Buttons */
.btn-filled,
.btn-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 0 20px;
    height: 50px;
    min-width: 100px;
    outline: none;
    border: none;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-filled {
    background-color: var(--color-blue-2);
    color: var(--color-white);
}

.btn-border {
    background-color: var(--color-light);
    border: 2px solid var(--color-blue-2);
    color: var(--color-blue-2);
}

.btn-empty {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin: auto;
    padding: 0 0.5rem;
    height: 35px;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-blue-2);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

#open-nav {
    display: none;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-blue-2);
    cursor: pointer;
}

#open-nav i {
    font-size: 20px;
}

.mod-wrapper {
    display: grid;
    grid-template-rows: 55px;
    grid-auto-columns: 50px;
    grid-auto-flow: column;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
    width: max-content;
    height: 55px;
}

.mod {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 5px;
    color: var(--color-blue-2);
    text-decoration: none;
    font-family: 'Satoshi', sans-serif;
    font-size: 9px;
    font-weight: 500;
    cursor: pointer;
}

.mod.red {
    color: var(--color-red);
}

.mod.green {
    color: var(--color-green);
}

.mod i {
    font-size: 17px;
}


/* Pagination */
.pagination {
    display: block;
    width: 100%;
    padding: 0.5rem;
}

.pagination ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 35px;
}

.pagination li {
    list-style-type: none;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    color: var(--color-medium);
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
}

.pagination a.active {
    background-color: var(--color-blue-2);
    color: var(--color-white);
}


/* Loader */
.loader__modal {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    padding: 0 0 0 220px;
    width: 100%;
    height: 100vh;
    background-color: #0016240C;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.loader__cont {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 200px;
    overflow: hidden;
    background: transparent;
}

.loader__cont span {
    position: absolute;
    display: block;
    left: 50%;
    bottom: 2rem;
    color: #A8A9A8;
    text-align: center;
    font-size: 1.1em;
    translate: -50%;
}

.loader {
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0;
}

.loader div {
    box-sizing: content-box;
    position: absolute;
    border-width: 4px;
    border-style: solid;
    opacity: 1;
    border-radius: 50%;
    animation: loader-animation 1.1363636363636365s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader div:nth-child(1) {
    border-color: #A8A9A8;
    animation-delay: 0s;
}

.loader div:nth-child(2) {
    border-color: #0D0D13;
    animation-delay: -0.5681818181818182s;
}

#loader-text {
    animation: loader-text 1.1363636363636365s ease-in-out infinite alternate;
}


/* File Uploader */
.upd__container {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    transition: height 0.3s;
}

.upd__container.collapsed {
    height: 0;
}

.upd__container.expanded {
    height: 320px;
}

.upd__container > div {
    display: block;
    padding-top: 20px;
    width: 100%;
    height: 100%;
}

.upload {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border: 1px solid #D5D5D5;
    border-radius: 20px;
    overflow: hidden;
}

.upload input[type=file] {
    display: none;
}

.upd__content {
    display: block;
    padding: 15px;
    width: 100%;
    height: 100%;
}

.upd__area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--color-medium);
    border-radius: 12px;
    color: var(--color-main);
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.upd__area h3 {
    max-width: 170px;
    color: inherit;
    text-align: center;
    font-size: 1.05em;
    line-height: 1.4em;
}

.upd__area #files-btn {
    display: block;
    margin: 15px 0 10px 0;
    width: 260px;
    height: 40px;
    background-color: var(--color-main);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    transition: opacity 0.2s;
    cursor: pointer;
}

.upd__area #upload-cancel {
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-main);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.2s;
    cursor: pointer;
}

.upd__area.active {
    background-color: #F4F4F5;
    border: 2px dashed var(--color-blue-2);
    color: var(--color-blue-2);
}

.upd__area.active * {
    pointer-events: none;
}

.upd__area.active button {
    opacity: 0.6;
}

.upd__area.uploading #files-btn,
.upd__area.uploading #upload-cancel {
    display: none;
}

.upd__files {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px 20px 30px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.upd__files-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upd__files-header button {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
    padding: 10px;
    background-color: var(--color-blue-light);
    outline: none;
    border: none;
    border-radius: 10px;
    color: var(--color-blue-2);
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
}

.upd__files-header button.appear {
    opacity: 1;
    pointer-events: all;
}

.upd__files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 65px;
    gap: 15px;
    padding-right: 10px;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.upd__files-grid div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 15px;
    padding: 5px 10px;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    /* border: 1px solid var(--color-medium); */
    border-radius: 10px;
}

.upd__files-grid i {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--color-main);
    font-size: 25px;
}

.upd__files-grid p {
    width: 100%;
    text-overflow: ellipsis;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}

.upd__files-grid span {
    color: var(--color-blue-1);
    font-size: 12px;
}

.upd__files-grid span.success {
    color: var(--color-green);
}

.upd__files-grid span.failure {
    color: var(--color-red);
}



/* ---------------------------------Multisection Form-------------------------------- */

.multisection-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-right: 7px;
    padding: 0 7px 0 20px;
    width: calc(100% - 7px);
    height: 100%;
    overflow-y: scroll;
}

.multisection-form section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50px auto;
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-grey);
    border-radius: 20px;
}

.multisection-form > button {
    flex-shrink: 0;
    display: none;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.ms-form__header {
    display: grid;
    grid-template-columns: 90px 1fr 90px;
    align-items: center;
    padding: 0 35px;
    border-bottom: 1px solid var(--color-grey);
}

.ms-form__header h2 {
    grid-column: 2 / 3;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.ms-form__header button {
    grid-column: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-blue-2);
    font-weight: 700;
    cursor: pointer;
}

.ms-form__header button.second {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

/* Input containers */
.ms-form__inputs {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 25px;
    row-gap: 10px;
    margin: 0 auto;
    padding: 15px 15px 25px 30px;
    max-width: 1000px;
    width: 100%;
}

.ms-form__dynamic-rows {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    margin: 0 auto;
    padding: 15px 15px 25px 30px;
    max-width: 1000px;
    width: 100%;
}

.ms-form__media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(auto, 235px));
    gap: 25px;
    padding: 10px 30px 25px 30px;
}

/* Inputs */
.multisection-form label {
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    width: 100%;
    height: 50px;
    color: var(--color-main);
    font-size: 15px;
    font-weight: 500;
}

.multisection-form label span {
    font-size: 12px;
    color: var(--color-medium);
}

.multisection-form input,
.multisection-form select,
.multisection-form textarea {
    display: block;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-blue-1);
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.multisection-form textarea {
    padding: 20px;
    height: 110px;
    resize: none;
}

.multisection-form select:has(option:disabled:checked) {
    color: #1337B580;
}

.multisection-form option:not(:disabled) {
    color: var(--color-blue-1);
}

.radio-btn {
    display: grid;
    grid-template-columns: 21px 1fr;
    column-gap: 20px;
    align-items: center;
    width: 100%;
    margin: 5px 0;
}

.radio-btn input[type=checkbox] {
    align-self: center;
    margin: 15px 15px 15px 0;
    width: 16px;
    aspect-ratio: 1;
    font-size: 21px;
    cursor: pointer;
}

.radio-btn input[type=text] {
    height: 28px;
}

.radio-btn label {
    width: max-content;
    color: var(--color-dark);
    margin: 0;
    align-self: center;
    cursor: pointer;
}

.img-input {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    width: 100%;
    max-width: 235px;
}

.img-input input {
    display: none;
}

.img-input div {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--color-grey);
    border-radius: 12px;
    overflow: hidden;
}

.img-input.empty div {
    border: 2px dotted var(--color-blue-2);
}

.img-input img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-input.empty img {
    display: none;
}

.img-input button {
    margin: 0;
    width: 100%;
}

.img-input button.delete {
    position: absolute;
    display: block;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background-color: #06060980;
    outline: none;
    border: none;
    border-radius: 5px;
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
}

.ms-form__dynamic-input {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    grid-template-rows: 50px;
    column-gap: 15px;
    width: 100%;
}

.ms-form__dynamic-input:first-child {
    grid-template-columns: 100px 1fr;
}

.ms-form__dynamic-input .delete {
    display: block;
    width: 100%;
    height: 50px;
    background-color: var(--color-red-opaque);
    outline: none;
    border: 2px solid var(--color-red);
    border-radius: 12px;
    color: var(--color-red);
    text-align: center;
    text-decoration: none;
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ms-form__dynamic-input .delete span {
    display: inline;
}

.ms-form__dynamic-input .delete i {
    display: none;
}

.ms-form__pdf {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.ms-form__pdf input {
    display: none;
}

.ms-form__pdf embed {
    max-width: 1000px;
    background-color: var(--color-light);
    border-radius: 12px;
}

/* Custom */
.coupon__type-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
}

.coupon__type-inputs fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    outline: none;
    border: none;
}

.coupon__radio-input {
    display: grid;
    grid-template-columns: 20px auto;
    column-gap: 10px;
    align-items: center;
    width: 100%;
    height: 100%;
}

.coupon__radio-input label {
    flex-direction: row;
    align-items: center;
    justify-content: start;
    font-weight: 400;
}

.store__banner-select {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
}

.store__banner-select div {
    display: block;
    width: 100%;
    height: 220px;
    background-color: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
}

.store__banner-select img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store__banner-select img.hidden {
    display: none;
}

.store__banner-select button {
    margin: 0;
}

.ms-form__dynamic-input.variant {
    grid-template-columns: 100px 3fr 1fr 100px;
}

.ms-form__dynamic-input.variant:first-child {
    grid-template-columns: 100px 3fr 1fr;
}



/* -----------------------------------Modal Gallery---------------------------------- */

.mod-gallery__overlay {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 100vh;
    background-color:  #0D0D147F;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}


.modal-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr min-content;
    flex-direction: column;
    width: 90%;
    height: 90%;
    background: var(--color-white);
    border-radius: 12px;
}

.mod-gallery__header {
    display: flex;
    justify-content: center;
    padding: 20px 20px;
    width: 100%;
    border-bottom: 1px solid var(--color-grey);
}

.mod-gallery__header h3 {
    font-size: 1.25em;
}

.mod-gallery__imgs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    gap: 15px;
    padding: 15px;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.mod-gallery__item {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--color-light);
    border: 1px solid var(--color-grey);
    border-radius: 12px;
    color: var(--color-contrast);
    overflow: hidden;
    cursor: pointer;
}

.mod-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mod-gallery__item video {
    width: 100%;
    height: 100%;
}

.mod-gallery__icon {
    position: absolute;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 7px;
    width: 100%;
    height: 100%;
    transition: background-color 0.25s;
}

.mod-gallery__icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--color-white);
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.25s;
}

.mod-gallery__icon i:first-child {
    margin-top: auto;
    background-color: #060609A0;
    border-radius: 5px;
}

.mod-gallery__icon i:last-child {
    margin: 0;
    padding-top: 2px;
    background-color: var(--color-white);
    border: 1px solid var(--color-medium);
    border-radius: 14px;
}

.mod-gallery__item:hover:not(.selected)
.mod-gallery__icon {
    background-color: #06060920;
}

.mod-gallery__item:hover i {
    opacity: 1;
}

.mod-gallery__item.selected i:last-child {
    color: var(--color-blue-2);
    opacity: 1;
}

.mod-gallery__btns {
    display: flex;
    justify-content: end;
    gap: 20px;
    padding: 10px 15px;
    width: 100%;
    height: max-content;
    border-top: 1px solid var(--color-grey);
}

.mod-gallery__btns button {
    margin: 0;
    width: 150px;
    text-transform: none;
}

.mod-gallery__btns button:disabled {
    opacity: 0.6;
}



/* -----------------------------------Public Views----------------------------------- */

.public-view {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 45px;
    align-items: center;
    justify-items: center;
    row-gap: 2rem;
    min-height: 100vh;
    padding: 1.5rem;
    background-color: var(--color-main);
}

.public__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    background-color: var(--color-white);
    border-radius: 12px;
}

.public__form img {
    display: block;
    margin-bottom: 2rem;
    width: 100px;
    aspect-ratio: 1 / 1;
    border-radius: 50px;
    object-fit: cover;
}

.public__form h2 {
    text-align: center;
}

.public__form input {
    display: block;
    margin: 10px auto 20px auto;
    height: 45px;
    width: 100%;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 5px;
    color: var(--color-blue-2);
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

.public__form label {
    margin-top: 10px;
    color: var(--color-medium);
}

.public__form a {
    color: var(--color-medium);
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    margin: 20px auto auto auto;
}

.public__atlantian {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: var(--color-grey);
    font-size: 0.8em;
}

.public__atlantian img {
    display: block;
    height: 18px;
    object-fit: contain;
}



/* ---------------------------------------Views-------------------------------------- */


/* ---------------Dashboard--------------- */

.content-area.dash .section {
    grid-row: unset;
}

/* Main */
.dash__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1rem 1rem 0 2rem;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.dash__title {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 2rem;
}

.dash__title #open-nav {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-light);
    border-radius: 10px;
}

.dash__fofo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
    width: 100%;
    padding: 0;
}

.dash__fofo-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

.dash__fofo-item img {
    margin: auto 10px auto 0;
    width: 120px;
    height: min-content;
    aspect-ratio: 1 / 1;
}

.dash__fofo-item h4 {
    margin: auto auto 5px 0;
    color: var(--color-main);
    font-size: 1rem;
}

.dash__fofo-item p {
    margin: unset;
    color: var(--color-dark);
    font-size: .8rem;
}

.dash__fofo-item a {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    width: max-content;
    background-color: var(--color-blue-2);
    border-radius: 5px;
    color: var(--color-white);
    text-decoration: none;
    font-size: .75rem;
}

.dash__fofo-item i {
    font-size: 0.8em;
}

.btn-promo {
    width: 100%;
    height: 55px;
    background-color: var(--color-blue-2);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin: auto 0 0 0;
    border-radius: 10px;
    text-decoration: none;
}

/* Aside */
.dash__aside {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 55px;
    row-gap: 10px;
    width: 100%;
    height: 100%;
}

.dash__aside-img {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    border: 1px solid var(--color-medium);
    border-radius: 10px;
    overflow: hidden;
}

.dash__aside-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* -------------Contact forms------------- */
.form-row button {
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
}

.form-row .content {
    display: none;
}

.modal.contact-forms {
    max-width: 800px;
}

.modal__contact-form {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 2rem;
    row-gap: 1rem;
    width: 100%;
    color: var(--color-main);
    font-size: 15px;
    line-height: 1.3em;
}

.modal__contact-form span {
    font-weight: 700;
}


/* -----------------Media----------------- */

/* Actions */
.media__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
}

.media__actions-btn {
    display: none;
    padding-right: 15px;
}

.media__actions-btn button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    width: 45px;
    height: 45px;
    background-color: var(--color-blue-2);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-white);
    font-size: 8px;
}

.media__actions-btn button i {
    font-size: 15px;
}

/* File filter */
.media__filter {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 15px 30px 15px;
    width: calc(100% - 30px);
    height: 45px;
    background: var(--color-light);
    border-radius: 12px;
}

.media__filter span {
    margin-right: 10px;
    padding: 0 20px;
    color: var(--color-dark);
}

.media__filter-btn {
    display: block;
    padding: 12px 0;
    width: 120px;
    height: 45px;
    border: none;
    outline: none;
    background: none;
    color: var(--color-dark);
    font-weight: 500;
    transition: color 0.25s;
}

.media__filter-btn i {
    display: none;
}

.media__filter-btn:hover {
    color: var(--color-blue-2);
    cursor: pointer;
}

.media__filter-btn.selected {
    border-bottom: 2px solid var(--color-blue-2);
    color: #000;
}

/* Gallery */
.media__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    row-gap: 15px;
    column-gap: 15px;
    margin-bottom: 10px;
    padding: 0 15px;
    width: 100%;
}

.media__gallery-item {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--color-light);
    border: 1px solid var(--color-grey);
    border-radius: 12px;
    overflow: hidden;
}

.media__gallery-item img,
.media__gallery-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.media__item-hover {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    left: 0;
    z-index: 40;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    background-color: #06060972;
    opacity: 0;
    transition: opacity 0.3s;
}

.media__gallery-item:hover .media__item-hover {
    opacity: 1;
}

.media__item-hover p {
    display: block;
    padding: 14px 10px 10px 45px;
    width: 100%;
    height: 40px;
    color: var(--color-white);
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

.media__item-btns {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-left: auto;
    padding: 10px;
}

.media__item-btns button {
    display: block;
    width: 30px;
    height: 30px;
    background: #060609B0;
    outline: none;
    border: none;
    border-radius: 3px;
    color: var(--color-white);
    font-size: 16px;
    cursor: pointer;
}

.media__icon {
    position: absolute;
    display: flex;
    bottom: 7px;
    left: 7px;
    z-index: 50;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 3px;
    color: var(--color-white);
    font-size: 18px;
}

/* Modal */
.media.modal {
    max-width: 900px;
}

.media__modal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    width: 100%;
    height: 55vh;
}

.media__modal-viewer {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.media__modal-viewer img,
.media__modal-viewer video {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}

.media__modal-inputs {
    display: flex;
    flex-direction: column;

}

.media__modal-inputs label {
    display: block;
    margin-bottom: 7px;
    padding-left: 10px;
    color: var(--color-medium);
    font-size: 14px;
    font-weight: 500;
}

.media__modal-inputs input {
    display: block;
    margin-bottom: 1rem;
    padding: 0 1rem;
    width: 100%;
    height: 40px;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 10px;
    color: var(--color-blue-1);
    font-size: 15px;
    font-weight: 500;
}

.media__modal-name {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 0.8rem;
    color: var(--color-main);
}

.media__modal-name label {
    grid-column: 1 / 3;
}

.media__modal-name span {
    margin-bottom: 1rem;
}

.media__modal-btns {
    display: flex;
    margin: auto 0 0 auto;
    gap: 10px;
}

.media__modal-btns button {
    height: 45px;
    padding: 0 3rem;
}


/* --------------Mailing-------------- */

#email-body {
    display: block;
    width: 100%;
    height: 100%;
    color: #060609;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    overflow-y: scroll;
}

/* General */
.mail__editor-title {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    column-gap: 7px;
    margin-bottom: 1.5rem;
    width: 100%;
}

.mail__editor-title h2 {
    color: var(--color-main);
    font-size: 1.45em;
    font-weight: 700;
}

.mail__editor-title a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    color: var(--color-main);
    text-decoration: none;
    font-size: 1.35em;
}

.mail__editor {
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    width: 100%;
    height: 100%;
    color: var(--color-medium);
    font-size: 12px;
    font-weight: 500;
    overflow-y: scroll;
}

.mail__editor > * {
    flex-shrink: 0;
}

.mail__editor h3 {
    margin: 0 0 0.6rem 0;
    color: var(--color-medium);
}

.mail__editor > span,
.mail__editor > label {
    display: block;
    margin: 20px 0 5px 0;
}

.mail__editor input[type=text] {
    height: 32px;
    padding: 7px;
    outline: none;
    color: var(--color-medium);
    font-family: inherit;
    font-weight: 500;
    font-size: 13px;
    line-height: 1em;
}

.mail__editor input:disabled,
.mail__editor input::placeholder {
    color: #666666A0;
}

.mail__editor textarea {
    display: block;
    width: 100%;
    height: 85px;
    padding: 5px;
    outline: none;
    overflow: hidden;
    color: var(--color-dark);
    font-family: inherit;
    font-size: 12px;
    line-height: 15px;
    resize: none;
}

.mail__editor .filled-cont {
    background: var(--color-light);
    outline: none;
    border: none;
    border-radius: 5px;
}

#mail-preview-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 60px;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    border-right: 1px solid var(--color-grey);
    color: var(--color-blue-2);
    cursor: pointer;
    font-size: 10px;
}

#mail-preview-btn i {
    font-size: 20px;
}

/* Sections */
.mail__editor-section {
    padding: 15px 10px;
    color: var(--color-medium);
}

.mail__editor-section input[type=file] {
    display: none;
}

.mail__editor-btns {
    display: flex;
    width: 100%;
    margin-top: 16px;
    gap: 2vw;
}

.mail__editor-btns .filled {
    display: inline-block;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    background: var(--color-blue-2);
    border: none;
    outline: none;
    border-radius: 4px;
    color: var(--color-white);
    font-size: 15px;
    cursor: pointer;
}

.mail__editor-btns .empty {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    outline: none;
    color: var(--color-blue-2);
    font-size: 18px;
    cursor: pointer;
}

.mail__editor-url {
    display: none;
    width: 100%;
    margin-top: 20px;
    gap: 7px;
}

.mail__editor-url input[type=text] {
    display: block;
    width: 100%;
    height: 35px;
    border: 1px solid var(--color-medium);
    border-radius: 5px;
    font-size: 13px;
    line-height: 14px;
}

.mail__editor-url button {
    flex-shrink: 0;
    display: block;
    padding: 0;
    width: 35px;
    height: 35px;
    background-color: var(--color-blue-2);
    outline: none;
    border: none;
    border-radius: 5px;
    color: var(--color-white);
    cursor: pointer;
}

/* Color Pickers */
.mail__editor-bkg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    border-left: 1px solid var(--color-medium);
}

.mail__editor-style input[type=color],
.mail__editor-bkg input[type=color] {
    width: 10px;
    background: none;
    border: none;
    outline: none;
}

.mail__editor-style label,
.mail__editor-bkg label {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: #000;
    border: 1px solid var(--color-medium);
    border-radius: 50%;
    box-shadow: 0 0 1px 5px var(--color-light);
}

.mail__color-wrapper {
    display: flex;
    position: relative;
    z-index: 5;
    width: 45px;
    justify-content: center;
}

.mail__color-wrapper input[type=color] {
    display: block;
    width: 10px;
    height: 35px;
    background: none;
    border: none;
}

.mail__color-input {
    display: flex;
    position: absolute;
    width: 45px;
    height: 35px;
    top: 0;
    left: 0;
    z-index: 10;
    align-items: center;
    justify-content: center;
}

.mail__color-label {
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-medium);
    border-radius: 50%;
}

/* Text Styles */
.mail__editor-styles {
    display: flex;
    width: 100%;
    margin-top: 5px;
    background: var(--color-light);
    border-radius: 5px;
}

.mail__editor-style {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    border-color: var(--color-medium);
}

.mail__editor-styles .left {
    flex-grow: 1;
}

.mail__editor-styles .center {
    flex-grow: 1;
    border-left: 1px solid var(--color-grey);
    border-right:  1px solid var(--color-grey);
}

.mail__editor-styles .right {
    flex-grow: 2;
}

.mail__editor-styles button {
    display: block;
    width: 35px;
    height: 35px;
    margin: 0 auto;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--color-medium);
}

.mail__editor-styles button:hover,
.mail__editor-styles button.selected {
    color: var(--color-main);
}


/* Submit Options */
.mail__send-opt {
    display: block;
    margin: 18px 0;
    padding-left: 12px;
    user-select: none;
}

.mail__send-opt .radio-btn {
    column-gap: 10px;
    margin: 10px 0;
    height: 30px;
}

.mail__send-opt select {
    height: 32px;
    padding: 7px;
    outline: none;
    color: var(--color-dark);
    font-family: inherit;
    font-weight: 500;
    font-size: 13px;
    line-height: 1em;
}

.mail__send-opt .radio-btn input {
    margin: 0;
}

.mail__send-opt .radio-btn label {
    color: #000;
}

.mail__send-opt a {
    text-transform: none;
    margin-top: 15px;
}

.mail__editor-end {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0 10px 0;
}

.mail__editor-end button {
    width: 100%;
    font-size: 15px;
}

.mail__editor-sm .radio-btn {
    margin: 10px 0;
    height: 35px;
}

.mail__editor-sm .radio-btn input[type=checkbox] {
    margin: 0;
}


/* -----------Shop Products----------- */

#pro-img-upload {
    display: none;
}


/* Shop Transaction Detail */

.transaction {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: max-content;
    gap: 20px;
    margin-right: 7px;
    padding: 0 7px 0 20px;
    width: calc(100% - 7px);
    height: 100%;
    overflow-y: scroll;
}

.transaction section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50px auto;
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-grey);
    border-radius: 20px;
}

.transaction section.full {
    grid-column: 1 / 3;
}

.trans__header {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--color-grey);
    text-align: center;
}

.trans__header h3 {
    font-size: 16px;
    font-weight: 700;
}

.trans__rows {
    display: flex;
    flex-direction: column;
    padding: 5px 25px 15px 25px;
}

.trans__rows div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
}

.trans__rows div:not(:last-child) {
    border-bottom: 1px solid #D5D5D580;
}

.trans__rows p {
    font-size: 14px;
    font-weight: 400;
}

.trans__rows b {
    font-size: 14px;
    font-weight: 600;
}

.trans__rows a {
    color: var(--color-blue-2);
    text-decoration: underline;
    font-size: 14px;
    font-weight: 400;
}


/* Gallery Collections */
.gallery__collection-h3 {
    margin: 10px 0 25px 0;
    padding: 0 15px;
    color: var(--color-main);
    font-size: 1.12em;
}

.gallery__collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    row-gap: 15px;
    column-gap: 15px;
    margin-bottom: 10px;
    padding: 0 15px;
    width: 100%;
}

.gallery__collection p {
    grid-column: 1 / -1;
    margin: 1.2rem 0;
    width: 100%;
    text-align: center;
    font-size: 1.1em;
}

.gallery__collection-item {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--color-light);
    border: 1px solid var(--color-grey);
    border-radius: 12px;
    overflow: hidden;
}

.gallery__collection-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery-mob-btn {
    display: none;
    flex-shrink: 0;
    margin: auto auto 0 auto;
    width: 235px;
}


/* ------------------Blog------------------ */

/* Editor */
.blog__editor-cont {
    padding: 10px 20px 30px 20px;
    align-items: center;
}

.blog__editor {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content 45px min-content auto;
    width: 100%;
    height: 100%;
    max-width: 900px;
    overflow: hidden;
}

.blog__editor label {
    margin: 30px 0 7px 0;
    padding-left: 10px;
    color: var(--color-medium);
    font-weight: 700;
    font-size: 13.5px;
}

.blog__editor input,
.blog__editor select {
    display: block;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-main);
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.blog__editor > button {
    display: none;
    margin-top: 20px;
    width: 100%;
}

.blog__editor #mob-keywords,
.blog__editor #language-mob {
    display: none;
}

.blog__editor-content { 
    display: block;
    overflow: hidden;
    padding: 15px 10px 15px 20px;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    border-radius: 12px;
}

.blog__editor-quill {
    display: block;
    padding-right: 10px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.blog__editor-quill :focus-visible {
    outline: none;
}

.blog__editor-quill h2 {
    margin-bottom: 1rem;
}

.blog__editor-quill * + h2 {
    margin-top: 0.75rem;
}

.blog__editor-quill h3 {
    margin-bottom: 0.55rem;
}

.blog__editor-quill * + h3 {
    margin-top: 0.33rem;
}

.blog__editor-quill h4,
.blog__editor-quill h5,
.blog__editor-quill ol,
.blog__editor-quill p {
    margin-bottom: 7px;
}

.blog__editor-quill ol {
    padding-left: 40px;
}

.blog__editor-quill a {
    color: var(--color-blue-1);
    text-decoration: underline;
}

.blog__editor-quill img {
    display: block;
    margin: 40px auto;
    width: max-content;
    max-width: 100%;
    max-height: 350px;
    border-radius: 10px;
    object-fit: contain;
    cursor: pointer;
}

/* Quill Classes */
.ql-editor {
    position: relative;
}

.ql-editor.ql-blank::before {
    position: absolute;
    content: "Empieza a escribir...";
    top: 0;
    left: 0;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
    pointer-events: none;
}

.ql-align-right {
    text-align: right;
}

.ql-align-center {
    text-align: center;
}

.ql-align-justify {
    text-align: justify;
}

.ql-indent-1 {
    padding-left: 2rem;
}

.ql-indent-2 {
    padding-left: 4rem;
}

.ql-indent-3 {
    padding-left: 6rem;
}

li[data-list=bullet] {
    list-style-type: disc;
}

li.ql-indent-1 {
    margin-left: 2rem;
    padding-left: 0;
    list-style-type: lower-alpha;
}

li.ql-indent-2 {
    margin-left: 4rem;
    padding-left: 0;
    list-style-type: lower-roman;
}

li.ql-indent-3 {
    margin-left: 6rem;
    padding-left: 0;
    list-style-type: decimal;
}

li[data-list=bullet].ql-indent-1 {
    margin-left: 2rem;
    padding-left: 0;
    list-style-type: circle;
}

li[data-list=bullet].ql-indent-2 {
    margin-left: 4rem;
    padding-left: 0;
    list-style-type: square;
}

li[data-list=bullet].ql-indent-3 {
    margin-left: 6rem;
    padding-left: 0;
    list-style-type: disc;
}

/* Styling Tools */
.blog__tools {
    display: flex;
    flex-direction: column;
    padding: 30px 15px 10px 15px;
    width: 100%;
    height: 100%;
    color: var(--color-medium);
    font-size: 13.5px;
    font-weight: 500;
    overflow-y: auto;
}

.blog__tools > span {
    margin-bottom: 5px;
    padding-left: 10px;
    font-weight: 700;
}

.blog__tools p {
    margin-bottom: 20px;
    padding-left: 10px;
}

.blog__tools textarea {
    flex-shrink: 0;
    display: block;
    margin-bottom: 30px;
    padding: 10px 15px;
    width: 100%;
    height: 110px;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-blue-1);
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    resize: none;
}

.blog__tools select {
    flex-shrink: 0;
    display: block;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-blue-1);
    font-family: inherit;
    font-size: 14px;
}

.blog__tools-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 30px;
    width: 100%;
    height: 45px;
    background-color: var(--color-light);
    border-radius: 12px;
}

.blog__tools-btns {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.blog__tools-btns button {
    display: block;
    padding: 4px 0 0 0;
    width: 40px;
    height: 40px;
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
}

.blog__tools-btns button.selected {
    color: var(--color-blue-1);
    font-size: 1.1em;
    font-weight: 700;
}

.blog__tools-link {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 45px;
    grid-auto-rows: 45px;
    column-gap: 10px;
    row-gap: 7px;
    margin-bottom: 40px;
}

.blog__tools-link input {
    display: block;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-blue-1);
    font-family: inherit;
    font-size: 14px;
}

.blog__tools-link input.full {
    grid-column: 1 / 3;
}

.blog__tools-link button {
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-blue-2);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-white);
    font-size: 1.2em;
    cursor: pointer;
}

.blog__tools-link span {
    position: absolute;
    display: none;
    left: 5px;
    bottom: -5px;
    width: 100%;
    font-size: 12px;
    translate: 0 100%;
}

.blog__tools-link.no-selection span {
    display: block;
}

.blog__tools-media {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.blog__tools-media input[type=file] {
    display: none;
}

.blog__media-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    width: 100%;
    height: 45px;
}

.blog__media-btns button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    border: 1px solid var(--color-blue-2);
    outline: none;
    border-radius: 12px;
    color: var(--color-blue-2);
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
}

.blog__tools-media .blog__tools-link {
    margin-bottom: 5px;
}

/* Mobile Tools */
.blog__mob-tools {
    position: relative;
    display: none;
    padding: 0 15px;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
}

.blog__mob-tools .swiper {
    width: 100%;
    height: 100%;
}

.blog__mob-tools .swiper-slide {
    display: flex;
    align-items: center;
    width: max-content;
}

.blog__mob-btn {
    display: block;
    width: 45px;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-dark);
    font-size: 1.15em;
}

.blog__mob-btn.selected {
    color: var(--color-blue-1);
    font-size: 1.17em;
    font-weight: 700;
}

.blog__mob-tools .spacer {
    display: block;
    width: 1px;
    height: 100%;
    background-color: var(--color-dark);
    opacity: 0.4;
}

/* Modal */
.modal.blog {
    max-width: 450px;
}

.blog__modal {
    display: flex;
    flex-direction: column;
}

.blog__modal label {
    margin-bottom: 5px;
    padding-left: 10px;
    color: var(--color-medium);
    font-weight: 700;
}

.blog__modal input {
    display: block;
    margin-bottom: 15px;
    padding: 0 20px;
    width: 100%;
    height: 45px;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-blue-1);
    font-family: inherit;
    font-size: 14px;
}

.blog__modal button {
    margin-top: 20px;
}

.blog__modal-tools {
    display: flex;
    flex-direction: column;
}

.blog__modal-tools span {
    margin-bottom: 5px;
    padding-left: 10px;
    color: var(--color-medium);
    font-weight: 700;
}

.blog__modal-tools p {
    margin-bottom: 25px;
    padding-left: 10px;
}

.blog__modal-tools .blog__tools-link {
    margin-bottom: 10px;
}

.blog__modal-tools .blog__tools-media {
    margin-bottom: 0;
}



/* ---------------------------------------Vault-------------------------------------- */

.vault__drive-size {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: var(--color-blue-2);
    font-weight: 700;
    line-height: 1.4em;
}

.vault__new-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: -2px;
    bottom: -8px;
    width: 200px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 0 12px #00000040;
    translate: 0 100%;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.3s;
}

.vault__new-menu button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    height: 60px;
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
}

.vault__new-menu i {
    font-size: 1.1em;
}

.vault__new-menu span {
    padding: 0;
    color: var(--color-main);
    font-size: 1.05em;
    font-weight: 400;
}

.vault__new-menu div {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #D5D5D5;
}

.vault__folder {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-main);
}

.vault__folder i {
    font-size: 1.3em;
}

/* .vault__folder span {
    text-decoration: underline;
} */

.vault__mob-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: -2px;
    bottom: -15px;
    width: 150px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 0 12px #00000040;
    translate: 0 100%;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.3s;
}

.vault__mob-menu button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    height: 45px;
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 0.9em;
    cursor: pointer;
}

.vault__mob-menu i {
    font-size: 1.1em;
}

.vault__mob-menu span {
    padding: 0;
    color: var(--color-main);
    font-size: 1.05em;
    font-weight: 400;
}

.vault__mob-menu div {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #D5D5D5;
}

/* Modal */
.vault__modal-cont {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    padding: 0 0 0 220px;
    width: 100%;
    height: 100vh;
    background-color: #0D0D147F;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.vault__modal {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    background-color: var(--color-white);
    border-radius: 12px;
}

.vault__modal h3 {
    display: block;
    padding: 20px 0;
    width: 100%;
    border-bottom: 1px solid #D5D5D5;
    text-align: center;
    font-size: 1.25em;
}

.vault__modal input {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    width: calc(100% - 60px);
    height: 50px;
    background-color: #F2F3FB;
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-main);
    text-align: center;
    font-size: 16px;
}

.vault__modal input::placeholder {
    color: #0D0D1380;
}

.vault__modal p {
    display: block;
    width: 100%;
    margin: 30px 0;
    padding: 0 20px;
    text-align: center;
    line-height: 1.3em;
    overflow-wrap: break-word;
}

.vault__modal .exit {
    position: absolute;
    display: block;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
}

.vault__modal-btns {
    display: flex;
    gap: 15px;
    margin: 0 30px 30px 30px;
}

.vault__modal-btns button {
    width: 180px;
}

/* Drag 'n Drop */
.vault__drag-drop-cont {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    transition: height 0.3s;
}

.vault__drag-drop-cont.collapsed {
    height: 0;
}

.vault__drag-drop-cont.expanded {
    height: 320px;
}

.vault__drag-drop-cont > div {
    display: block;
    padding-top: 20px;
    width: 100%;
    height: 100%;
}

.vault__drag-drop {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border: 1px solid #D5D5D5;
    border-radius: 20px;
    overflow: hidden;
}

.vault__drag-drop input[type=file] {
    display: none;
}

.vault__drop-cont {
    display: block;
    padding: 15px;
    width: 100%;
    height: 100%;
}

.vault__drop-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--color-medium);
    border-radius: 12px;
    color: var(--color-main);
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.vault__drop-area h3 {
    max-width: 170px;
    text-align: center;
    line-height: 1.4em;
    color: inherit;
}

.vault__drop-area #btn-files {
    display: block;
    margin: 15px 0 10px 0;
    width: 260px;
    height: 40px;
    background-color: var(--color-main);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    transition: opacity 0.2s;
    cursor: pointer;
}

.vault__drop-area #drop-cancel {
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-main);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.2s;
    cursor: pointer;
}

.vault__drop-area.active {
    background-color: var(--color-light);
    border: 2px dashed var(--color-blue-2);
    color: var(--color-blue-2);
}

.vault__drop-area.active button {
    opacity: 0.6;
}

.vault__drop-area.active * {
    pointer-events: none;
}

.vault__drop-area.uploading #btn-files,
.vault__drop-area.uploading #drop-cancel {
    display: none;
}

.vaut__upload {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px 20px 30px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vault__upload-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vault__upload-header button {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
    padding: 10px;
    background-color: var(--color-blue-light);
    outline: none;
    border: none;
    border-radius: 10px;
    color: var(--color-contrast);
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
}

.vault__upload-header button.appear {
    opacity: 1;
    pointer-events: all;
}

.vault__upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 65px;
    gap: 15px;
    padding-right: 10px;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.vault__upload-grid div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto min-content;
    flex-direction: column;
    justify-content: space-between;
    column-gap: 15px;
    padding: 10px;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    border: 1px solid var(--color-medium);
    border-radius: 10px;
}

.vault__upload-grid i {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--color-main);
    font-size: 25px;
}

.vault__upload-grid p {
    width: 100%;
    text-overflow: ellipsis;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}

.vault__upload-grid span {
    color: var(--color-contrast);
    font-size: 12px;
}

.vault__upload-grid span.success {
    color: var(--pass);
}

.vault__upload-grid span.failure {
    color: var(--alert);
}

/* Action menu */
.vault__action-menu {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
}

.vault__action-dropdown {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 0;
    bottom: -8px;
    z-index: 1;
    width: 140px;
    background-color: var(--color-white);
    border: 1px solid #D5D5D5;
    border-radius: 10px;
    box-shadow: 0 0 12px #00000040;
    opacity: 0;
    translate: 0 100%;
    transition: opacity 0.2s;
    pointer-events: none;
}

.vault__action-dropdown.visible {
    opacity: 1;
    pointer-events: all;
}

.vault__action-dropdown.up {
    top: -8px;
    bottom: unset;
    translate: 0 -100%;
}

.vault__action-dropdown button {
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
    padding: 10px 20px;
    column-gap: 8px;
    background-color: transparent;
    outline: none;
    border: none;
    border-bottom: 1px solid #D5D5D5;
    text-align: start;
    transition: background-color 0.2s;
    cursor: pointer;
}

.vault__action-dropdown button:hover {
    background-color: var(--color-light);
}

.vault__action-dropdown button:last-child {
    border-bottom: none;
}

/* Versions */
.vault__versions-cont {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 13, 20, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.vault__versions {
    position: relative;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: min-content 1px auto;
    width: 100%;
    height: calc(100vh - 130px);
    max-width: 700px;
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
}

.vault__versions hr {
    color: var(--color-dark);
}

.vault__versions-section {
    display: flex;
    flex-direction: column;
    padding: 15px 20px 30px 20px;
    overflow: hidden;
}

.vault__versions-title {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.vault__versions-title h3 {
    color: var(--color-blue-2);
    font-size: 1.55em;
}

.vault__versions-title button {
    display: block;
    width: 25px;
    height: 25px;
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.vault__versions-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 30px 0 25px 0;
    font-size: 1.1em;
}

.vault__versions-input {
    display: grid;
    grid-template-columns: 1fr 120px;
    column-gap: 15px;
    row-gap: 7px;
}

.vault__versions-input span {
    grid-column: 1 / 3;
    padding-left: 10px;
    color: var(--color-dark);
}

.vault__versions-input input {
    display: none;
}

.vault__versions-input label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    height: 40px;
    background-color: var(--color-light);
    border-radius: 12px;
    font-size: 1.07em;
}

.vault__versions-input button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    height: 40px;
    background-color: var(--color-blue-2);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-white);
    font-size: 1.1em;
    cursor: pointer;
}

.vault__versions-input button:disabled {
    opacity: 0.6;
}

.vault__versions-scroll {
    display: block;
    padding-right: 20px;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.vault__versions-file {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 5px;
    padding: 8px 0;
    border-bottom: 1px solid #B2B2B2;
}

.vault__versions-file h4 {
    font-size: 1em;
}

.vault__versions-file span {
    color: var(--color-medium);
    font-weight: 500;
}

.vault__versions-btns {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vault__versions-btns a,
.vault__versions-btns button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    outline: none;
    border: none;
    border-radius: 10px;
    font-size: 1.3em;
    cursor: pointer;
}

.vault__versions-btns a {
    background-color: #205AD71A;
    border: 1.5px solid var(--color-blue-2);
    color: var(--color-blue-2);
}

.vault__versions-btns button {
    background-color: #F52E2E1A;
    border: 1.5px solid var(--color-red);
    color: var(--color-red);
}

/* User Permissions */
.vault__permissions {
    display: block;
    width: 100%;
    height: 100%;
}

.vault__permission-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.vault__permission-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    width: max-content;
    height: 45px;
    background-color: var(--color-red-opaque);
    border-radius: 7px;
    color: var(--color-red);
    font-size: 1.06em;
    font-weight: 700;
    transition: background-color 0.25s, color 0.25s;
    cursor: pointer;
}

.vault__permission-check:has(input:checked) {
    background-color: var(--color-light);
    color: var(--color-blue-2);
}

.vault__permission-check input {
    position: absolute;
    z-index: -1;
}

.vault__permission-check i {
    display: block;
    width: 14px;
    color: inherit;
    text-align: center;
    font-size: 1.1em;
}

.vault__permission-check .fa-check {
    display: none;
}

.vault__permission-check:has(input:checked) .fa-check {
    display: block;
}

.vault__permission-check:has(input:checked) .fa-xmark {
    display: none;
}

.vault__permission-check span {
    color: inherit;
}

#permission-mob-btn {
    display: none;
    margin: auto auto 0 auto;
    width: 235px;
}



/* --------------------------------------Modals-------------------------------------- */

.modal__overlay {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 500;
    padding: 2rem;
    width: 100%;
    height: 100vh;
    background-color: #0D0D147F;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;    
}


.modal {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
}

.modal__header {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: min-content auto;
    padding: 20px 20px;
    width: 100%;
    border-bottom: 1px solid var(--color-grey);
}

.modal__header h3 {
    grid-column: 2 / 3;
    text-align: center;
    font-size: 1.25em;
}

.modal__header button {
    grid-column: 3 / 4;
    justify-self: end;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-medium);
    font-size: 1.3em;
    cursor: pointer;
}

.modal__content {
    display: block;
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal__scroll {
    display: flex;
    flex-direction: column;
    padding-right: 1.5rem;
    width: 100%;
    height: 100%;
    max-height: 60vh;
    overflow-y: auto;
}



/* ---------------------------------------404--------------------------------------- */

.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 2rem;
    margin: 0;
    padding: 4rem 2rem;
    width: 100%;
    min-height: 100vh;
    background: #0D0D13;
}

.not-found img {
    display: block;
    height: 250px;
    object-fit: contain;
}

.not-found h1 {
    margin: 4rem 0 2rem 0;
    max-width: 730px;
    color: var(--color-white);
    text-align: center;
    font-size: 2.15em;
    line-height: 1.65em;
}

.not-found span {
    margin: 0;
    width: 100%;
    max-width: 730px;
    color: var(--color-white);
    text-align: start;
    font-size: 1.15em;
}

.not-found div {
    display: flex;
    justify-content: end;
    width: 100%;
    max-width: 730px;
}

.not-found a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 1rem 0 0 auto;
    padding: 0 1.8rem;
    height: 48px;
    background-color: var(--color-blue-2);
    outline: none;
    border: none;
    border-radius: 24px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.05em;
}



/* --------------------------------------Special------------------------------------- */

.hidden {
    display: none;
}

.visible {
    opacity: 1;
    pointer-events: all;
}

.align-left {
    text-align: left;
}



/* ------------------------------------Responsive------------------------------------ */

/* Mobile Action Bar */
.mob__items {
    display: none;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 0 20px 1rem 20px;
    width: 100%;
}

.mob__search-bar {
    display: grid;
    grid-template-columns: 1fr 45px;
    align-items: center;
    margin: auto 0;
    width: 100%;
    max-width: 300px;
    height: 50px;
    background-color: var(--color-blue-light);
    border-radius: 12px;
}

.mob__search-bar input {
    display: block;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-dark);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
}

.mob__search-bar button {
    display: block;
    margin: 0;
    width: 50px;
    height: 50px;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-dark);
    font-size: 18px;
    transition: color 0.25s;
    cursor: pointer;
}

.mob__search-bar button:hover {
    color: var(--color-blue-2);
}

.mob__right-items {
    position: relative;
    display: flex;
    gap: 5px;
    height: 50px;
}

.mob__right-items a,
.mob__right-items button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-blue-light);
    outline: none;
    border: none;
    /* border: 1px solid var(--color-blue-2); */
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-blue-2);
    font-size: 9px;
    font-weight: 500;
    cursor: pointer;
}

.mob__right-items a.hidden,
.mob__right-items button.hidden {
    display: none;
}

.mob__right-items a i,
.mob__right-items button i {
    font-size: 17px;
}

.mob__right-items .empty {
    background-color: var(--color-blue-light);
    border: 1px solid var(--color-blue-2);
    color: var(--color-blue-2);
}

.mob__right-items .filled {
    background-color: var(--color-blue-2);
    border: none;
    color: var(--color-white);
}

/* Mobile Table Collapsibles */
table .mob__tr {
    height: max-content;
    border-bottom: none;
}

.mob__row-collap {
    display: block;
    height: 0;
    transition: height 0.3s;
    overflow: hidden;
}

.mob__row-info {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-auto-rows: 55px;
    align-items: center;
    justify-items: start;
    column-gap: 45px;
    padding: 0 15px 15px 15px;
    width: 100%;
    height: max-content;
    font-size: 13px;
}

.mob__row-info > span {
    color: var(--color-medium);
    font-weight: 700;
}

.mob__row-info > p {
    color: var(--color-dark);
    font-size: 13px;
}

.mob__row-info .mod-wrapper {
    margin: 0;
}

.mob__detail-btn {
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 1.6em;
    cursor: pointer;
}


/* Media Queries */

@media screen and (max-width: 1200px) {
    /* CMS Content */
    .header__search-bar {
        width: 220px;
    }
    .dash__main {
        padding: 1rem 1rem 2rem 1.5rem;
    }
    .dash__fofo-item {
        flex-direction: column;
        align-items: start;
        max-width: 200px;
    }
    .dash__fofo-grid {
        justify-items: center;
        column-gap: 20px;
    }
}

@media screen and (max-width: 1000px) {
    /* General */
    .site-wrapper {
        grid-template-columns: 1fr;
    }
    .loader__modal {
        padding: 0;
    }
    /* Header */
    .header .desk {
        display: none;
    }
    .header__search-bar {
        width: 100%;
        max-width: 220px;
    }
    /* Lat Bar */
    .lat-bar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50;
        width: 0;
        height: 100vh;
        overflow: hidden;
    }
    .lat-bar__user {
        padding: 20px 80px 20px 20px;
    }
    .lat-bar__user button {
        display: block;
    }
    .lat-bar__user-info {
        flex-shrink: 0;
        width: 140px;
    }
    #open-nav {
        display: flex;
    }
    /* Tables */
    table .desk {
        display: none;
    }
    table .mob {
        display: table-cell;
    }
    tr {
        border-bottom: none;
    }
    tr:not(.mob__tr) {
        border-top: 1px solid var(--color-light);
    }
    tr:first-child {
        border-top: none;
    }
    tr .name,
    tr > :first-child {
        padding-left: 15px;
        text-align: start;
    }
    td {
        font-size: 14px;
    }
    /* Multisection Form */
    .multisection-form > button {
        display: flex;
    }
    /* Media */
    .media__actions-btn {
        display: block;
    }
    /* Gallery */
    #gallery-mob-btn {
        display: inline-flex;
    }
    /* Mailing */
    .mail__editor-end {
        display: grid;
    }
    /* Blog */
    .blog__editor {
        grid-template-rows: min-content 45px min-content auto min-content;
    }
    .blog__editor > button {
        display: inline-flex;
    }
    /* Mobile */
    .mob__items {
        display: grid;
    }
    /* Vault */
    .vault__drive-size {
        font-size: 16px;
    }
    .vault__modal-cont {
        padding: 0 15px 0 15px;
    }
    #permission-mob-btn {
        display: inline-flex;
    }
    /* 404 */
    .not-found img {
        height: 150px;
    }
}

@media screen and (max-width: 760px) {
    /* General */
    .content-area {
        padding: 15px;
    }
    .content-area.vault {
        grid-template-rows: 90px 1fr;
    }
    /* Table */
    table {
        margin: 0 10px 0 20px;
        width: calc(100% - 30px);
    }
    table .tablet {
        display: none;
    }
    .mob__row-info {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .mob__row-info > span {
        margin-bottom: 5px;
    }
    .mob__row-info > p {
        margin-bottom: 25px;
    }
    /* Dashboard */
    .content-area.dash {
        display: flex;
        flex-direction: column;
        height: max-content;

    }
    /* Media */
    .media__filter span {
        margin-right: 0;
        padding: 0 15px;
    }
    .media__filter-btn {
        width: 55px;
        font-size: 1.15em;
    }
    .media__filter-btn span {
        display: none;
    }
    .media__filter-btn i {
        display: inline;
    }
    .media__item-btns button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    /* Mailing */
    .mail__editor-btns {
        justify-content: space-between;
    }
    #mail-preview {
        position: absolute;
        left: 15px;
        top: 105px;
        z-index: 500;
        width: calc(100% - 30px);
        height: calc(100vh - 120px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s;
    }
    #mail-preview.visible {
        opacity: 1;
        pointer-events: all;
    }
    #mail-editor {
        grid-column: 1 / 3;
    }
    #mail-preview-btn {
        display: flex;
    }
    /* Store */
    .store__banner-select {
        align-items: center;
    }
    /* Blog */
    #blog-tools {
        display: none;
    }
    .blog__editor-cont {
        grid-column: 1 / 3;
        padding: 20px 20px 30px 20px;
    }
    .blog__editor {
        grid-template-rows: repeat(4, 45px) auto 50px;
        row-gap: 10px;
        padding-right: 10px;
        overflow-y: scroll;
    }
    .blog__editor label {
        display: none;
    }
    .blog__mob-tools {
        display: block;
    }
    .blog__editor > button {
        margin-top: 10px;
    }
    .blog__editor #mob-keywords,
    .blog__editor #language-mob {
        display: block;
    }
    .blog__editor-content {
        height: 62vh;
    }
    .ql-editor.ql-blank::before {
        font-style: normal;
    }
    /* Multisection Form */
    .multisection-form label {
        padding-left: 10px;
        height: auto;
    }
    .ms-form__inputs {
        grid-template-columns: 1fr;
        row-gap: 7px;
        padding: 15px 20px 25px 20px;
    }
    .ms-form__inputs input,
    .ms-form__inputs select,
    .ms-form__inputs textarea {
        margin-bottom: 8px;
    }
    .ms-form__dynamic-rows {
        padding: 15px 20px 25px 20px;
    }
    .ms-form__dynamic-input,
    .ms-form__dynamic-input.variant {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
        row-gap: 7px;
        margin-bottom: 8px;
    }
    .ms-form__dynamic-input label {
        grid-column: 1 / -1;
    }
    .ms-form__dynamic-input:first-child,
    .ms-form__dynamic-input.variant:first-child {
        grid-template-columns: 1fr;
    }
    .ms-form__dynamic-input .delete {
        width: 50px;
        font-size: 1.25em;
    }
    .ms-form__dynamic-input .delete span {
        display: none;
    }
    .ms-form__dynamic-input .delete i {
        display: inline;
    }
    .ms-form__dynamic-input.variant input[type=text] {
        grid-column: 1 / 3;
    }
    .ms-form__dynamic-input.variant:first-child input {
        grid-column: 1 / 2;
    }
    .ms-form__media {
        justify-content: center;
    }
    /* Coupon */
    .coupon__type-inputs {
        grid-template-columns: 1fr;
    }
    .coupon__radio-input label {
        padding-left: 0;
        height: 50px;
    }
    /* Mobile */
    .mob__items {
        padding: 0 0 1rem 10px;
    }
    /* Vault */
    .vault__drive-size {
        font-size: 15px;
    }
    .vault__permission-check {
        flex-direction: column;
        justify-content: center;
        padding: 0;
        gap: 4px;
        width: 50px;
        height: 50px;
        font-size: 9px;
    }
    .vault__permission-check i {
        font-size: 17px;
    }
    /* 404 */
    .not-found h1 {
        font-size: 1.75em;
        line-height: 1.45em;
    }
}

@media screen and (max-width: 480px) {
    /* General */
    .public__form {
        padding: 40px 20px;
    }
    .header.inner-page {
        grid-template-columns: 50px 1fr;
    }
    .header .back {
        font-size: 1.4em;
    }
    .header__title {
        padding: 0 10px 0 12px;
    }
    .header__title h1 {
        font-size: 1.3em;
    }
    .lat-bar__links {
        padding: 0 2rem;
    }
    .mob__search-bar input {
        padding: 10px;
    }
    .mob__search-bar button {
        width: 40px;
    }
    .mob__row-info > .mod,
    .mob__row-info > form {
        margin-bottom: 15px;
    }
    /* Multisection Form */
    .ms-form__header {
        grid-template-columns: 50px 1fr 50px;
    }
    .ms-form__header:has(button) {
        padding: 12px 20px 10px 20px;
        height: auto;
    }
    .ms-form__header button {
        flex-direction: column-reverse;
        gap: 5px;
        font-size: 9px;
    }
    .ms-form__header button i {
        font-size: 14px;
    }
    /* Dashboard */
    .dash__main {
        padding: 1rem 1rem 2rem 1rem;
    }
    .dash__title h1 {
        font-size: 1.6em;
    }
    .dash__fofo-grid {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    .dash__fofo-item {
        flex-direction: row;
        align-items: center;
        max-width: unset;
    }
    /* Modal */
    .modal__contact-form {
        grid-template-columns: 1fr;
        row-gap: 7px;
    }
    .modal__contact-form p {
        margin-bottom: 12px;
    }
    /* Vault */
    .vault__folder {
        width: 250px;
        overflow: hidden;
    }
    .vault__folder span {
        display: block;
        width: 100%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    /* 404 */
    .not-found img {
        width: 100%;
        height: unset;
    }
}

/* IPhone SE */
@media screen and (max-width: 376px) and (max-height: 668px) {}



/* -----------------------------------Animations----------------------------------- */

@keyframes loader-animation {
    0% {
        top: 96px;
        left: 96px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 78px;
        left: 78px;
        width: 36px;
        height: 36px;
        opacity: 0;
    }
}

@keyframes loader-text {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}