#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."
    }

:root {
    --rz-text-font-family: 'Montserrat', sans-serif;
    --rz-font-family: 'Montserrat', sans-serif;
    --mud-font-family: 'Montserrat', sans-serif;
    --sf-font-family: 'Montserrat', sans-serif;
    font-size: var(--rz-root-font-size);
    --rz-white: #ffffff;
    --rz-black: #000000;
    --rz-base-50: #fafafa;
    --rz-base-100: #f5f5f5;
    --rz-base-200: #eeeeee;
    --rz-base-300: #e0e0e0;
    --rz-base-400: #bdbdbd;
    --rz-base-500: #9e9e9e;
    --rz-base-600: #757575;
    --rz-base-700: #616161;
    --rz-base-800: #424242;
    --rz-base-900: #212121;
    --rz-primary-light: #5db2be;
    --rz-primary-lighter: rgba(113, 186, 198, 0.4);
    --rz-primary-dark: #256f7a;
    --rz-primary-darker: #1b4f57;
    --rz-secondary: #EF412c;
    --rz-secondary-light: #f4796a;
    --rz-secondary-lighter: rgba(242, 103, 86, 0.51);
    --rz-secondary-dark: #a72e1f;
    --rz-secondary-darker: #782116;
    --rz-info: #2196f3;
    --rz-info-light: #4dabf5;
    --rz-info-lighter: rgba(33, 150, 243, 0.2);
    --rz-info-dark: #1a78c2;
    --rz-info-darker: #1666a5;
    --rz-success: #4caf50;
    --rz-success-light: #70bf73;
    --rz-success-lighter: rgba(76, 175, 80, 0.16);
    --rz-success-dark: #3d8c40;
    --rz-success-darker: #347736;
    --rz-warning: #ff9800;
    --rz-warning-light: #ffad33;
    --rz-warning-lighter: rgba(255, 152, 0, 0.2);
    --rz-warning-dark: #cc7a00;
    --rz-warning-darker: #ad6700;
    --rz-danger: #f44336;
    --rz-danger-light: #f6695e;
    --rz-danger-lighter: rgba(244, 67, 54, 0.2);
    --rz-danger-dark: #c3362b;
    --rz-danger-darker: #a62e25;
    --rz-on-primary: #ffffff;
    --rz-on-primary-light: #ffffff;
    --rz-on-primary-dark: #ffffff;
    --rz-on-primary-darker: #ffffff;
    --rz-on-secondary: #ffffff;
    --rz-on-secondary-lighter: #ef412c;
    --rz-on-secondary-light: #ffffff;
    --rz-on-secondary-dark: #ffffff;
    --rz-on-secondary-darker: #ffffff;
    --rz-on-info: #ffffff;
    --rz-on-info-lighter: #2196f3;
    --rz-on-info-light: #ffffff;
    --rz-on-info-dark: #ffffff;
    --rz-on-info-darker: #ffffff;
    --rz-on-success: #ffffff;
    --rz-on-success-lighter: #4caf50;
    --rz-on-success-light: #ffffff;
    --rz-on-success-dark: #ffffff;
    --rz-on-success-darker: #ffffff;
    --rz-on-warning: #ffffff;
    --rz-on-warning-lighter: #ff9800;
    --rz-on-warning-light: #ffffff;
    --rz-on-warning-dark: #ffffff;
    --rz-on-warning-darker: #ffffff;
    --rz-on-danger: #ffffff;
    --rz-on-danger-lighter: #f44336;
    --rz-on-danger-light: #ffffff;
    --rz-on-danger-dark: #ffffff;
    --rz-on-danger-darker: #ffffff;
    --rz-primary: #35a0ae;
    --rz-on-primary-lighter: #35a0ae;
}

body {
    font-family: var(--rz-text-font-family);
    color: var(--rz-text-color);
    font-size: var(--rz-body-font-size);
    line-height: var(--rz-body-line-height);
    background-color: var(--rz-body-background-color);
}

/* =============================================================================
   CSS-Only Responsive Visibility Classes
   These work immediately on page load WITHOUT requiring JavaScript/Blazor.
   Use these instead of MudHidden when immediate responsiveness is critical.
   Breakpoints match MudBlazor: SmAndDown = 959px, XsAndDown = 599px
   ============================================================================= */

/* Desktop only (hidden on 959px and below) */
.rently-desktop-only {
    display: block;
}

.rently-desktop-only-flex {
    display: flex;
}

.rently-desktop-only-inline {
    display: inline;
}

.rently-desktop-only-inline-flex {
    display: inline-flex;
}

/* Mobile only (hidden on 960px and above) */
.rently-mobile-only {
    display: none;
}

.rently-mobile-only-flex {
    display: none;
}

.rently-mobile-only-inline {
    display: none;
}

.rently-mobile-only-inline-flex {
    display: none;
}

