/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-atdn096bb7] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

main[b-atdn096bb7] {
    flex: 1;
    display: flex;
    width: 100%;
    padding: 24px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    box-sizing: border-box;
}

main .table-responsive[b-atdn096bb7] {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Ensure main content wrapper takes full width */
.main-content-wrapper[b-atdn096bb7] {
    width: 100%;
}

/* Top bar styles */
.top-bar[b-atdn096bb7] {
    background-color: var(--app-bg);
    display: flex;
    flex-direction: column;
    align-self: stretch;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

/* Utility row: Kundeservice + Language switcher */
.top-utility-row[b-atdn096bb7] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    padding: 12px 40px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}

.top-utility-row .customer-service-link[b-atdn096bb7] {
    font-size: 14px;
}

/* Main nav row: Logo + Navigation + Contract selector */
.top-nav-row[b-atdn096bb7] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.navbar-brand[b-atdn096bb7] {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand:focus-visible[b-atdn096bb7] {
    outline: 3px solid var(--app-accent);
    outline-offset: 2px;
}

.navbar-logo[b-atdn096bb7] {
    height: 33.6px;
    width: auto;
}

.navbar-logo-dark[b-atdn096bb7] {
    display: none;
}

/* Dark mode logo switching */
@media (prefers-color-scheme: dark) {
    .navbar-logo-light[b-atdn096bb7] {
        display: none;
    }
    
    .navbar-logo-dark[b-atdn096bb7] {
        display: block;
    }
}

/* Hamburger menu toggle */
.navbar-toggler-label[b-atdn096bb7] {
    display: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--app-border);
    border-radius: 4px;
    background: none;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* Keyboard focus indicator for hamburger menu */
.navbar-toggler-label:focus-visible[b-atdn096bb7] {
    outline: 3px solid var(--app-accent);
    outline-offset: 2px;
}

.hamburger-icon[b-atdn096bb7] {
    display: block;
    width: 1.25rem;
    height: 2px;
    background-color: var(--app-text);
    position: relative;
}

.hamburger-icon[b-atdn096bb7]::before,
.hamburger-icon[b-atdn096bb7]::after {
    content: '';
    display: block;
    width: 1.25rem;
    height: 2px;
    background-color: var(--app-text);
    position: absolute;
    left: 0;
}

.hamburger-icon[b-atdn096bb7]::before {
    top: -6px;
}

.hamburger-icon[b-atdn096bb7]::after {
    top: 6px;
}

/* Main navigation */
.main-nav[b-atdn096bb7] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.main-nav[b-atdn096bb7]  .nav-link {
    display: flex;
    min-width: unset;
    padding: 16px 20px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    color: var(--app-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: Riposte;
    font-weight: 400;
    line-height: 120%;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
}

.nav-icon[b-atdn096bb7] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: filter 0.2s ease;
}

/* Reserve space for bold text using grid overlay technique */
.nav-text[b-atdn096bb7] {
    display: grid;
    grid-template-areas: "text";
}

.nav-text[b-atdn096bb7]::after {
    content: attr(data-text);
    grid-area: text;
    font-weight: 700;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.main-nav[b-atdn096bb7]  .nav-link:hover {
    color: var(--green-950, #14452D);
    font-weight: 700;
    background-color: transparent;
}

.main-nav[b-atdn096bb7]  .nav-link:hover .nav-icon {
    /* Filter to change icon to green-950 (#14452D) color */
    filter: brightness(0) saturate(100%) invert(21%) sepia(32%) saturate(1096%) hue-rotate(103deg) brightness(95%) contrast(91%);
}

.main-nav[b-atdn096bb7]  .nav-link.active {
    background: var(--green-50, #E5FCF0);
    color: var(--green-950, #14452D);
    font-family: Riposte;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 19.2px */
}

.main-nav[b-atdn096bb7]  .nav-link.active .nav-icon {
    /* Filter to change icon to green-950 (#14452D) color */
    filter: brightness(0) saturate(100%) invert(21%) sepia(32%) saturate(1096%) hue-rotate(103deg) brightness(95%) contrast(91%);
}

.main-nav[b-atdn096bb7]  .nav-link:focus-visible {
    border-radius: 8px;
    border: 2px solid var(--color-border-focus);
    outline: none;
}

/* Icons in nav */
.bi[b-atdn096bb7] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-size: cover;
    flex-shrink: 0;
}

.bi-house-door-fill-nav-menu[b-atdn096bb7] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23374151' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-lightning-charge-fill-nav-menu[b-atdn096bb7] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23374151' class='bi bi-lightning-charge-fill' viewBox='0 0 16 16'%3E%3Cpath d='M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z'/%3E%3C/svg%3E");
}

.bi-receipt-fill-nav-menu[b-atdn096bb7] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23374151' class='bi bi-receipt' viewBox='0 0 16 16'%3E%3Cpath d='M1.92.506a.5.5 0 0 1 .434.14L3 1.293l.646-.647a.5.5 0 0 1 .708 0L5 1.293l.646-.647a.5.5 0 0 1 .708 0L7 1.293l.646-.647a.5.5 0 0 1 .708 0L9 1.293l.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .801.13l.5 1A.5.5 0 0 1 15 2v12a.5.5 0 0 1-.053.224l-.5 1a.5.5 0 0 1-.8.13L13 14.707l-.646.647a.5.5 0 0 1-.708 0L11 14.707l-.646.647a.5.5 0 0 1-.708 0L9 14.707l-.646.647a.5.5 0 0 1-.708 0L7 14.707l-.646.647a.5.5 0 0 1-.708 0L5 14.707l-.646.647a.5.5 0 0 1-.708 0L3 14.707l-.646.647a.5.5 0 0 1-.801-.13l-.5-1A.5.5 0 0 1 1 14V2a.5.5 0 0 1 .053-.224l.5-1a.5.5 0 0 1 .367-.27zM2 3v10h12V3H2z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-atdn096bb7] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23374151' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

/* Top bar end section (language switcher and contract selector) */
.top-bar-end[b-atdn096bb7] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 1rem;
}

/* Contract selector in header */
.contract-selector-header[b-atdn096bb7] {
    display: flex;
    align-items: center;
    max-width: 300px;
}

.contract-dropdown-header[b-atdn096bb7] {
    font-family: Riposte;
    font-size: 14px;
    border: 1px solid var(--color-border-secondary);
    border-radius: 6px;
    padding: 8px 36px 8px 12px !important;
    background-color: var(--color-background-primary);
    color: var(--color-text-primary);
    min-width: 200px;
    max-width: 300px;
    background-position: right 12px center !important;
}

.contract-dropdown-header:focus[b-atdn096bb7] {
    border-color: var(--green-600);
    box-shadow: 0 0 0 2px rgba(56, 189, 117, 0.1);
    outline: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    .top-utility-row[b-atdn096bb7] {
        padding: 8px 16px;
        gap: 16px;
    }

    .top-nav-row[b-atdn096bb7] {
        flex-wrap: wrap;
        height: auto;
        min-height: 3.5rem;
        padding: 0.5rem 1rem;
    }
    
    .navbar-toggler-label[b-atdn096bb7] {
        display: flex;
        order: 2;
    }
    
    .main-nav[b-atdn096bb7] {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 4;
        padding-top: 0.5rem;
        gap: 0.25rem;
    }
    
    .main-nav.nav-open[b-atdn096bb7] {
        display: flex;
    }
    
    .main-nav[b-atdn096bb7]  .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .nav-text[b-atdn096bb7] {
        display: inline;
    }
}

@media (min-width: 769px) {
    article[b-atdn096bb7] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .main-nav[b-atdn096bb7]  .nav-link {
        transition: none;
    }
}

/* Error UI */
#blazor-error-ui[b-atdn096bb7] {
    background: var(--color-background-secondary);
    border-top: 2px solid var(--app-border);
    color: var(--color-neutral-700);
    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[b-atdn096bb7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        color: var(--color-neutral-700);
        padding: 0;
        min-height: 24px;
        min-width: 24px;
    }

    #blazor-error-ui .dismiss:hover[b-atdn096bb7] {
        color: var(--color-text-primary);
    }

    #blazor-error-ui .dismiss:focus-visible[b-atdn096bb7] {
        outline: 2px solid var(--app-accent);
        outline-offset: 2px;
    }

    #blazor-error-ui .reload[b-atdn096bb7] {
        color: var(--app-accent);
        text-decoration: underline;
    }

    #blazor-error-ui .reload:focus-visible[b-atdn096bb7] {
        outline: 2px solid var(--app-accent);
        outline-offset: 2px;
    }

