﻿#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;
    }

.nav-group-sub .nav-link {
    padding-left: calc(var(--nav-link-padding-x) * 1.1 + var(--icon-font-size)) !important;
}

.slogan {
    font-size: 18px;
    font-weight: 600;
    margin-left: 8px;
    color: floralwhite;
}

.card-body {
    padding: 10px !important;
}

.mobile-record-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
/*    margin: 6px 0;*/
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    font-size: 13px;
    line-height: 1.5;
}

.mobile-record-media {
    display: flex;
    align-items: flex-start;
}

    .mobile-record-media img {
        display: block;
    }

.mobile-record-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.mobile-record-title {
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    white-space: normal;
}

.mobile-record-subtitle {
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 2px;
}

.mobile-record-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-record-line {
    display: block;
    word-break: break-word;
}

.mobile-record-line-label {
    color: #64748b;
    font-weight: 500;
}

.mobile-record-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    padding-top: 2px;
}

.mobile-record-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.mobile-record-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.mobile-record-badge-success {
    background: #e8f5e9;
    color: #166534;
}

.mobile-record-badge-warning {
    background: #fff7ed;
    color: #c2410c;
}

.mobile-record-badge-info {
    background: #e0edff;
    color: #1d4ed8;
}

.mobile-record-badge-muted {
    background: #f1f5f9;
    color: #475569;
}

.mobile-profile-shell {
    display: flex;
    gap: 16px;
}

.mobile-profile-sidebar {
    min-width: 280px;
}

@media (max-width: 800px) {
    .e-treecell{
        display:block !important;
    }
    .e-grid.e-device .e-rowcell:first-child, .e-grid.e-device .e-summarycell:first-child {
        padding: 3px;
    }
    .e-grid.e-device .e-rowcell:last-child, .e-grid.e-device .e-summarycell:last-child {
        padding: 6px;
    }
    .e-grid.e-device .e-filterbarcell:last-child {
        padding: 6px;
    }
    .e-treecell
    {
        margin-top: -20px;
    }

    .mobile-record-card {
        padding: 5px;
        border-radius: 10px;
    }

    .mobile-record-actions {
        justify-content: flex-end;
    }

    .mobile-profile-shell {
        flex-direction: column;
    }

    .mobile-profile-sidebar.sidebar-component {
        display: block !important;
        min-width: 100%;
        width: 100%;
        margin-right: 0 !important;
    }

    .mobile-profile-sidebar .sidebar-content {
        height: auto;
        overflow: visible;
    }
}

