/* Oqtane Styles */

body, html {
    height: 100%;
}

main {
    display: flex;
    flex-direction: column;
}

.content {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.main-content {
    height: 100%;
}

.admin-pane {
    display: flex;
    flex-direction: column;
    flex: 0 1 100%;
}
/* App Logo */
.app-logo .img-fluid {
    max-height: 90px;
    padding: 0 5px 0 5px;
}

.table > :not(caption) > * > * {
    box-shadow: none;
}

.table .form-control {
    background-color: #ffffff !important;
    border-width: 0.5px !important;
    border-bottom-color: #ccc !important;
}

.table .form-select {
    background-color: #ffffff !important;
    border-width: 0.5px !important;
    border-bottom-color: #ccc !important;
}

.table .btn-primary {
    background-color: var(--bs-primary);
}

.table .btn-secondary {
    background-color: var(--bs-secondary);
}

.alert-dismissible .btn-close {
    z-index: 1;
}

.controls {
    z-index: 2000;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-right: 10px;
}

.app-menu .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
    white-space: nowrap;
}

    .app-menu .nav-item a {
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        padding-left: 1rem;
    }

        .app-menu .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .app-menu .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.app-menu .nav-link .oi {
    width: 1.5rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
    margin: .5rem;
}

div.app-moduleactions a.dropdown-toggle, div.app-moduleactions div.dropdown-menu {
    color: #000000;
}

.dropdown-menu span {
    mix-blend-mode: difference;
}

.settings-left {
    flex: 0 1 25%;
}

.ts-left {
    flex: 1 0 50%;
}

.settings-right {
    flex: 0 1 75%;
}

.ios-only-label {
    display: none !important;
}

.desktop-only-btn {
    display: inline-block;
}

@media only screen and (hover: none) and (pointer: coarse) and (-webkit-min-device-pixel-ratio: 2) {

    /* Show Label, Hide Button */
    .ios-only-label {
        display: inline-flex !important; /* Use inline-flex for proper icon alignment */
    }

    .desktop-only-btn {
        display: none !important;
    }
}

@media (max-width: 767.98px) {

    .app-menu {
        width: 100%;
    }

    .navbar {
        position: relative;
        top: 60px;
        width: 100%;
    }

    .controls {
        height: 60px;
        top: 15px;
        position: fixed;
        top: 0px;
        width: 100%;
        background-color: rgb(0, 0, 0);
    }

    .controls-group {
        float: right;
        margin-right: 25px;
    }

    .content {
        position: relative;
        top: 60px;
    }

    .settings-left {
        flex: 0 1 100%;
    }

    .settings-right {
        flex: 0 1 100%;
    }

    .ts-left {
        flex: 1 0 100%;
    }

}

/* Sample specific styles */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/*.nimeral-sidebar .sidebar-toggler-button button {
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}*/

.e-open.nimeral-sidebar .sidebar-toggler-button {
    text-align: left;
}

.e-close.nimeral-sidebar .sidebar-toggler-button {
    text-align: center;
}

.nimeral-sidebar.e-sidebar {
    overflow: hidden;
    text-align: center;
}

.fullscreen-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999; /* Garantisci che stia sopra ogni altro elemento */
    background: rgba(255,255,255,0.6); /* Opzionale: overlay semi-trasparente */
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-fullscreen-spinner .e-spinner-pane {
    width: 80px;
    height: 80px;
}

.blazored-toast-container {
    z-index: 1000000 !important;
}

span.app-profile {
    display: none !important;
}

/* Module Custom Styles */
.profile-editor-container {
    display: flex;
    width: 100%;
    flex: 1 1 100%;
    flex-direction: row;
}

.profile-editor-left {
    flex: 0 0 50%;
}

.profile-editor-right {
    flex: 0 0 50%;
}

.timesheet-container {
    display: flex;
    width: 100%;
    flex: 1 1 100%;
    flex-direction: row;
}

.timesheet-grid {
    flex: 0 0 100%;
}

.timesheet-heatmap {
    flex: 0 0 25%;
}

.e-dlg-container.e-dlg-center-center {
    z-index: 4000 !important;
}