@media (max-width: 959px) {
    /* Hide desktop elements */
    .rently-desktop-only,
    .rently-desktop-only-flex,
    .rently-desktop-only-inline,
    .rently-desktop-only-inline-flex {
        display: none !important;
    }

    /* Show mobile elements */
    .rently-mobile-only {
        display: block !important;
    }

    .rently-mobile-only-flex {
        display: flex !important;
    }

    .rently-mobile-only-inline {
        display: inline !important;
    }

    .rently-mobile-only-inline-flex {
        display: inline-flex !important;
    }
}

/* Extra small screens (599px and below) */
.rently-xs-only {
    display: none;
}

.rently-xs-hidden {
    display: block;
}

@media (max-width: 599px) {
    .rently-xs-only {
        display: block !important;
    }

    .rently-xs-hidden {
        display: none !important;
    }
}

/* Layout containers that work without JS */
.rently-desktop-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.rently-mobile-container {
    padding-left: 16px;
    padding-right: 16px;
}

@media (max-width: 599px) {
    .rently-mobile-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.rz-body {
    --rz-body-padding: 0;
}

a {
    color: var(--rz-link-color);
}

    a:hover,
    a:focus {
        color: var(--rz-link-hover-color);
    }

.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."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.rental-card {
    width: 300px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .rental-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    }

/* Store Banner */
.store-banner {
    background-color: #f5f5f5;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-info {
    display: flex;
    align-items: center;
}

.store-icon {
    margin-right: 8px;
}

.verified-icon {
    color: #4CAF50;
    margin-left: 4px;
    vertical-align: middle;
}

