.jwt-shell {
    max-width: 980px;
    margin: 28px auto;
    padding: 0 16px 40px;
    font-family: monospace, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.jwt-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.jwt-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.jwt-subtitle {
    color: #667085;
    margin-top: 4px;
}

.jwt-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
}

.badge-muted {
    color: #6b7280;
}

.badge-ok {
    border-color: #86efac;
    background: #f0fdf4;
}

.badge-warn {
    border-color: #fca5a5;
    background: #fef2f2;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    margin-top: 12px;
}

.label {
    font-weight: 700;
    font-size: 13px;
    color: #374151;
}

.token-row {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 12px;
    margin-top: 8px;
}

.token {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 12px;
    font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    outline: none;
}

    .token:focus {
        border-color: #93c5fd;
        box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
    }

.actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
}

    .btn:hover {
        background: #f9fafb;
    }

    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.btn-primary {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

    .btn-primary:hover {
        background: #1d4ed8;
    }

.btn-small {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 10px;
}

.alert {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-weight: 600;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tab {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
    cursor: pointer;
}

    .tab.active {
        border-color: #93c5fd;
        background: #eff6ff;
    }

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.panel-title {
    font-weight: 800;
}

.code {
    margin-top: 10px;
    border: 1px solid #e5e7eb;
    background: #0b1220;
    color: #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    overflow: auto;
    font-size: 13px;
}

.claims-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.input {
    flex: 1;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    outline: none;
}

    .input:focus {
        border-color: #93c5fd;
        box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
    }

.table-wrap {
    overflow: auto;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th, .table td {
        padding: 10px 12px;
        border-bottom: 1px solid #f1f5f9;
        vertical-align: top;
    }

    .table th {
        text-align: left;
        font-size: 12px;
        color: #6b7280;
        background: #fafafa;
    }

    .table td.value {
        word-break: break-all;
    }

.icon-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 6px 8px;
    cursor: pointer;
}

    .icon-btn:hover {
        background: #f9fafb;
    }

.hint {
    margin-top: 10px;
    color: #6b7280;
    font-size: 13px;
}

body {
    background-color: #f8fafc; /* very light gray */
}

#blazor-error-ui {
    display: none;
}

:root {
    --bs-body-font-family: monospace, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.claim-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.info {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 12px;
    cursor: help;
    color: #374151;
    background: #fff;
    user-select: none;
}

.info:hover {
    background: #f9fafb;
}

.boot {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f8fafc; /* same canvas as your app */
    padding: 24px;
}

.boot-card {
    width: min(720px, 100%);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.boot-title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.boot-subtitle {
    color: #667085;
    margin-top: 4px;
    font-weight: 600;
}

.boot-skeleton {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.sk {
    height: 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: sk 1.2s ease-in-out infinite;
}

    .sk.short {
        width: 60%;
    }

@keyframes sk {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.boot-foot {
    margin-top: 14px;
    color: #6b7280;
    font-size: 13px;
}

.app-footer {
    margin-top: 32px;
    padding: 16px 0;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    justify-content: center;
    gap: 6px;
}

    .app-footer .sep {
        opacity: .5;
    }