/* Custom styles for Blazor reconnection UI */
#components-reconnect-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#components-reconnect-modal .show {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    text-align: center;
}

#components-reconnect-modal h5 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.25rem;
}

#components-reconnect-modal .loader {
    margin: 1rem auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#blazor-error-ui {
    background: #dc3545;
    color: white;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    display: none;
}

#blazor-error-ui .reload {
    color: white;
    text-decoration: underline;
    margin-left: 1rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    margin-left: 1rem;
}

/* Modern rounded card styling */
.rounded-card {
    border-radius: 16px !important;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rounded-button {
    border-radius: 8px !important;
}

/* Hover effect for cards */
.hover-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Smooth transitions for interactive elements */
.mud-paper {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Cleaner spacing and typography */
.mud-container {
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 600px) {
    .mud-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

