.universal-modal {
    font-family: 'Campton', sans-serif;
    --bs-modal-width: 65%!important;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 10;
    color: #B2B2B2;
    font-size: 1.25rem;
}

.product-info-left-modal {
    border-radius: .75rem!important;
}

.product-info-image {
    max-width: 65%;
    height: auto;
}

.modal-product-name {
    color: #0C6A8A;
    font-weight: 600;
}

.info-left-value {
    color: #8D8D8D;
    font-size: 12px;
    margin-bottom: 0rem !important;
}

.info-left-label {
    font-weight: 600;
    font-size: 12px;
}

.product-info-right-modal {
    border-radius: .75rem!important;
    background-color: #FCFCFC;
    opacity: 1;
}

.modal-title {
    color: #7B7E70;
    font-weight: 700;
}

.product-modal-scroll {
    overflow-y: scroll;
    max-height: 550px;
    white-space: normal;
}

.product-modal-scroll::-webkit-scrollbar {
    color: #EBE2D8;
    width: 8px;
    border-radius: 8px;
}

.product-modal-scroll::-webkit-scrollbar-thumb {
    background: #EBE2D8;
    border-radius: 8px;
}


.info-right-label {
    color: #2D2E29;
    font-weight: 600;
    font-size: 16px;
    text-align: left;
}

.info-right-value {
    color: #8D8D8D;
    font-size: 12px;
}

/* Fix Bootstrap modal backdrop conflicts */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal-backdrop.fade:not(.show) {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.15s linear, visibility 0.15s linear !important;
}

/* Ensure custom modal backdrops don't interfere with Bootstrap modals */
.add-patient-modal-backdrop,
.prescription-modal-backdrop, 
.transfer-modal-backdrop {
    z-index: 1055 !important;
}

/* Ensure showProductInfo modal has proper z-index */
#showProductInfo {
    z-index: 1060 !important;
}


