﻿#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.editable-td {
    cursor: pointer; /* Shows a pointer cursor */
    transition: background-color 0.3s ease; /* Smooth background change */
}

    .editable-td:hover {
        background-color: #f0f8ff; /* Light background to indicate interactivity */
    }

    /* Optional style for edit icon */
    .editable-td .edit-icon {
        margin-left: 5px;
        font-size: 0.8em;
        opacity: 0.5;
    }

    .editable-td:hover .edit-icon {
        opacity: 1;
    }

/* Input styling inside td */
.editable-input {
    width: 100%;
    padding: 5px;
    font-size: 1em;
}

.card .table tbody td:last-child, .card .table thead th:last-child {
    display: table-cell !important;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Half-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Higher than Bootstrap modals and other UI elements */
}

.loader-circle {
    border: 8px solid rgba(255, 255, 255, 0.3); /* Light border */
    border-radius: 50%;
    border-top: 8px solid #fff; /* White top border for animation */
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}