: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: 40px;
    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: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    column-gap: 5px;
    padding: 0 20px 0 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 i {
    font-size: 18px;
    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-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);
}

.content-dash {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content;
    overflow: auto;
    grid-auto-rows: auto;
    column-gap: 30px;
    row-gap: 20px;
    padding: 20px;
    width: 100%;
    height: 100vh;
}

.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 .icon-btn {
    align-self: center;
    display: block;
    width: 60px;
    height: 60px;
    background-color: transparent;
    outline: none;
    border: none;
    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%;
}

.header__date-search {
    display: grid;
    grid-template-columns: 280px 50px;
    grid-template-rows: 50px;
    align-content: center;
    padding: 0 20px;
    gap: 20px;
}

.header__date-search .mod {
    border-radius: 12px;
}

.header__date-values {
    display: grid;
    grid-template-columns: 1fr 45px;
    align-items: center;
    margin: auto 0;
    width: 100%;
    height: 50px;
    background-color: var(--color-light);
    border-radius: 12px;
}

.header__date-values input {
    display: block;
    padding: 0 15px;
    width: 100%;
    height: 50px;
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-blue-1);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
}

.header__date-values 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__date-values button:hover {
    color: var(--color-blue-2);
}

/* 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 tr {
    height: 55px;
    border-bottom: 1px solid var(--color-light);
}

table .mob {
    display: none;
}

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);
}


.invoice-table {
    width: calc(100% - 20px);
    margin: 0 10px;
}

.invoice-headers tr {
    height: 70px;
}


/* 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-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;
}

/* 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 a,
.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);
    text-decoration: none;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ms-form__header a i,
.ms-form__header button i {
    font-size: 1.2em;
}

.ms-form__header a.second,
.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;
}

.ms-form__table {
    padding: 10px 5px 30px 5px;
}

.ms-form__table input[type=file] {
    display: none;
}

/* 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 input:read-only,
.multisection-form textarea:read-only {
    cursor: default;
}

.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__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 :last-child {
    grid-column: 3 / 5;
}

.ms-form__inputs h3 {
    grid-column: 1 / -1;
    margin: 2rem 0 0.5rem 0;
    padding-bottom: 7px;
    border-bottom: 1px solid #71717130;
    color: var(--color-medium);
    font-size: 15px;
}



/* -----------------------------------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;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.mod-gallery__item video {
    width: 100%;
    height: 100%;
}

.mod-gallery__icon {
    position: absolute;
    display: flex;
    justify-content: end;
    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;
    background-color: var(--color-white);
    border: 1px solid var(--color-medium);
    border-radius: 14px;
    color: var(--color-white);
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.25s;
}

.mod-gallery__item:hover:not(.selected)
.mod-gallery__icon {
    background-color: #06060920;
}

.mod-gallery__item:hover i {
    opacity: 1;
}

.mod-gallery__item.selected i {
    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;
    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 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--------------- */

/* Main */
.dash__header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash__header h1 {
    font-size: 1.8em;
    font-weight: 700;
}

.dash__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash__item {
    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;
}

.dash__item-header {
    display: grid;
    grid-template-columns: 90px 1fr 90px;
    align-items: center;
    padding: 0 35px;
    border-bottom: 1px solid var(--color-grey);
}

.dash__item-header h2 {
    grid-column: 2 / 3;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.dash__item-header a,
.dash__item-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);
    text-decoration: none;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.dash__item-header a i,
.dash__item-header button i {
    font-size: 1.2em;
}

