@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


html {
    scroll-behavior: smooth;
}

html, body {
    font-family: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #F5F5F5;
    --mdc-theme-primary: #2BC48A;
}

/* ── Material text field overrides ────────────────────── */

.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {
    border-color: #94a3b8;
}

.mdc-text-field--outlined:not(.mdc-text-field--disabled):hover .mdc-notched-outline__leading,
.mdc-text-field--outlined:not(.mdc-text-field--disabled):hover .mdc-notched-outline__notch,
.mdc-text-field--outlined:not(.mdc-text-field--disabled):hover .mdc-notched-outline__trailing {
    border-color: #64748b;
}

.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: #475569;
}

.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
    color: #2BC48A;
}

.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {
    color: #0f172a;
}

.mdc-select:not(.mdc-select--disabled) .mdc-select__anchor {
    border-color: #94a3b8;
}

.mdc-select:not(.mdc-select--disabled):hover .mdc-select__anchor {
    border-color: #64748b;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding: 1.1rem 1.5rem 0 1.5rem;
    overflow-x: hidden;
}

/* ── Shared Page Layout ───────────────────────────────── */

.page-hero-wrapper {
    margin: -1.1rem calc(-50vw + 50%) 0 calc(-50vw + 50%);
    width: 100vw;
    overflow: hidden;
}

.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 40px 28px 36px 28px;
    text-align: center;
}

.page-hero-tagline {
    display: inline-block;
    font-size: 0.78rem;
    color: #2BC48A;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 0;
    color: #fff;
}

.page-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 20px;
}

.page-section + .page-section {
    border-top: 1px solid #e5e7eb;
}

.page-section-center {
    text-align: center;
    padding-top: 16px;
}

.page-section-label {
    display: block;
    font-size: 0.72rem;
    color: #2BC48A;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.page-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    letter-spacing: 0.2px;
}

.page-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 28px;
}

.page-intro {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.page-intro:last-child {
    margin-bottom: 0;
}

.page-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
}

.page-validation-list {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    width: 100%;
}

.page-validation-list p {
    margin: 0 0 8px 0;
}

.page-validation-list p:last-child {
    margin-bottom: 0;
}

.form-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Standard width of a form input field across the wizard pages.
   Replaces the inline style="margin: 6px; width:345px" that was
   sprinkled across every MBTextField / MBSelect / MBDatePicker. */
.form-input-345 {
    margin: 6px;
    width: 345px;
    max-width: 100%;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 4px 0;
}

/* Standard width of an action button (Save / Back / Cancel / Delete)
   in the wizard pages. Replaces the inline width:125px that was on
   every MBButton across the legacy Material.Blazor pages. */
.form-action-btn {
    width: 125px;
}

/* Wider button variants used on the legacy single-button pages
   (Cookie / TermsAndConditions back, Disclaimer accept etc.). */
.btn-wide-250 {
    width: 250px;
}

.btn-wide-325 {
    width: 325px;
}

/* ── Data Tables ──────────────────────────────────────── */

.code-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.code-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    table-layout: auto;
}

.code-table th {
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.code-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.code-table tbody tr:hover {
    background-color: #f8fafc;
}

.code-table-action {
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .page-hero {
        padding: 28px 16px 24px 16px;
    }

    .page-hero-title {
        font-size: 1.35rem;
    }

    .page-section {
        padding: 24px 16px;
    }

    .page-card {
        padding: 18px 16px;
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Reconnect modal styles */
#components-reconnect-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#components-reconnect-modal.components-reconnect-hide {
    display: none;
}

#components-reconnect-modal .reconnect-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

#components-reconnect-modal .reconnect-dialog {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: reconnect-fadein 0.3s ease;
}

@keyframes reconnect-fadein {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

#components-reconnect-modal .reconnect-content {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .show-reconnecting,
#components-reconnect-modal.components-reconnect-failed .show-failed,
#components-reconnect-modal.components-reconnect-rejected .show-rejected {
    display: block;
}

#components-reconnect-modal .reconnect-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #1976d2;
}

#components-reconnect-modal .reconnect-icon-failed {
    color: #d32f2f;
}

#components-reconnect-modal .reconnect-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes reconnect-spin {
    to { transform: rotate(360deg); }
}

#components-reconnect-modal .reconnect-spinner {
    animation: reconnect-spin 1s linear infinite;
}

#components-reconnect-modal .reconnect-title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #212121;
}

#components-reconnect-modal .reconnect-message {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

#components-reconnect-modal .reconnect-button {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

#components-reconnect-modal .reconnect-button:hover {
    background: #1565c0;
    color: #fff;
    text-decoration: none;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.defaultpadding {
    padding: 10px;
}

.centertext {
    text-align: center;
    padding: 10px;
}

.center {
    margin: auto;
    max-width: 1000px; /* Fjern begraensningen paa maksimal bredde */
    min-width: 350px;
    width: 100%; /* Brug en relativ bredde for bedre responsivitet */
    padding: 5px;
    box-sizing: border-box; /* Inkluder polstringen i den samlede bredde */
}

