.main-content {
    align-items: center;
    display: flex;
    min-height: 100dvh;
    justify-content: center;
    width: 100%;
}

.route-content {
    align-items: center;
    display: flex;
    min-height: 100%;
    justify-content: center;
    width: 100%;
}

.icon-font {
    font-size: 1.25rem;
}

.denied-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: min(42rem, 100%);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--dxds-color-border-transparent-rest);
    background-color: var(--dxds-color-surface-neutral-default-rest);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    position: relative;
}

.denied-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    background: var(--dxds-color-content-danger-default-rest);
}

.denied-card-icon {
    flex: 0 0 auto;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dxds-color-content-danger-default-rest);
}

.denied-card-icon i {
    font-size: 3rem;
}

.denied-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.denied-card-body .title-header-text {
    font-size: var(--dxds-font-size-headline-md);
    line-height: var(--dxds-line-height-headline-md);
}

.denied-card-body .title-content-text {
    color: var(--dxds-color-content-secondary-default-rest);
}

.info-field {
    font-size: 0.825rem;
    color: var(--dxds-color-surface-info-default-rest);
}

/* Responsive popup sizes:
   - On large viewports use a fixed target width but constrained to viewport using vw
   - On small viewports use almost-full width with side margins
*/
.pw-800 {
    width: min(800px, 90vw) !important;
    max-width: 90vw !important;
}

.pw-1200 {
    width: min(1200px, 95vw) !important;
    max-width: 95vw !important;
}

@media (max-width: 899.98px) {
    .pw-800,
    .pw-1200 {
        width: calc(100% - 2rem) !important;
        max-width: calc(100% - 2rem) !important;
        margin: 0 1rem !important;
    }
}

.popup-table-content {
    max-height: calc(100vh - 12rem);
    overflow-y: auto;
    padding: .25rem;
}

@media (max-width: 575.98px) {
    .popup-table-content {
        max-height: calc(100vh - 10rem);
        padding: 0;
    }

    .responsive-data-table-wrapper {
        overflow-x: visible;
    }

    .responsive-data-table,
    .responsive-data-table thead,
    .responsive-data-table tbody,
    .responsive-data-table tr,
    .responsive-data-table th,
    .responsive-data-table td {
        display: block;
    }

    .responsive-data-table {
        border: 0;
    }

    .responsive-data-table thead {
        display: none;
    }

    .responsive-data-table tbody {
        display: grid;
        gap: .75rem;
    }

    .responsive-data-table tr {
        border: 1px solid var(--bs-border-color);
        border-radius: .5rem;
        overflow: hidden;
    }

    .responsive-data-table td {
        align-items: center;
        border: 0;
        border-bottom: 1px solid var(--bs-border-color);
        display: flex;
        gap: 1rem;
        justify-content: space-between;
        min-height: 2.75rem;
        padding: .65rem .85rem;
        text-align: right;
    }

    .responsive-data-table td:last-child {
        border-bottom: 0;
    }

    .responsive-data-table td::before {
        color: var(--bs-secondary-color);
        content: attr(data-label);
        flex: 0 0 auto;
        font-weight: 600;
        text-align: left;
    }
}
