@import url("/css/themes/lite-purple.min.css");
@import url("/css/plugins/perfect-scrollbar.css");
@import url("/css/plugins/fontawesome-5.css");
@import url("/css/plugins/metisMenu.min.css");

.modal-xl {
    width: auto;
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}

#modalspinneroverlay {
    position: absolute; /* Sit on top of the page content */
    display: block; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.modalspinner-small {
    position: absolute;
    left: calc(50% - 10px);
    top: calc(100% - 20px);
    height: 20px;
    width: 20px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0,174,239,.15);
    border-right: 6px solid rgba(0,174,239,.15);
    border-bottom: 6px solid rgba(0,174,239,.15);
    border-top: 6px solid rgba(0,174,239,.8);
    border-radius: 100%;
    z-index: 3;
}

.modalspinner {
    position: absolute;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
    height: 60px;
    width: 60px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0,174,239,.15);
    border-right: 6px solid rgba(0,174,239,.15);
    border-bottom: 6px solid rgba(0,174,239,.15);
    border-top: 6px solid rgba(0,174,239,.8);
    border-radius: 100%;
    z-index: 3;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.invoice-detail-page .invoice-detail-sidebar {
    padding: 0.25rem 0;
}

.invoice-detail-actions,
.invoice-detail-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.invoice-detail-actions {
    justify-content: flex-end;
}

.invoice-detail-amount-action {
    align-items: center;
    gap: 0.5rem;
}

.invoice-detail-amount-action input[type="number"] {
    width: 6.5rem;
}

.invoice-detail-truncate {
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invoice-summary-card {
    width: 320px;
    max-width: 100%;
    margin-left: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
}

.invoice-detail-sidebar .invoice-summary-card {
    width: 100%;
}

.invoice-summary-row,
.invoice-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.invoice-summary-label {
    color: #6c757d;
}

.invoice-summary-value {
    font-weight: 600;
}

.invoice-summary-total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.invoice-summary-total-value {
    font-size: 1.35rem;
    font-weight: 700;
}

@media (min-width: 1200px) {
    .invoice-detail-truncate {
        max-width: 22rem;
    }
}
