.env-no-details,
.env-no-details .min-h-54 {
    min-height: 0 !important;
}

/* Local Environment Header Pattern */
body.env_type_local header.bg-global-header-bg.fixed,
body.env_local header.bg-global-header-bg.fixed {
    background: repeating-linear-gradient(
        -55deg,
        #1a1a1a,
        #1a1a1a 10px,
        rgba(41, 82, 32, 0.8) 10px,
        rgba(41, 82, 32, 0.8) 20px
    ) !important;
    background-attachment: fixed !important;
}

/* Staging Environment Header Pattern */
body.env_type_staging header.bg-global-header-bg.fixed,
body.env_staging header.bg-global-header-bg.fixed,
body.env_dev header.bg-global-header-bg.fixed {
    background: repeating-linear-gradient(
        -55deg,
        #1a1a1a,
        #1a1a1a 10px,
        rgba(82, 32, 32, 0.8) 10px,
        rgba(82, 32, 32, 0.8) 20px
    ) !important;
    background-attachment: fixed !important;
}

/* Production Environment Header Pattern */
body.env_type_production header.bg-global-header-bg.fixed,
body.env_production header.bg-global-header-bg.fixed,
body.env_prod header.bg-global-header-bg.fixed,
body.env_live header.bg-global-header-bg.fixed {
    background: #1a1a1a !important;
    background-attachment: fixed !important;
}

/* Local Environment Badge */
body.env_type_local header a[href*='/cp/'].text-white\/85::after,
body.env_local header a[href*='/cp/'].text-white\/85::after {
    content: 'Local';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.625rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background: rgb(39, 145, 16);
    color: white;
    padding: 0.18rem 0.5rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Staging Environment Badge */
body.env_type_staging header a[href*='/cp/'].text-white\/85::after,
body.env_staging header a[href*='/cp/'].text-white\/85::after,
body.env_dev header a[href*='/cp/'].text-white\/85::after {
    content: 'Staging';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.625rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background: rgb(153, 0, 0);
    color: white;
    padding: 0.18rem 0.5rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Live Environment Badge */
body.env_type_production header a[href*='/cp/'].text-white\/85::after,
body.env_production header a[href*='/cp/'].text-white\/85::after,
body.env_prod header a[href*='/cp/'].text-white\/85::after,
body.env_live header a[href*='/cp/'].text-white\/85::after {
    content: 'Live';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.625rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background: rgb(43, 45, 48);
    color: white;
    padding: 0.18rem 0.5rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid white;
}

