.menu li > *:not(ul, .menu-title, details, .btn).active {
    background-color: var(--fallback-p, oklch(var(--p) / var(--tw-bg-opacity))) !important;
    color: var(--fallback-pc, oklch(var(--pc) / var(--tw-text-opacity))) !important;
}

.upgrade-bg {
    background: radial-gradient(
          113.06% 101.2% at 6.39% 9.17%,
        var(--fallback-p, oklch(var(--p) /0.5)) 0%,
        rgba(255, 255, 255, 0) 100%,
        rgba(255, 255, 255, 0) 100%
        ),
        radial-gradient(87.6% 114.44% at 100% 3.89%,
        var(--fallback-p, oklch(var(--a) /0.5)) 48.53%,
        rgba(176, 241, 252, 0) 100%
        ),
        radial-gradient(200.17% 100.22% at -50.89% 100.22%,
        var(--fallback-p, oklch(var(--s) /1)) 48.24%,
        rgba(255, 236, 179, 0) 80.71%
        ),
        rgb(255, 255, 255);
}

.loading-page{
    width: 100%;
    height: 100vh;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}
.loader{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    background:conic-gradient(
        var(--fallback-p, oklch(var(--p))),
        var(--fallback-s, oklch(var(--s))),
        var(--fallback-a, oklch(var(--a))),
        var(--fallback-a, oklch(var(--a))),
        var(--fallback-s, oklch(var(--s))),
        var(--fallback-p, oklch(var(--p)))
    );
    animation: 2s rotate linear infinite;
}

.loader:before{
    position: absolute;
    content: '';
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    background: #17262c;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.loader:after{
    position: absolute;
    content: '';
    z-index: -3;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background: inherit;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(25px);
    border-radius: 50%;
}

@keyframes rotate{
    from{ 
      transform: rotate(0deg);
    }
    to{
      transform: rotate(360deg);
    }
  }

.loading-rotation {
    animation: spin 1.5s linear infinite;
}

#drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

#drop-zone.dragover {
    border-color: #333;
    background-color: #f7f7f7;
}

#file-info {
    position: relative;
}

#file-info::before {
    content: '';
    display: block;
    height: 1px;
    margin-top: -1px;
    visibility: hidden;
}

/* SCROLLBARS */

.app-light-scrollbar::-webkit-scrollbar-track {
    border-radius: 10px !important;
    background-color: #F5F5F5 !important;
}

.app-light-scrollbar::-webkit-scrollbar {
    width: 8px !important;
    background-color: #F5F5F5 !important;
}

.app-light-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 10px !important;
    background-color: rgb(209 213 219) !important;
    cursor: default;
}

.app-dark-scrollbar::-webkit-scrollbar-track {
    border-radius: 10px !important;
    background-color: transparent !important;
}

.app-dark-scrollbar::-webkit-scrollbar {
    width: 8px !important;
    background-color: transparent !important;
}

.app-dark-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 10px !important;
    background-color: rgb(84, 89, 100) !important;
    cursor: default;
}

/* TINY MCE WRAPPER */

.tox.tox-tinymce {
    width: 100%;
}

.tox-statusbar__branding,
.tox .tox-promotion,
.tox .tox-menubar {
    display: none !important;
}

.tox .tox-collection__item--active {
    background-color: rgb(88 80 236) !important;
    border-color: rgb(88 80 236) !important;
}

.tox .tox-collection__item:hover {
    background-color: rgb(88 80 236) !important;
    border-color: rgb(88 80 236) !important;
}

.tox .tox-menu .tox-collection__item[aria-label='Code']:hover,
.tox .tox-menu .tox-collection__item[aria-label='Code'] {
    color: #222f3e !important;
}

.tox .tox-button {
    background-color: rgb(88 80 236) !important;
    background-image: none;
    border-color: rgb(88 80 236) !important;
    box-shadow: none;
    color: #fff;
}

.tox .tox-button--secondary {
    background-color: #f0f0f0 !important;
    background-image: none;
    background-position: 0 0;
    background-repeat: repeat;
    border-color: #f0f0f0 !important;
    border-radius: 6px;
    border-style: solid;
    border-width: 1px;
    box-shadow: none;
    color: #222f3e !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: normal;
    outline: 0;
    padding: 4px 16px;
    text-decoration: none;
    text-transform: none;
}

.tox .tox-button--naked {
    background-color: transparent !important;
    border-color: transparent !important;
}

.tox .tox-textfield:focus,
.tox .tox-listbox--select:focus {
    background-color: #fff;
    border-color: rgb(88 80 236) !important;
    box-shadow: 0 0 0 1px rgb(88 80 236) !important;
    outline: 0;
}

.tox .tox-dialog__body-nav-item--active {
    border-bottom: 2px solid rgb(88 80 236) !important;
    color: rgb(88 80 236) !important;
}

.tox .tox-edit-focus {
    border: 2px solid rgb(88 80 236) !important; /* Modifier la couleur et l'épaisseur des bordures */
}
