@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
    outline: none;
    box-sizing: border-box;
}

fieldset {
    border: none;
    padding: 0;
}


:root {
    --widget-bg: #777;
    --zone-bg: #252525;
    --zone-bord: #000;
    --placeholder: rgba(0, 0, 0, 0.5);
    --no-drag: rgba(100, 100, 100, 0.2);
    --wig-color: #222;
    --theme-bg-color: rgba(16, 18, 27, 0.4);
    --border-color: rgba(113, 119, 144, 0.25);
    --theme-color: #f9fafb;
    --inactive-color: rgba(113, 119, 144, 0.78);
    --body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --hover-menu-bg: rgba(12, 15, 25, 0.3);
    --content-title-color: #999ba5;
    --content-bg: rgba(146, 151, 179, 0.13);
    --wrapper-bg: rgb(45 70 106 / 94%);
    --modal-bg: rgb(39 61 91 / 99%);
    --modal-btn: rgb(81 54 107 / 99%);
    --button-inactive: rgba(249, 250, 251, 0.55);
    --dropdown-bg: #21242d;
    --dropdown-hover: #2a2e3c;
    --popup-bg: #161925;
    --search-bg: #14162b63;
    --overlay-bg: rgba(36, 39, 59, 0.3);
    --scrollbar-bg: rgba(1, 2, 3, 0.4);
    --search-color: #ffffffb3;
    --success-color: #27080866;
    --border-dashed: #00fbff80;
    --folder-bg: #1b1339;
    --table-bg: #0b0819ad;
    --folfer-text: white;
    --border-selected: rgb(205 157 255 / 40%);
    --calendar-color: #00000052;
    --day-hover: #3211198a;
    --uptime: #044904e0;
    --downtime: #6b0505c4;
    --orange: #e59800;
    --p: #ffffff;
    --i: #13ffe0;
    --b: #96cfff;
    --tr: red;
    --duration: .4s;
    --inputbg: black;
}

.light-mode {
    --theme-bg-color: rgba(255, 255, 255, 0.31);
    --theme-color: #3c3a3a;
    --inactive-color: #333333;
    --wrapper-bg: rgb(185 200 215 / 94%);
    --modal-bg: rgb(218 225 255 / 99%);
    --modal-btn: rgb(163 188 255 / 99%) !important;
    --button-inactive: #3c3a3a;
    --search-bg: rgba(255, 255, 255, 0.31);
    --search-color: --theme-color;
    --dropdown-bg: #c7cee9;
    --overlay-bg: rgba(255, 255, 255, 0.3);
    --dropdown-hover: #d0daf8;
    --border-color: rgba(255, 255, 255, 0.35);
    --popup-bg: white;
    --hover-menu-bg: rgba(255, 255, 255, 0.35);
    --scrollbar-bg: rgba(255, 253, 253, 0.57);
    --content-title-color: --theme-color;
    --success-color: #eeacb669;
    --border-dashed: #001bff80;
    --folder-bg: #ffffff;
    --table-bg: #f2f0ffad;
    --folfer-text: black;
    --border-selected: rgb(255 103 103 / 31%);
    --calendar-color: #fceef959;
    --day-hover: #e3aeba6e;
    --uptime: #0080006e;
    --downtime: #ff000066;
    --orange: #a56e00;
    --p: #000000;
    --i: #006b5d;
    --b: #005195;
    --tr: red;
    --inputbg: white;
    --bginput: #ffffff73;
}

html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--body-font);
    background-image: url(https://wallpapershome.com/images/wallpapers/macos-big-sur-1280x720-dark-wwdc-2020-22655.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0px;
    width: 99%;
    height: 98vh;
}


input:hover {
    border: 1px solid #3a6df0 !important;
}

@media screen and (max-width: 480px) {
    body {
        padding: 0.8em;
    }
}

.container {
    min-width: 100%;
}

.video-bg {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

    .video-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

img {
    max-width: 100%;
}

.dark-light {
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
}

    .dark-light svg {
        width: 24px;
        flex-shrink: 0;
        fill: #ffce45;
        stroke: #ffce45;
        transition: 0.5s;
    }

.light-mode .dark-light svg {
    fill: transparent;
    stroke: var(--theme-color);
}

.light-mode .profile-img {
    border: 2px solid var(--theme-bg-color);
}

.light-mode .content-section ul {
    background-color: var(--theme-bg-color);
}

.light-mode .pop-up__title {
    border-color: var(--theme-color);
}

.light-mode .dropdown.is-active ul {
    background-color: rgba(255, 255, 255, 0.94);
}

body.light-mode:before, body.light-mode .video-bg:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.45) 100%);
    backdrop-filter: saturate(3);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

