@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto.ttf') format('truetype');
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
}

:root {
    --studio-ink: #15212e;
    --studio-muted: #5a6c7d;
    --studio-line: #d8e0e8;
    --studio-surface: rgba(255, 255, 255, 0.82);
    --studio-accent: #d7a64a;
    --studio-panel: linear-gradient(135deg, #16324f 0%, #244b73 100%);
    --studio-wash: radial-gradient(circle at top left, rgba(215, 166, 74, 0.2), transparent 30%), linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: 'Roboto', Arial, sans-serif;
    background: var(--studio-wash);
    color: var(--studio-ink);
}

.mud-layout {
    padding-top: 0 !important;
}

.mud-main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

a {
    color: inherit;
}

code {
    font-family: "Cascadia Code", "Courier New", monospace;
}

h1:focus {
    outline: none;
}

.home-shell,
.status-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-panel,
.surface-card,
.status-card {
    border: 1px solid rgba(216, 224, 232, 0.75);
    border-radius: 24px;
    backdrop-filter: blur(12px);
}

.hero-panel {
    padding: 32px;
    background: var(--studio-panel);
    color: white;
    box-shadow: 0 24px 60px rgba(22, 50, 79, 0.22);
}

.eyebrow {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.18em;
}

.hero-title {
    margin-top: 10px;
}

.hero-copy {
    max-width: 720px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.86);
}

.overview-grid {
    margin-top: 8px;
}

.surface-card,
.status-card {
    height: 100%;
    padding: 24px;
    background: var(--studio-surface);
    box-shadow: 0 16px 40px rgba(25, 42, 62, 0.08);
}

.status-card {
    width: 100%;
    max-width: 720px;
}

.muted-text {
    margin-top: 10px;
    color: var(--studio-muted);
}

.status-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.login-landing-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 20px;
}

.login-landing-header {
    display: flex;
    justify-content: center;
}

.login-language {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem;
    border: 1px solid rgba(36, 36, 36, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 8px 22px rgba(36, 36, 36, 0.05);
}

.login-language-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    color: #6a5a60;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.login-language-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.login-language-option.active {
    background: #f5edef;
    color: #a75a72;
    box-shadow: inset 0 0 0 1px rgba(192, 74, 110, 0.14);
}

.login-landing-main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-landing-hero {
    position: relative;
    width: 100%;
    max-width: 980px;
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

.login-landing-card {
    position: relative;
    width: min(880px, 100%);
    padding: 3rem;
    border-radius: 32px;
    color: #242424;
    background:
        radial-gradient(circle at top right, rgba(192, 74, 110, 0.2), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 244, 0.95));
    border: 1px solid rgba(36, 36, 36, 0.08);
    box-shadow: 0 28px 70px rgba(36, 36, 36, 0.14);
    backdrop-filter: blur(10px);
}

.login-landing-accent {
    width: 96px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #242424, #c04a6e 72%);
    margin-bottom: 1.5rem;
}

.login-landing-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(192, 74, 110, 0.11);
    color: #8d3350;
    letter-spacing: 0.16em;
    font-weight: 800;
}

.login-landing-title {
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.1;
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.login-landing-body {
    max-width: 42rem;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #5b4a50;
}

.login-landing-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.login-landing-button {
    min-height: 52px;
    border-radius: 14px;
    text-transform: none;
    font-size: 1rem;
    font-weight: 700;
}

.login-landing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.65;
    pointer-events: none;
}

.login-landing-orb-left {
    width: 220px;
    height: 220px;
    top: 8%;
    left: max(-40px, 4%);
    background: radial-gradient(circle, rgba(192, 74, 110, 0.26), transparent 70%);
}

.login-landing-orb-right {
    width: 320px;
    height: 320px;
    right: max(-70px, 2%);
    bottom: 4%;
    background: radial-gradient(circle, rgba(36, 36, 36, 0.14), transparent 72%);
}

.login-landing-footer {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.login-landing-footer-logo {
    width: 148px;
    max-width: 100%;
    height: auto;
    opacity: 0.96;
}

.card-link {
    margin-top: 16px;
}

.claims-divider {
    margin-block: 24px 16px;
}

.claims-list {
    margin-top: 12px;
}

.claim-row {
    display: grid;
    gap: 4px;
}

.claim-type {
    font-size: 0.8rem;
    color: var(--studio-muted);
    word-break: break-word;
}

.claim-value {
    word-break: break-word;
}

.request-id {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--studio-line);
}

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

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

.validation-message {
    color: #e50000;
}

@media (max-width: 700px) {
    .home-shell,
    .status-shell {
        padding: 16px;
    }

    .hero-panel,
    .surface-card,
    .status-card {
        border-radius: 20px;
    }

    .hero-panel {
        padding: 24px;
    }

    .status-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .login-landing-shell {
        padding: 16px;
    }

    .login-landing-hero {
        min-height: auto;
        padding: 1.5rem 0 2rem;
    }

    .login-landing-card {
        padding: 2rem 1.35rem;
        border-radius: 24px;
    }

    .login-landing-body {
        font-size: 1rem;
        line-height: 1.7;
    }

    .login-landing-actions {
        grid-template-columns: 1fr;
    }
}
