/* Blazored Modal CSS v7.3.1 */
/* This is a local copy to work around the static web assets issue */

.blazored-modal-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    opacity: 0;
    animation: blazored-modal-fadein 0.3s;
    animation-fill-mode: forwards;
    background-color: transparent;
    transition: background-color 0.3s;
}

.blazored-modal-overlay {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2001;
    background-color: rgba(0,0,0,0.5);
}

.blazored-modal-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2002;
    pointer-events: none;
}

.blazored-modal {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    max-height: calc(100vh - 3.5rem);
    margin: 1.75rem auto;
    background-color: #fff;
    border-radius: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
    pointer-events: all;
    animation: blazored-modal-slide-down 0.3s;
}

.blazored-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.blazored-modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
}

.blazored-modal-close {
    padding: 0;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
    appearance: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
}

.blazored-modal-close:hover {
    opacity: 0.75;
}

.blazored-modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
    overflow-y: auto;
}

.blazored-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

/* Size variations */
.blazored-modal-dialog-sm {
    max-width: 300px;
}

.blazored-modal-dialog-lg {
    max-width: 800px;
}

.blazored-modal-dialog-xl {
    max-width: 1140px;
}

/* Animations */
@keyframes blazored-modal-fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes blazored-modal-slide-down {
    from {
        transform: translate(0, -25%);
        opacity: 0;
    }
    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* Scrollbar styles */
.blazored-modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

/* Responsive */
@media (min-width: 576px) {
    .blazored-modal {
        max-width: 500px;
    }
    
    .blazored-modal-dialog-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .blazored-modal-dialog-lg,
    .blazored-modal-dialog-xl {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .blazored-modal-dialog-xl {
        max-width: 1140px;
    }
} 