 .category-media-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.category-media-cell__preview {
    width: 72px;
    height: 52px;
    border: 1px solid #ddd;
    border-radius: 4px;
    object-fit: cover;
}

.category-media-cell__empty {
    color: #777;
    font-size: 13px;
}

.category-media-cell__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.category-media-cell__preview {
    max-width: 200px;
    height: auto;
}
/****************************/
/* Global   				*/
/****************************/
:root {
    --white: #fff;
    --black: #000;
    --blue: #384b7e;
    --dark: #373a3c;
    --grayLink: #a6b0cf;
    --grayDarkLink: #7f8387;
    --gray: #262b3c;
    --lightGray: #d4d0c8;
    --darkGray: #3c4054;
    --lightgray: #808390;
    --red: #e75a55;
    --darkGreen: #2e4b4f;
    --lightGreen: #28c76f;
    --darkOrange: #504448;
    --lightOrange: #ff9f43;
}

body {
    font-size: 14px;
    font-weight: 300;
    color: var(--black);
}
#root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#wrapper {
    padding-top: 120px;
}
main {
    flex-grow: 1;
    display: flex;
}

/* Links */
a,
a:visited {
    text-decoration: none !important;
}

a:not(.sidebar a):not(.cart-page__button):not(.partner-hero-block a),
a:visited:not(.sidebar a:visited):not(.cart-page__button):not(.partner-hero-block a) {
    color: var(--blue);
    outline: none;
}

/* a:hover {
    color: var(--red);
} */
li {
    list-style: none;
}

::-webkit-scrollbar {
    width: 0;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/****************************/
/* Reusables   				*/
/****************************/

/* Positions */
.relative {
    position: relative;
}

.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.abs-mr {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
}

/* Displays */
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
    justify-content: space-between;
}

/* Heights */
.height-100 {
    height: 100vh;
}
/* Font Sizes */
.fs-11 {
    font-size: 11px;
}
.fs-13 {
    font-size: 13px;
}
.fs-16 {
    font-size: 16px;
}
.fs-20 {
    font-size: 20px;
}

/* Font Weights */
.fw-600 {
    font-weight: 600;
}

/* Text Transforms */
.uppercase {
    text-transform: uppercase;
}

/* Aligns */
.ta-center {
    text-align: center;
}

.ta-right {
    text-align: right;
}

/* Margins */
.no-margin {
    margin: 0 !important;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

/* Paddings */
.padding-vert-5 {
    padding: 5px 0;
}

.padding-vert-20 {
    padding: 20px 0;
}

.padding-vert-90 {
    padding: 90px 0;
}

/* Colors */
.white {
    color: var(--white);
}

.black {
    color: var(--black) !important;
}

/* Widths */
.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

/* Sizes */
.cover {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

/* Borders */
.border-top-1 {
    border-top: 1px solid var(--gray);
}

.border-top-lightGray-2 {
    border-top: 2px solid var(--lightGray);
}

.border-bottom-1 {
    border-bottom: 1px solid var(--gray);
}

.border-bottom-lightGray-2 {
    border-bottom: 2px solid var(--lightGray);
}

/* Buttons */
.btn {
    color: var(--black) !important;
    background: transparent;
    padding: 10px 30px;
    border: 1px solid #000;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
    cursor: pointer;
}

.btn:hover {
    color: var(--white) !important;
    background: var(--black);
}

/* Pointer */
.pointer {
    cursor: pointer;
}

/* Forms */
input, 
select,
textarea {
    width: 100%;
    outline: none;
    border: none;
    border-bottom: 1px solid var(--black);
    color: var(--black);
    padding: 10px 0;
    font-family: inherit;
    font-weight: 100;
}
select {
    height: 36px
}
/* textarea {
    height: 150px; 
    margin-top: 10px;
} */
label {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 11px;
    padding: 0 10px;
    color: var(--grayDarkLink);
    margin-bottom: 5px;
    transition: all .2s ease-in-out;
}
small.helper-text {
    font-size: 11px;
    color: var(--grayDarkLink);
}
/* form input:not(:placeholder-shown) + label,
form input:focus + label,
form label.active
 {
    font-size: 11px;
    top: -10px;
} */
.error {
    color: var(--red);
}

/* Searchbar */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.form-control {
    display: block;
    width: 100%;
    /* height: calc(1.5em + 1.25rem + 2px); */
    /* padding: 0.625rem 1.1875rem; */
    line-height: 1.5;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--black);
    background: no-repeat bottom,50% calc(100% - 1px);
    background-size: 0 100%,100% 100%;
    transition: background 0s ease-out;
}
.form-control:focus {
    outline: none;
    border-bottom-color: transparent;
    background-size: 100% 100%,100% 100%;
    transition-duration: .3s;
    box-shadow: none;
    background-image: linear-gradient(0deg,var(--blue) 2px,rgba(70,128,255,0) 0),linear-gradient(0deg,var(--grayLink) 1px,rgba(206,212,218,0) 0);
}

/* Tables */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--black);
    border-collapse: collapse;
}
.table thead tr {
    border-bottom: 1px solid #e2e5e8;
    font-size: 13px;
    color: var(--dark);
    background: #ecf0f5;
    text-transform: uppercase;
}
.table td,
.table tr {
    border-top: 1px solid #e2e5e8;
}
.table td,
.table th {
    border-top: 1px solid #e3eaef;
    padding: 1.5rem 0.75rem;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}