.dash__item-header a.second,
.dash__item-header button.second {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.dash__item-content {
    display: flex;
    justify-content: center;
    padding: 20px 15px;
}

/* Invoices */
.dash__invoices {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    padding: 10px 15px;
    width: 100%;
    max-width: 550px;
}

.dash__invoices-graph {
    display: inline-block;
    padding: 18%;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.dash__invoices-graph div {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-white);
    border-radius: 50%;
}

.dash__invoices p {
    margin-bottom: 10px;
}

.dash__invoices ul {
    padding-left: 30px;
}

.dash__invoices li {
    line-height: 1.8em;
}

.dash__invoices li::marker {
    color: var(--color-blue-2);
}

.dash__invoices span {
    font-weight: 700;
}


/* -------------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----------------- */

/* 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: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;
}

/* 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;
}

/* 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: grid;
    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;
}



/* ---------------------------------------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-contrast);
    color: var(--color-contrast);
}

.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);
}

/* 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;
}



/* --------------------------------------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;
}



/* ---------------------------------------Silsa-------------------------------------- */

/* Payment indicator */
.silsa__payment {
    display: grid;
    grid-template-columns: 30px 56px;
    grid-template-rows: 30px;
    column-gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.silsa__payment-graph {
    display: block;
    padding: 6px;
    width: 100%;
    height: 100%;
    /* background-image: conic-gradient(#205AD7 168deg, #D5D5D5 0); */
    border-radius: 15px;
}

.silsa__payment-graph div {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border-radius: 9px;
}

/* Table totals footer */
.silsa__totals {
    display: block;
    width: 100%;
    padding: 15px 30px 0 30px;
    max-width: 400px;
}

.silsa__totals div {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 12px;
    padding: 0 15px 15px 15px;
    border-bottom: 1px solid var(--color-light);
}

.silsa__totals p {
    font-weight: 700;
}

/* Order select */
.silsa__select {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    background-color: var(--color-light);
    border-radius: 12px;
    color: var(--color-blue-1);
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.silsa__select > span {
    cursor: default;
}

.silsa__select > i {
    font-size: 1.1em;
}

.silsa__select.empty > span {
    color: var(--color-medium);
}

.silsa__select-options {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50px 1fr;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: auto;
    max-height: 0px;
    background-color: var(--color-white);
    border-radius: 6px;
    color: var(--color-main);
    overflow: hidden;
    translate: 0 100%;
    transition: 0.3s max-height;
}

.silsa__select-options.open {
    max-height: 265px;
    border: 1px solid #11111160;
}

.silsa__options-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 0 2rem;
    border-bottom: 1px solid #11111160;
}

.silsa__options-header i {
    color: var(--color-medium);
}

.silsa__options-header input {
    padding: 0;
    background-color: transparent;
    color: var(--color-main);
}

.silsa__options-rows {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.silsa__options-rows::-webkit-scrollbar-track {
    background: #A8A9A830;
    border-radius: 0 0 3px 3px;
}

.silsa__options-rows span {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
    height: 35px;
    font-size: 13.5px;
    transition: 0.2s background-color;
    cursor: pointer;
}

.silsa__options-rows span:not(:last-child) {
    border-bottom: 1px solid var(--color-light);
}

.silsa__options-rows span:hover {
    background-color: var(--color-light);
}

.silsa__options-rows span.hidden {
    display: none;
}

/* Date Filter */
.silsa__date-filter {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0 0.5rem;
}

.silsa__date-filter form {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: -2px;
    bottom: -10px;
    width: 350px;
    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;
}

.silsa__date-filter .visible {
    opacity: 1;
    pointer-events: all;
}

.silsa__date-pop-up {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 40px 40px;
    column-gap: 1rem;
    row-gap: 0.5rem;
    padding: 12px;
}

.silsa__date-pop-up input {
    display: block;
    padding: 0 1rem;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 10px;
    color: var(--color-blue-1);
    font-family: 'Satoshi';
    font-size: 14px;
    font-weight: 500;
}

.silsa__date-pop-up button {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    display: block;
    width: 90px;
    height: 45px;
    background-color: var(--color-blue-2);
    outline: none;
    border: none;
    border-radius: 12px;
    color: var(--color-white);
    font-weight: 700;
    cursor: pointer;
}

/* Table input */
input.silsa__table-input {
    margin: auto;
    padding: 0 5px;
    width: 70px;
    height: 40px;
    text-align: center;

}

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

input.silsa__table-input[type=number] {
    -moz-appearance: textfield;
}

/* Invoice Modal */
.modal.invoice-modal {
    max-width: 900px;
    max-height: 66vh;
}

.silsa__invoice-modal {
    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;
}

.silsa__invoice-modal span {
    font-weight: 700;
}

/* Invoice cancelation pop-up */
.modal.cancelation {
    max-width: 600px;
}

.silsa__invoice-cancel {
    display: flex;
    flex-direction: column;
}

.silsa__invoice-cancel label {
    margin-bottom: 7px;
    padding-left: 10px;
    font-size: 16px;
    font-weight: 500;
}

.silsa__invoice-cancel input,
.silsa__invoice-cancel select {
    display: block;
    margin-bottom: 20px;
    padding: 0 20px;
    width: 100%;
    height: 40px;
    background-color: var(--color-light);
    outline: none;
    border: none;
    border-radius: 10px;
    color: var(--color-blue-1);
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.silsa__invoice-cancel #cfdi-input {
    display: flex;
    flex-direction: column;
}

.silsa__invoice-cancel-btns {
    display: flex;
    margin: 1rem 0 0 auto;
    gap: 1rem;
}

.silsa__invoice-cancel-btns button {
    height: 45px;
}

/* Payment Complement */
.ms-form__header.rel-inv {
    grid-template-columns: 150px 1fr 150px;
}

.ms-form__rel-inv {
    display: flex;
    justify-content: center;
    padding: 20px 20px 35px 20px;
}

.silsa__rel-inv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.silsa__rel-inv > p {
    padding-left: 20px;
    width: 100%;
    font-size: 1.1em;
}

.silsa__rel-inv > p span {
    font-weight: 600;
}

.silsa__rel-inv > p .green {
    color: var(--color-green);
}

.silsa__rel-inv > p .red {
    color: var(--color-red);
}

.silsa__rel-inv .ms-form__table {
    width: 100%;
}

.silsa__rel-inv-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    column-gap: 20px;
    width: 100%;
    max-width: 955px;
}

.silsa__rel-inv-inputs > input {
    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;
}

.silsa__rel-inv-inputs input:disabled {
    background-color: transparent;
    border: 1px solid #007BFF60;
}

.silsa__rel-inv-inputs > p {
    grid-column: 1 / -1;
    margin-bottom: 10px;
    padding-left: 10px;
    font-size: 15px;
    font-weight: 500;
}

.silsa__rel-inv-inputs > span {
    margin: 20px 0 7px 0;
    padding-left: 10px;
    font-size: 15px;
    font-weight: 500;
}

.silsa__rel-inv-inputs .silsa__select {
    grid-column: 1 / -1;
}

.silsa__rel-inv-inputs .double {
    grid-column: 1 / 3;
}

.silsa__rel-inv-inputs .triple {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

.silsa__rel-inv-inputs .triple span {
    margin: 20px 0 7px 0;
    font-size: 15px;
    font-weight: 500;
}

.silsa__rel-inv-inputs .triple p {
    align-self: center;
    font-weight: 600;
}

.silsa__rel-inv-footer {
    grid-column: 1 / 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.silsa__rel-inv-footer button {
    margin: 0;
}

.silsa__rel-inv-footer p {
    font-size: 1.1em;
}

.silsa__rel-inv-footer span {
    font-weight: 600;
}

.silsa__rel-inv-footer .green {
    color: var(--color-green);
}

.silsa__rel-inv-footer .red {
    color: var(--color-red);
}

/* Table Filter */
.silsa__filter-cont {
    display: block;
    margin: 10px 0 15px 0;
    padding: 0 30px;
    width: 100%;
}

.silsa__filter {
    display: flex;
    width: 100%;
    height: 42px;
    background-color: var(--color-light);
    border-radius: 12px;
}

.silsa__filter > *:not(:last-child) {
    border-right: 1px solid #205AD760;
}

.silsa__filter-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    height: 100%;
}

.silsa__filter-input input {
    display: block;
    padding: 0 5px;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    border-bottom: 1.5px solid transparent;
    color: var(--color-blue-2);
    font-family: inherit;
    transition: border-color 0.1s linear;
}

.silsa__filter-input input[type="text"] {
    width: 190px;
}

.silsa__filter-input input[type="date"] {
    width: 125px;
    padding: 0.3em 0.6em;
    font-size: 0.95em;
    line-height: 1.4;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    color: #000;
    appearance: auto;
    -webkit-appearance: none;
    box-sizing: border-box;
    height: 34px;
}

.silsa__filter-input input::placeholder {
    color: #205AD7A0;
}

.silsa__filter-input input:focus {
    border-color: #205AD7;
}

.silsa__filter-input button {
    display: block;
    width: 32px;
    height: 32px;
    background-color: var(--color-blue-2);
    outline: none;
    border: none;
    border-radius: 7px;
    color: var(--color-white);
    cursor: pointer;
}



/* --------------------------------------Special------------------------------------- */

.hidden {
    display: none;
}

.visible {
    opacity: 1;
    pointer-events: all;
}

.align-left {
    text-align: left;
}



/* ------------------------------------Responsive------------------------------------ */

/* Mobile Action Bar */
.mob__items {
    position: sticky;
    display: none;
    align-items: center;
    justify-content: space-between;
    top: 0;
    gap: 20px;
    padding: 0 20px 1rem 20px;
    width: 100%;
    background-color: var(--color-white);
}

.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;
}

.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: 15px;
    width: 100%;
    height: max-content;
    font-size: 14px;
}

.mob__row-info > span {
    color: var(--color-main);
    font-weight: 500;
}

.mob__row-info > p {
    color: var(--color-dark);
    font-size: 14px;
}

.mob__row-info .mod-wrapper {
    margin: 0;
}

.mob__detail-btn {
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 1.6em;
    cursor: pointer;
}

/* DIEGO */
.preview-modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width:100%; 
    height:100%; 
    background: rgba(0,0,0,0.5); 
}

