﻿
/*Select2*/
.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 38px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 5px;
    right: 1px;
    width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 38px;
}

.select2-dropdown {
    z-index: 99999;
}

/*Select2*/

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #696cff;
    color: white;
}

.scroll-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.image-strip .card {
    display: inline-block;
    flex: 0 0 auto;
    width: 150px;
}
.card-img-top {
    object-fit: cover;
    height: 200px;
}
.position-relative {
    overflow: hidden;
}

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    cursor: pointer;
    min-height: 150px;
}
.carousel-img {
    width: 100%;
    max-height:100%;
    height: 450px; /* or any fixed height */
    object-fit: contain; /* or contain, fill depending on how you want it scaled */
}

.modal-content-page-loading {
    width: 50vw !important; /* 50% of viewport width */
    max-width: 200px;
    padding: 1.5rem;
    justify-content: center;
    align-items: center;
}
    .modal-content-page-loading .spinner-border {
        width: 3rem;
        height: 3rem;
    }

    .modal-content-page-loading div {
        font-size: 1.2rem;
        color: #dc3545; /* Bootstrap 'danger' red */
    }

.modal-page-loading > .modal-dialog-centered {
    justify-content:center;
    align-items:center;
    align-content:center;
}

.blazor-toast, .blazored-toast, .b-toast {
    z-index: 3000 !important;
}
.swal2-container {
    z-index: 2000 !important;
}


/*.table-responsive {
    overflow-x: hidden;*/ /* Prevent horizontal scrolling */
/*}*/

.table {
    width: 100%;
    table-layout: auto; /* Allow columns to adjust naturally */
}

.details-row {
    margin: 0.5rem 0;
    border-radius: 0.25rem;
    background-color: #f8f9fa; /* Light background for contrast */
}

.col-priority {
    min-width: 100px; /* Ensure priority columns have space */
}

.table td, .table th {
    white-space: normal;
    word-wrap: break-word;
    max-width: 200px; /* Prevent overly wide columns */
}

@media print {
    .label {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

.quickgrid-container {
    overflow-x: auto;
    width: 100%; /* or any fixed width you prefer */
}

#paretoChart {
    width: 900px !important;
    height: 500px !important;
    max-width: 900px;
    max-height: 500px;
}