.login-logo-row[b-atdn096bb7] {
    display: flex;
    align-items: center;
    padding: 12px 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.customer-service-link[b-atdn096bb7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-primary, #040506);
    text-decoration: none;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.2s;
}

.customer-service-link:hover[b-atdn096bb7] {
    opacity: 0.7;
}

.customer-service-link:focus-visible[b-atdn096bb7] {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Dark mode navigation menu styling */
@media (prefers-color-scheme: dark) {
    .main-nav[b-atdn096bb7]  .nav-link {
        color: #ffffff;
    }
    
    .main-nav[b-atdn096bb7]  .nav-link .nav-icon {
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    }
    
    .main-nav[b-atdn096bb7]  .nav-link:hover {
        color: #ffffff;
    }
    
    .main-nav[b-atdn096bb7]  .nav-link:hover .nav-icon {
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    }
    
    .main-nav[b-atdn096bb7]  .nav-link.active {
        background: #2B544A;
        color: #ffffff;
    }
    
    .main-nav[b-atdn096bb7]  .nav-link.active .nav-icon {
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    }
}

@media (max-width: 768px) {
    .login-logo-row[b-atdn096bb7] {
        padding: 8px 24px 16px;
    }

    .customer-service-link span[b-atdn096bb7] {
        display: none;
    }
}
/* /Components/Pages/Consumption.razor.rz.scp.css */
/* Full width page layout */
.consumption-page-wrapper[b-xr8yulvvkb] {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    padding-bottom: 3rem;
}

/* Ensure all child elements take full width */
.consumption-page-wrapper > *[b-xr8yulvvkb] {
    width: 100%;
    max-width: 100%;
}

.consumption-page-wrapper .row[b-xr8yulvvkb] {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.consumption-page-wrapper .col-12[b-xr8yulvvkb] {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Consumption Controls Wrapper */
.consumption-controls-wrapper[b-xr8yulvvkb] {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

/* Period Selector - Dag/Måned/År */
.period-selector[b-xr8yulvvkb] {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.period-btn[b-xr8yulvvkb] {
    padding: 12px 48px;
    border: none;
    background: #EAE9FD4D;
    color: var(--color-text-primary);
    font-family: Riposte;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 33%;
}

.period-btn:hover[b-xr8yulvvkb] {
    background: rgba(122, 113, 242, 0.15);
}

.period-btn.active[b-xr8yulvvkb] {
    background: #EAE9FD;
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Dark mode consumption period buttons */
@media (prefers-color-scheme: dark) {
    .period-btn[b-xr8yulvvkb] {
        background: rgba(43, 84, 74, 0.3);
        color: #FFFFFF;
    }
    
    .period-btn:hover[b-xr8yulvvkb] {
        background: rgba(43, 84, 74, 0.5);
    }
    
    .period-btn.active[b-xr8yulvvkb] {
        background: #2B544A;
        color: #FFFFFF;
        font-weight: 600;
    }
}

/* Date Navigation */
.date-navigation[b-xr8yulvvkb] {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
}

.nav-arrow-btn[b-xr8yulvvkb] {
    border: none;
    background: #EAE9FD4D;
    color: var(--color-text-primary);
 

/* Dark mode navigation buttons */
@media (prefers-color-scheme: dark) {
    .nav-arrow-btn[b-xr8yulvvkb] {
        background: rgba(43, 84, 74, 0.3);
        color: #FFFFFF;
    }
    
    .nav-arrow-btn:hover[b-xr8yulvvkb] {
        opacity: 1;
        background: rgba(43, 84, 74, 0.5);
    }
    
    .date-display[b-xr8yulvvkb] {
        background: rgba(43, 84, 74, 0.3);
        color: #FFFFFF;
    }
    
    .date-picker-input[b-xr8yulvvkb] {
        background: rgba(56, 189, 248, 0.15);
        color: var(--color-text-primary);
        border-color: var(--color-border-primary);
    }
    
    .date-picker-input:focus[b-xr8yulvvkb] {
        border-color: var(--color-primary-500);
    }
}   cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    line-height: 1;
    flex: 15 0 0;
    min-width: 0;
    border-radius: 8px;
}

.nav-arrow-btn:hover[b-xr8yulvvkb] {
    opacity: 0.7;
}

.nav-arrow-btn:disabled[b-xr8yulvvkb] {
    opacity: 0.3;
    cursor: not-allowed;
}

.date-display[b-xr8yulvvkb] {
    font-family: Riposte;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-primary);
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    flex: 70 0 0;
    min-width: 0;
    justify-content: center;
    background: #EAE9FD4D;
    border-radius: 8px;
    border: none;
    font: inherit;
}

.date-display:focus-visible[b-xr8yulvvkb] {
    outline: 3px solid var(--app-accent);
    outline-offset: 2px;
}

.dropdown-icon[b-xr8yulvvkb] {
    color: var(--color-text-primary);
}

/* Date picker container */
.date-picker-container[b-xr8yulvvkb] {
    display: flex;
    align-items: center;
    padding: 0 16px;
    flex: 70 0 0;
    min-width: 0;
    justify-content: center;
}

.date-picker-input[b-xr8yulvvkb] {
    font-family: Riposte;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-secondary);
    border-radius: 8px;
    padding: 6px 12px;
    background: #EAE9FD4D;
    cursor: pointer;
    min-width: 180px;
}

.date-picker-input:focus-visible[b-xr8yulvvkb] {
    outline: 3px solid var(--color-accent-purple);
    outline-offset: 2px;
    border-color: var(--color-accent-purple);
}

/* View Controls Row */
.view-controls-row[b-xr8yulvvkb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
}

.view-toggle[b-xr8yulvvkb] {
    display: flex;
    gap: 0;
    border: 1px solid var(--color-border-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.view-btn[b-xr8yulvvkb] {
    padding: 10px 20px;
    border: none;
    background: #EAE9FD4D;
    color: var(--color-text-primary);
    font-family: Riposte;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border-right: 1px solid var(--color-border-secondary);
}

/* Dark mode view toggle buttons */
@media (prefers-color-scheme: dark) {
    .view-btn[b-xr8yulvvkb] {
        background: rgba(71, 85, 105, 0.5) !important;
        color: #ffffff !important;
        border-color: var(--color-border-primary) !important;
    }

    .view-btn:hover[b-xr8yulvvkb] {
        background: rgba(71, 85, 105, 0.7) !important;
    }

    .view-btn.active[b-xr8yulvvkb] {
        background: #2B544A !important;
        color: #FFFFFF !important;
        font-weight: 500;
    }

    .view-toggle[b-xr8yulvvkb] {
        border-color: var(--color-border-primary);
    }
}

.view-btn:last-child[b-xr8yulvvkb] {
    border-right: none;
}

.view-btn img[b-xr8yulvvkb] {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.view-btn:hover[b-xr8yulvvkb] {
    background: var(--color-background-secondary);
}

.view-btn:hover img[b-xr8yulvvkb] {
    opacity: 1;
}

.view-btn.active[b-xr8yulvvkb] {
    background: #EAE9FD;
    color: var(--color-text-primary);
    font-weight: 500;
}

.view-btn.active img[b-xr8yulvvkb] {
    opacity: 1;
}

/* Download button - extends btn-pill with flex layout for icon */
.download-btn[b-xr8yulvvkb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-btn img[b-xr8yulvvkb] {
    opacity: 0.7;
}

.download-btn:hover img[b-xr8yulvvkb] {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .period-selector[b-xr8yulvvkb] {
        width: 100%;
    }
    
    .period-btn[b-xr8yulvvkb] {
        flex: 1;
        min-width: auto;
        padding: 8px 16px;
    }
    
    .date-navigation[b-xr8yulvvkb] {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .date-display[b-xr8yulvvkb] {
        flex: 70 0 0;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .view-controls-row[b-xr8yulvvkb] {
        flex-direction: column;
        align-items: stretch;
    }
    
    .view-toggle[b-xr8yulvvkb] {
        width: 100%;
    }
    
    .view-btn[b-xr8yulvvkb] {
        flex: 1;
        justify-content: center;
    }
    
    .download-btn[b-xr8yulvvkb] {
        width: 100%;
        justify-content: center;
    }
}

/* Old filter container styles - keep for backwards compatibility but override with new styles */
.filter-container[b-xr8yulvvkb] {
    display: flex !important;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
}

/* Stats tiles grid - full width */
.stats-grid[b-xr8yulvvkb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

/* Bottom stats grid with 3 columns */
.stats-grid.stats-grid-bottom[b-xr8yulvvkb] {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card[b-xr8yulvvkb] {
    min-width: 0;
}

.stat-card .card[b-xr8yulvvkb] {
    height: 100%;
}

/* Bottom stats cards background color */
.stats-grid-bottom .stat-card .card[b-xr8yulvvkb] {
    background-color: rgba(234, 233, 253, 0.3);
    border: none;
}

/* Dark mode bottom stats cards */
@media (prefers-color-scheme: dark) {
    .stats-grid-bottom .stat-card .card[b-xr8yulvvkb] {
        background-color: #2A3148;
        border: 1px solid var(--color-border-primary);
    }
}

/* Total consumption display - no box */
.total-consumption-display[b-xr8yulvvkb] {
    padding: 2rem 0;
}

.total-consumption-display .h1[b-xr8yulvvkb] {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.total-consumption-display .text-muted[b-xr8yulvvkb] {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.table-responsive[b-xr8yulvvkb] {
    width: 100%;
}

.table[b-xr8yulvvkb] {
    width: 100%;
}

.filter-container > div[b-xr8yulvvkb] {
    min-width: 200px !important;
    flex: 1 1 auto;
    max-width: 320px;
}

.filter-container .form-select[b-xr8yulvvkb],
.filter-container .form-control[b-xr8yulvvkb] {
    width: 100% !important;
    min-width: 200px !important;
    font-size: 16px !important; /* Fixed size for device emulation */
    min-height: 44px !important; /* Standard touch target */
    padding: 8px 12px !important;
}

.filter-container .form-label[b-xr8yulvvkb] {
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

/* Ensure all form selects have proper sizing */
.form-select[b-xr8yulvvkb] {
    min-width: 200px !important;
    font-size: 16px !important;
    min-height: 44px !important;
}

/* For tablets and smaller */
@media (max-width: 768px) {
    .filter-container > div[b-xr8yulvvkb] {
        min-width: 220px !important;
        max-width: none;
    }
    
    .filter-container .form-select[b-xr8yulvvkb],
    .filter-container .form-control[b-xr8yulvvkb] {
        min-width: 220px !important;
    }
    
    .stats-grid[b-xr8yulvvkb] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Bottom stats grid also 2 columns on medium screens */
    .stats-grid.stats-grid-bottom[b-xr8yulvvkb] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Slightly reduce font size on medium screens */
    .stats-grid-bottom .stat-card .h4[b-xr8yulvvkb] {
        font-size: 1.75rem !important;
    }
}

/* For mobile screens */
@media (max-width: 576px) {
    .filter-container[b-xr8yulvvkb] {
        gap: 8px;
        flex-direction: column;
    }
    
    .filter-container > div[b-xr8yulvvkb] {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100%;
        width: 100%;
    }
    
    .filter-container .form-select[b-xr8yulvvkb],
    .filter-container .form-control[b-xr8yulvvkb] {
        min-width: 100% !important;
        width: 100% !important;
    }
    
    .stats-grid[b-xr8yulvvkb] {
        grid-template-columns: 1fr;
    }
    
    /* Ensure bottom stats grid also stacks */
    .stats-grid.stats-grid-bottom[b-xr8yulvvkb] {
        grid-template-columns: 1fr !important;
    }
    
    /* Scale down stat values on bottom tiles for small screens */
    .stats-grid-bottom .stat-card .h4[b-xr8yulvvkb] {
        font-size: 1.5rem !important;
    }
    
    .stats-grid-bottom .stat-card .card-body[b-xr8yulvvkb] {
        padding: 1rem;
    }
}

/* Consumption Chart Styles */
.consumption-chart-card[b-xr8yulvvkb] {
    --y-axis-width: 70px;
    width: 100%;
    overflow: hidden;
}

.consumption-chart-card .card[b-xr8yulvvkb] {
    border: none;
    overflow: visible;
}

.consumption-chart-card .card-body[b-xr8yulvvkb] {
    overflow: visible;
}

.chart-header[b-xr8yulvvkb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-toggle[b-xr8yulvvkb] {
    display: flex;
    gap: 0;
    border: 1px solid var(--color-border-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.toggle-btn[b-xr8yulvvkb] {
    padding: 10px 20px;
    border: none;
    background: #EAE9FD4D;
    color: var(--color-text-primary);
    font-family: Riposte;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    border-right: 1px solid var(--color-border-secondary);
}

.toggle-btn:last-child[b-xr8yulvvkb] {
    border-right: none;
}

.toggle-btn:hover[b-xr8yulvvkb] {
    background: var(--color-background-secondary);
}

.toggle-btn.active[b-xr8yulvvkb] {
    background: #EAE9FD;
    color: var(--color-text-primary);
    font-weight: 500;
}

/* Dark mode toggle buttons */
@media (prefers-color-scheme: dark) {
    .toggle-btn[b-xr8yulvvkb] {
        background: rgba(71, 85, 105, 0.5) !important;
        color: #ffffff !important;
        border-color: var(--color-border-primary) !important;
    }
    
    .toggle-btn:hover[b-xr8yulvvkb] {
        background: rgba(71, 85, 105, 0.7) !important;
    }
    
    .toggle-btn.active[b-xr8yulvvkb] {
        background: #2B544A !important;
        color: #FFFFFF !important;
        font-weight: 500;
    }
    
    .chart-toggle[b-xr8yulvvkb] {
        border-color: var(--color-border-primary);
    }
}

/* Dark mode chart card */
@media (prefers-color-scheme: dark) {
    .consumption-chart-card .card[b-xr8yulvvkb] {
        background-color: #2A3148;
        border: 1px solid var(--color-border-primary);
    }
}

.consumption-chart-container[b-xr8yulvvkb] {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    gap: 8px;
    height: 220px;
    overflow: visible;
    min-width: 0;
    padding-top: 60px; /* Space for tooltips to appear above */
    margin-bottom: 20px;
}

/* Y-axis styling */
.chart-y-axis[b-xr8yulvvkb] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: var(--y-axis-width);
    flex-shrink: 0;
    padding: 0;
    /* Match the chart-area height exactly: chart bars have margin 1rem 0 = 2rem total for top+bottom margins, but the y-axis must align with the bar area only */
}

.y-axis-unit[b-xr8yulvvkb] {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-primary);
    text-align: right;
    font-family: Riposte;
}

.y-axis-label[b-xr8yulvvkb] {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-align: right;
    line-height: 1;
    font-family: Riposte;
    white-space: nowrap;
}

/* Chart area with grid lines */
.chart-area[b-xr8yulvvkb] {
    flex: 1;
    position: relative;
    min-width: 0;
    overflow: visible;
}

/* Region containing bars and grid (excludes labels) */
.chart-bars-region[b-xr8yulvvkb] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: visible;
}

/* Grid lines */
.chart-grid[b-xr8yulvvkb] {
    position: absolute;
    top: 0;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.grid-line[b-xr8yulvvkb] {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
}

.grid-line:nth-child(1)[b-xr8yulvvkb] { top: 0%; }
.grid-line:nth-child(2)[b-xr8yulvvkb] { top: 20%; }
.grid-line:nth-child(3)[b-xr8yulvvkb] { top: 40%; }
.grid-line:nth-child(4)[b-xr8yulvvkb] { top: 60%; }
.grid-line:nth-child(5)[b-xr8yulvvkb] { top: 80%; }
.grid-line:nth-child(6)[b-xr8yulvvkb] { top: 100%; }

.consumption-chart[b-xr8yulvvkb] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 0.5rem;
    z-index: 2;
    background: transparent;
    overflow: visible;
}

.consumption-chart.small-dataset[b-xr8yulvvkb] {
    justify-content: flex-start;
}

.chart-bar-wrapper[b-xr8yulvvkb] {
    flex: 1 1 0;
    display: flex;
    align-items: flex-end;
    min-width: 2px;
    position: relative;
    height: 100%;
    z-index: 3;
}

.chart-bar-wrapper:hover[b-xr8yulvvkb] {
    z-index: 1000;
}

.small-dataset .chart-bar-wrapper[b-xr8yulvvkb] {
    flex: 0 0 auto;
    width: 40px;
}

.chart-bar[b-xr8yulvvkb] {
    width: 100%;
    background-color: var(--color-accent-purple);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    min-height: 8px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.chart-bar:hover[b-xr8yulvvkb] {
    background-color: #6958d9;
    transform: scaleY(1.02);
}

.chart-bar.current[b-xr8yulvvkb] {
    background-color: #6958d9;
}

.chart-bar.current:hover[b-xr8yulvvkb] {
    background-color: #5847c8;
}

.chart-marker[b-xr8yulvvkb] {
    color: white;
    font-size: 12px;
    position: absolute;
    top: -2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.chart-tooltip[b-xr8yulvvkb] {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10000;
    pointer-events: none;
    white-space: nowrap;
}

.chart-bar-wrapper:hover .chart-tooltip[b-xr8yulvvkb] {
    opacity: 1;
    visibility: visible;
}

.tooltip-content[b-xr8yulvvkb] {
    background: var(--color-text-primary);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: Riposte;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip-content[b-xr8yulvvkb]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-text-primary);
}

.tooltip-date[b-xr8yulvvkb] {
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.tooltip-value[b-xr8yulvvkb] {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.tooltip-cost[b-xr8yulvvkb] {
    font-size: 12px;
    opacity: 0.9;
}

.tooltip-secondary[b-xr8yulvvkb] {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
}

/* Dark mode tooltip improvements */
@media (prefers-color-scheme: dark) {
    .tooltip-content[b-xr8yulvvkb] {
        background: #252B3C;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }
    
    .tooltip-content[b-xr8yulvvkb]::after {
        border-top-color: #252B3C;
    }
    
    .tooltip-date[b-xr8yulvvkb],
    .tooltip-value[b-xr8yulvvkb],
    .tooltip-cost[b-xr8yulvvkb],
    .tooltip-secondary[b-xr8yulvvkb] {
        color: #ffffff;
    }
}

/* X-axis labels wrapper - aligns labels under the bars area */
.chart-x-axis-wrapper[b-xr8yulvvkb] {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    width: 100%;
    overflow: hidden;
    min-width: 0;
}

.chart-x-axis-spacer[b-xr8yulvvkb] {
    width: var(--y-axis-width);
    flex-shrink: 0;
}

.consumption-chart-labels[b-xr8yulvvkb] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-family: Riposte;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-neutral-500);
    margin-top: 0;
    padding: 0 0.5rem;
    flex: 1;
    min-width: 0;
    container-type: inline-size;
}

.consumption-chart-labels.small-dataset[b-xr8yulvvkb] {
    justify-content: flex-start;
}

/* Dark mode text improvements for chart labels and muted content */
@media (prefers-color-scheme: dark) {
    .consumption-chart-labels[b-xr8yulvvkb],
    .text-muted[b-xr8yulvvkb],
    .total-consumption-display .text-muted[b-xr8yulvvkb] {
        color: var(--color-text-secondary) !important;
    }
    
    /* Table styling for dark mode */
    .table[b-xr8yulvvkb] {
        color: var(--color-text-primary);
    }
    
    .table thead[b-xr8yulvvkb] {
        background-color: var(--color-background-secondary);
        color: var(--color-text-primary);
    }
    
    .table th[b-xr8yulvvkb] {
        color: var(--color-text-primary);
    }
    
    .table td[b-xr8yulvvkb] {
        color: var(--color-text-primary);
    }
    
    .table tbody tr[b-xr8yulvvkb] {
        color: var(--color-text-primary);
    }
    
    .table-hover tbody tr:hover[b-xr8yulvvkb] {
        background-color: var(--color-background-secondary);
        color: var(--color-text-primary);
    }
}

.chart-label[b-xr8yulvvkb] {
    flex: 1 1 0;
    text-align: center;
    min-width: 0;
    font-size: clamp(9px, 1vw, 12px);
    white-space: nowrap;
    overflow: visible;
}

.small-dataset .chart-label[b-xr8yulvvkb] {
    flex: 0 0 auto;
    width: 40px;
}

.consumption-chart-labels-summary[b-xr8yulvvkb] {
    display: flex;
    justify-content: space-between;
    font-family: Riposte;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-neutral-500);
    margin-top: 0;
    padding: 0 0.5rem;
    flex: 1;
}

@media (max-width: 768px) {
    .consumption-chart-container[b-xr8yulvvkb] {
        height: 180px;
    }
    
    .chart-header[b-xr8yulvvkb] {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chart-toggle[b-xr8yulvvkb] {
        width: 100%;
    }
    
    .toggle-btn[b-xr8yulvvkb] {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .consumption-chart-card[b-xr8yulvvkb] {
        --y-axis-width: 55px;
    }
    
    .consumption-chart-container[b-xr8yulvvkb] {
        height: 160px;
        gap: 4px;
    }
    
    .chart-x-axis-wrapper[b-xr8yulvvkb] {
        gap: 4px;
    }
    
    .consumption-chart[b-xr8yulvvkb] {
        gap: 2px;
    }
    
    .consumption-chart-labels[b-xr8yulvvkb] {
        gap: 2px;
    }
    
    .chart-bar-wrapper[b-xr8yulvvkb] {
        min-width: 2px;
    }
    
    .chart-marker[b-xr8yulvvkb] {
        font-size: 10px;
    }
    
    .y-axis-label[b-xr8yulvvkb] {
        font-size: 10px;
    }
}

/* Container queries: hide labels only when the label area is actually too narrow */
@container (max-width: 350px) {
    .chart-label:nth-child(even)[b-xr8yulvvkb] {
        visibility: hidden;
    }
}

@container (max-width: 180px) {
    .chart-label[b-xr8yulvvkb] {
        visibility: hidden;
    }
    .chart-label:nth-child(3n+1)[b-xr8yulvvkb] {
        visibility: visible;
    }
}
/* /Components/Pages/Invoice.razor.rz.scp.css */
/* Invoice page specific styles for responsive design */

/* Ensure the page container doesn't overflow */
:host[b-w73avhjjf0] {
    display: block;
    max-width: 100%;
    overflow-x: hidden;
    padding-bottom: 3rem;
}

/* Invoice table styles */
.invoice-table[b-w73avhjjf0] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.invoice-table thead tr[b-w73avhjjf0] {
    border-bottom: 1px solid var(--color-border-primary);
}

.invoice-table th[b-w73avhjjf0] {
    font-family: Riposte, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    padding: 12px 16px;
    text-align: left;
    border: none;
    background: transparent;
}

.invoice-table tbody tr[b-w73avhjjf0] {
    border-bottom: 1px solid var(--color-border-primary);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.invoice-table tbody tr:last-child[b-w73avhjjf0] {
    border-bottom: none;
}

.invoice-table tbody tr:hover[b-w73avhjjf0] {
    background-color: var(--color-background-secondary);
}

/* Unstyled expand/collapse toggle button inside period cell */
.invoice-row-toggle[b-w73avhjjf0] {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.invoice-row-toggle:focus-visible[b-w73avhjjf0] {
    outline: 3px solid var(--app-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.invoice-table td[b-w73avhjjf0] {
    padding: 16px;
    vertical-align: middle;
    border: none;
}

/* Checkbox column */
.col-checkbox[b-w73avhjjf0] {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
}

.col-checkbox .form-check-input[b-w73avhjjf0] {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-text-primary);
    border-radius: 6px;
    cursor: pointer;
    background-color: white;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-checkbox .form-check-input:checked[b-w73avhjjf0] {
    background-color: white;
    border-color: var(--color-text-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2937' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.col-checkbox .form-check-input:focus[b-w73avhjjf0] {
    box-shadow: none;
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
}

/* Periode column */
.periode-month[b-w73avhjjf0] {
    display: block;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.periode-address[b-w73avhjjf0] {
    display: block;
    font-family: Riposte, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* Date column */
.invoice-date[b-w73avhjjf0] {
    display: block;
    font-family: Riposte, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-primary);
}

.due-date[b-w73avhjjf0] {
    display: block;
    font-family: Riposte, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* Amount column */
.col-amount .amount[b-w73avhjjf0] {
    font-family: Riposte, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-primary);
}

/* Status column */
.status-badge[b-w73avhjjf0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 16px;
    font-family: Riposte, sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.status-paid[b-w73avhjjf0] {
    background-color: var(--green-50);
    color: var(--green-950);
}

.status-unpaid[b-w73avhjjf0] {
    background-color: #EAE9FD;
    color: var(--color-text-primary);
}

.status-overdue[b-w73avhjjf0] {
    background-color: #FFECEF;
    color: #660713;
}

.table-responsive[b-w73avhjjf0] {
    width: 100%;
    overflow-x: visible;
}

/* Ensure flex container wraps on small screens */
.mb-3.d-flex[b-w73avhjjf0] {
    flex-wrap: wrap;
}

/* Download button - uses .btn-pill utility from app.css */
/* View button - uses .btn-pill utility from app.css */

/* Smaller pill button variant for use inside table rows */
.btn-pill-sm[b-w73avhjjf0] {
    padding: 5px 14px;
    font-size: 13px;
}

/* Actions column */
.col-actions[b-w73avhjjf0] {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
}

/* Invoice number display in details row */
.invoice-number-mobile[b-w73avhjjf0] {
    margin-top: 4px;
}

/* ============================================
   MOBILE-FIRST RESPONSIVE LAYOUT
   ============================================ */

/* Small screens - Card-based layout */
@media (max-width: 768px) {
    /* Hide table headers on mobile */
    .invoice-table thead[b-w73avhjjf0] {
        display: none;
    }
    
    /* Convert table rows to cards */
    .invoice-table tbody tr[b-w73avhjjf0] {
        display: block;
        position: relative;
        margin-bottom: 1rem;
        border: 1px solid var(--color-border-primary);
        border-radius: 8px;
        background: white;
        padding: 1rem;
    }
    
    .invoice-table tbody tr:hover[b-w73avhjjf0] {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Convert table cells to block layout */
    .invoice-table td[b-w73avhjjf0],
    .invoice-table tbody th[b-w73avhjjf0] {
        display: block;
        padding: 0.5rem 0;
        border: none;
        text-align: left;
    }
    
    /* Checkbox at top right */
    .col-checkbox[b-w73avhjjf0] {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: auto;
        min-width: auto;
        max-width: none;
        padding: 0;
    }
    
    /* Period - Main heading */
    .col-periode[b-w73avhjjf0] {
        padding-top: 0 !important;
        padding-right: 2.5rem !important;
        margin-bottom: 0.5rem;
    }
    
    .periode-month[b-w73avhjjf0] {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }
    
    .periode-address[b-w73avhjjf0] {
        font-size: 14px;
    }
    
    /* Date - with label */
    .col-date[b-w73avhjjf0]::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-text-secondary);
        display: block;
        font-size: 12px;
        margin-bottom: 0.25rem;
    }
    
    /* Amount - with label */
    .col-amount[b-w73avhjjf0]::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-text-secondary);
        display: block;
        font-size: 12px;
        margin-bottom: 0.25rem;
    }
    
    .col-amount .amount[b-w73avhjjf0] {
        font-size: 16px;
        font-weight: 600;
    }
    
    /* Status - with label */
    .col-status[b-w73avhjjf0]::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-text-secondary);
        display: block;
        font-size: 12px;
        margin-bottom: 0.25rem;
    }
    
    /* Make details row full width */
    .invoice-table tbody tr td[colspan][b-w73avhjjf0] {
        padding: 0;
    }
    
    /* Show invoice number in mobile details */
    .invoice-number-mobile[b-w73avhjjf0] {
        display: block;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--color-border-primary);
    }
    
    .invoice-number-mobile h6[b-w73avhjjf0] {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .invoice-number-mobile p[b-w73avhjjf0] {
        margin-bottom: 0;
    }
    
    /* Adjust invoice details layout */
    .bg-light .p-3[b-w73avhjjf0] {
        padding: 1rem !important;
    }
    
    .bg-light .row .col-md-6[b-w73avhjjf0] {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Very small screens - Further optimizations */
@media (max-width: 410px) {
    /* Compact text on tiny screens */
    h1[b-w73avhjjf0] {
        font-size: 1.5rem;
        word-break: break-word;
    }
    
    .lead[b-w73avhjjf0] {
        font-size: 0.875rem;
        word-break: break-word;
    }
    
    /* Stack controls vertically */
    .mb-3.d-flex[b-w73avhjjf0] {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }
    
    /* Full width selects and buttons */
    #yearPicker[b-w73avhjjf0],
    .btn-pill[b-w73avhjjf0] {
        width: 100%;
    }
    
    /* Reduce card padding */
    .invoice-table tbody tr[b-w73avhjjf0] {
        padding: 0.75rem;
    }
    
    /* Smaller fonts in cards */
    .periode-month[b-w73avhjjf0] {
        font-size: 16px;
    }
    
    .invoice-date[b-w73avhjjf0],
    .col-amount .amount[b-w73avhjjf0] {
        font-size: 14px;
    }
    
    .status-badge[b-w73avhjjf0] {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    /* Compact invoice details */
    .bg-light .p-3[b-w73avhjjf0] {
        padding: 0.75rem !important;
    }
    
    .bg-light h5[b-w73avhjjf0] {
        font-size: 1rem;
    }
    
    .bg-light h6[b-w73avhjjf0] {
        font-size: 0.875rem;
    }
    
    .bg-light p[b-w73avhjjf0],
    .bg-light li[b-w73avhjjf0],
    .bg-light ul[b-w73avhjjf0] {
        font-size: 0.8rem;
    }
}

/* Dark mode styling */
@media (prefers-color-scheme: dark) {
    .invoice-table tbody tr[b-w73avhjjf0] {
        background-color: #2A3148 !important;
    }
    
    .invoice-table tbody tr:hover[b-w73avhjjf0] {
        background-color: #353d52 !important;
    }
    
    .invoice-table tbody td[b-w73avhjjf0],
    .invoice-table tbody th[b-w73avhjjf0] {
        background: transparent !important;
    }
    
    .invoice-table tbody tr:hover td[b-w73avhjjf0],
    .invoice-table tbody tr:hover th[b-w73avhjjf0] {
        background: transparent !important;
    }
    
    /* Invoice details section */
    .bg-light[b-w73avhjjf0] {
        background-color: #2A3148 !important;
        border: 1px solid var(--color-border-primary);
    }
    
    .bg-light h5[b-w73avhjjf0],
    .bg-light h6[b-w73avhjjf0] {
        color: var(--color-text-primary);
    }
    
    .bg-light p[b-w73avhjjf0],
    .bg-light li[b-w73avhjjf0] {
        color: var(--color-text-secondary);
    }
    
    .bg-light .text-muted[b-w73avhjjf0] {
        color: var(--color-text-tertiary) !important;
    }
    
    /* Status badges */
    .status-unpaid[b-w73avhjjf0] {
        background-color: #5A2730;
        color: #F9FAFB;
    }
    
    .status-paid[b-w73avhjjf0] {
        background-color: #2B544A;
        color: #F9FAFB;
    }
    
    .status-overdue[b-w73avhjjf0] {
        background-color: #660713;
        color: #FFECEF;
    }
}

/* Dark mode - mobile card layout */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .invoice-table tbody tr[b-w73avhjjf0] {
        background-color: #2A3148 !important;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* Login page specific styles - shared styles in login-shared.css */

.login-callback-loading[b-62zt9nsdjt] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.login-card[b-62zt9nsdjt] {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-icon[b-62zt9nsdjt] {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.welcome-blob[b-62zt9nsdjt] {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.welcome-hand[b-62zt9nsdjt] {
    position: relative;
    width: 40px;
    height: 40px;
    object-fit: contain;
    z-index: 1;
}

.login-title[b-62zt9nsdjt] {
    text-align: center;
    font-family: Riposte, sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 125%;
    letter-spacing: -0.42px;
    color: #040506;
    margin-bottom: 0.75rem;
    width: 100%;
}

.login-subtitle[b-62zt9nsdjt] {
    text-align: center;
    font-family: Riposte, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 155%;
    color: #2D354A;
    margin-bottom: 2.5rem;
    width: 100%;
}

/* Login section */
.login-section[b-62zt9nsdjt] {
    background-color: rgba(234, 233, 253, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    width: 384px;
    max-width: 100%;
}

.login-section-title[b-62zt9nsdjt] {
    font-family: Riposte, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 135%;
    letter-spacing: -0.12px;
    color: #040506;
    margin: 0 0 0.75rem 0;
}

.login-section-description[b-62zt9nsdjt] {
    font-family: Riposte, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 155%;
    color: #2D354A;
    margin: 0 0 1.5rem 0;
}

.btn-bankid[b-62zt9nsdjt] {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: #39134C;
    color: #FFF;
    border: none;
    border-radius: 50px;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    line-height: 104%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 2px 4px rgba(57, 19, 76, 0.2);
}

.btn-bankid:hover:not(:disabled)[b-62zt9nsdjt] {
    background-color: #2d0f3c;
    box-shadow: 0 4px 8px rgba(57, 19, 76, 0.3);
    transform: translateY(-1px);
}

.btn-bankid:focus-visible[b-62zt9nsdjt] {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
}

.btn-bankid:active[b-62zt9nsdjt] {
    transform: translateY(0);
}

.btn-bankid:disabled[b-62zt9nsdjt] {
    opacity: 0.6;
    cursor: not-allowed;
}

.bankid-icon[b-62zt9nsdjt] {
    width: 29px;
    height: 29px;
}

/* Alternative Login */
.alternative-login[b-62zt9nsdjt] {
    margin-top: 1.5rem;
    text-align: center;
}

.alternative-question[b-62zt9nsdjt] {
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem 0;
}

.link-alternative[b-62zt9nsdjt] {
    color: var(--color-text-primary);
    text-decoration: underline;
    font-size: 0.9375rem;
    transition: opacity 0.2s;
    font-weight: 500;
}

.link-alternative:hover[b-62zt9nsdjt] {
    opacity: 0.7;
}

.link-alternative:focus-visible[b-62zt9nsdjt] {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-title[b-62zt9nsdjt] {
        font-size: 1.75rem;
    }

    .login-section[b-62zt9nsdjt] {
        padding: 1.5rem;
    }

    .welcome-icon[b-62zt9nsdjt] {
        width: 64px;
        height: 64px;
    }

    .wave-emoji[b-62zt9nsdjt] {
        font-size: 2rem;
    }
}

/* Dark mode styling */
@media (prefers-color-scheme: dark) {
    .login-title[b-62zt9nsdjt],
    .login-section-title[b-62zt9nsdjt] {
        color: var(--color-text-primary);
    }
    
    .login-subtitle[b-62zt9nsdjt],
    .login-section-description[b-62zt9nsdjt] {
        color: var(--color-text-secondary);
    }
}
/* /Components/Pages/MobileLogin.razor.rz.scp.css */
/* Mobile login page specific styles - shared styles in login-shared.css */

.mobile-login-section[b-ljdngo537q] {
    background-color: rgba(234, 233, 253, 0.3);
    border-radius: 12px;
    padding: 32px;
    width: 373px;
    max-width: 100%;
}

.login-container[b-ljdngo537q] {
    margin-bottom: 2rem;
}

.mobile-login-title[b-ljdngo537q] {
    font-family: Riposte, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 135%;
    letter-spacing: -0.12px;
    color: #040506;
    margin: 0 0 0.75rem 0;
}

.mobile-login-description[b-ljdngo537q] {
    font-family: Riposte, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 155%;
    color: #2D354A;
    margin: 0 0 1.5rem 0;
}

.mobile-login-form[b-ljdngo537q] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Accessible fieldset reset for phone number group (WCAG 2.1 SC 1.3.1) */
fieldset.phone-input-group[b-ljdngo537q] {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

fieldset.phone-input-group > legend[b-ljdngo537q] {
    padding: 0;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #040506;
    /* Float makes the legend contribute to normal block flow inside flex */
    float: left;
    width: 100%;
}

fieldset.phone-input-group > *:not(legend)[b-ljdngo537q] {
    clear: left;
}

/* Fieldset for SSN group */
.form-group[b-ljdngo537q] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label[b-ljdngo537q] {
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #040506;
    margin: 0;
}

.phone-input-wrapper[b-ljdngo537q] {
    display: flex;
    position: relative;
    align-items: center;
    gap: 8px;
}

.country-code-prefix[b-ljdngo537q] {
    position: absolute;
    left: 12px;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    color: #040506;
    pointer-events: none;
    z-index: 1;
}

.country-code-input[b-ljdngo537q] {
    width: 80px;
    flex-shrink: 0;
}

.phone-input[b-ljdngo537q] {
    flex: 1;
    padding-left: 12px !important;
}

.form-control[b-ljdngo537q] {
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    color: #040506;
    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control[b-ljdngo537q]::placeholder {
    color: #9CA3AF;
}

.form-control:focus[b-ljdngo537q] {
    outline: none;
    border-color: #39134C;
    box-shadow: 0 0 0 3px rgba(57, 19, 76, 0.1);
}

.form-control.is-invalid[b-ljdngo537q] {
    border-color: #EF4444;
}

.form-control.is-invalid:focus[b-ljdngo537q] {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-text[b-ljdngo537q] {
    font-family: Riposte, sans-serif;
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}

.invalid-feedback[b-ljdngo537q] {
    font-family: Riposte, sans-serif;
    font-size: 12px;
    color: #EF4444;
    margin: 0;
}

.button-group[b-ljdngo537q] {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-secondary[b-ljdngo537q] {
    flex: 0 0 auto;
    padding: 12px 24px;
    background-color: #E5E7EB;
    color: #11151D;
    border: none;
    border-radius: 50px;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover[b-ljdngo537q] {
    background-color: #D1D5DB;
}

.btn-secondary:focus-visible[b-ljdngo537q] {
    outline: 2px solid #39134C;
    outline-offset: 2px;
}

.btn-primary[b-ljdngo537q] {
    flex: 1;
    padding: 14px 28px;
    background-color: #F9F8FE;
    color: #11151D;
    border: 1.5px solid #040506;
    border-radius: 50px;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover:not(:disabled)[b-ljdngo537q] {
    background-color: #F0EEFE;
    border-color: #040506;
}

.btn-primary:focus-visible[b-ljdngo537q] {
    outline: 2px solid #39134C;
    outline-offset: 2px;
}

.btn-primary:disabled[b-ljdngo537q] {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-footer-note[b-ljdngo537q] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.login-footer-note p[b-ljdngo537q] {
    font-family: Riposte, sans-serif;
    font-size: 12px;
    color: #6B7280;
    margin: 0;
    text-align: center;
    line-height: 155%;
}

@media (max-width: 576px) {
    .mobile-login-section[b-ljdngo537q] {
        padding: 1.5rem;
    }

    .button-group[b-ljdngo537q] {
        flex-direction: column-reverse;
    }

    .btn-secondary[b-ljdngo537q],
    .btn-primary[b-ljdngo537q] {
        width: 100%;
    }
}

/* Dark mode styling */
@media (prefers-color-scheme: dark) {
    .mobile-login-title[b-ljdngo537q] {
        color: var(--color-text-primary);
    }
    
    .mobile-login-description[b-ljdngo537q] {
        color: var(--color-text-secondary);
    }
    
    .form-label[b-ljdngo537q],
    fieldset.phone-input-group > legend[b-ljdngo537q],
    .country-code-prefix[b-ljdngo537q] {
        color: var(--color-text-primary);
    }
    
    .form-control[b-ljdngo537q] {
        color: var(--color-text-primary);
        background-color: var(--color-background-secondary);
        border-color: var(--color-border-primary);
    }
    
    .form-control[b-ljdngo537q]::placeholder {
        color: var(--color-text-tertiary);
    }
    
    .form-text[b-ljdngo537q],
    .login-footer-note p[b-ljdngo537q] {
        color: var(--color-text-secondary);
    }
    
    .btn-secondary[b-ljdngo537q] {
        background-color: var(--color-background-tertiary);
        color: var(--color-text-primary);
    }
    
    .btn-secondary:hover[b-ljdngo537q] {
        background-color: var(--color-background-secondary);
    }
    
    .btn-primary[b-ljdngo537q] {
        background-color: var(--violet-600);
        color: #ffffff;
        border-color: var(--violet-600);
    }
    
    .btn-primary:hover:not(:disabled)[b-ljdngo537q] {
        background-color: var(--violet-700);
        border-color: var(--violet-700);
    }
}
/* /Components/Pages/Overview.razor.rz.scp.css */
.page-title[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%; /* 52.5px */
    letter-spacing: -0.42px;
}

.welcome-message[b-70qutwkotn] {
    color: var(--color-text-primary);
    font-family: Riposte;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 155%; /* 27.9px */
}

.overview-skeleton[b-70qutwkotn] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overview-skeleton .skeleton-page-title[b-70qutwkotn] {
    height: 36px;
    width: 240px;
    border-radius: 6px;
}

.overview-skeleton .skeleton-page-subtitle[b-70qutwkotn] {
    height: 18px;
    width: 320px;
    border-radius: 6px;
}

.overview-content[b-70qutwkotn] {
    animation: fadeIn 0.25s ease-in;
}

.contract-selector[b-70qutwkotn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background-color: var(--color-background-secondary);
    border-radius: 8px;
}

.contract-label[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 0;
}

.contract-dropdown[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 16px;
    border: 1px solid var(--color-border-secondary);
    border-radius: 6px;
    padding: 8px 12px;
    background-color: var(--color-background-primary);
    color: var(--color-text-primary);
}

.contract-dropdown:focus[b-70qutwkotn] {
    border-color: var(--green-600);
    box-shadow: 0 0 0 2px rgba(56, 189, 117, 0.1);
    outline: none;
}

.section-heading[b-70qutwkotn] {
    color: var(--color-text-primary);
    font-family: Riposte;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 28px */
    letter-spacing: -0.001px;
    margin-bottom: 12px;
}

.invoice-card[b-70qutwkotn] {
    display: flex;
    padding: 20px 32px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    background-color: rgba(234, 233, 253, 0.3);
    border: none;
}

.invoice-card-content[b-70qutwkotn] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
}

.invoice-main[b-70qutwkotn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invoice-badge[b-70qutwkotn] {
    display: inline-flex;
    padding: 4px 12px;
    align-items: center;
    border-radius: 20px;
    background-color: var(--green-50);
    color: var(--green-700);
    font-family: Riposte;
    font-size: 14px;
    font-weight: 500;
    border: none;
    width: fit-content;
}

.invoice-badge-overdue[b-70qutwkotn] {
    background-color: #FFECEF;
    color: #660713;
}

.invoice-amount[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 32px;
    font-weight: 500;
    line-height: 125%;
    margin: 0;
    color: var(--color-text-primary);
}

.invoice-due-date[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    color: var(--color-text-primary);
}

.invoice-action[b-70qutwkotn] {
    flex-shrink: 0;
}

.invoice-card-skeleton .skeleton-pill[b-70qutwkotn] {
    height: 24px;
    width: 140px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.invoice-card-skeleton .skeleton-invoice-amount[b-70qutwkotn] {
    height: 32px;
    width: 200px;
    margin-bottom: 10px;
}

.invoice-card-skeleton .skeleton-invoice-date[b-70qutwkotn] {
    height: 16px;
    width: 180px;
}

.invoice-card-skeleton .skeleton-button[b-70qutwkotn] {
    height: 36px;
    width: 140px;
    border-radius: 999px;
}

/* Uses .btn-pill utility from app.css */

/* Monthly Overview Cards */
.monthly-card[b-70qutwkotn] {
    display: flex;
    flex-direction: column;
    background-color: rgba(234, 233, 253, 0.3);
    border: none;
    padding: 24px;
    height: 100%;
}

.monthly-card-title[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: var(--color-text-primary);
    margin: 0 0 20px 0;
}

.monthly-total[b-70qutwkotn] {
    margin-bottom: 24px;
}

.monthly-label[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-text-primary);
    margin: 0 0 4px 0;
}

.monthly-amount[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 32px;
    font-weight: 500;
    line-height: 125%;
    color: var(--color-text-primary);
    margin: 0;
}

.monthly-breakdown[b-70qutwkotn] {
    margin-bottom: 24px;
}

.breakdown-title[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    color: var(--color-text-primary);
    margin: 0 0 12px 0;
}

.breakdown-item[b-70qutwkotn] {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(4, 5, 6, 0.1);
    font-family: Riposte;
    font-size: 14px;
    line-height: 150%;
    color: var(--color-text-primary);
}

.breakdown-item:last-child[b-70qutwkotn] {
    border-bottom: none;
}

.breakdown-label-with-tooltip[b-70qutwkotn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.breakdown-tooltip-icon[b-70qutwkotn] {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: default;
    font-size: 12px;
    color: var(--color-text-secondary, #666);
    -webkit-user-select: none;
    user-select: none;
}

.breakdown-tooltip-popup[b-70qutwkotn] {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10000;
    pointer-events: none;
    white-space: nowrap;
    background: var(--color-text-primary);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: Riposte;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breakdown-tooltip-popup[b-70qutwkotn]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--color-text-primary);
}

.breakdown-tooltip-icon:hover .breakdown-tooltip-popup[b-70qutwkotn],
.breakdown-tooltip-icon:focus .breakdown-tooltip-popup[b-70qutwkotn] {
    opacity: 1;
    visibility: visible;
}

.breakdown-tooltip-row[b-70qutwkotn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 4px 0;
    font-size: 12px;
}

.breakdown-tooltip-row:not(:last-child)[b-70qutwkotn] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-tooltip-deduction[b-70qutwkotn] {
    opacity: 0.9;
}

@media (prefers-color-scheme: dark) {
    .breakdown-tooltip-popup[b-70qutwkotn] {
        background: #263246;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    .breakdown-tooltip-popup[b-70qutwkotn]::after {
        border-top-color: #263246;
    }

    .breakdown-tooltip-row[b-70qutwkotn] {
        color: #ffffff;
    }
}

.monthly-stats[b-70qutwkotn] {
    margin-bottom: 24px;
    background-color: rgba(226, 225, 234, 0.4);
    padding: 16px;
    border-radius: 8px;
}

.stats-title[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    color: var(--color-text-primary);
    margin: 0 0 16px 0;
}

.stats-grid[b-70qutwkotn] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-item[b-70qutwkotn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
    border-right: 1px solid rgba(4, 5, 6, 0.15);
}

.stat-item:first-child[b-70qutwkotn] {
    padding-left: 0;
}

.stat-item:last-child[b-70qutwkotn] {
    border-right: none;
    padding-right: 0;
}

.stat-label[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-text-primary);
}

.stat-value[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 24px;
    font-weight: 500;
    line-height: 125%;
    color: var(--color-text-primary);
}

.stat-date[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-text-primary);
}

/* Uses .btn-pill utility from app.css */

/* Norgespris Tile */
.norgespris-card[b-70qutwkotn] {
    background-color: rgba(234, 233, 253, 0.3);
    border: none;
    padding: 24px 32px;
}

.norgespris-title[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: var(--color-text-primary);
    margin: 0 0 16px 0;
}

.norgespris-savings[b-70qutwkotn] {
    margin-bottom: 24px;
}

.savings-amount[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 32px;
    font-weight: 500;
    line-height: 125%;
    color: var(--color-text-primary);
    margin: 0;
}

.norgespris-limit-section[b-70qutwkotn] {
    margin-top: 24px;
}

.limit-label[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
}

.limit-text[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-text-primary);
    margin: 0 0 12px 0;
}

.progress-bar-container[b-70qutwkotn] {
    width: 100%;
    height: 24px;
    background-color: var(--color-neutral-200);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill[b-70qutwkotn] {
    height: 100%;
    background-color: var(--color-accent-purple);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-bar-container-segmented[b-70qutwkotn] {
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.progress-bar-container-segmented .progress-bar-fill[b-70qutwkotn] {
    border-radius: 0;
    flex-shrink: 0;
}

.progress-bar-excess[b-70qutwkotn] {
    height: 100%;
    background-color: #FFD6DC;
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.limit-info-text[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-neutral-500);
    margin: 0;
}

/* Right side flex stack */
.right-stack[b-70qutwkotn] {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
}

.price-grow-col[b-70qutwkotn] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-grow-col .price-card[b-70qutwkotn] {
    height: 100%;
}

.price-grow-col .card-body[b-70qutwkotn] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* New Tiles Styling */
.daily-max-card[b-70qutwkotn],
.energy-card[b-70qutwkotn],
.price-card[b-70qutwkotn] {
    background-color: rgba(234, 233, 253, 0.3);
    border: none;
    padding: 24px;
    height: 100%;
}

.tile-card-title[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: var(--color-text-primary);
    margin: 0 0 20px 0;
}

.tile-stats-row[b-70qutwkotn] {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tile-stat-item[b-70qutwkotn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tile-stat-label[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-text-primary);
    margin: 0;
}

.tile-stat-value[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 32px;
    font-weight: 500;
    line-height: 125%;
    color: var(--color-text-primary);
    margin: 0;
}

/* Peak tooltip styles */
.peak-average-wrapper[b-70qutwkotn] {
    position: relative;
}

.peak-items-table[b-70qutwkotn] {
    width: 100%;
    margin-top: 12px;
    border-collapse: collapse;
    font-family: Riposte;
    font-size: 11px;
}

.peak-items-table thead th[b-70qutwkotn] {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    padding: 0 0 6px;
    border-bottom: 1px solid var(--color-border-primary, rgba(4,5,6,0.1));
    text-align: left;
}

.peak-items-table tbody tr:not(:last-child) td[b-70qutwkotn] {
    border-bottom: 1px solid var(--color-border-primary, rgba(4,5,6,0.06));
}

.peak-items-table tbody td[b-70qutwkotn] {
    padding: 5px 0;
    color: var(--color-text-primary);
    font-size: 11px;
}

.peak-items-value[b-70qutwkotn] {
    text-align: right;
    font-weight: 600;
}

/* Dark mode text improvements for secondary/muted content */
@media (prefers-color-scheme: dark) {
    .price-unit[b-70qutwkotn],
    .label-item[b-70qutwkotn],
    .chart-labels[b-70qutwkotn],
    .limit-info-text[b-70qutwkotn] {
        color: var(--color-text-secondary);
    }
    
    /* Tile backgrounds */
    .daily-max-card[b-70qutwkotn],
    .energy-card[b-70qutwkotn],
    .price-card[b-70qutwkotn],
    .norgespris-card[b-70qutwkotn],
    .invoice-card[b-70qutwkotn],
    .monthly-card[b-70qutwkotn] {
        background-color: #2A3148;
        border: 1px solid var(--color-border-primary);
    }

    /* Badge */
    .invoice-badge[b-70qutwkotn] {
        background-color: #2B544A;
        color: #F9FAFB;
    }

    .invoice-badge-overdue[b-70qutwkotn] {
        background-color: #660713;
        color: #FFECEF;
    }
}

.chart-container[b-70qutwkotn] {
    margin-top: 24px;
}

.chart-placeholder[b-70qutwkotn] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 140px;
    padding: 30px 0 0;
    margin-bottom: 12px;
    overflow: visible;
}

.chart-bar-wrapper[b-70qutwkotn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    overflow: visible;
}

.chart-label-active[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-primary);
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.placeholder-bar[b-70qutwkotn] {
    width: 100%;
    background-color: rgba(226, 225, 234, 0.6);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
}

.bar-value[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 11px;
    font-weight: 400;
    color: var(--color-neutral-500);
    white-space: nowrap;
    padding-top: 4px;
    line-height: 1;
    width: 100%;
    text-align: center;
}

.placeholder-bar.active[b-70qutwkotn] {
    background-color: var(--color-accent-purple);
}

.placeholder-bar.active .bar-value[b-70qutwkotn] {
    color: #fff;
}

.chart-labels[b-70qutwkotn] {
    display: flex;
    justify-content: space-between;
    font-family: Riposte;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-neutral-500);
}

.label-item[b-70qutwkotn] {
    flex: 1;
    text-align: center;
}

.price-content[b-70qutwkotn] {
    margin-top: 0;
}

.price-period[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
}

.current-price[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 32px;
    font-weight: 500;
    line-height: 125%;
    color: var(--color-text-primary);
    margin: 0 0 4px 0;
}

.price-unit[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-neutral-500);
    margin: 0 0 8px 0;
}

.price-energyledd-note[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
    color: var(--color-neutral-500);
    margin: 0;
}

/* Month toggle styles */
.monthly-header-row[b-70qutwkotn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* Uses .btn-pill utility from app.css */
/* Responsive styles for smaller screens */
@media (max-width: 576px) {
    /* Scale down large value displays */
    .tile-stat-value[b-70qutwkotn] {
        font-size: 24px;
    }
    
    .monthly-amount[b-70qutwkotn] {
        font-size: 24px;
    }
    
    .current-price[b-70qutwkotn] {
        font-size: 24px;
    }
    
    .invoice-amount[b-70qutwkotn] {
        font-size: 24px;
    }
    
    .savings-amount[b-70qutwkotn] {
        font-size: 24px;
    }
    
    /* Allow buttons to wrap text on small screens */
    .btn-pill[b-70qutwkotn] {
        white-space: normal;
        text-align: center;
        min-height: 36px;
    }
    
    /* Stack invoice card content on small screens */
    .invoice-card-content[b-70qutwkotn] {
        flex-direction: column;
        gap: 16px;
    }
    
    .invoice-action[b-70qutwkotn] {
        width: 100%;
    }
    
    .invoice-action .btn-pill[b-70qutwkotn] {
        width: 100%;
    }
    
    /* Stack monthly header row on small screens */
    .monthly-header-row[b-70qutwkotn] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .monthly-header-row .btn-pill[b-70qutwkotn] {
        width: 100%;
    }
    
    /* Stack tile stats vertically on small screens */
    .tile-stats-row[b-70qutwkotn] {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .tile-stat-item[b-70qutwkotn] {
        min-width: 0;
        flex: none;
    }
    
    /* Reduce padding on cards for small screens */
    .daily-max-card[b-70qutwkotn],
    .energy-card[b-70qutwkotn],
    .price-card[b-70qutwkotn],
    .norgespris-card[b-70qutwkotn] {
        padding: 16px;
    }
    
    .monthly-card[b-70qutwkotn] {
        padding: 16px;
    }
    
    .invoice-card[b-70qutwkotn] {
        padding: 16px 20px;
    }
    
    /* Adjust stat label font size */
    .tile-stat-label[b-70qutwkotn] {
        font-size: 12px;
    }
    
    .monthly-label[b-70qutwkotn] {
        font-size: 13px;
    }
    
    /* Stack key figures grid (Nøkkeltall) */
    .stats-grid[b-70qutwkotn] {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item[b-70qutwkotn] {
        border-right: none;
        border-bottom: 1px solid rgba(4, 5, 6, 0.15);
        padding: 0 0 16px 0;
    }
    
    .stat-item:last-child[b-70qutwkotn] {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* Scale down stat value */
    .stat-value[b-70qutwkotn] {
        font-size: 20px;
    }
}

/* Medium screens improvements */
@media (min-width: 577px) and (max-width: 768px) {
    .tile-stat-value[b-70qutwkotn] {
        font-size: 28px;
    }
    
    .monthly-amount[b-70qutwkotn] {
        font-size: 28px;
    }
    
    .current-price[b-70qutwkotn] {
        font-size: 28px;
    }
    
    .invoice-amount[b-70qutwkotn] {
        font-size: 28px;
    }
    
    .savings-amount[b-70qutwkotn] {
        font-size: 28px;
    }
    
    /* Stack key figures to 2 columns on medium screens */
    .stats-grid[b-70qutwkotn] {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-item:nth-child(2)[b-70qutwkotn] {
        border-right: none;
    }
    
    .stat-item:nth-child(3)[b-70qutwkotn] {
        border-right: none;
    }
}

/* Price Card Clickable */
.price-card-clickable[b-70qutwkotn] {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card-clickable:hover[b-70qutwkotn] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-card-clickable:focus-visible[b-70qutwkotn] {
    outline: 3px solid var(--color-border-focus);
    outline-offset: 2px;
}

.click-hint[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 12px;
    text-align: center;
    opacity: 0.7;
}

/* Price Modal */
.price-modal-overlay[b-70qutwkotn] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.price-modal-content[b-70qutwkotn] {
    background: white;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.price-modal-header[b-70qutwkotn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(4, 5, 6, 0.1);
}

.price-modal-header h3[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: var(--color-text-primary);
}

.modal-close-btn[b-70qutwkotn] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text-primary);
    transition: opacity 0.2s ease;
}

.modal-close-btn svg[b-70qutwkotn] {
    width: 18px;
    height: 18px;
}

.modal-close-btn:hover[b-70qutwkotn] {
    opacity: 0.7;
}

.price-modal-body[b-70qutwkotn] {
    padding: 16px;
    box-sizing: border-box;
}

/* Price Display */
.price-display[b-70qutwkotn] {
    text-align: center;
    padding: 16px 12px;
    background: rgba(122, 113, 242, 0.05);
    border-radius: 8px;
    margin-bottom: 16px;
}

.price-display-time[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.price-display-value[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.price-display-unit[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.price-display-label[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary);
    margin-bottom: 2px;
}

.price-display-norgespris[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 11px;
    color: #5BC4A8;
    margin-top: 4px;
}

.price-display-spotprice[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-top: 2px;
}


/* Price Chart */
.price-chart[b-70qutwkotn] {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 200px;
    padding: 10px 0;
    margin-bottom: 12px;
    overflow-x: hidden;
}

.price-bar-wrapper[b-70qutwkotn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    position: relative;
    cursor: pointer;
}

.price-bar-wrapper:hover .price-bar[b-70qutwkotn] {
    opacity: 0.8;
}

.price-bar-container[b-70qutwkotn] {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.price-bar[b-70qutwkotn] {
    width: 100%;
    max-width: 10px;
    background: rgba(122, 113, 242, 0.3);
    border-radius: 2px 2px 0 0;
    transition: all 0.2s ease;
    min-height: 3px;
    position: relative;
    overflow: hidden;
}

.price-bar-norgespris[b-70qutwkotn] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(91, 196, 168, 0.75);
    border-radius: 2px 2px 0 0;
    pointer-events: none;
}

.price-bar-govsupport[b-70qutwkotn] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 158, 11, 0.75);
    border-radius: 2px 2px 0 0;
    pointer-events: none;
}

.price-bar:hover[b-70qutwkotn] {
    background: rgba(122, 113, 242, 0.5);
}

.price-bar.selected[b-70qutwkotn] {
    outline: 2px solid rgba(0, 0, 0, 0.3);
    outline-offset: 2px;
}

.price-bar-wrapper.is-min .price-bar[b-70qutwkotn] {
    outline: 2px solid #5BC4A8;
    outline-offset: 2px;
}

.price-bar-wrapper.is-max .price-bar[b-70qutwkotn] {
    outline: 2px solid #7A71F2;
    outline-offset: 2px;
}

.price-bar-wrapper.is-min .price-bar.selected[b-70qutwkotn],
.price-bar-wrapper.is-max .price-bar.selected[b-70qutwkotn] {
    outline-color: rgba(0, 0, 0, 0.3);
}

.price-bar-hour[b-70qutwkotn] {
    font-family: Riposte;
    font-size: 8px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

.price-filter-toggle[b-70qutwkotn] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-family: Riposte;
    color: var(--color-text-secondary);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    margin-left: auto;
}

.price-filter-toggle input[type="checkbox"][b-70qutwkotn] {
    width: 13px;
    height: 13px;
    accent-color: var(--color-primary-500);
    cursor: pointer;
}

/* Price Legend */
.price-legend[b-70qutwkotn] {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(4, 5, 6, 0.1);
}

.price-legend-item[b-70qutwkotn] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Riposte;
    font-size: 10px;
    color: var(--color-text-primary);
}

/* Modal view toggle */
.modal-view-toggle[b-70qutwkotn] {
    display: flex;
    background: rgba(4, 5, 6, 0.06);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.modal-toggle-btn[b-70qutwkotn] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-family: Riposte, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.modal-toggle-btn.active[b-70qutwkotn] {
    background: white;
    color: var(--color-text-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.modal-toggle-btn:hover:not(.active)[b-70qutwkotn] {
    color: var(--color-text-primary);
}

/* Price Table */
.price-table-wrapper[b-70qutwkotn] {
    overflow-y: auto;
    max-height: 300px;
    border: 1px solid rgba(4, 5, 6, 0.1);
    border-radius: 8px;
    margin-bottom: 12px;
}

.price-table[b-70qutwkotn] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: Riposte, sans-serif;
    font-size: 13px;
}

.price-table thead th[b-70qutwkotn] {
    position: sticky;
    top: 0;
    background: #f8f8f8;
    font-weight: 500;
    font-size: 12px;
    color: var(--color-text-secondary);
    padding: 8px 12px;
    text-align: left;
    box-shadow: 0 1px 0 rgba(4, 5, 6, 0.1);
    z-index: 1;
}

.price-table tbody tr[b-70qutwkotn] {
    border-bottom: 1px solid rgba(4, 5, 6, 0.06);
    cursor: pointer;
    transition: background 0.1s ease;
}

.price-table tbody tr:last-child[b-70qutwkotn] {
    border-bottom: none;
}

.price-table tbody tr:hover[b-70qutwkotn] {
    background: rgba(122, 113, 242, 0.05);
}

.price-table tbody td[b-70qutwkotn] {
    padding: 8px 12px;
    color: var(--color-text-primary);
}

.price-table tbody tr.current-hour-row[b-70qutwkotn] {
    background: rgba(122, 113, 242, 0.08);
    font-weight: 500;
}

.price-table tbody tr.current-hour-row:hover[b-70qutwkotn] {
    background: rgba(122, 113, 242, 0.13);
}

.legend-dot[b-70qutwkotn] {
    width: 16px;
    height: 3px;
    border-radius: 2px;
}

.legend-dot.min[b-70qutwkotn] {
    background: #5BC4A8;
}

.legend-dot.max[b-70qutwkotn] {
    background: #7A71F2;
}

.legend-dot.norgespris[b-70qutwkotn] {
    background: rgba(91, 196, 168, 0.75);
}

.legend-dot.dinstrompris[b-70qutwkotn] {
    background: rgba(122, 113, 242, 0.3);
    border: 1px solid rgba(122, 113, 242, 0.6);
}

.legend-dot.govsupport[b-70qutwkotn] {
    background: rgba(245, 158, 11, 0.75);
}

/* Dark mode price modal */
@media (prefers-color-scheme: dark) {
    .price-modal-content[b-70qutwkotn] {
        background: var(--color-background-primary);
        border: 1px solid var(--color-border-primary);
    }
    
    .price-modal-header[b-70qutwkotn] {
        border-bottom-color: var(--color-border-primary);
    }
    
    .price-legend[b-70qutwkotn] {
        border-top-color: var(--color-border-primary);
    }
    
    .price-display[b-70qutwkotn] {
        background: rgba(56, 189, 248, 0.05);
    }
    
    
    .price-bar[b-70qutwkotn] {
        background: rgba(56, 189, 248, 0.3);
    }
    
    .price-bar:hover[b-70qutwkotn] {
        background: rgba(56, 189, 248, 0.5);
    }
    
    .price-bar.selected[b-70qutwkotn] {
        outline: 2px solid rgba(255, 255, 255, 0.45);
        outline-offset: 2px;
    }

    .price-bar-wrapper.is-min .price-bar[b-70qutwkotn] {
        outline: 2px solid #5BC4A8;
        outline-offset: 2px;
    }

    .price-bar-wrapper.is-max .price-bar[b-70qutwkotn] {
        outline: 2px solid #7A71F2;
        outline-offset: 2px;
    }

    .price-bar-wrapper.is-min .price-bar.selected[b-70qutwkotn],
    .price-bar-wrapper.is-max .price-bar.selected[b-70qutwkotn] {
        outline-color: rgba(255, 255, 255, 0.45);
    }
    
    .price-bar.current[b-70qutwkotn] {
        background: var(--color-primary-500);
    }
    
    .legend-dot.min[b-70qutwkotn] {
        background: #5BC4A8;
    }
    
    .legend-dot.max[b-70qutwkotn] {
        background: #7A71F2;
    }

    .legend-dot.norgespris[b-70qutwkotn] {
        background: rgba(91, 196, 168, 0.85);
    }

    .legend-dot.dinstrompris[b-70qutwkotn] {
        background: rgba(122, 113, 242, 0.35);
        border-color: rgba(122, 113, 242, 0.7);
    }

    .legend-dot.govsupport[b-70qutwkotn] {
        background: rgba(245, 158, 11, 0.85);
    }

    .price-bar-norgespris[b-70qutwkotn] {
        background: rgba(91, 196, 168, 0.85);
    }

    .price-bar-govsupport[b-70qutwkotn] {
        background: rgba(245, 158, 11, 0.85);
    }

    .modal-view-toggle[b-70qutwkotn] {
        background: rgba(255, 255, 255, 0.08);
    }

    .modal-toggle-btn.active[b-70qutwkotn] {
        background: rgba(255, 255, 255, 0.15);
        box-shadow: none;
    }

    .price-table thead th[b-70qutwkotn] {
        background: var(--color-background-secondary, #1e1e1e);
        border-bottom-color: var(--color-border-primary);
    }

    .price-table tbody tr[b-70qutwkotn] {
        border-bottom-color: var(--color-border-primary);
    }

    .price-table-wrapper[b-70qutwkotn] {
        border-color: var(--color-border-primary);
    }
}

/* Responsive price modal */
@media (max-width: 576px) {
    .price-modal-header[b-70qutwkotn] {
        padding: 10px 12px;
    }
    
    .price-modal-header h3[b-70qutwkotn] {
        font-size: 16px;
    }
    
    .price-modal-body[b-70qutwkotn] {
        padding: 12px;
    }
    
    .price-display[b-70qutwkotn] {
        padding: 12px 8px;
        margin-bottom: 12px;
    }
    
    .price-display-value[b-70qutwkotn] {
        font-size: 24px;
    }
    
    .price-display-time[b-70qutwkotn],
    .price-display-unit[b-70qutwkotn] {
        font-size: 9px;
    }
    
    
    .price-chart[b-70qutwkotn] {
        height: 140px;
        gap: 2px;
    }
    
    .price-bar-wrapper[b-70qutwkotn] {
        min-width: 12px;
    }
    
    .price-bar-container[b-70qutwkotn] {
        height: 110px;
    }
    
    .price-bar[b-70qutwkotn] {
        max-width: 10px;
    }
    
    .price-bar-hour[b-70qutwkotn] {
        font-size: 7px;
    }
    
    .modal-view-toggle[b-70qutwkotn] {
        order: 3;
        margin-top: 4px;
    }
    
    .price-modal-header[b-70qutwkotn] {
        flex-wrap: wrap;
    }
    
    .price-legend[b-70qutwkotn] {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .price-legend-item[b-70qutwkotn] {
        font-size: 9px;
    }
}
/* /Components/Pages/Profile.razor.rz.scp.css */
.profile-header[b-twcrl6ri5f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.profile-header h1[b-twcrl6ri5f] {
    margin: 0;
    flex: 1;
}

.btn-logout[b-twcrl6ri5f] {
    padding: 0.5rem 1.25rem;
    background-color: var(--color-background-primary);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-primary);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-logout:hover[b-twcrl6ri5f] {
    color: var(--color-text-primary);
    border-color: var(--color-border-secondary);
    background-color: var(--color-background-tertiary);
}

.btn-logout:focus-visible[b-twcrl6ri5f] {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
}

/* Profile Section */
.profile-section[b-twcrl6ri5f] {
    margin-top: 2rem;
    width: 100%;
}

.profile-section:last-of-type[b-twcrl6ri5f] {
    padding-bottom: 3rem;
}

.section-title[b-twcrl6ri5f] {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

/* Info Cards Grid */
.info-cards-grid[b-twcrl6ri5f] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    width: 100%;
}

/* Info Card Base */
.info-card[b-twcrl6ri5f] {
    background-color: var(--color-background-primary);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card--customer[b-twcrl6ri5f] {
    border: none;
}

.info-card--contact[b-twcrl6ri5f] {
    background-color: #F9F8FE;
    border: none;
}

/* Dark mode profile card improvements */
@media (prefers-color-scheme: dark) {
    .info-card[b-twcrl6ri5f] {
        background-color: #2A3148;
    }
    
    .info-card--customer[b-twcrl6ri5f] {
        border-color: var(--color-border-primary);
    }
    
    .info-card--contact[b-twcrl6ri5f] {
        background-color: #2A3148;
        border: 1px solid var(--color-border-primary);
    }
    
    .info-card__title[b-twcrl6ri5f] {
        color: var(--color-text-primary);
    }
    
    .info-field__label[b-twcrl6ri5f] {
        color: var(--color-text-tertiary);
    }
    
    .info-field__value[b-twcrl6ri5f] {
        color: var(--color-text-primary);
    }
    
    .edit-link[b-twcrl6ri5f] {
        color: var(--color-text-primary);
        text-decoration: underline;
    }
    
    .edit-link:hover[b-twcrl6ri5f] {
        color: var(--color-text-primary);
        text-decoration: underline;
    }
}

.info-card__title[b-twcrl6ri5f] {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0;
}

.info-card__content[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card__footer[b-twcrl6ri5f] {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

/* Info Field */
.info-field[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-field__label[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-regular);
}

.info-field__value[b-twcrl6ri5f] {
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
}

/* Customer card: horizontal layout for fields */
.info-card--customer .info-card__content[b-twcrl6ri5f] {
    flex-direction: row;
    gap: 3rem;
}

/* Edit Link */
.edit-link[b-twcrl6ri5f] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-decoration: underline;
    transition: color 0.2s;
}

.edit-link:hover[b-twcrl6ri5f] {
    color: var(--color-text-primary);
    text-decoration: underline;
}

.edit-link svg[b-twcrl6ri5f] {
    flex-shrink: 0;
}

/* ================================
   Contracts Section - Accordion
   ================================ */

.contracts-section[b-twcrl6ri5f] {
    margin-top: 3rem;
    width: 100%;
}

.contracts-accordion[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Accordion Item */
.accordion-item[b-twcrl6ri5f] {
    background-color: var(--color-background-primary);
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item--expanded[b-twcrl6ri5f] {
    border-color: transparent;
}

/* Accordion Header */
.accordion-header[b-twcrl6ri5f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #F9F8FE;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
}

.accordion-header:hover[b-twcrl6ri5f] {
    background-color: #f0eefb;
}

/* Dark mode accordion header improvements */
@media (prefers-color-scheme: dark) {
    .accordion-header[b-twcrl6ri5f] {
        background: #2A3148;
        color: var(--color-text-primary);
    }
    
    .accordion-header:hover[b-twcrl6ri5f] {
        background-color: rgba(107, 114, 128, 0.3);
    }
    
    .accordion-header:focus-visible[b-twcrl6ri5f] {
        outline-color: var(--color-border-focus);
    }
}

.accordion-header__content[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.accordion-header__title[b-twcrl6ri5f] {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0;
}

.accordion-header__subtitle[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.accordion-header__icon[b-twcrl6ri5f] {
    color: var(--color-text-secondary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.accordion-item--expanded .accordion-header__icon[b-twcrl6ri5f] {
    transform: rotate(180deg);
}

/* Static (non-interactive) accordion header for pending/inactive contracts */
.accordion-header--static[b-twcrl6ri5f] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #F9F8FE;
    cursor: default;
}

.accordion-header--static:hover[b-twcrl6ri5f] {
    background: #F9F8FE;
}

/* Inactive contract item */
.accordion-item--inactive .accordion-header--static[b-twcrl6ri5f] {
    opacity: 0.7;
}

/* Pending end-date badge */
.badge--pending[b-twcrl6ri5f] {
    background-color: #FFD6DC !important;
}

/* Meta row inside accordion header (subtitle + badge side by side) */
.accordion-header__meta[b-twcrl6ri5f] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

/* End date value in contract details */
.contract-end-date[b-twcrl6ri5f] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-medium);
}

/* Inactive contracts section — visually subdued title */
.contracts-section--inactive .section-title[b-twcrl6ri5f] {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
}

@media (prefers-color-scheme: dark) {
    .accordion-header--static[b-twcrl6ri5f] {
        background: #2A3148;
        color: var(--color-text-primary);
    }
}

/* Accordion Content */
.accordion-content[b-twcrl6ri5f] {
    padding: 1.5rem;
    background-color: #F9F8FE;
    border-top: 1px solid var(--color-border-primary);
}

/* Dark mode accordion content improvements */
@media (prefers-color-scheme: dark) {
    .accordion-item[b-twcrl6ri5f] {
        background-color: #2A3148;
        border-color: var(--color-border-primary);
    }
    
    .accordion-content[b-twcrl6ri5f] {
        background-color: rgba(235, 233, 253, 0.08);
        border-top-color: var(--color-border-primary);
        color: var(--color-text-primary);
    }
    
    .accordion-header__title[b-twcrl6ri5f] {
        color: var(--color-text-primary);
    }
    
    .accordion-header__subtitle[b-twcrl6ri5f] {
        color: var(--color-text-secondary);
    }
    
    .accordion-header__icon[b-twcrl6ri5f] {
        color: var(--color-text-secondary);
    }
}

/* Contract Details */
.contract-details[b-twcrl6ri5f] {
    padding: 0;
}

.contract-details__title[b-twcrl6ri5f] {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-primary);
    margin: 0 0 1.25rem 0;
}

.contract-details__grid[b-twcrl6ri5f] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
}

/* Manage Contract Section */
.manage-contract-section[b-twcrl6ri5f] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: none;
}

.manage-contract-section__title[b-twcrl6ri5f] {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-primary);
    margin: 0 0 1rem 0;
}

.manage-contract-section__links[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.manage-contract-link[b-twcrl6ri5f] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    text-decoration: none;
    width: fit-content;
    transition: opacity 0.2s;
}

.manage-contract-link__text[b-twcrl6ri5f] {
    text-decoration: underline;
}

.manage-contract-link:hover[b-twcrl6ri5f] {
    opacity: 0.7;
}

/* Tariffs Section */
.tariffs-section[b-twcrl6ri5f] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: none;
}

.tariffs-section__title[b-twcrl6ri5f] {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-primary);
    margin: 0 0 1.25rem 0;
}

.tariffs-grid[b-twcrl6ri5f] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Tariff Card */
.tariff-card[b-twcrl6ri5f] {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Dark mode tariff card improvements */
@media (prefers-color-scheme: dark) {
    .tariff-card[b-twcrl6ri5f] {
        background-color: #2A3148;
        border-color: var(--color-border-primary);
        color: var(--color-text-primary);
    }
    
    .tariff-card__name[b-twcrl6ri5f] {
        color: var(--color-text-primary);
    }
    
    .tariff-card__type[b-twcrl6ri5f] {
        color: var(--color-text-secondary);
    }
    
    .tariff-card__date[b-twcrl6ri5f] {
        color: var(--color-text-tertiary);
    }
    
    .tariff-card__section-title[b-twcrl6ri5f] {
        color: var(--color-text-primary);
    }
    
    .tariff-card__list[b-twcrl6ri5f] {
        color: var(--color-text-secondary);
    }
    
    .tariff-card__list--bullets li[b-twcrl6ri5f]::before {
        color: var(--color-text-tertiary);
    }
}

.tariff-card__header[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.tariff-card__name[b-twcrl6ri5f] {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0;
}

.tariff-card__type[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.tariff-card__date[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
}

.tariff-card__price[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-top: 0.25rem;
}

.tariff-card__section[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tariff-card__section-title[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-top: 0.25rem;
}

.tariff-card__list[b-twcrl6ri5f] {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.tariff-card__list li[b-twcrl6ri5f] {
    padding: 0.125rem 0;
}

.tariff-card__list--bullets li[b-twcrl6ri5f]::before {
    content: "• ";
    color: var(--color-text-tertiary);
}

.tariff-card__footer[b-twcrl6ri5f] {
    margin-top: 0;
}

.tariff-card__cancel-link[b-twcrl6ri5f] {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.tariff-card__cancel-link:hover[b-twcrl6ri5f] {
    opacity: 0.7;
}

.tariff-card__terminating[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

/* Action Link (End contract/service) */
.action-link[b-twcrl6ri5f] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-primary-600);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: color 0.2s;
}

.action-link:hover[b-twcrl6ri5f] {
    color: var(--color-primary-700);
    text-decoration: underline;
}

/* ================================
   Settings Cards (Consents & Account Access)
   ================================ */

.info-card--settings[b-twcrl6ri5f] {
    border: 1px solid var(--color-border-primary);
    align-self: start;
}

/* Consent Card - Purple style matching contact card */
.info-card--consent[b-twcrl6ri5f] {
    background-color: var(--violet-50);
    border: none;
    align-self: start;
}

/* Dark mode consent card improvements */
@media (prefers-color-scheme: dark) {
    .info-card--settings[b-twcrl6ri5f] {
        background-color: #2A3148;
        border-color: var(--color-border-primary);
    }
    
    .info-card--consent[b-twcrl6ri5f] {
        background-color: #2A3148;
        border: 1px solid var(--color-border-primary);
    }
    
    .consent-description[b-twcrl6ri5f] {
        color: var(--color-text-secondary);
    }
    
    .toggle-label[b-twcrl6ri5f] {
        color: var(--color-text-primary);
    }
}

/* Consent Toggles */
.consent-description[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0 0 1rem 0;
}

.consent-toggles[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consent-toggle[b-twcrl6ri5f] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.toggle-label[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
    line-height: 1.4;
}

/* Custom Toggle Switch */
.toggle-switch[b-twcrl6ri5f] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input[b-twcrl6ri5f] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-twcrl6ri5f] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-neutral-300);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider[b-twcrl6ri5f]::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider[b-twcrl6ri5f] {
    background-color: var(--green-500);
}

.toggle-switch input:checked + .toggle-slider[b-twcrl6ri5f]::before {
    transform: translateX(20px);
}

.toggle-switch input:focus-visible + .toggle-slider[b-twcrl6ri5f] {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
}

/* Account Section */
.account-section[b-twcrl6ri5f] {
    margin-bottom: 1.5rem;
}

.account-section:last-child[b-twcrl6ri5f] {
    margin-bottom: 0;
}

.account-section__title[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0 0 0.25rem 0;
}

.account-section__owner[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0 0 0.75rem 0;
}

.meters-list[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meter-item[b-twcrl6ri5f] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.75rem;
    background-color: var(--color-background-secondary);
    border-radius: 6px;
}

.meter-item__id[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    font-family: var(--font-family-mono);
}

.meter-item__address[b-twcrl6ri5f] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
    .contract-details__grid[b-twcrl6ri5f] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tariffs-grid[b-twcrl6ri5f] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-cards-grid[b-twcrl6ri5f] {
        grid-template-columns: 1fr;
    }
    
    .info-card--customer .info-card__content[b-twcrl6ri5f] {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contract-details__grid[b-twcrl6ri5f] {
        grid-template-columns: 1fr;
    }
    
    .tariffs-grid[b-twcrl6ri5f] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .profile-header[b-twcrl6ri5f] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-logout[b-twcrl6ri5f] {
        align-self: flex-end;
    }
    
    .accordion-header[b-twcrl6ri5f] {
        padding: 1rem;
    }
    
    .accordion-content[b-twcrl6ri5f] {
        padding: 0 1rem 1rem;
    }
}

/* /Components/Pages/VerifyCode.razor.rz.scp.css */
/* Verify code page specific styles - shared styles in login-shared.css */

.verify-section[b-dxutqhtv2p] {
    background-color: rgba(234, 233, 253, 0.3);
    border-radius: 12px;
    padding: 32px;
    width: 389px;
    max-width: 100%;
}

.verify-title[b-dxutqhtv2p] {
    font-family: Riposte, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 135%;
    letter-spacing: -0.12px;
    color: #040506;
    margin: 0 0 0.75rem 0;
}

.verify-subtitle[b-dxutqhtv2p] {
    font-family: Riposte, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 155%;
    color: #2D354A;
    margin: 0 0 1.5rem 0;
}

.verify-form[b-dxutqhtv2p] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group[b-dxutqhtv2p] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label[b-dxutqhtv2p] {
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #040506;
    margin: 0;
}

.code-input[b-dxutqhtv2p] {
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    color: #040506;
    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: center;
    letter-spacing: 0.5rem;
}

.code-input[b-dxutqhtv2p]::placeholder {
    color: #9CA3AF;
    letter-spacing: 0.3rem;
}

.code-input:focus[b-dxutqhtv2p] {
    outline: none;
    border-color: #39134C;
    box-shadow: 0 0 0 3px rgba(57, 19, 76, 0.1);
}

.code-input.is-invalid[b-dxutqhtv2p] {
    border-color: #EF4444;
}

.code-input.is-invalid:focus[b-dxutqhtv2p] {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-text[b-dxutqhtv2p] {
    font-family: Riposte, sans-serif;
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}

.invalid-feedback[b-dxutqhtv2p] {
    font-family: Riposte, sans-serif;
    font-size: 12px;
    color: #EF4444;
    margin: 0;
}

.button-group[b-dxutqhtv2p] {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-secondary[b-dxutqhtv2p] {
    flex: 0 0 auto;
    padding: 12px 24px;
    background-color: #E5E7EB;
    color: #11151D;
    border: none;
    border-radius: 50px;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover[b-dxutqhtv2p] {
    background-color: #D1D5DB;
}

.btn-secondary:focus-visible[b-dxutqhtv2p] {
    outline: 2px solid #39134C;
    outline-offset: 2px;
}

.btn-primary[b-dxutqhtv2p] {
    flex: 1;
    padding: 14px 28px;
    background-color: #F9F8FE;
    color: #040506;
    border: 1.5px solid #040506;
    border-radius: 50px;
    font-family: Riposte, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-align: center;    white-space: nowrap;    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover:not(:disabled)[b-dxutqhtv2p] {
    background-color: #F0EEFE;
    border-color: #040506;
}

.btn-primary:focus-visible[b-dxutqhtv2p] {
    outline: 2px solid #39134C;
    outline-offset: 2px;
}

.btn-primary:disabled[b-dxutqhtv2p] {
    opacity: 0.6;
    cursor: not-allowed;
}

.resend-section[b-dxutqhtv2p] {
    text-align: center;
    margin-top: 1rem;
}

.resend-timer[b-dxutqhtv2p] {
    font-family: Riposte, sans-serif;
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

/* Resend code button — appears after countdown expires (WCAG 4.1.3) */
.btn-resend[b-dxutqhtv2p] {
    background: none;
    border: none;
    padding: 0;
    font-family: Riposte, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--app-accent, #0284c7);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.btn-resend:hover[b-dxutqhtv2p] {
    color: var(--app-accent-hover, #0369a1);
}

.btn-resend:focus-visible[b-dxutqhtv2p] {
    outline: 3px solid var(--app-accent, #0284c7);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn-resend:disabled[b-dxutqhtv2p] {
    opacity: 0.5;
    cursor: not-allowed;
}

.verify-footer-note[b-dxutqhtv2p] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.verify-footer-note .note-question[b-dxutqhtv2p] {
    font-family: Riposte, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #040506;
    margin: 0 0 0.25rem 0;
}

.verify-footer-note .note-answer[b-dxutqhtv2p] {
    font-family: Riposte, sans-serif;
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

@media (max-width: 576px) {
    .verify-section[b-dxutqhtv2p] {
        padding: 1.5rem;
        width: 100%;
    }

    .button-group[b-dxutqhtv2p] {
        flex-direction: column-reverse;
    }

    .btn-secondary[b-dxutqhtv2p],
    .btn-primary[b-dxutqhtv2p] {
        width: 100%;
    }
}

/* Dark mode styling */
@media (prefers-color-scheme: dark) {
    .verify-title[b-dxutqhtv2p] {
        color: var(--color-text-primary);
    }
    
    .verify-subtitle[b-dxutqhtv2p] {
        color: var(--color-text-secondary);
    }
    
    .form-label[b-dxutqhtv2p] {
        color: var(--color-text-primary);
    }
    
    .code-input[b-dxutqhtv2p] {
        color: var(--color-text-primary);
        background-color: var(--color-background-secondary);
        border-color: var(--color-border-primary);
    }
    
    .code-input[b-dxutqhtv2p]::placeholder {
        color: var(--color-text-tertiary);
    }
    
    .form-text[b-dxutqhtv2p],
    .resend-timer[b-dxutqhtv2p] {
        color: var(--color-text-secondary);
    }
    
    .btn-secondary[b-dxutqhtv2p] {
        background-color: var(--color-background-tertiary);
        color: var(--color-text-primary);
    }
    
    .btn-secondary:hover[b-dxutqhtv2p] {
        background-color: var(--color-background-secondary);
    }
    
    .btn-primary[b-dxutqhtv2p] {
        background-color: var(--violet-600);
        color: #ffffff;
        border-color: var(--violet-600);
    }
    
    .btn-primary:hover:not(:disabled)[b-dxutqhtv2p] {
        background-color: var(--violet-700);
        border-color: var(--violet-700);
    }
    
    .verify-footer-note .note-question[b-dxutqhtv2p] {
        color: var(--color-text-primary);
    }
    
    .verify-footer-note .note-answer[b-dxutqhtv2p] {
        color: var(--color-text-secondary);
    }
}
/* /Components/Shared/EditContactModal.razor.rz.scp.css */
.modal-backdrop[b-u2v35jq5f3] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: var(--z-index-modal-backdrop);
    animation: fadeIn-b-u2v35jq5f3 0.2s ease-in;
}

.edit-contact-modal[b-u2v35jq5f3] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-background-primary);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-index-modal);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn-b-u2v35jq5f3 0.3s ease-out;
    font-family: var(--font-family-primary);
}

@keyframes fadeIn-b-u2v35jq5f3 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-u2v35jq5f3 {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header[b-u2v35jq5f3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-6);
    border-bottom: var(--border-width-thin) solid var(--color-border-primary);
}

.modal-header h2[b-u2v35jq5f3] {
    margin: 0;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.btn-close[b-u2v35jq5f3] {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    transition: background-color var(--transition-base);
    color: var(--color-text-secondary);
}

.btn-close:hover[b-u2v35jq5f3] {
    background-color: var(--color-background-tertiary);
    color: var(--color-text-primary);
}

.modal-body[b-u2v35jq5f3] {
    padding: var(--spacing-6);
}

.tabs[b-u2v35jq5f3] {
    display: flex;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-6);
    border-bottom: var(--border-width-medium) solid var(--color-border-primary);
}

.tab[b-u2v35jq5f3] {
    background: none;
    border: none;
    padding: var(--spacing-3) var(--spacing-5);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    color: var(--color-text-secondary);
    border-bottom: var(--border-width-medium) solid transparent;
    margin-bottom: calc(var(--border-width-medium) * -1);
    transition: all var(--transition-base);
    font-family: var(--font-family-primary);
}

.tab:hover[b-u2v35jq5f3] {
    color: var(--color-text-primary);
}

.tab--active[b-u2v35jq5f3] {
    color: var(--violet-700);
    border-bottom-color: var(--violet-700);
}

.tab-content[b-u2v35jq5f3] {
    min-height: 300px;
}

.form-section[b-u2v35jq5f3] {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-5);
}

.form-group[b-u2v35jq5f3] {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.form-group label[b-u2v35jq5f3] {
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    font-size: var(--font-size-sm);
}

.form-control[b-u2v35jq5f3] {
    padding: var(--spacing-3);
    border: var(--border-width-thin) solid var(--color-border-secondary);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-base);
    font-family: var(--font-family-primary);
    color: var(--color-text-primary);
}

.form-control:focus[b-u2v35jq5f3] {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 0;
    border-color: var(--color-border-focus);
    box-shadow: none;
}

.edit-contact-modal .form-control:focus[b-u2v35jq5f3] {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 0;
    box-shadow: none;
}

.form-control:disabled[b-u2v35jq5f3] {
    background-color: var(--color-background-tertiary);
    cursor: not-allowed;
    color: var(--color-text-tertiary);
}

.form-control-readonly[b-u2v35jq5f3] {
    background-color: var(--color-background-tertiary) !important;
    cursor: not-allowed;
    color: var(--color-text-tertiary);
    border-color: var(--color-border-secondary);
    opacity: 0.8;
}

.form-control-readonly:focus[b-u2v35jq5f3] {
    outline: none;
    box-shadow: none;
    border-color: var(--color-border-secondary);
}

.btn[b-u2v35jq5f3] {
    padding: var(--spacing-3) var(--spacing-6);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    font-family: var(--font-family-primary);
}

.btn-primary[b-u2v35jq5f3] {
    background-color: #EAE9FD;
    color: var(--color-text-primary);
}

.btn-primary:hover:not(:disabled)[b-u2v35jq5f3] {
    background-color: #d5d3f7;
}

.btn-primary:disabled[b-u2v35jq5f3] {
    background-color: var(--color-neutral-300);
    cursor: not-allowed;
}

.btn-secondary[b-u2v35jq5f3] {
    background-color: var(--color-background-tertiary);
    color: var(--color-text-primary);
    border: var(--border-width-thin) solid var(--color-border-primary);
}

.btn-secondary:hover:not(:disabled)[b-u2v35jq5f3] {
    background-color: var(--color-background-secondary);
}

.btn-secondary:disabled[b-u2v35jq5f3] {
    background-color: var(--color-background-tertiary);
    color: var(--color-text-tertiary);
    cursor: not-allowed;
}

.button-group[b-u2v35jq5f3] {
    display: flex;
    gap: var(--spacing-4);
    justify-content: flex-end;
}

.alert[b-u2v35jq5f3] {
    padding: var(--spacing-4);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-sm);
}

.alert-success[b-u2v35jq5f3] {
    background-color: var(--green-50);
    border: var(--border-width-thin) solid var(--green-100);
    color: var(--green-950);
}

.alert-danger[b-u2v35jq5f3] {
    background-color: #fee2e2;
    border: var(--border-width-thin) solid #fecaca;
    color: #991b1b;
}

.alert-info[b-u2v35jq5f3] {
    background-color: var(--color-primary-50);
    border: var(--border-width-thin) solid var(--color-primary-100);
    color: var(--color-primary-900);
}

.spinner-border-sm[b-u2v35jq5f3] {
    width: 1rem;
    height: 1rem;
    border-width: var(--border-width-medium);
}

.spinner-border[b-u2v35jq5f3] {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: text-bottom;
    border: 3px solid currentColor;
    border-right-color: transparent;
    border-radius: var(--border-radius-full);
    animation: spinner-border-b-u2v35jq5f3 0.75s linear infinite;
}

@keyframes spinner-border-b-u2v35jq5f3 {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .edit-contact-modal[b-u2v35jq5f3] {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header[b-u2v35jq5f3],
    .modal-body[b-u2v35jq5f3] {
        padding: var(--spacing-4);
    }

    .tabs[b-u2v35jq5f3] {
        flex-wrap: wrap;
    }

    .tab[b-u2v35jq5f3] {
        flex: 1;
        min-width: 80px;
        padding: var(--spacing-2) var(--spacing-3);
        font-size: var(--font-size-sm);
    }

    .button-group[b-u2v35jq5f3] {
        flex-direction: column;
    }

    .button-group .btn[b-u2v35jq5f3] {
        width: 100%;
    }
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .tab--active[b-u2v35jq5f3] {
        color: #F9FAFB;
        border-bottom-color: #F9FAFB;
    }

    .btn-primary[b-u2v35jq5f3] {
        background-color: #2B544A;
        color: #f9fafb;
    }

    .btn-primary:hover:not(:disabled)[b-u2v35jq5f3] {
        background-color: #347d6b;
    }

    .btn-primary:disabled[b-u2v35jq5f3] {
        background-color: #475569;
        color: #94a3b8;
    }

    .alert-danger[b-u2v35jq5f3] {
        background-color: #450a0a;
        border-color: #7f1d1d;
        color: #fca5a5;
    }

    .alert-success[b-u2v35jq5f3] {
        background-color: #052e16;
        border-color: #166534;
        color: #86efac;
    }
}
/* /Components/Shared/LanguageSwitcher.razor.rz.scp.css */
.language-switcher[b-0kblx1mvr7] {
    display: inline-block;
}

.language-switcher .btn-language[b-0kblx1mvr7] {
    min-width: 120px;
    cursor: pointer;
    border: 1px solid var(--color-border-primary);
    color: var(--color-text-primary);
    background-color: var(--color-background-primary);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.language-switcher .btn-language:hover[b-0kblx1mvr7] {
    background-color: var(--color-background-secondary);
    border-color: var(--color-border-secondary);
}

.language-switcher .btn-language:focus-visible[b-0kblx1mvr7] {
    outline: 3px solid var(--color-border-focus);
    outline-offset: 2px;
    box-shadow: none;
}

/* Ensure proper sizing on small screens */
@media (max-width: 576px) {
    .language-switcher .btn-language[b-0kblx1mvr7] {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
}
/* /Components/Shared/ReportMoveModal.razor.rz.scp.css */
.modal-backdrop[b-a7jod8tii1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(120, 120, 120, 0.4);
    z-index: var(--z-index-modal-backdrop);
    animation: fadeIn-b-a7jod8tii1 0.2s ease-in;
}

@keyframes fadeIn-b-a7jod8tii1 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.report-move-modal[b-a7jod8tii1] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-background-primary);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-index-modal);
    width: 90%;
    max-width: 480px;
    animation: rmSlideIn-b-a7jod8tii1 0.3s ease-out;
    font-family: var(--font-family-primary);
}

@keyframes rmSlideIn-b-a7jod8tii1 {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.report-move-modal__header[b-a7jod8tii1] {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1rem 0 1rem;
}

.btn-close-move[b-a7jod8tii1] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    transition: background-color 0.2s;
    color: var(--color-text-secondary);
}

.btn-close-move:hover[b-a7jod8tii1] {
    background-color: var(--color-background-tertiary);
    color: var(--color-text-primary);
}

.report-move-modal__body[b-a7jod8tii1] {
    padding: 0.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.report-move-modal__title[b-a7jod8tii1] {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0;
}

.report-move-modal__description[b-a7jod8tii1] {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.report-move-modal__field[b-a7jod8tii1] {
    width: 100%;
    margin-top: 0.5rem;
}

/* Date display field (non-interactive container) */
.date-display-wrapper[b-a7jod8tii1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    border: 1px solid var(--color-border-primary);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    background: var(--color-background-primary);
}

/* Icon-only button that opens the calendar */
.date-icon-btn[b-a7jod8tii1] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
    transition: background-color 0.15s;
}

.date-icon-btn:hover[b-a7jod8tii1] {
    background-color: var(--color-background-tertiary);
}

.date-icon-btn:focus-visible[b-a7jod8tii1] {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
}

.date-input-icon[b-a7jod8tii1] {
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.date-display-text[b-a7jod8tii1] {
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    flex: 1;
}

.date-display-placeholder[b-a7jod8tii1] {
    color: var(--color-text-tertiary, var(--color-text-secondary));
}

/* Calendar panel */
.calendar-panel[b-a7jod8tii1] {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border: 1px solid var(--color-border-primary);
    border-radius: 10px;
    background: var(--color-background-primary);
    padding: 0.5rem;
    animation: calendarFadeIn-b-a7jod8tii1 0.15s ease-out;
}

@keyframes calendarFadeIn-b-a7jod8tii1 {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.calendar-panel__header[b-a7jod8tii1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.25rem;
}

.calendar-panel__title[b-a7jod8tii1] {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

/* Month navigation */
.calendar-nav[b-a7jod8tii1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    padding: 0;
}

.calendar-nav__btn[b-a7jod8tii1] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: var(--color-text-secondary);
    padding: 0.1rem 0.3rem;
    border-radius: var(--border-radius-md);
    transition: background-color 0.15s, color 0.15s;
}

.calendar-nav__btn:hover[b-a7jod8tii1] {
    background-color: var(--color-background-tertiary);
    color: var(--color-text-primary);
}

.calendar-nav__label[b-a7jod8tii1] {
    font-size: var(--font-size-xs, 0.75rem);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

/* Calendar grid: 7 columns */
.calendar-grid[b-a7jod8tii1] {
    display: grid;
    grid-template-columns: repeat(7, 36px);
    justify-content: center;
    gap: 1px;
}

.calendar-grid__day-header[b-a7jod8tii1] {
    text-align: center;
    font-size: 0.65rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    padding: 0.1rem 0;
}

.calendar-grid__cell[b-a7jod8tii1] {
    width: 36px;
    height: 32px;
    aspect-ratio: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-text-primary);
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    padding: 0;
    font-family: var(--font-family-primary);
}

.calendar-grid__cell:hover:not(:disabled)[b-a7jod8tii1] {
    background-color: var(--color-background-tertiary);
}

.calendar-grid__cell--empty[b-a7jod8tii1] {
    cursor: default;
    pointer-events: none;
}

.calendar-grid__cell--disabled[b-a7jod8tii1] {
    color: var(--color-text-disabled, #bbb);
    cursor: not-allowed;
    opacity: 0.45;
}

.calendar-grid__cell--selected[b-a7jod8tii1] {
    background-color: #6AEBAB;
    color: #1a1a1a;
    font-weight: var(--font-weight-semibold);
}

.calendar-grid__cell--selected:hover:not(:disabled)[b-a7jod8tii1] {
    background-color: #6AEBAB;
}

/* Confirm button */
.calendar-panel__footer[b-a7jod8tii1] {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.btn-confirm-date[b-a7jod8tii1] {
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    border: 2px solid transparent;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: not-allowed;
    background-color: var(--color-background-tertiary, #e5e7eb);
    color: var(--color-text-secondary);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-family: var(--font-family-primary);
}

.btn-confirm-date--active[b-a7jod8tii1] {
    background-color: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    border-color: var(--color-text-primary);
}

.btn-confirm-date--active:hover[b-a7jod8tii1] {
    background-color: #6AEBAB;
    color: #1a1a1a;
    border-color: #6AEBAB;
}

/* Submit row */
.report-move-modal__submit[b-a7jod8tii1] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.btn-report-move[b-a7jod8tii1] {
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    border: 2px solid transparent;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: not-allowed;
    background-color: var(--color-background-tertiary, #e5e7eb);
    color: var(--color-text-secondary);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-family: var(--font-family-primary);
}

.btn-report-move--active[b-a7jod8tii1] {
    background-color: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    border-color: var(--color-text-primary);
}

.btn-report-move--active:hover[b-a7jod8tii1] {
    background-color: #6AEBAB;
    color: #1a1a1a;
    border-color: #6AEBAB;
}

/* Confirmation view */
.move-confirmation[b-a7jod8tii1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 100%;
}

.move-confirmation__divider[b-a7jod8tii1] {
    width: 100%;
    border: none;
    border-top: 1px solid var(--color-border-primary);
    margin: 0.25rem 0;
}

.move-confirmation__new-home-title[b-a7jod8tii1] {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0;
}

.btn-create-agreement[b-a7jod8tii1] {
    display: block;
    width: 100%;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    border: 2px solid var(--color-text-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    background-color: transparent;
    color: var(--color-text-primary);
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-family: var(--font-family-primary);
    margin-top: 0.5rem;
}

.btn-create-agreement:hover[b-a7jod8tii1] {
    background-color: #6AEBAB;
    color: #1a1a1a;
    border-color: #6AEBAB;
}

.btn-back-to-overview[b-a7jod8tii1] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    text-decoration: underline;
    font-family: var(--font-family-primary);
    padding: 0;
    transition: color 0.15s;
}

.btn-back-to-overview:hover[b-a7jod8tii1] {
    color: var(--color-text-primary);
}
/* /Components/Shared/TerminateAddonModal.razor.rz.scp.css */
.modal-backdrop[b-9xodeyohbw] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(120, 120, 120, 0.4);
    z-index: var(--z-index-modal-backdrop);
    animation: fadeIn-b-9xodeyohbw 0.2s ease-in;
}

@keyframes fadeIn-b-9xodeyohbw {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminate-addon-modal[b-9xodeyohbw] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-background-primary);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-index-modal);
    width: 90%;
    max-width: 480px;
    animation: taSlideIn-b-9xodeyohbw 0.3s ease-out;
    font-family: var(--font-family-primary);
}

@keyframes taSlideIn-b-9xodeyohbw {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.terminate-addon-modal__header[b-9xodeyohbw] {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1rem 0 1rem;
}

.btn-close-modal[b-9xodeyohbw] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    transition: background-color 0.2s;
    color: var(--color-text-secondary);
}

.btn-close-modal:hover[b-9xodeyohbw] {
    background-color: var(--color-background-tertiary);
    color: var(--color-text-primary);
}

.terminate-addon-modal__body[b-9xodeyohbw] {
    padding: 0.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.terminate-addon-modal__title[b-9xodeyohbw] {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0;
}

.terminate-addon-modal__description[b-9xodeyohbw] {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.terminate-addon-modal__error[b-9xodeyohbw] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    background-color: #fee2e2;
    color: #991b1b;
    font-size: var(--font-size-sm);
    text-align: left;
}

.terminate-addon-modal__actions[b-9xodeyohbw] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

/* Confirm button */
.btn-terminate[b-9xodeyohbw] {
    width: 100%;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    border: 2px solid transparent;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: not-allowed;
    background-color: var(--color-background-tertiary, #e5e7eb);
    color: var(--color-text-secondary);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-family: var(--font-family-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-terminate--active[b-9xodeyohbw] {
    background-color: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    border-color: var(--color-text-primary);
}

.btn-terminate--active:hover:not(:disabled)[b-9xodeyohbw] {
    background-color: #6AEBAB;
    color: #1a1a1a;
    border-color: #6AEBAB;
}

.btn-terminate:disabled[b-9xodeyohbw] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cancel link */
.btn-cancel-terminate[b-9xodeyohbw] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    text-decoration: underline;
    font-family: var(--font-family-primary);
    padding: 0;
    transition: color 0.15s;
}

.btn-cancel-terminate:hover:not(:disabled)[b-9xodeyohbw] {
    color: var(--color-text-primary);
}

.btn-cancel-terminate:disabled[b-9xodeyohbw] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Spinner */
.btn-spinner[b-9xodeyohbw] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btnSpin-b-9xodeyohbw 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes btnSpin-b-9xodeyohbw {
    to { transform: rotate(360deg); }
}

/* Success / confirmation view */
.terminate-confirmation[b-9xodeyohbw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 100%;
}

.terminate-confirmation__divider[b-9xodeyohbw] {
    width: 100%;
    border: none;
    border-top: 1px solid var(--color-border-primary);
    margin: 0.25rem 0;
}

.btn-back-to-overview[b-9xodeyohbw] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    text-decoration: underline;
    font-family: var(--font-family-primary);
    padding: 0;
    transition: color 0.15s;
}

.btn-back-to-overview:hover[b-9xodeyohbw] {
    color: var(--color-text-primary);
}
