h1:focus {
    outline: none;
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.card {
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.5rem rgba(16, 24, 40, 0.08);
}

.table thead th {
    white-space: nowrap;
}

.table-responsive {
    overflow: visible !important;
}

.table,
.table thead,
.table tbody,
.table tr,
.table th,
.table td {
    overflow: visible;
}

.home-hero-image {
    max-height: 360px;
    object-fit: contain;
}

.home-section-image {
    width: 100%;
    max-height: 130px;
    object-fit: contain;
}

.page-title-image {
    width: 475px;
    object-fit: contain;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMzLjU4NiA2Ni4wMTgzWk0yNjMuNTc2IDg2LjA1NDdaIj5cbiAgICA8L3N2Zz4KICAgPC9zdmc+CgoK
) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.btn-icon-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn,
a.btn {
    white-space: nowrap;
}

.app-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.app-icon path,
.app-icon circle,
.app-icon rect,
.app-icon polygon,
.app-icon line,
.app-icon polyline,
.app-icon ellipse {
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.app-icon .app-icon-fill {
    fill: currentColor;
    stroke: none;
}

.btn-icon-control .app-icon {
    width: 0.95em;
    height: 0.95em;
}

.confirm-resource-list {
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
}

.confirm-resource-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    min-width: 0;
}

.confirm-resource-row:last-child {
    border-bottom: 0;
}

.confirm-resource-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 24px;
}

.confirm-resource-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.action-btn-wide {
    min-width: 6.5rem;
}

.action-btn-compact {
    --bs-btn-padding-y: 0.22rem;
    --bs-btn-padding-x: 0.45rem;
    --bs-btn-font-size: 0.8rem;
    --bs-btn-border-radius: 0.45rem;
}

.action-btn-icon-only {
    min-width: 2rem;
    width: 1rem;
    height: 2rem;
    padding: 0;
}

.action-btn-icon-only .app-icon {
    width: 1rem;
    height: 1rem;
}

.action-row-tight {
    flex-wrap: nowrap;
    align-items: center;
}

@media (max-width: 1200px) {
    .action-row-tight {
        flex-wrap: wrap;
    }
}

.action-btn-compact:disabled,
.restore-continue-btn:disabled {
    opacity: 0.5;
    filter: saturate(0.35);
    cursor: not-allowed;
}

.home-action-btn {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.info-tip {
    display: inline-flex;
    position: relative;
    z-index: 1;
    margin-left: 0.3rem;
    vertical-align: middle;
    overflow: visible;
}

.info-tip-button {
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    border: 1px solid #6b7280;
    background: #fff;
    color: #4b5563;
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.info-tip-button:hover,
.info-tip-button:focus-visible {
    border-color: #374151;
    color: #111827;
    outline: none;
}

.info-tip-popover {
    display: block;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.45rem);
    transform: translateX(-50%);
    z-index: 2000;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 0.5rem;
    padding: 0.55rem 0.65rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    min-width: 220px;
    max-width: min(360px, calc(100vw - 1rem));
    background: #fff;
    color: #111827;
    font-size: 0.86rem;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.info-tip-popover::-webkit-scrollbar {
    display: none;
}

.info-tip-popover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    filter: drop-shadow(0 1px 0 rgba(15, 23, 42, 0.15));
}

.info-tip-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.info-tip-body {
    display: block;
    color: #374151;
    line-height: 1.35;
}

.restore-nested-cell {
    display: flex;
    align-items: center;
    min-height: 1.25rem;
}

.restore-tree-toggle {
    color: #0f4bcf !important;
    font-size: 0.88rem;
    line-height: 1;
}

.restore-tree-toggle:hover {
    color: #0b3aa0 !important;
}

.restore-tree-leaf {
    color: rgba(15, 75, 207, 0.65);
    font-size: 0.75rem;
    line-height: 1;
}

.restore-tree-name {
    font-weight: 600;
    color: #0f172a;
}

.connect-to-azure-backup {
    margin-top: 40px;
}


.backup-restore-btn {
    align-self: center;
}