.preview-modal.open { 
    display: block; 
}

.read-box {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
    min-width: 100px;
}
.form-row {
    margin-bottom: 0.5rem;
}

/* Carta dentro del modal */
.preview-modal-content {
  background: transparent;
  padding: 0;
  overflow: auto;
  max-height: 95vh;  /* Limita la altura del modal */
  margin: 5vh auto;  /* Centrado vertical con margen */
  position: relative;
  max-width: 90vw;
  overflow-x: auto;
}

.page {
  width: 8.5in;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
}

.page .invoice-preview {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.invoice-preview-wrapper {
  max-height: 90vh; /* o el valor que prefieras */
  overflow-y: auto;
  padding-right: 10px; /* espacio para scroll */
}

.close-preview-modal {
    position: fixed;
    top: 1em;
    right: 1em;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 9999;
    color: #000;
    background: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

#print-pdf-btn {
  position: fixed;
  top: 1em;
  left: 1em;
  z-index: 9999;
  padding: 8px 14px;
  font-size: 0.95em;
  font-weight: bold;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

#print-pdf-btn:hover {
  background-color: #0056b3;
}
/*Media Queries Diego*/

@media print {
  body * {
    visibility: hidden;
  }

  #invoice-preview-modal, #invoice-preview-modal * {
    visibility: visible;
  }

  #invoice-preview-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background: white !important;
  }

  .close-preview-modal {
    display: none;
  }
}