/* Child element to be centered */
.app {
    background-color: var(--theme-bg-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    width: 98%;
    height: 95%;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-size: 15px;
    font-weight: 500;
}

.header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 58px;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    padding: 0 30px;
    white-space: nowrap;
}

@media screen and (max-width: 480px) {
    .header {
        padding: 0 16px;
    }
}

.header-menu {
    display: flex;
    align-items: center;
}

    .header-menu a {
        padding: 20px 30px;
        text-decoration: none;
        color: var(--inactive-color);
        border-bottom: 2px solid transparent;
        transition: 0.3s;
    }

@media screen and (max-width: 610px) {
    .header-menu a:not(.main-header-link) {
        display: none;
    }
}

.header-menu a.is-active, .header-menu a:hover {
    color: var(--theme-color);
    border-bottom: 2px solid var(--theme-color);
}

.notify {
    position: relative;
}

    .notify:before {
        content: "";
        position: absolute;
        background-color: #3a6df0;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        right: 20px;
        top: 16px;
    }

@media screen and (max-width: 1055px) {
    .notify {
        display: none;
    }
}

.menu-circle {
    text-align: center;
    color: var(--theme-color);
    width: 15px;
    height: 15px;
    /*	background-color: #f96057;
	border-radius: 50%;
	box-shadow: 24px 0 0 0 #f8ce52, 48px 0 0 0 #5fcf65;*/
    margin-right: 195px;
    flex-shrink: 0;
}

@media screen and (max-width: 945px) {
    .menu-circle {
        display: none;
    }
}

.search-bar {
    height: 40px;
    display: flex;
    width: 100%;
    max-width: 400px;
    padding-left: 16px;
    border-radius: 4px;
}

    .search-bar input {
        width: 100%;
        height: 100%;
        border: none;
        background-color: var(--search-bg);
        border-radius: 4px;
        font-family: var(--body-font);
        font-size: 15px;
        font-weight: 500;
        padding: 0 20px 0 40px;
        box-shadow: 0 0 0 2px rgba(134, 140, 160, 0.02);
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
        background-size: 14px;
        background-repeat: no-repeat;
        background-position: 16px 48%;
        color: var(--search-color);
    }

        .search-bar input::placeholder {
            font-family: var(--body-font);
            color: var(--inactive-color);
            font-size: 15px;
            font-weight: 500;
        }

.header-profile {
    display: flex;
    align-items: center;
    padding: 0 16px 0 40px;
    margin-left: auto;
    flex-shrink: 0;
}

    .header-profile svg {
        width: 22px;
        color: #f9fafb;
        flex-shrink: 0;
    }

.notification {
    position: relative;
}

.notification-number {
    position: absolute;
    background-color: #3a6df0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    right: -6px;
    top: -6px;
}

.notification + svg {
    margin-left: 22px;
}

@media screen and (max-width: 945px) {
    .notification + svg {
        display: none;
    }
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--theme-color);
    cursor:pointer;
}

.wide .header-menu, .wide .header-profile {
    display: none;
}

.wide .search-bar {
    max-width: 600px;
    margin: auto;
    transition: 0.4s;
    box-shadow: 0 0 0 1px var(--border-color);
    padding-left: 0;
}

.wide .menu-circle {
    margin-right: 0;
}