.table-hover tbody tr:hover {
    background-color: rgba(70, 128, 255, .03);
}

.table-link::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5em;
}

/* Spinner */
#loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--red);
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
  }
  
@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

/* ReactQuill Editor */
/* .ql-editor {
    min-height: 200px;
} */

/****************************/
/* Header   				*/
/****************************/
header {
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
    width: 100%;
    border-bottom: 1px solid rgba(220, 219, 219, 0.72);
    z-index: 999;
}

.admin-menu {
    background: var(--blue);
}

header .logo-container {
    max-height: 60px;
}

header .logo-container img {
    max-height: 60px;
    width: auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header__nav {
    display: flex;
    align-items: center;
    justify-content: end;
    flex: 1 1 auto;
    gap: clamp(18px, 3vw, 44px);
    margin: 0 48px;
}

.site-header__nav a,
.site-header__nav a:visited {
    position: relative;
    padding: 28px 0 25px;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-header__nav a.is-active {
    color: var(--red) !important;
}

.site-header__nav a::after {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    height: 2px;
    background: var(--red);
    content: '';
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-header__nav a:hover,
.site-header__nav a.is-active {
    color: var(--blue);
}

.site-header__nav a:hover::after,
.site-header__nav a.is-active::after {
    transform: scaleX(1);
}

.site-header__search {
    position: relative;
    z-index: 1001;
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin-left: auto;
}

.site-header__search-panel {
    position: absolute;
    top: calc(100% + 19px);
    right: 0;
    display: flex;
    width: min(320px, calc(100vw - 24px));
    height: 40px;
    align-items: center;
    border: 1px solid #d8dde3;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 32, 48, .12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transform-origin: top right;
    transition: transform 180ms cubic-bezier(.23, 1, .32, 1), opacity 140ms ease-out;
}

.site-header__search.is-expanded .site-header__search-panel {
    border-color: var(--blue);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-header__search-panel:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(56, 75, 126, .12);
}

.site-header__search-panel input {
    width: 100%;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 0 44px 0 12px;
    border: 0;
    box-shadow: none;
    color: #222;
    font: inherit;
    font-size: 13px;
}

.site-header__search-panel input:focus {
    border: 0;
    box-shadow: none;
}

.site-header__search-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
}

.site-header__search-toggle svg {
    width: 18px;
    height: 18px;
}

.site-header__search-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.site-header__search-results {
    position: absolute;
    top: calc(100% + 67px);
    right: 0;
    width: min(400px, calc(100vw - 24px));
    max-height: min(420px, calc(100vh - 110px));
    overflow-y: auto;
    border: 1px solid #e1e5e9;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(20, 32, 48, .18);
}

.site-header__search-results .site-header__search-result,
.site-header__search-results .site-header__search-result:visited {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 15px;
    border-bottom: 1px solid #edf0f2;
    color: #222;
    text-decoration: none;
}

.site-header__search-results .site-header__search-result:hover {
    background: #f6f7f9;
}

.site-header__search-result span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header__search-result small {
    overflow: hidden;
    color: #737b85;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header__search-results .site-header__search-more {
    display: block;
    padding: 13px 15px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.site-header__search-results .site-header__search-more:hover {
    background: #f6f7f9;
}

.site-header__search-status {
    padding: 14px 15px;
    color: #737b85;
    font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
    .site-header__search-panel {
        transition: none;
    }
}

.header-menu-settings__form {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(180px, 1.5fr) 150px auto auto auto;
    gap: 10px;
    align-items: center;
    margin: 20px 0 30px;
}

.header-menu-settings__active {
    position: static;
    top: auto;
    left: auto;
    padding: 0;
    margin: 0;
    color: var(--grayDarkLink);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.header-menu-settings__active input[type='checkbox'] {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    opacity: 1;
}

.header-menu-settings__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(220, 219, 219, 0.72);
    background: #fff;
    color: #161616;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.site-footer__column h2 {
    margin: 0 0 16px;
    color: #161616;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-footer__column a,
.site-footer__column a:visited,
.site-footer__column span,
.site-footer__column p {
    margin: 0;
    color: #333;
    font-size: 17px;
    line-height: 1.35;
    text-decoration: none;
}

.site-footer__column a:hover {
    color: #e75a55;
}

.site-footer__identity p {
    max-width: 260px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 28px;
    border-top: 1px solid #d8d8d8;
    color: #555;
    font-size: 13px;
}

.site-footer__bottom div {
    display: flex;
    gap: 20px;
}

.site-footer__bottom a,
.site-footer__bottom a:visited {
    color: #555;
    text-decoration: none;
}

.site-footer__bottom a:hover {
    color: #e75a55;
}

@media (max-width: 900px) {
    .site-header__inner {
        min-height: 60px;
        padding: 0 20px;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__search {
        flex: 0 0 40px;
        width: 40px;
        max-width: none;
    }

    .site-header__search.is-expanded {
        flex: 0 0 40px;
    }

    .site-header__search-panel {
        top: calc(100% + 11px);
        width: min(320px, calc(100vw - 80px));
    }

    .site-header__search-results {
        position: fixed;
        top: 109px;
        right: 12px;
        left: 12px;
        width: auto;
    }

    .header-menu-settings__form {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .site-header__inner {
        gap: 10px;
        padding-inline: 12px;
    }

    header .logo-container img {
        max-width: 96px;
    }

    .site-header__search {
        min-width: 40px;
        flex: 0 0 40px;
    }

    .site-header__search-panel {
        top: calc(100% + 11px);
        width: min(300px, calc(100vw - 80px));
    }

    .site-header__actions {
        gap: 9px;
    }
}

@media (max-width: 600px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.site-header__icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--grayLink, #333);
    cursor: pointer;
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
}

.site-header__icon-link:hover {
    color: var(--blue);
}

.login-modal__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(22, 24, 38, 0.76);
}

.login-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 560px);
    box-sizing: border-box;
    max-height: min(94vh, 860px);
    overflow: hidden;
    padding: 36px 48px 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    background: #fff;
    color: #111;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.login-modal__brand {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #111;
    font-size: 20px;
    font-weight: 700;
}

.login-modal__brand img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 34px;
    object-fit: contain;
}

.login-modal h2 {
    margin: 0 0 6px;
    color: #111;
    font-size: 23px;
    text-align: left;
}

.login-modal__intro {
    margin: 0 0 26px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.login-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 28px;
    cursor: pointer;
}

.login-modal__fields {
    width: 100%;
    margin: 0;
}

.login-modal__body {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    touch-action: pan-y;
}

.login-wrapper.login-modal__form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.login-modal__form form {
    text-align: left;
}

.login-modal__field {
    margin-bottom: 20px;
}

.login-modal__field-control {
    width: 100%;
}

.login-modal__label {
    display: block;
    position: static;
    margin: 0 0 6px;
    color: #111;
    font-size: 13px;
    line-height: 1.4;
}

.login-modal__input,
.login-modal__password input {
    display: block;
    width: 100% !important;
    height: 40px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #c7c9ce !important;
    border-radius: 5px !important;
    outline: none;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 14px !important;
}

.login-modal__input::placeholder {
    color: #666;
    opacity: 1;
}

.login-modal__input:focus,
.login-modal__password input:focus {
    border-color: #384b7e !important;
    box-shadow: 0 0 0 2px rgba(56, 75, 126, 0.16) !important;
}

.login-modal__password {
    position: relative;
}

.login-modal__password input {
    padding-right: 44px !important;
}

.login-modal__password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #444;
    cursor: pointer;
}

.login-modal__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 24px;
    font-size: 13px;
}

