/* Spinner and small overrides copied from MainLayout.razor.css */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.spinner {
    width: 64px;
    height: 64px;
    border: 7px solid #333;
    border-top: 7px solid #f0c84b;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.loading-text {
    margin-top: 16px;
    color: #f0c84b;
    font-size: 20px;
    font-weight: bold;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* image title */
.image-title {
    color: #ffd84d;
    text-align: left;
    margin-top: 20px;
    padding: 0;
    line-height: 1.2;
}

/* Ensure loading overlay sits above the page */
#loadingOverlay { display: none; }
