/* WSI Viewer Modal Styles */

.wsi-viewer-modal .modal-dialog {
    max-width: 95vw;
    height: 95vh;
    margin: 2.5vh auto;
}

.wsi-viewer-modal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wsi-viewer-modal .modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.wsi-viewer-host {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
}

.wsi-viewer-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    z-index: 1000;
}

.wsi-viewer-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.wsi-viewer-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background-color: rgba(220, 53, 69, 0.9);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
}