.login-modal .login-modal__options a[href],
.login-modal .login-modal__options a[href]:visited,
.login-modal .login-modal__register a[href],
.login-modal .login-modal__register a[href]:visited {
    color: #384b7e !important;
}

.login-modal__remember {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    white-space: nowrap;
}

.login-modal__remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #384b7e;
}

.login-modal__submit-row {
    margin-bottom: 22px;
}

.login-modal__submit {
    display: block;
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 5px;
    background: #384b7e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.login-modal__submit:hover {
    background: #29395f;
}

.login-modal__register {
    color: #444;
    font-size: 13px;
    text-align: center;
}

.login-modal__text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #384b7e;
    font: inherit;
    cursor: pointer;
}

.login-modal__text-button:hover {
    text-decoration: underline;
}

.login-modal .login-modal__intro,
.login-modal .login-modal__label,
.login-modal .login-modal__remember,
.login-modal .login-modal__register {
    color: #111;
}

.login-modal .login-modal__close,
.login-modal .login-modal__password-toggle {
    color: #222;
}

.login-modal .login-modal__brand {
    color: #111;
}

.login-modal .login-modal__input::placeholder {
    color: #666;
}

.login-modal .error {
    color: #b42318;
}

@media (max-width: 480px) {
    .login-modal {
        max-height: calc(100dvh - 32px);
        padding: 28px 24px 24px;
    }

    .login-modal__form {
        width: 100%;
        padding: 0;
    }

    .login-modal__options {
        font-size: 12px;
    }
}