.wrapper {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.left-side {
    flex-basis: 240px;
    border-right: 1px solid var(--border-color);
    padding: 26px;
    overflow: auto;
    flex-shrink: 0;
}

@media screen and (max-width: 945px) {
    .left-side {
        display: none;
    }
}



.side-wrapper + .side-wrapper {
    margin-top: 20px;
}

.side-title {
    color: var(--inactive-color);
    margin-bottom: 14px;
}

.side-menu {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

    .side-menu a {
        text-decoration: none;
        color: var(--theme-color) !important;
        display: flex;
        align-items: center;
        font-weight: 400;
        padding: 10px;
        font-size: 14px;
        border-radius: 6px;
        transition: 0.3s;
    }

        .side-menu a:hover {
            background-color: var(--hover-menu-bg);
        }

    .side-menu svg {
        width: 16px;
        margin-right: 8px;
    }

.updates {
    position: relative;
    top: 0;
    right: 0;
    margin-left: auto;
    width: 18px;
    height: 18px;
    font-size: 11px;
}

.main-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    height: 58px;
    flex-shrink: 0;
}

    .main-header .header-menu {
        margin-left: 150px;
    }

@media screen and (max-width: 1055px) {
    .main-header .header-menu {
        margin: auto;
    }
}

.main-header .header-menu a {
    padding: 20px 24px;
}

.main-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-link-main {
    text-decoration: none;
    color: var(--theme-color);
    padding: 0 30px;
}

@media screen and (max-width: 1055px) {
    .menu-link-main {
        display: none;
    }
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    color: var(--theme-color);
    padding: 5px 5px;
    height: 95%;
    overflow: auto;
    /*    background-color: var(--theme-bg-color);*/
}

@media screen and (max-width: 510px) {
    .content-wrapper {
        padding: 20px;
    }
}

.content-wrapper-header {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    background-image: url("https://www.transparenttextures.com/patterns/cubes.png"), linear-gradient(to right top, #cf4af3, #e73bd7, #f631bc, #fd31a2, #ff3a8b, #ff4b78, #ff5e68, #ff705c, #ff8c51, #ffaa49, #ffc848, #ffe652);
    border-radius: 14px;
    padding: 20px 40px;
}

@media screen and (max-width: 415px) {
    .content-wrapper-header {
        padding: 20px;
    }
}

.content-wrapper.overlay {
    pointer-events: none;
    transition: 0.3s;
    background-color: var(--overlay-bg);
}

.overlay-app {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: all;
    background-color: rgba(36, 39, 59, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

    .overlay-app.is-active {
        visibility: visible;
        opacity: 1;
    }

.img-content {
    font-weight: 500;
    font-size: 17px;
    display: flex;
    align-items: center;
    margin: 0;
}

    .img-content svg {
        width: 28px;
        margin-right: 14px;
    }

.content-text {
    font-weight: 400;
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.7em;
    color: #ebecec;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-wrapper-context {
    max-width: 350px;
}

.content-button {
    background-color: #3a6df0;
    border: none;
    padding: 8px 26px;
    color: #fff;
    border-radius: 20px;
    margin-top: 16px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.content-wrapper-img {
    width: 186px;
    object-fit: cover;
    margin-top: -25px;
    object-position: center;
}

@media screen and (max-width: 570px) {
    .content-wrapper-img {
        width: 110px;
    }
}

.content-section {
    /* margin-top: 30px;*/
    display: flex;
    flex-direction: column;
}

.content-section-ordine {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.content-section-title {
    color: var(--content-title-color);
    margin-bottom: 14px;
}

.content-section ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: space-around;
    background-color: var(--content-bg);
    padding-left: 0;
    margin: 0;
    border-radius: 14px;
    border: 1px solid var(--theme-bg-color);
    cursor: pointer;
}

    .content-section ul li {
        list-style: none;
        padding: 10px 18px;
        display: flex;
        align-items: center;
        font-size: 16px;
        width: 100%;
        height: 100%;
        white-space: nowrap;
        transition: 0.3s;
    }

        .content-section ul li:hover {
            background-color: var(--theme-bg-color);
        }

            .content-section ul li:hover:first-child {
                border-radius: 13px 13px 0 0;
            }

            .content-section ul li:hover:last-child {
                border-radius: 0 0 13px 13px;
            }

        .content-section ul li + li {
            border-top: 1px solid var(--border-color);
        }

    .content-section ul svg {
        width: 28px;
        border-radius: 6px;
        margin-right: 16px;
        flex-shrink: 0;
    }

.ordine {
    display: flex;
    align-items: center;
    width: 150px;
}

@media screen and (max-width: 480px) {
    .ordine {
        width: 120px;
    }
}

.status {
    margin-left: auto;
    width: 140px;
    font-size: 15px;
    position: relative;
}

@media screen and (max-width: 700px) {
    .status {
        display: none;
    }
}

.status-circle {
    width: 6px;
    height: 6px;
    background-color: #396df0;
    position: absolute;
    border-radius: 50%;
    top: 4px;
    left: -20px;
}

    .status-circle.green {
        background-color: #3bf083;
    }

.status-button {
    font-size: 15px;
    margin-top: 0;
    padding: 1px 8px;
}

@media screen and (max-width: 390px) {
    .status-button {
        padding: 6px 14px;
    }
}

.status-button.open {
    background: none;
    color: var(--button-inactive);
    border: 1px solid var(--button-inactive);
}

.status-button:not(.open):hover {
    color: #fff;
    border-color: #fff;
}

.content-button:not(.open):hover {
    background: #1e59f1;
}

.menu {
    width: 5px;
    height: 5px;
    background-color: var(--button-inactive);
    border-radius: 50%;
    box-shadow: 7px 0 0 0 var(--button-inactive), 14px 0 0 0 var(--button-inactive);
    margin: 0 12px;
}

@media screen and (max-width: 415px) {
    .item-ordine .menu {
        display: none;
    }
}

.dropdown {
    position: relative;
    height: 53px;
    width: 40px;
    top: -15px;
    display: flex;
    left: -5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

    .dropdown ul {
        position: absolute;
        background: var(--dropdown-bg);
        height: 110px;
        width: 120px;
        right: 0;
        top: 20px;
        pointer-events: none;
        opacity: 0;
        transform: translatey(10px);
        transition: all 0.4s ease;
    }

        .dropdown ul li a {
            text-decoration: none;
            color: var(--theme-color);
            font-size: 12px;
        }

    .dropdown.is-active ul {
        opacity: 1;
        pointer-events: all;
        transform: translatey(15px);
    }

        .dropdown.is-active ul li:hover {
            background-color: var(--dropdown-hover);
        }

.button-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

@media screen and (max-width: 480px) {
    .button-wrapper {
        width: auto;
    }
}

.pop-up {
    position: absolute;
    padding: 30px 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    z-index: 10;
    background-color: var(--popup-bg);
    width: 500px;
    visibility: hidden;
    opacity: 0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    white-space: normal;
}

@media screen and (max-width: 570px) {
    .pop-up {
        width: 100%;
    }
}

.pop-up.visible {
    visibility: visible;
    opacity: 1;
}

.pop-up__title {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pop-up__subtitle {
    white-space: normal;
    margin: 20px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8em;
}

    .pop-up__subtitle a {
        color: var(--theme-color);
    }

.content-button-wrapper .content-button.status-button.open.close {
    width: auto;
}

.content-section .close {
    margin-right: 0;
    width: 24px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
}

    .checkbox-wrapper + .checkbox-wrapper {
        margin: 20px 0 40px;
    }

.switchstato .checkbox {
    display: none;
}

    .checkbox + label {
        display: flex;
        align-items: center;
    }

        .checkbox + label:before {
            content: "";
            margin-right: 10px;
            width: 15px;
            height: 15px;
            border: 1px solid var(--theme-color);
            border-radius: 4px;
            cursor: pointer;
            flex-shrink: 0;
        }

    .checkbox:checked + label:before {
        background-color: #3a6df0;
        border-color: #3a6df0;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3e%3cpath d='M20 6L9 17l-5-5'/%3e%3c/svg%3e");
        background-position: 50%;
        background-size: 12px;
        background-repeat: no-repeat;
    }

.content-button-wrapper {
    margin-top: auto;
    margin-left: auto;
}

    .content-button-wrapper .open {
        margin-right: 8px;
    }

.apps-card {
    gap: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: calc(100% + 20px);
}

.app-card {
    display: flex;
    flex-direction: column;
    width: calc(33.3% - 20px);
    font-size: 16px;
    background-color: var(--content-bg);
    border-radius: 14px;
    border: 1px solid var(--theme-bg-color);
    padding: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.order-card {
    margin-top: 20px;
    width: calc(99.9% - 20px);
    font-size: 16px;
    background-color: var(--content-bg);
    border-radius: 14px;
    border: 1px solid var(--theme-bg-color);
    padding: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}


    .app-card:hover, .order-card:hover {
        transform: scale(1.02);
        background-color: var(--theme-bg-color);
    }

.app-card svg {
    width: 28px;
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
}

.app-card + .app-card {
}

.app-card span, .order-card span {
    display: flex;
    align-items: center;
}

.app-card__subtext {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6em;
    margin-top: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.app-card-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-top: 16px;
}

@media screen and (max-width: 1110px) {
    .app-card {
        width: calc(50% - 20px);
    }

        .app-card:last-child {
            margin-top: 20px;
            margin-left: 0px;
        }
}

@media screen and (max-width: 565px) {
    .app-card {
        width: calc(100% - 20px);
        margin-top: 20px;
    }

        .app-card + .app-card {
            margin-left: 0;
        }
}

::-webkit-scrollbar {
    width: 6px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-bg);
    border-radius: 10px;
}

@-webkit-keyframes scale {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }

    24% {
        -webkit-transform: scale(0.72);
        transform: scale(0.72);
        opacity: 0.3;
    }

    48% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scale {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }

    24% {
        -webkit-transform: scale(0.72);
        transform: scale(0.72);
        opacity: 0.3;
    }

    48% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

.dot-loader > div:nth-child(1) {
    -webkit-animation: scale 1.44s -0.24s infinite cubic-bezier(0, 0, .4, 1);
    animation: scale 1.44s -0.24s infinite cubic-bezier(0, 0, .4, 1);
}

.dot-loader > div:nth-child(2) {
    -webkit-animation: scale 1.44s -0.12s infinite cubic-bezier(0, 0, .4, 1);
    animation: scale 1.44s -0.12s infinite cubic-bezier(0, 0, .4, 1);
}

.dot-loader > div:nth-child(3) {
    -webkit-animation: scale 1.44s 0s infinite cubic-bezier(0, 0, .4, 1);
    animation: scale 1.44s 0s infinite cubic-bezier(0, 0, .4, 1);
}

.dot-loader > div {
    background-color: var(--theme-color);
    width: 12px;
    height: 12px;
    border-radius: 100%;
    margin: 3px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    display: inline-block;
}

ul {
    z-index: 100;
}

.custom-background {
    background-color: var(--modal-bg);
    color: var(--theme-color);
}

.swal2-confirm {
    background-color: var(--modal-btn) !important;
    color: var(--theme-color) !important;
}

.swal2-cancel {
    background-color: var(--modal-btn) !important;
    color: var(--theme-color) !important;
}



.custom-warning-dialog {
    background-color: var(--modal-bg);
    color: var(--theme-color); /* Dark text color */
}

/* Custom style for the success dialog */
.custom-success-dialog {
    background-color: var(--modal-bg); /* Green background */
    color: var(--theme-color); /* White text color */
}

.swal2-modal {
    background-color: var(--modal-bg);
    color: var(--theme-color); /* Dark text color */
}

#homeLink {
    cursor: pointer;
}

.bootstrap-select .btn {
    display: none !important;
}


#risorseTab {
    cursor: pointer;
}

.custom-select-wrapper select {
    display: none;
}

.custom-select {
    height: 100%;
    /*    max-width: 38vh;
    min-width: 38vh;*/
    width: 100%;
    position: relative;
    display: inline-block;
    font-family: var(--body-font);
}

.custom-select-trigger {
    /*    max-width: 38vh;
    min-width: 38vh;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    display: block;
    padding: 0 40px 0 5px;
    color: var(--search-color);
    line-height: 40px;
    background-color: var(--inputbg);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .custom-select-trigger:hover {
        -webkit-box-shadow: 0px 10px 50px 0px rgba(43, 111, 246, 0.1);
        box-shadow: 0px 10px 50px 0px rgba(43, 111, 246, 0.1);
    }



    .custom-select-trigger:after {
        position: absolute;
        display: block;
        content: "";
        width: 10px;
        height: 10px;
        top: 50%;
        right: 12px;
        margin-top: -3px;
        border-bottom: 1px solid #c7d1d6;
        border-right: 1px solid #c7d1d6;
        transform: rotate(45deg) translateY(-50%);
        transition: all 0.35s ease-out;
        transform-origin: 50% 0;
    }

.custom-select.opened .custom-select-trigger:after {
    margin-top: 3px;
    transform: rotate(-135deg) translateY(-50%);
}

.custom-options {
    z-index: 100;
    position: absolute;
    display: block;
    top: 100%;
    left: 0%;
    right: 0;
    /*    max-width: 38vh;
    min-width: 38vh;*/
    margin: 10px 0px;
    border-radius: 6px;
    box-sizing: border-box;
    background: var(--modal-bg);
    transition: all 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    border: 0;
    max-height: 200px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-y: scroll;
}

    .custom-options::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

.custom-options {
    scrollbar-width: none;
}

.custom-select.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(-8px);
    -webkit-box-shadow: 0px 10px 50px 0px rgba(43, 111, 246, 0.1);
    box-shadow: 0px 10px 50px 0px rgba(43, 111, 246, 0.1);
}

.option-hover:before {
    background: var(--modal-bg);
}

.custom-option {
    overflow-x: scroll;
    position: relative;
    display: block;
    padding: 0 5px;
    font-weight: 600;
    color: var(--search-color);
    line-height: 40px;
    cursor: pointer;
    transition: all 0.05s ease-in-out;
    scrollbar-width: none;
}

    .custom-option::-webkit-scrollbar {
        display: none;
    }

    .custom-option:first-of-type {
        border-radius: 4px 4px 0 0;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }

    .custom-option:last-of-type {
        border-bottom: 0;
        border-radius: 0 0 4px 4px;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .custom-option:hover,
    .custom-option.selection {
        color: var(--search-color);
        background-color: var(--content-bg);
    }

.offcanvas-body {
    background-color: var(--table-bg);
}
.menutendina-container {
    position: relative;
    display: inline-block;
}

/* Stile del menutendina */
.menutendina {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 100000;
}



    /* Voci del menutendina */
    .menutendina a {
        display: flex;
        align-items: center;
        padding: 8px 18px;
        text-decoration: none;
        color: #333;
        font-size: 12px;
        /* border-bottom: 1px solid #f0f0f0; */
        transition: background-color 0.3s ease;
    }

        /* Icone del menutendina */
        .menutendina a i {
            margin-right: 10px;
            font-size: 18px;
        }

        /* Hover delle voci del menutendina */
        .menutendina a:hover {
            background-color: var(--dropdown-hover)
        }

/* Mostra il menutendina */
.menutendina-container.show .menutendina {
    display: block;
}

.content-button {
    cursor: pointer;
    transition: transform 0.15s ease-in-out;
}

    .content-button:active {
        transform: scale(0.9);
    }

.checkbox-wrapper-12 {
    position: relative;
}

    .checkbox-wrapper-12 > svg {
        position: absolute;
        top: -130%;
        left: -170%;
        width: 110px;
        pointer-events: none;
    }

    .checkbox-wrapper-12 * {
        box-sizing: border-box;
    }

    .checkbox-wrapper-12 input[type="checkbox"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        margin: 0;
    }

        .checkbox-wrapper-12 input[type="checkbox"]:focus {
            outline: 0;
        }

    .checkbox-wrapper-12 .cbx {
        width: 24px;
        height: 24px;
        top: calc(50vh - 12px);
        left: calc(50vw - 12px);
    }

        .checkbox-wrapper-12 .cbx input {
            position: absolute;
            top: 0;
            left: 0;
            width: 24px;
            height: 24px;
            border: 2px solid #bfbfc0;
            border-radius: 50%;
        }

        .checkbox-wrapper-12 .cbx label {
            width: 24px;
            height: 24px;
            background: none;
            border-radius: 50%;
            position: absolute;
            top: 0;
            left: 0;
            -webkit-filter: url("#goo-12");
            filter: url("#goo-12");
            transform: trasnlate3d(0, 0, 0);
            pointer-events: none;
        }

        .checkbox-wrapper-12 .cbx svg {
            position: absolute;
            top: 5px;
            left: 4px;
            z-index: 1;
            pointer-events: none;
        }

            .checkbox-wrapper-12 .cbx svg path {
                stroke: #fff;
                stroke-width: 3;
                stroke-linecap: round;
                stroke-linejoin: round;
                stroke-dasharray: 19;
                stroke-dashoffset: 19;
                transition: stroke-dashoffset 0.3s ease;
                transition-delay: 0.2s;
            }

        .checkbox-wrapper-12 .cbx input:checked + label {
            animation: splash-12 0.6s ease forwards;
        }

            .checkbox-wrapper-12 .cbx input:checked + label + svg path {
                stroke-dashoffset: 0;
            }

@-moz-keyframes splash-12 {
    40% {
        background: #866efb;
        box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }

    100% {
        background: #866efb;
        box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
}

@-webkit-keyframes splash-12 {
    40% {
        background: #866efb;
        box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }

    100% {
        background: #866efb;
        box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
}

@-o-keyframes splash-12 {
    40% {
        background: #866efb;
        box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }

    100% {
        background: #866efb;
        box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
}

@keyframes splash-12 {
    40% {
        background: #866efb;
        box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }

    100% {
        background: #866efb;
        box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
}

