:root {
    --edt-navy: #102b50;
    --edt-blue: #0868d7;
    --edt-muted: #647792;
    --edt-line: #dce7f3;
    --edt-soft: #f4f8fd;
    --edt-green: #169a58;
    --edt-yellow: #f2bd26;
    --edt-red: #d62835
}
html, body {
    font-family: Inter,"Segoe UI", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #233447;
    background: #f6f8fb;
}

a, .btn-link {
    color: #006bb7;
}

.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-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.brand-stripe {
    width: 84px;
    height: 5px;
    border-radius: 10px;
    background: linear-gradient(90deg,var(--edt-yellow) 0 34%,var(--edt-red) 34% 68%,var(--edt-green) 68%);
}

.site-header {
    border-bottom: 1px solid var(--edt-line);
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(12px);
}

.site-header .navbar-brand {
    color: #17496b;
    font-weight: 750;
    letter-spacing: -0.025em;
}

    .site-header .navbar-brand img {
        width: 206px;
        max-height: 70px;
        -o-object-fit: contain;
        object-fit: contain;
    }

.site-header .nav-link {
    color: var(--edt-navy);
    font-weight: 650;
}

    .site-header .nav-link.active,
    .site-header .nav-link:hover {
        color: var(--edt-navy);
    }

.nav-link {
    display: block;
    padding: 0.5rem 0;
    margin-right: 1rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.navbar .nav-link:hover {
    color: var(--edt-blue);
}

.breadcrumb-link {
    -webkit-text-decoration: none;
    text-decoration: none;
}

.site-main {
    width: 100%;
    min-height: calc(100vh - 130px);
    padding: 0;
    margin: 0;
}

.site-footer {
    border-top-color: #e3eaf0;
    color: #718092;
}

.home-page,
.software-page,
.software-related,
.release-notes {
    width: 100%;
}

.home-hero {
    background: radial-gradient(ellipse at 78% 38%,#e1efff 0,rgba(238,246,255,.65) 30%,transparent 66%),linear-gradient(120deg,#fff 20%,#f7faff 100%);
}


.home-hero h1 {
    max-width: 42rem;
    margin-bottom: 0.75rem;
    color: #173b54;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 750;
    letter-spacing: -0.045em;
}

.preview-stage {
    position: relative;
    min-height: 380px;
    max-width: 620px;
    margin: auto;
}

.visual-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}


.orb-one {
    width: 290px;
    height: 290px;
    background: linear-gradient(135deg, rgba(8,104,215,.12), rgba(23,155,89,.06));
    right: 10%;
    top: 4%;
}

.orb-two {
    width: 150px;
    height: 150px;
    background: rgba(242,189,38,.14);
    right: 0;
    bottom: 10%;
}


.preview-front {
    width: 72%;
    left: 0;
    top: 105px;
    transform: rotate(-2deg);
}

.preview-back {
    width: 72%;
    right: 1%;
    top: 38px;
    transform: rotate(2deg);
}

.preview-window {
    position: absolute;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9e5f2;
    border-radius: 12px;
    box-shadow: 0 18px 45px #1237632b;
}

    .preview-window img {
        width: 100%;
        height: auto;
    }

.home-hero-copy {
    max-width: 38rem;
    margin: 0;
    color: #627587;
    font-size: 1.15rem;
    line-height: 1.7;
}

.eyebrow {
    color: var(--edt-blue);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.home-eyebrow {
    margin-bottom: 0.45rem;
    color: var(--edt-blue);
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-section-heading,
.home-releases-heading {
    margin-bottom: 1.5rem;
}

.home-section h2,
.software-related h2 {
    color: var(--edt-navy);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* ==========================================================
   CARD SOFTWARE
   ========================================================== */

.inEvidenzaOuter {
    margin-top: 24px;
    margin-bottom: 4px;
}

.software-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0; /* occupa la parte alta */
    height: 70%; /* quanto scende la sfumatura */
    pointer-events: none; /* non blocca i click */
    /* gradiente orizzontale azzurro -> rosa, molto tenue */
    background: linear-gradient( to right, rgba(200, 235, 250, 0.20), rgba(255, 205, 220, 0.20) );
    /* dissolvenza verticale: pieno in alto, trasparente in basso */
    -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}

.software-card {
    --software-accent: #0875df;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(24, 50, 80, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}


/* Effetto hover */

@media (hover: hover) {
    .software-card:hover {
        transform: translateY(-4px);
        border-color: #d4e3f4;
        box-shadow: 0 10px 26px rgba(24, 50, 80, 0.12);
    }
}



/* Area immagine: tutta la larghezza della card */

.software-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 0;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0;
}

    /* Immagine centrata, senza ritagli */

    .software-card-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 0;
    }

/* Corpo della card */

.software-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 12px;
}

/* Titolo */

.software-card-title {
    margin: 0 0 10px;
    color: #183452;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    background: transparent;
    overflow-wrap: anywhere;
}

/* Descrizione */

.software-card-description {
    margin: 0 0 20px;
    color: #66758a;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Azioni principali */

.software-card-actions {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-software {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Download: azione principale */

.btn-download {
    color: #fff;
    background: #086bd8;
    border-color: #086bd8;
}

    .btn-download:hover {
        color: #fff;
        background: #0757b1;
        border-color: #0757b1;
        text-decoration: none;
    }

/* Info: azione secondaria */

.btn-software.btn-info {
    color: #086bd8;
    background: #fff;
    border-color: #cbdcf0;
}

    .btn-software.btn-info:hover {
        color: #0757b1;
        background: #f0f6fd;
        border-color: #086bd8;
        text-decoration: none;
    }

/* Link secondari */

.software-card-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

    .software-card-links a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #65758a;
        font-size: 0.85rem;
        text-decoration: none;
    }

        .software-card-links a:hover {
            color: #086bd8;
            text-decoration: underline;
        }

    .software-card-links i {
        color: var(--software-accent);
    }

/* Focus da tastiera */

.software-card a:focus-visible {
    outline: 3px solid #91c5ff;
    outline-offset: 3px;
}

/* Smartphone */

@media (max-width: 575.98px) {
    .inEvidenzaOuter {
        margin-top: 16px;
    }

    .software-card-body {
        padding: 16px;
    }

    .software-card-title {
        font-size: 1.1rem;
    }

    .software-card-actions {
        gap: 8px;
    }
}

/* Rispetta le preferenze di movimento */

@media (prefers-reduced-motion: reduce) {
    .software-card,
    .btn-software {
        transition: none;
    }

        .software-card:hover {
            transform: none;
        }
}




.btn {
    border-radius: 0.55rem;
    font-weight: 600;
}

.home-releases-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
}

.home-search {
    width: min(100%, 27rem);
}

.home-search .form-control,
.home-search .btn {
    min-height: 2.9rem;
}

.home-search .form-control {
    border-color: #d5e0e8;
    border-radius: 0.6rem 0 0 0.6rem;
}

.home-search .btn {
    padding-inline: 1.25rem;
    border-radius: 0 0.6rem 0.6rem 0;
}

/* ==========================================================
   HOME RELEASES TABLE
   ========================================================== */


.home-release-table {
    --rel-bg: #fff;
    --rel-bg-hover: #fbfcff;
    --rel-border: #e5e9f0;
    --rel-border-hover: #c9d6ee;
    --rel-text: #1b2333;
    --rel-muted: #5f6b7a;
    --rel-pill-bg: #eaf2ff;
    --rel-pill-border: #cfe0fb;
    --rel-pill-text: #0b5ed7;
    --rel-radius: 14px;
    --bs-table-bg: transparent;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 .5rem;
}

/* ---------- Elementi comuni ---------- */

.home-release-icon img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
}

.home-release-software {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--rel-text);
    text-decoration: none;
}

    .home-release-software:hover,
    .home-release-software:focus-visible {
        color: var(--rel-pill-text);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.home-release-hash {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .15rem;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: .75rem;
    color: var(--rel-muted);
}

.btn-hash-copy {
    padding: .1rem .3rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--rel-muted);
    line-height: 1;
}

    .btn-hash-copy:hover {
        background: #eef2f7;
        color: var(--rel-text);
    }

    .btn-hash-copy.is-copied {
        color: #198754;
        opacity: 1;
    }

    .btn-hash-copy:focus-visible {
        outline: 2px solid var(--rel-pill-text);
        outline-offset: 1px;
    }