.site-header__cart-badge {
    position: absolute;
    top: -8px;
    right: -9px;
    z-index: 1;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 9px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

.products-sync-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-sync-controls label {
    position: static;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--black);
}

.integration-settings-page__label {
    display: block;
    position: static;
    padding: 0;
    margin: 0 0 6px;
    color: var(--grayDarkLink, #333);
    font-size: 13px;
}

.integration-settings-page__input {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 8px;
}

.aade-lookup-message {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45;
}

.aade-lookup-message.is-loading {
    color: #384b7e;
}

.aade-lookup-message.is-success {
    color: #22734a;
}

.aade-lookup-message.is-error {
    color: #b42318;
}

.products-sync-controls input[type='date'] {
    width: 150px;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid #222;
    border-bottom: 1px solid #222;
}

.products-sync-controls .products-sync-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    cursor: pointer;
}

.products-sync-controls .products-sync-all input[type='checkbox'] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.site-header__icon-link .avatar-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.site-header__account {
    position: relative;
}

/* header a,
.admin-menu a {
    color: var(--grayLink) !important;
    margin: 0 10px;
    transition: all .5s;
}

header a:hover,
.admin-menu a:hover {
    color: var(--white) !important;
} */

/****************************/
/* Footer   				*/
/****************************/


/****************************/
/* Sidebar         			*/
/****************************/
.sidebar {
    height: calc(100vh - 27px);
    background-color: var(--white);
    border-right: 1px solid #dcdbdb;
    transition: width 0.3s ease;
}

.sidebar-closed {
    width: 50px !important;
    padding: 0 !important;
}