/* Media Queries */

@media screen and (max-width: 1200px) {
    /* CMS Content */
    .header__search-bar {
        width: 220px;
    }
}

@media screen and (max-width: 1000px) {
    /* General */
    .site-wrapper {
        grid-template-columns: 1fr;
    }
    .loader__modal {
        padding: 0;
    }
    /* Header */
    .cont__header .desk{
        display: none;
    }
    /* Lat Bar */
    .lat-bar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50;
        width: 0;
        height: 100vh;
        overflow: hidden;
    }
    .lat-bar__user {
        padding: 20px 100px 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;
    }
    table tr {
        border-bottom: none;
    }
    table tr:not(.mob__tr) {
        border-top: 1px solid var(--color-blue-light);
    }
    table tr:first-child {
        border-top: none;
    }
    /* Mobile */
    .mob__items {
        display: flex;
    }
    /* Vault */
    .vault__drive-size {
        font-size: 16px;
    }
    .vault__modal-cont {
        padding: 0 15px 0 15px;
    }
}

@media screen and (max-width: 760px) {
    /* General */
    .content-area,
    .content-dash {
        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: 15px;
    }
    /* 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;
    }
}

@media screen and (max-width: 480px) {
    /* Login */
    /* .login-wrapper .logo {
        height: 32px;
    } */
    /* Others */
    /* .client-cont {
        padding: 20px 2rem;
        justify-content: start;
    }
    .client-info-cont h4 {
        width: max-content;
    } */
    .lat-bar__links {
        padding: 0 2rem;
    }
    .mob__search-bar input {
        padding: 10px;
    }
    .mob__search-bar button {
        width: 40px;
    }
    /* Vault */
    .vault__folder {
        width: 250px;
        overflow: hidden;
    }
    .vault__folder span {
        display: block;
        width: 100%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}

/* 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;
    }
}