/* Su dispositivi con mouse l'icona di copia compare solo al passaggio */
@media (hover: hover) {
    .btn-hash-copy {
        opacity: 0;
        transition: opacity .15s ease;
    }

        .home-release-table tr:hover .btn-hash-copy,
        .btn-hash-copy:focus-visible,
        .btn-hash-copy.is-copied {
            opacity: 1;
        }
}

.home-release-version {
    display: inline-block;
    padding: .3rem .8rem;
    border: 1px solid var(--rel-pill-border);
    border-radius: 999px;
    background: var(--rel-pill-bg);
    color: var(--rel-pill-text);
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

    .home-release-version:hover {
        background: #dbe9ff;
    }

    .home-release-version:focus-visible {
        outline: 2px solid var(--rel-pill-text);
        outline-offset: 2px;
    }

.home-release-date {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .875rem;
    color: var(--rel-muted);
    white-space: nowrap;
}

/* Nota: niente display:flex sulla <td> su desktop, altrimenti non riempie l'altezza della riga */
.home-release-actions {
    text-align: right;
    white-space: nowrap;
}

    .home-release-actions .btn + .btn {
        margin-left: .5rem;
    }

/* Info: azione secondaria, volutamente leggera */
.home-release-info {
    border: 0;
    background: transparent;
    color: var(--rel-muted);
    font-weight: 500;
}

    .home-release-info:hover,
    .home-release-info:focus-visible {
        background: #eef2f7;
        color: var(--rel-text);
    }

/* ---------- Desktop: una riga = una scheda ---------- */

@media (min-width: 992px) {
    /* Layout automatico: icona, versione, data e azioni prendono solo lo spazio
       che serve (width: 1% + nowrap), il titolo occupa tutto il resto.
       Le colonne sono condivise da tutte le righe, quindi restano allineate. */
    .home-release-icon,
    .home-release-version-cell,
    .home-release-date-cell,
    .home-release-actions {
        width: 1%;
        white-space: nowrap;
    }

    .home-release-table > tbody > tr > .home-release-version-cell,
    .home-release-table > tbody > tr > .home-release-date-cell {
        padding-inline: 1.5rem;
    }

    .home-release-table > tbody > tr > td {
        padding: .85rem 1rem;
        background: var(--rel-bg);
        border-width: 1px 0;
        border-style: solid;
        border-color: var(--rel-border);
        transition: background-color .15s ease, border-color .15s ease;
    }

        .home-release-table > tbody > tr > td:first-child {
            padding-left: 1.25rem;
            border-left-width: 1px;
            border-radius: var(--rel-radius) 0 0 var(--rel-radius);
        }

        .home-release-table > tbody > tr > td:last-child {
            padding-right: 1.25rem;
            border-right-width: 1px;
            border-radius: 0 var(--rel-radius) var(--rel-radius) 0;
        }

    .home-release-table > tbody > tr:hover > td {
        background: var(--rel-bg-hover);
        border-color: var(--rel-border-hover);
    }

    .home-release-title-cell {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

/* ---------- Mobile: scheda su tre righe ---------- */

@media (max-width: 991.98px) {
    .home-release-table,
    .home-release-table > tbody {
        display: block;
    }

        .home-release-table > colgroup {
            display: none;
        }

        .home-release-table > tbody > tr {
            display: grid;
            grid-template-columns: 56px 1fr auto;
            grid-template-areas:
                "icon title   title"
                "icon version date"
                "actions actions actions";
            align-items: center;
            gap: .5rem .9rem;
            margin-bottom: .6rem;
            padding: .85rem;
            background: var(--rel-bg);
            border: 1px solid var(--rel-border);
            border-radius: var(--rel-radius);
        }

            .home-release-table > tbody > tr > td {
                display: block;
                padding: 0;
                background: transparent;
                border: 0;
            }

    .home-release-icon {
        grid-area: icon;
    }

    .home-release-title-cell {
        grid-area: title;
    }

    .home-release-version-cell {
        grid-area: version;
    }

    .home-release-date-cell {
        grid-area: date;
    }

    .home-release-actions {
        grid-area: actions;
        display: flex;
        align-items: center;
        gap: .5rem;
        margin-top: .25rem;
    }

        .home-release-actions .btn + .btn {
            margin-left: 0;
        }

        .home-release-actions .btn {
            flex: 1;
        }

        .home-release-actions .home-release-info {
            flex: 0 0 auto;
        }
}

/*
    ==========================================================
   SOFTWARE PAGE
   ========================================================== 
*/

.software-page h1,
.release-notes h1 {
    margin-bottom: 1.25rem;
    color: #193e58;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.software-page h2,
.release-notes h2 {
    color: #254b64;
    font-weight: 700;
}

.software-description,
.software-requirements,
.release-notes__body,
.rich-content {
    color: #405366;
    font-size: 1.02rem;
    line-height: 1.8;
}

.software-description p,
.software-requirements p,
.release-notes__body p {
    margin-bottom: 1rem;
}

.software-description img,
.software-requirements img,
.release-notes__body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.6rem;
}

.latest-version-panel {
    padding: 1.25rem 1.5rem;
    border: 1px solid #d9e8eb;
    border-left: 4px solid #0b8890;
    border-radius: 0.75rem;
    background: #f0f8f8;
}

.latest-version-panel p:last-child {
    margin-bottom: 0;
}

.software-related {
    border-top: 1px solid #e1e9ef;
}

.related-software-card {
    overflow: hidden;
    border: 1px solid #e0e8ef;
    border-radius: 0.9rem;
    box-shadow: 0 0.4rem 1.25rem rgba(31, 56, 78, 0.055);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.related-software-card .card-img-top {
    max-height: 12rem;
    object-fit: contain;
    padding: 1rem;
    background: #f1f6f8;
}

.release-notes__body {
    margin-top: 2rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid #e1e8ee;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.5rem 1.75rem rgba(31, 56, 78, 0.05);
}

.release-notes__header {
    margin-top: 1.5rem;
}

.release-notes__header .home-eyebrow {
    margin-top: 0.85rem;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.13em;
}

.release-notes__version-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.12;
}

.release-notes__metadata {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.8rem;
    color: #657587;
    font-size: 1rem;
}

.release-notes__software-name {
    color: #35566e;
    font-weight: 650;
}

.release-notes__metadata-separator {
    color: #a4b1bd;
}

.release-notes__release-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.release-notes__release-date i {
    color: #087e8b;
}

.release-notes__download-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0 0;
}

.release-notes__latest-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border: 1px solid #b9e2ca;
    border-radius: 999px;
    background: #edf9f1;
    color: #237344;
    font-size: 0.78rem;
    font-weight: 700;
}

.release-notes__body h2 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

@media (max-width: 575.98px) {
    .release-notes__metadata {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .release-notes__metadata-separator {
        display: none;
    }

    .release-notes__download-action {
        align-items: flex-start;
        flex-direction: column;
    }

    .release-notes__download-action .btn {
        width: 100%;
    }
}

.release-history-grid {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.release-history-grid .dxbl-grid-table {
    border-collapse: separate;
    border-spacing: 0 0.35rem;
}

.release-history-grid .dxbl-grid-header-row > th {
    padding: 0.85rem 1.25rem;
    border: 0;
    background: #eaf2f8;
    color: #35566e;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    text-align: left;
    text-transform: uppercase;
}

.release-history-grid .dxbl-grid-header-row > th:first-child {
    border-radius: 0.65rem 0 0 0.65rem;
}

.release-history-grid .dxbl-grid-header-row > th:last-child {
    border-radius: 0 0.65rem 0.65rem 0;
}

.release-history-grid .dxbl-grid-data-row > td {
    padding: 1rem 1.25rem;
    border: 0;
    background: #fff;
    transition: background-color 150ms ease;
}

.release-history-grid .dxbl-grid-data-row:nth-child(even) > td {
    background: #f4f8fb;
}

.release-history-grid .dxbl-grid-data-row:hover > td {
    background: #eaf5ff;
}

.release-history-grid .dxbl-grid-data-row > td:first-child {
    border-radius: 0.65rem 0 0 0.65rem;
}

.release-history-grid .dxbl-grid-data-row > td:last-child {
    border-radius: 0 0.65rem 0.65rem 0;
}

.release-history__cell-content {
    display: flex;
    min-height: 2rem;
    align-items: center;
}

.release-history__version-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border: 1px solid #cfe2f3;
    border-radius: 999px;
    background: #edf6ff;
    color: #1762a1;
    font-family: var(--bs-font-monospace);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.release-history__date {
    color: #657587;
    font-size: 0.9rem;
}

.release-history__details-link {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid #b8d7f0;
    border-radius: 999px;
    color: #1762a1;
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.release-history__details-link:hover,
.release-history__details-link:focus-visible {
    border-color: #1762a1;
    background: #1762a1;
    color: #fff;
}

.release-history__details-link:focus-visible {
    outline: 3px solid rgba(23, 98, 161, 0.25);
    outline-offset: 2px;
}

.release-history__mobile-label {
    display: none;
}

@media (max-width: 767.98px) {
    .release-history-grid .dxbl-grid-table,
    .release-history-grid .dxbl-grid-table thead,
    .release-history-grid .dxbl-grid-table tbody,
    .release-history-grid .dxbl-grid-table tr,
    .release-history-grid .dxbl-grid-table th,
    .release-history-grid .dxbl-grid-table td {
        display: block;
        width: 100%;
    }

    .release-history-grid .dxbl-grid-table {
        border-spacing: 0;
    }

    .release-history-grid .dxbl-grid-header-row {
        position: absolute;
        width: 1px !important;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        clip-path: inset(50%);
    }

    .release-history-grid .dxbl-grid-data-row {
        margin-bottom: 0.8rem;
        overflow: hidden;
        border: 1px solid #e1eaf1;
        border-radius: 0.85rem;
        background: #fff;
        box-shadow: 0 0.3rem 1rem rgba(31, 56, 78, 0.045);
    }

    .release-history-grid .dxbl-grid-data-row > td,
    .release-history-grid .dxbl-grid-data-row:nth-child(even) > td {
        padding: 0.75rem 1rem;
        border-radius: 0;
        background: #fff;
    }

    .release-history-grid .dxbl-grid-data-row > td + td {
        border-top: 1px solid #edf1f5;
    }

    .release-history-grid .dxbl-grid-data-row:hover > td {
        background: #f0f7ff;
    }

    .release-history__cell-content {
        justify-content: space-between;
        gap: 1rem;
    }

    .release-history__mobile-label {
        display: inline;
        color: #718092;
        font-size: 0.75rem;
        font-weight: 650;
        letter-spacing: 0.035em;
        text-transform: uppercase;
    }

    .release-history__date {
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .release-history-grid .dxbl-grid-data-row > td,
    .release-history__details-link {
        transition: none;
    }
}

.public-empty-state {
    max-width: 42rem;
    margin: 2rem auto;
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid #e0e8ef;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgba(31, 56, 78, 0.06);
}

.public-empty-state h1 {
    color: #193e58;
    font-weight: 750;
}

.public-empty-state-icon {
    display: inline-grid;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.25rem;
    place-items: center;
    border-radius: 50%;
    color: #087e8b;
    background: #e6f4f4;
    font-size: 1.35rem;
    font-weight: 750;
}

@media (max-width: 767.98px) {
    .home-hero {
        border-radius: 1rem;
    }

    .home-releases-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .home-search {
        width: 100%;
    }

    .home-release-table {
        min-width: 38rem;
    }

    .home-release-table > :not(caption) > * > * {
        padding: 0.75rem 0.55rem;
    }
}

.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;
}

/* DxGrid edit forms are rendered in a modal portal outside the component scope. */
.dxbl-modal > .dxbl-modal-root > .dxbl-popup.software-edit-popup:not(.dxbl-popup-resized):not(.dxbl-popup-fixed-width) {
    width: min(1180px, calc(100vw - 2rem));
    max-width: min(1180px, calc(100vw - 2rem));
}

.dxbl-modal > .dxbl-modal-root > .dxbl-popup.software-edit-popup .software-edit-form,
.dxbl-modal > .dxbl-modal-root > .dxbl-popup.software-edit-popup .dxbl-fl-item {
    width: 100%;
    min-width: 0;
}

@media (max-width: 640px) {
    .dxbl-modal > .dxbl-modal-root > .dxbl-popup.software-edit-popup:not(.dxbl-popup-resized):not(.dxbl-popup-fixed-width) {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
    }
}

/* DxGrid renders PopupEditForm in a modal portal. Match the Fluent selector
   specificity so the requested width is not overridden by theme defaults. */
.dxbl-modal > .dxbl-modal-root > .dxbl-popup.category-edit-popup:not(.dxbl-popup-resized):not(.dxbl-popup-fixed-width) {
    width: min(1020px, calc(100vw - 2rem));
    max-width: min(1020px, calc(100vw - 2rem));
}

.dxbl-modal > .dxbl-modal-root > .dxbl-popup.category-edit-popup .category-edit-form {
    width: 100%;
}

.dxbl-modal > .dxbl-modal-root > .dxbl-popup.category-edit-popup .category-edit-form .dxbl-fl-item {
    min-width: 0;
}

@media (max-width: 640px) {
    .dxbl-modal > .dxbl-modal-root > .dxbl-popup.category-edit-popup:not(.dxbl-popup-resized):not(.dxbl-popup-fixed-width) {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
    }
}

/* Version edit popup needs room for the installer details and rich-text toolbar. */
.dxbl-modal > .dxbl-modal-root > .dxbl-popup.version-edit-popup:not(.dxbl-popup-resized):not(.dxbl-popup-fixed-width) {
    width: min(1240px, calc(100vw - 2rem));
    max-width: min(1240px, calc(100vw - 2rem));
}

.dxbl-modal > .dxbl-modal-root > .dxbl-popup.version-edit-popup .version-edit-form {
    width: 100%;
    min-width: 0;
}

@media (max-width: 640px) {
    .dxbl-modal > .dxbl-modal-root > .dxbl-popup.version-edit-popup:not(.dxbl-popup-resized):not(.dxbl-popup-fixed-width) {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
    }
}