.centerlogin {
    margin: auto;
    width: 375px;
    padding: 10px;
}

.inlineblock {
    display: inline-block;
    padding: 5px;
}

.inlineblockcard {
    display: flex;
    flex-direction: column;
    padding: 5px;
    width: 250px;
    max-width: 250px;
}

.inlineblockcard > * {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.inlineblockcard .mdc-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.inlineblockcard .mdc-card__primary-action {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.inlineblockcard .mb-card__autostyled {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.inlineblockcard .mb-card__title {
    font-size: 0.95rem !important;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.inlineblockcard .mb-card__subtitle {
    font-size: 0.78rem !important;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.overviewBackground {
    background-color: #666666
}

.overviewTile {
    background-color: #2BC48A;
    height: 130px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .overviewTile:hover {
        filter: brightness(0.9);
    }

.ready-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    line-height: 0;
}

.tcenter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    border: 3px solid green;
}

.image-container {
    text-align: center;
    padding: 8px;
    border: 1px solid #ccc; 
    border-radius: 10px; 
}

    .image-container img {
        min-width: 200px;
        max-width: 500px;
        width: 100%;
        height: auto;
    }

.border-div {
    border: 1px solid #000; 
}

/* ── Legal / Policy Pages ─────────────────────────────── */

.page-legal-section {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: 16px;
}

.page-legal-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.page-link-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-link-list li a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.page-link-list li a:hover {
    background: #f0fdf4;
    border-color: #2BC48A;
    color: #0f172a;
}

.page-contact-block {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 12px 0;
}

.page-contact-block p {
    margin: 0 0 6px 0;
    font-size: 0.88rem;
    color: #334155;
}

.page-contact-block p:last-child {
    margin-bottom: 0;
}

.page-contact-block a {
    color: #0071c1;
    text-decoration: none;
}

.page-contact-block a:hover {
    text-decoration: underline;
}

.page-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.container {
    display: flex;
    flex-direction: column;
    height: 300px;
    align-items: flex-start;
}

/* Index page layout */
.flex-wrap-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-wrap-container-centered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.price-card-column {
    flex: 1;
    flex-wrap: wrap;
    max-width: 750px;
    min-width: 350px;
    align-items: flex-start;
    padding: 10px;
}

.price-card-column-right {
    flex: 1;
    flex-wrap: wrap;
    text-align: right;
    width: 300px;
    justify-content: center;
    align-items: flex-start;
    display: flex;
}

.tile-bg-light {
    background-color: #F5F5F5;
}

.text-success-message {
    color: green;
}

.text-error-message {
    color: red;
}

.text-smaller {
    font-size: smaller;
}

.input-field-spaced {
    margin: 6px;
    width: 300px;
}

.registration-image-column {
    flex: 1;
    text-align: right;
    min-width: 200px;
    max-width: 350px;
}

.registration-content-column {
    flex: 1;
    max-width: 800px;
    min-width: 200px;
    align-items: center;
    padding: 10px;
}

.login-box {
    width: 300px;
    margin: auto;
}

.partner-logo-column {
    flex: 1;
    text-align: right;
    min-width: 250px;
    max-width: 350px;
}

.reason-card {
    width: 220px;
}

/* MainLayout */
.header-bar {
    width: 100%;
    background-color: #121212;
}

.header-title {
    color: white;
    padding-left: 15px;
}

.header-subtitle {
    font-size: smaller;
    padding-left: 10px;
}

.header-nav-icon {
    width: 30px;
    height: 30px;
}

/* Tile background color variants */
.tile-bg-yellow {
    background-color: #FFD15C;
}

.tile-bg-teal {
    background-color: #66C6B9;
}

.tile-bg-blue {
    background-color: #3282F6;
}

.tile-bg-blue-soft {
    background-color: #D3E3FD;
}

.tile-bg-red {
    background-color: #F3705A;
}

.tile-bg-green {
    background-color: #1C9349;
}

.tile-bg-lemon {
    background-color: #FEE082;
}

.tile-bg-lime {
    background-color: #B5E61D;
}

.tile-bg-azure {
    background-color: #0078D4;
}

.tile-bg-purple {
    background-color: #CE98FA;
}

.tile-bg-mint {
    background-color: #BCECDA;
}

.tile-bg-cyan {
    background-color: #41C8FF;
}

.tile-bg-green-success {
    background-color: #4BAE4F;
}

.tile-bg-red-error {
    background-color: #E93F4B;
}

/* Form field sizes */
.input-field-wide {
    margin: 6px;
    width: 345px;
}

/* Buttons */
.btn-primary-wide {
    --mdc-theme-primary: var(--mb-color-light-blue-800);
    width: 325px;
}

.btn-primary-compact {
    --mdc-theme-primary: var(--mb-color-light-blue-800);
    width: 125px;
}

.display-block {
    display: block;
}

.display-inline {
    display: inline;
}

.rounded-corner-image {
    border-radius: 10px;
}



.rounded-corner {
    /*transition: box-shadow 0.3s ease; /* Tilfoej en overgangseffekt */
    border-radius: 4px; /* Radius af hjoerner */
    box-shadow: 0 0 0 0.7px #9E9E9E; /* Simuler en tyndere streg med en lys graa farve */
}

    .rounded-corner:hover {
        box-shadow: 0 0 0 0.7px #000; /* Aendre box-shadow for at simulere hover paa border */
    }

.mdc-dialog__surface {
    overflow-y: visible !important;
}

.mdc-dialog__content {
    overflow: visible !important;
}

.mdc-menu-surface--open {
    z-index: 200 !important;
    max-height: 280px !important;
    overflow-y: auto !important;
}

/* ============================================================
   MudCard inside .inlineblockcard - matches what .mdc-card did
   for the original Material.Blazor MBCard layout.

   The .clickable-tile class is applied to the outer
   .inlineblockcard div whenever the tile is meant to be clicked
   (we attach @onclick on the wrapper because MudBlazor 9.4.0
   MudCard does not expose an OnClick parameter directly).
   ============================================================ */

.inlineblockcard .mud-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

/* The coloured strip at the top of each tile (overviewTile) sits
   directly inside MudCard. Because MudCard has overflow:hidden the
   strip's top corners are clipped to the card's border-radius, but
   the bottom of the strip otherwise butts up against the title
   text - add a small gap below it and proper inner padding around
   the title/subtitle block so the tile breathes. */
.inlineblockcard .mud-card .mb-card__autostyled {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 12px 16px 16px 16px;
}

.inlineblockcard .mud-card .mb-card__title {
    font-size: 0.95rem !important;
    line-height: 1.3;
    margin: 0 0 4px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.inlineblockcard .mud-card .mb-card__subtitle {
    font-size: 0.78rem !important;
    line-height: 1.4;
    margin: 0;
    color: rgba(15, 23, 42, 0.62);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.clickable-tile {
    cursor: pointer;
}

.clickable-tile:hover .mud-card {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

/* ============================================================
   MDC NOTCHED OUTLINE FIX MARKER

   MudBlazor 9.4.0's MudBlazor.min.css ships a universal reset:
       * { box-sizing: border-box; margin: 0; padding: 0;
           border-width: 0; border-style: solid; ... }

   This reset breaks Material.Blazor's .mdc-notched-outline:
   the longhand border-*-width: 0 collapses Material.Blazor's
   per-side widths declared via shorthand (border-top: 1px solid)
   so the floating label ends up overlapping a thin coloured
   stripe of the outline border.

   Fix strategy: revert the most common reset victims to their
   browser defaults explicitly on every .mdc-* element so the
   Material Components Web layout works as it does without
   MudBlazor on the page. We use 'all: revert-layer' is too broad
   and can break Material.Blazors own intentional rules, so we
   target only border / padding / margin behaviour.

   Once Material.Blazor is removed in phase 6 this whole block
   can be deleted.
   ============================================================ */

/* Re-establish the notched outline border structure that
   Material.Blazor expects. Specificity 0,2,0 (two classes
   chained) wins over both the universal * reset (0,0,0) and
   Material.Blazor's own single-class rules (0,1,0). */

.mdc-notched-outline .mdc-notched-outline__leading {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-width: 0;
}

.mdc-notched-outline .mdc-notched-outline__notch {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 0;
    border-right-width: 0;
    padding-right: 8px;
}

.mdc-notched-outline .mdc-notched-outline__trailing {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 0;
    border-right-width: 1px;
}

/* When the floating label is up, the notch must hide its top
   border so the label sits cleanly in the gap. */
.mdc-notched-outline.mdc-notched-outline--notched .mdc-notched-outline__notch {
    border-top-width: 0;
    padding-top: 1px;
}

.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline.mdc-notched-outline--notched .mdc-notched-outline__notch,
.mdc-select--focused.mdc-select--outlined .mdc-notched-outline.mdc-notched-outline--notched .mdc-notched-outline__notch {
    padding-top: 2px;
}

/* Focused state: outline thickens to 2px on the visible sides.
   Material.Blazor's original rule is .mdc-text-field--focused
   .mdc-notched-outline__leading { border-width: 2px } - shorthand
   that re-applies all four sides, but our 0-width sides are
   protected by the 0,2,0 rules above so we must explicitly set
   2px on the visible sides only. */

.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,
.mdc-select--focused.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading {
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
}

.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch,
.mdc-select--focused.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__notch {
    border-bottom-width: 2px;
}

.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline.mdc-notched-outline--notched .mdc-notched-outline__notch,
.mdc-select--focused.mdc-select--outlined .mdc-notched-outline.mdc-notched-outline--notched .mdc-notched-outline__notch {
    border-top-width: 0;
    border-bottom-width: 2px;
}

.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,
.mdc-select--focused.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing {
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

/* Hover (not focused, not disabled): outline stays 1px but darkens.
   Material.Blazor sets only border-color via shorthand which works,
   so no width override is needed - the rules above already apply. */