.sidebar-closed .sidebar-sticky {
    width: 0 !important;
}
.sidebar-sticky {
    position: sticky;
    overflow-y: scroll;
    height: 100%;
    padding-top: 50px;
}
.hamburger {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 9;
}
.hamburger .line{
    width: 30px;
    height: 2px;
    background-color: var(--blue);
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.hamburger.is-active .line:nth-child(2){
    opacity: 0;
}
.hamburger.is-active .line:nth-child(1){
    -webkit-transform: translateY(10px) rotate(45deg);
    -ms-transform: translateY(10px) rotate(45deg);
    -o-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
}
.hamburger.is-active .line:nth-child(3){
    -webkit-transform: translateY(-10px) rotate(-45deg);
    -ms-transform: translateY(-10px) rotate(-45deg);
    -o-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
}
/* SideBar Menu items*/
.sidebar-sticky li {
    padding: 3px 0;
}
.menu-title {
    padding: 16px 8px !important;
    margin-bottom: 3px;
    letter-spacing: .05em;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--black);
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all .5s ease;
}
.menu-title.active,
.menu-title:hover {
    background: #ecf0f5;
}
.menu-title .arrow {
    float: right;
    transition: transform 0.3s ease;
}
.menu-title .arrow-up {
    transform: rotate(-180deg);
}
.sub-menu-item-container {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease;
}
.sub-menu-item-container.open {
    grid-template-rows: 1fr;
}
.sub-menu-item-container ul {
    margin: 0;
    padding-left: 10px !important;
}
.sub-menu-items {
    overflow: hidden;
}
.nav-link {
    color: var(--dark);
    display: block;
    padding: 16px 8px !important;
    letter-spacing: .05em;
    font-size: 11px;
    position: relative;
    border-radius: 0.375rem;
    transition: all .5s;
}
.nav-link.active,
.nav-link:hover {
    background: rgba(70, 128, 255, .05);
}

/****************************/
/* User         			*/
/****************************/
.avatar-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;

}
.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #384b7e;
    cursor: pointer;
}

.avatar-placeholder svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}
.avatar-dropdown {
    position: absolute;
    text-align: left;
    top: 60px;
    right: 10px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border-radius: 4px;
    width: max-content;
    max-width: 300px;
    z-index: 1000;
}
.avatar-dropdown .name-container {
    font-size: 14px;
    font-weight: bold;
    color: rgb(51, 51, 51);
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid rgb(224, 224, 224);
}
.avatar-dropdown .links-container {
    padding: 12px 16px;
}
.avatar-dropdown .links-container ul li {
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 10px;;
    transition: background-color 0.2s;
}
.avatar-dropdown .links-container ul li:hover {
    background: rgba(70, 128, 255, .05);
}
.avatar-dropdown .links-container ul li a {
    display: block;
    font-weight: 400;
    --link-color: #000;
    padding: 8px;
}
.avatar-dropdown .links-container ul li a.logout {
    color: var(--white);
    background-color: var(--red);
    border-radius: 0.375rem;
    text-align: center;
    padding: 5px 30px;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

/****************************/
/* Login         			*/
/****************************/
.login-wrapper {
    max-width: 30%;
    margin: 0 auto;
}

/****************************/
/* Dashboard      			*/
/****************************/
.dashboard-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 26.5px);
    transition: width 0.3s ease;
    overflow-y: scroll;
}
.dashboard-content.m12 {
    width: calc(100% - 50px) !important
}
g.recharts-layer.recharts-label-list text tspan {
    fill: #fff !important;
    font-weight: 900;
}

/****************************/
/* Lists          			*/
/****************************/
.status {
    padding: 5px 10px;
}
.status.Active,
.status.published,
.status.verified,
.status.active {
    color: var(--lightGreen);
    background-color: var(--darkGreen);
}
.status.Pending,
.status.draft {
    color: var(--lightOrange);
    background-color: var(--darkOrange);
}
.status.Inactive,
.status.archived,
.status.not-verified,
.status.not-active {
    color: var(--lightgray);
    background-color: var(--darkGray);
}