.store-name {
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.image-container {
    position: relative;
}

.rental-image {
    object-fit: cover;
    height: 250px;
    width: 100%;
    transition: transform 0.3s ease;
}

.image-container:hover .rental-image {
    transform: scale(1.05);
}

.category-chip {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    background-color: rgba(255,255,255,0.8);
}

.image-count {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 0.8rem;
}

    .image-count .mud-icon-root {
        margin-right: 4px;
    }

.overlay-icons {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-icon {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.card-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.title-reputation {
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.name-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rental-name {
    font-size: 1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 200px;
}

.rental-nameNoEllipsis {
    font-size: 1rem;
    max-width: 200px;
    height: 100%;
    overflow: visible;
    overflow-wrap: break-word;
}

.pricing-section {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-text {
    font-weight: bold;
    font-size: 1rem;
    padding-bottom: 10px;
}

.pricing-types {
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pricing-type-chip {
    font-size: 0.7rem;
    cursor: pointer;
}

.card-actions {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rent-button {
    flex: 1;
}

.add-to-cart-button {
    margin-left: 8px;
}

.z-index-search-modal {
    z-index: 1100 !important;
}

.category-nav-overlay {
    z-index: 1250 !important;
}

.mud-dialog-container {
    z-index: 1900 !important;
}

.rz-dialog-wrapper {
    z-index: 2100 !important;
}

/* Radzen dropdown/popup overlays must render above dialog wrappers (2100)
   so that multi-select dropdowns inside dialogs are clickable */
.rz-popup {
    z-index: 2200 !important;
}

.animate {
    z-index: 2100 !important;
}

._root_1duny_1 {
    z-index: 2100 !important;
}

/* Push top-positioned snackbars below the nav bar (74px height + 8px gap) */
.mud-snackbar-location-top-right,
.mud-snackbar-location-top-center,
.mud-snackbar-location-top-left {
    top: 82px !important;
}

.rz-layout .rz-body {
    padding: 0px !important;
    /* Override Radzen's transform: translateZ(0) which creates a new stacking context
       and breaks MudBlazor popover positioning (date pickers, dropdowns, etc.) */
    transform: none !important;
}

.rz-layout.layout-no-rz-chrome {
    grid-template-rows: 0 1fr 0 !important;
}

.rz-layout.layout-no-rz-chrome > .rz-header,
.rz-layout.layout-no-rz-chrome > .rz-footer {
    display: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Main Nav CSS */

.main-nav-appbar {
    background-color: white;
    z-index: 1300;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* Responsive adjustment: smaller padding on small screens */
@media (max-width: 600px) {
    .main-nav-appbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* Keep container centered */
.main-nav-container {
    width: 1440px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}.integrated-selection-card .mud-stack {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.integrated-selection-card .mud-stack {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.integrated-selection-card .mud-icon {
    font-size: 3rem;
}

/* Communications Admin */
.communications-shell {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comm-header-grid {
    width: 100%;
}

.comm-hero {
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(120deg, rgba(239, 246, 255, 0.95), rgba(236, 253, 245, 0.6));
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
    min-height: 100%;
}

.comm-hero__header {
    gap: 1rem;
    align-items: flex-start;
}

.comm-hero__title {
    max-width: 520px;
    text-align: left;
}

.comm-hero__actions .mud-button {
    font-weight: 600;
}

.comm-hero__actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-left: auto;
    justify-content: flex-end;
    gap: 0.35rem;
}

.comm-hero__actions .mud-button + .mud-button {
    margin-left: 0.35rem;
}

.comm-hero__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
}

.comm-summary-pill {
    border-radius: 18px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.comm-summary-pill__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mud-palette-text-secondary);
}

.comm-summary-pill__value {
    font-size: 1.65rem;
    font-weight: 600;
}

.comm-summary-pill__meta {
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
}

.comm-health-card {
    border-radius: 24px;
    padding: 1.75rem;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
}

.comm-health-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
}

.comm-health-row__icon {
    font-size: 1.5rem;
}

.comm-health-row__content {
    flex: 1;
    min-width: 0;
}

.comm-panel {
    border-radius: 26px;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.12);
}

.comm-panel__header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.comm-panel__header > div:first-child {
    flex: 1;
    min-width: 240px;
}

.comm-tabs {
    margin-top: 1.5rem;
}

.comm-tabs .mud-tabs-toolbar {
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    padding-bottom: 0.5rem;
}

.comm-tabs .mud-tab.mud-tab-active {
    color: var(--mud-palette-primary);
    font-weight: 600;
}

.comm-surface {
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.comm-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comm-empty-state {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--mud-palette-text-secondary);
}

.comm-token-grid {
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 14px;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.65);
}

.comm-token-grid .mud-grid-item {
    margin-bottom: 0.5rem;
}

.comm-divider {
    margin: 1rem 0;
}

.comm-action-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    margin-bottom: 1rem;
}

.comm-action-bar__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.comm-action-bar__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.comm-table__row--active {
    background-color: rgba(37, 99, 235, 0.08);
}

.comm-table__row--active:hover {
    background-color: rgba(37, 99, 235, 0.12);
}

.comm-table__row--recent {
    background-color: rgba(16, 185, 129, 0.12);
    transition: background-color 0.3s ease;
}

.comm-table__row--recent:hover {
    background-color: rgba(16, 185, 129, 0.18);
}

.comm-preview-pane {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: var(--mud-palette-text-primary);
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.6);
    padding: 1.25rem;
    min-height: 220px;
    max-height: 420px;
    overflow: auto;
}

.comm-code-pane {
    background: #101828;
    color: #e2e8f0;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.6);
    padding: 1rem;
    max-height: 420px;
    overflow: auto;
}

.comm-code-pane pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

.comm-icon-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.comm-send-card {
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
}

.comm-send-card:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.comm-send-card--active {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
}

.comm-send-card__icon {
    font-size: 2rem;
    color: var(--mud-palette-primary);
}

.comm-send-card-button {
    width: 100%;
    text-transform: none;
    justify-content: flex-start;
    padding: 0;
}

.comm-send-card-button .mud-button-label {
    width: 100%;
}

@media (max-width: 768px) {
    .comm-hero__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comm-hero__actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

.monospace-field textarea {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace !important;
}

/* ── Radzen Brand Compliance ── */
.rz-button {
    border-radius: 8px !important;
    text-transform: none !important;
}

.rz-badge {
    text-transform: none !important;
}

/* ── MudBlazor Tab Brand Compliance ── */
.mud-tab {
    text-transform: none !important;
}

/* ── Touch target utility class ── */
.rently-touch-target {
    min-height: 44px;
    min-width: 44px;
}

/* ── MudRating readonly fix ──
   MudBlazor v8's ReadOnly attribute correctly suppresses click commit but the
   underlying radio inputs still receive hover events, which the component
   translates into a hover-fill preview. For display-only star ratings (review
   cards, average summaries) we kill pointer events so the resting display
   stays accurate. Scoped to .mud-readonly so interactive ratings (rating
   editor in CreateRentalReview / CreateStoreReview) keep their hover affordance. */
.mud-rating-root .mud-rating-item.mud-readonly,
.mud-rating-root .mud-rating-item.mud-readonly * {
    pointer-events: none !important;
    cursor: default !important;
}

/* ── Reviews sub-metric focus highlight ──
   When the user clicks a sub-metric row in the rating-summary popover (e.g.
   "Cleanliness"), the Reviews tab opens with ?Metric=Cleanliness and the
   matching breakdown row receives this class. A brief teal pulse + persistent
   tinted background draw the eye there so the user sees their tap land. */
.rently-metric-row--focused {
    background: rgba(53, 160, 174, 0.08);
    border-radius: 8px;
    padding: 8px;
    margin: -8px;
    animation: rently-metric-pulse 1.6s ease-out 1;
}

@keyframes rently-metric-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(53, 160, 174, 0.45); }
    60%  { box-shadow: 0 0 0 12px rgba(53, 160, 174, 0); }
    100% { box-shadow: 0 0 0 0 rgba(53, 160, 174, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .rently-metric-row--focused {
        animation: none;
    }
}