/****************************/
/* Hierarchical Pages List  */
/****************************/
.child-page {
    background-color: rgba(70, 128, 255, 0.02);
}

.hierarchy-indicator {
    color: var(--grayDarkLink);
    /* font-family: monospace; */
    font-size: 12px;
    margin-right: 5px;
}

.child-url {
    color: var(--dark);
}

.parent-url-prefix {
    color: var(--grayDarkLink);
    font-style: italic;
}

/****************************/
/* Block Editor Controls    */
/****************************/
.block-controls {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    background-color: #f9f9f9;
}

/* Control rows - flex layout */
.control-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.control-row:last-child {
    margin-bottom: 0;
}

.control-group {
    display: flex;
    flex-direction: column;
}

.control-group.flex-grow {
    flex: 1;
}

.control-group.full-width {
    width: 100%;
}

/* Special styling for padding row */
.control-row.padding-row {
    flex-direction: column;
    align-items: stretch;
}

.control-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 12px;
}

/* Checkbox styling */
.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

.class-input {
    width: auto;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Padding controls grid layout */
.padding-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 5px;
    width: 100%;
}

.padding-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.padding-input-group label {
    font-size: 11px;
    font-weight: 400;
    margin: 0 !important;
    min-width: 45px;
}

.padding-number-input {
    width: 50px;
    padding: 4px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    text-align: center;
}

.padding-range {
    flex: 1;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    outline: none;
}

.padding-range::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
}

.padding-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Legacy padding controls (remove if not needed) */
.padding-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 5px;
}

.padding-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.padding-input label {
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    min-width: 45px;
}

.padding-input input[type="range"] {
    flex: 1;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    outline: none;
}

.padding-input input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
}

.padding-input input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.padding-input span {
    font-size: 12px;
    color: var(--dark);
    min-width: 35px;
    text-align: right;
}

/****************************/
/* Media          			*/
/****************************/
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.media-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.media-preview {
    height: 200px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.file-preview {
    text-align: center;
    color: #666;
}

.file-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.file-icon.image {
    color: #4CAF50;
}

.file-icon.pdf {
    color: #f44336;
}

.media-info {
    padding: 1rem;
}

.media-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size, .dimensions {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.media-actions {
    padding: 0.5rem 1rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-action.delete:hover {
    color: #f44336;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state h3 {
    margin: 1rem 0;
}
.media-preview-card, .edit-form-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.preview-container {
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    background: #fafafa;
}

.preview-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 4px;
}

.file-preview {
    padding: 2rem;
    text-align: center;
    color: #666;
}

.file-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.file-icon.pdf {
    color: #f44336;
}

.file-details {
    margin-bottom: 1.5rem;
}

.file-details h4 {
    margin-bottom: 1rem;
    color: #333;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row strong {
    color: #333;
    min-width: 120px;
}

.detail-row span {
    color: #666;
    text-align: right;
    flex: 1;
    word-break: break-word;
    margin-left: 1rem;
}

.action-buttons {
    display: flex;
    /* flex-direction: column; */
    gap: 0.5rem;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #666;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .detail-row span {
        text-align: left;
        margin-left: 0;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* Media Component Modal */
/* Media Selector Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Upload options layout for settings page */
.upload-options {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .upload-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .upload-options span {
        text-align: center;
        margin: 5px 0 !important;
    }
}

.modal-content {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.media-selector-modal {
    width: 90vw;
    max-width: 1200px;
    height: 80vh;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.modal-header h4 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-close:hover {
    background-color: #e9ecef;
    color: #333;
}

.modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background-color: #f8f9fa;
}

.media-selector-controls {
    margin-bottom: 20px;
}

.media-selector-controls .row {
    margin-bottom: 15px;
}

.media-selector-controls .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Media Item Selection Styles */
.media-item.selectable {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.media-item.selectable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.media-item.selected {
    border: 3px solid #2196F3 !important;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.selection-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #2196F3;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/****************************/
/* Tabs        			*/
/****************************/
.tabs {
    display: flex;
    gap: 10px;
}
.tabs .tab {
    padding: 10px 20px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .3s ease;
}
.tabs .tab.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}