/* /Components/Common/AnnonceCarousel.razor.rz.scp.css */
.advertisement-image[b-2lqasrcoze] {
    height: 500px;
    object-fit: contain;
    background-color: #f8f9fa;
}

[b-2lqasrcoze] .placeholder-svg {
    width: 200px;
    height: 200px;
    color: #ced4da;
}

.image-modal[b-2lqasrcoze] {
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1060;
}

.image-modal-content[b-2lqasrcoze] {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    position: absolute;
    inset: 0;
    margin: auto;
}

.image-modal-close[b-2lqasrcoze] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1070;
}

.carousel-item[b-2lqasrcoze] {
    transition: transform 0.75s ease-in-out;
}

.carousel-control-prev-icon[b-2lqasrcoze],
.carousel-control-next-icon[b-2lqasrcoze] {
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}
/* /Components/Common/ItemRow.razor.rz.scp.css */
/* --- Layout --- */
.item-row[b-jhgs9opyfw] {
    display: flex;
    flex-wrap: wrap; /* knapperne rykker ned på egen linje, når der ikke er plads */
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
}

    .item-row:hover[b-jhgs9opyfw] {
        border-color: #adb5bd;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

.inactive-row[b-jhgs9opyfw] {
    background-color: #fcfcfc;
    opacity: 0.75;
    border-style: dashed;
}

.item-main[b-jhgs9opyfw] {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 220px; /* fylder resten af rækken, men aldrig mindre end 220px ved siden af knapperne */
    min-width: 0;
}

.existing-image-container[b-jhgs9opyfw] {
    flex-shrink: 0;
}

.item-actions[b-jhgs9opyfw] {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto; /* højrestillet, også når de står på egen linje */
}

/* 1. Fælles styling for både billeder og placeholder */
.existing-image-preview[b-jhgs9opyfw],
[b-jhgs9opyfw] .existing-image-preview {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
}

/* 2. Specifikt for det rigtige billede (IMG) */
.existing-image-preview[b-jhgs9opyfw] {
    object-fit: cover;
}

/* 3. Specifikt for placeholderen (SVG) */
[b-jhgs9opyfw] .existing-image-preview {
    color: #adb5bd;
    background-color: #f8f9fa;
    object-fit: contain; /* SVG'en må ikke strækkes */
}

.item-info[b-jhgs9opyfw] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.item-title[b-jhgs9opyfw] {
    color: #212529;
    overflow-wrap: anywhere; /* lange ord brydes i stedet for at flyde ud */
    font-size: 0.95rem;
    line-height: 1.2;
}

.price[b-jhgs9opyfw] {
    font-size: 0.85rem;
    color: #004d40;
    font-weight: 600;
}

/* --- KNAPPER (Hvor vi bruger ::deep korrekt) --- */

/* Generel basis for alle knapper */
[b-jhgs9opyfw] .btn-view,
[b-jhgs9opyfw] .btn-edit,
[b-jhgs9opyfw] .btn-reactivate {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid transparent;
}

/* Specifikke farver */
/* 1. VIS ANNONCE: Afdæmpet blå (Soft-style) */
[b-jhgs9opyfw] .btn-view {
    background-color: #e7f1ff; /* Meget lys blå baggrund */
    color: #0056b3; /* Mørkeblå tekst for læsbarhed */
    border-color: #b3d1ff; /* En anelse mørkere ramme end baggrunden */
}

    [b-jhgs9opyfw] .btn-view:hover {
        background-color: #cfe2ff; /* Lidt mørkere blå ved hover */
        border-color: #a1c6ff;
        color: #004494;
    }

[b-jhgs9opyfw] .btn-edit {
    background: white;
    color: #495057;
    border-color: #adb5bd;
}

    [b-jhgs9opyfw] .btn-edit:hover {
        background: #f8f9fa;
        border-color: #6c757d;
        color: #212529;
    }

/* 3. GENAKTIVÉR: Tydelig, men sekundær (Light-style) */
[b-jhgs9opyfw] .btn-reactivate {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

    [b-jhgs9opyfw] .btn-reactivate:hover {
        background-color: #e2e6ea;
        color: #212529;
        border-color: #adb5bd;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }
/* /Components/Forms/AnnonceFormFields.razor.rz.scp.css */
.existing-image-preview[b-rbthnuvma7] {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
}

.existing-image-container[b-rbthnuvma7] {
    position: relative;
    display: inline-block;
}

.existing-image-preview[b-rbthnuvma7] {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
}

.remove-image-button[b-rbthnuvma7] {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1;
}
/* /Components/Forms/CoOwnerSelector.razor.rz.scp.css */
.coowner-panel[b-leclwh93p8] {
    height: 220px;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    background: white;
    overflow: hidden;
}

.coowner-dropdown-item[b-leclwh93p8] {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    background: white;
    text-align: left;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .coowner-dropdown-item:hover[b-leclwh93p8] {
        background: #f8fbff;
    }

    .coowner-dropdown-item:last-child[b-leclwh93p8] {
        border-bottom: 0;
    }

.selected-user[b-leclwh93p8] {
    background: #f8fbff;
    border: 1px solid #dbeafe;
}

.selected-user-icon[b-leclwh93p8] {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.coowner-empty-state[b-leclwh93p8] {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.95rem;
}
/* /Components/Forms/InputTextAreaWithCounter.razor.rz.scp.css */
.textarea-counter-wrapper[b-qwvzxvwa0e] {
    position: relative;
}

/* Giv plads i bunden, så teksten ikke løber ind under tælleren */
.textarea-with-counter[b-qwvzxvwa0e] {
    padding-bottom: 1.75rem;
}

.char-counter[b-qwvzxvwa0e] {
    position: absolute;
    right: 1.25rem; /* undgå scrollbaren */
    bottom: 0.4rem;
    font-size: 0.8rem;
    pointer-events: none;
    background-color: var(--bs-body-bg);
    padding: 0 0.25rem;
    border-radius: 0.25rem;
}
/* /Components/Home/AnnonceCard.razor.rz.scp.css */
.item-card[b-9o3a6cm3q9] {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .item-card:hover[b-9o3a6cm3q9] {
        transform: translateY(-6px);
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08), 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
    }

.item-image[b-9o3a6cm3q9] {
    height: 220px;
    object-fit: cover;
}

[b-9o3a6cm3q9] .placeholder-svg {
    width: 64px;
    height: 64px;
    color: #ced4da; /* Meget diskret grå */
}

.card-title[b-9o3a6cm3q9] {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

.item-price[b-9o3a6cm3q9] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-success);
    margin-bottom: 0.75rem;
}

.item-badge[b-9o3a6cm3q9] {
    font-weight: 700;
    font-size: 1.15rem;
    background: transparent;
    padding: 0;
}

.item-price-badge[b-9o3a6cm3q9] {
    color: var(--bs-success);
}

.item-wanted-badge[b-9o3a6cm3q9] {
    color: #5a67d8;
}
/* /Components/Home/AnnonceCardSkeleton.razor.rz.scp.css */
.placeholder[b-2p723tkibm] {
    background-color: #e9ecef;
}

.skeleton-image[b-2p723tkibm] {
    height: 220px;
}

.skeleton-badge[b-2p723tkibm] {
    width: 70px;
    height: 24px;
    border-radius: 999px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.main-content[b-63qfuwlz6d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.page-layout[b-63qfuwlz6d] {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    font-family: system-ui, sans-serif;
    background: #f6f7f9;
}

/* ================= DESKTOP TOP BAR ================= */

.top-row[b-63qfuwlz6d] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

    .top-row[b-63qfuwlz6d]  a,
    .top-row[b-63qfuwlz6d]  .btn-link {
        white-space: nowrap;
        text-decoration: none;
    }

        .top-row[b-63qfuwlz6d]  a:hover,
        .top-row[b-63qfuwlz6d]  .btn-link:hover {
            text-decoration: underline;
        }

/* ================= MOBILE/TABLET TOP BAR ================= */

.top-row-mobile[b-63qfuwlz6d] {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #d6d5d5;
    background: #f7f7f7;
    position: sticky;
    top: 0;
    z-index: 20;
}

.mobile-user-section[b-63qfuwlz6d] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.user-text[b-63qfuwlz6d] {
    min-width: 0;
}

.user-name[b-63qfuwlz6d] {
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-63qfuwlz6d] {
    line-height: 1.1;
    white-space: nowrap;
}

.mobile-menu-btn[b-63qfuwlz6d] {
    flex-shrink: 0;
}

.logout-btn[b-63qfuwlz6d] {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ================= CONTENT ================= */

.content[b-63qfuwlz6d] {
    padding: 2rem;
}

/* ================= TABLET + MOBILE ================= */

@media (max-width: 991.98px) {

    .page-layout[b-63qfuwlz6d] {
        flex-direction: column;
    }

    .main-content[b-63qfuwlz6d] {
        width: 100%;
    }

    .content[b-63qfuwlz6d] {
        padding: 1rem;
    }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 575.98px) {

    .top-row-mobile[b-63qfuwlz6d] {
        height: auto;
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: flex-start;
    }

    .mobile-user-section[b-63qfuwlz6d] {
        gap: 8px;
    }

    .logout-btn[b-63qfuwlz6d] {
        padding-inline: 0.75rem !important;
    }
}

/* ================= ERROR UI ================= */

#blazor-error-ui[b-63qfuwlz6d] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-63qfuwlz6d] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ================= SIDEBAR CORE ================= */
.sidebar[b-i67e0bxc45] {
    --sidebar-width: 275px;
    inline-size: var(--sidebar-width);
    min-inline-size: var(--sidebar-width);
    max-inline-size: var(--sidebar-width);
    min-height: 100vh;
    position: sticky;
    top: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #1f3b2c 0%, #244a38 45%, #1b2f25 100%);
    color: #e8f0ea;
    padding: 12px;
    overflow: hidden;
    transition: inline-size 250ms ease-in-out, min-inline-size 250ms ease-in-out, max-inline-size 250ms ease-in-out;
}

    .sidebar.collapsed[b-i67e0bxc45] {
        --sidebar-width: 72px;
    }

.brand-row[b-i67e0bxc45] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.toggle[b-i67e0bxc45] {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 8px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: transparent;
    color: white;
    cursor: pointer;
    transition: width .25s ease, padding .25s ease, transform .15s ease, background-color .15s ease;
}

    .toggle:hover[b-i67e0bxc45] {
        transform: translate(1px, 1px);
        background: rgba(46, 204, 113, .12);
    }

.sidebar.collapsed .toggle[b-i67e0bxc45] {
    width: 48px;
    align-self: center;
}

.nav-items[b-i67e0bxc45] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ================= NAV ITEM STYLING ================= */
[b-i67e0bxc45] .nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 10px;
    color: #e8f0ea !important;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}

    [b-i67e0bxc45] .nav-item:hover {
        background: rgba(255, 255, 255, .08);
        color: white !important;
    }

    [b-i67e0bxc45] .nav-item.active {
        background: rgba(255, 255, 255, .14);
        color: white !important;
    }

[b-i67e0bxc45] .icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
}

[b-i67e0bxc45] .label {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    opacity: 1;
    max-width: 200px;
    transition: opacity .15s ease, transform .15s ease, max-width .25s ease;
}

.sidebar.collapsed[b-i67e0bxc45]  .label {
    opacity: 0;
    transform: translateX(-8px);
    max-width: 0;
    pointer-events: none;
}

/* ================= COLLAPSIBLE ELEMENTS ================= */
.nav-collapse-container[b-i67e0bxc45] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

[b-i67e0bxc45] .arrow {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

[b-i67e0bxc45] .nav-item[aria-expanded="false"] .arrow {
    transform: rotate(-90deg);
}

[b-i67e0bxc45] .collapse {
    transition: all 0.3s ease-in-out;
}

[b-i67e0bxc45] .collapse-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 28px;
    margin-bottom: 6px;
    animation: slideDown-b-i67e0bxc45 0.3s ease-out;
}

@keyframes slideDown-b-i67e0bxc45 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[b-i67e0bxc45] .sub-item {
    min-height: 40px !important;
    font-size: 0.9rem !important;
    padding: 0 16px !important;
}

/* Hide collapsible content when sidebar is narrow */
.sidebar.collapsed .nav-collapse-container .arrow[b-i67e0bxc45],
.sidebar.collapsed[b-i67e0bxc45]  .collapse,
.sidebar.collapsed[b-i67e0bxc45]  .collapse-inner,
.sidebar.collapsed[b-i67e0bxc45]  .sub-item {
    display: none !important;
}

/* ================= MOBILE OFFCANVAS ================= */
.offcanvas-sidebar[b-i67e0bxc45] {
    background: linear-gradient(160deg, #1f3b2c 0%, #244a38 45%, #1b2f25 100%) !important;
    color: #e8f0ea !important;
    width: 300px !important;
}

[b-i67e0bxc45] .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[b-i67e0bxc45] .btn-close-white {
    filter: brightness(0) invert(1) !important;
}

/* Overstyring af nav-items i offcanvas for at bevare konsistens */
[b-i67e0bxc45] .offcanvas-body .nav-item {
    margin-bottom: 4px !important;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-d6edj06hvb],
.components-reconnect-repeated-attempt-visible[b-d6edj06hvb],
.components-reconnect-failed-visible[b-d6edj06hvb],
.components-pause-visible[b-d6edj06hvb],
.components-resume-failed-visible[b-d6edj06hvb],
.components-rejoining-animation[b-d6edj06hvb] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-d6edj06hvb],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-d6edj06hvb],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-d6edj06hvb],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-d6edj06hvb],
#components-reconnect-modal.components-reconnect-retrying[b-d6edj06hvb],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-d6edj06hvb],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-d6edj06hvb],
#components-reconnect-modal.components-reconnect-failed[b-d6edj06hvb],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-d6edj06hvb] {
    display: block;
}


#components-reconnect-modal[b-d6edj06hvb] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-d6edj06hvb 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-d6edj06hvb 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-d6edj06hvb 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-d6edj06hvb]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-d6edj06hvb 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-d6edj06hvb {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-d6edj06hvb {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-d6edj06hvb {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-d6edj06hvb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-d6edj06hvb] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-d6edj06hvb] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-d6edj06hvb] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-d6edj06hvb] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-d6edj06hvb] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-d6edj06hvb] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-d6edj06hvb 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-d6edj06hvb] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-d6edj06hvb {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Beskeder.razor.rz.scp.css */
.besked-row[b-95v6ymgbe9] {
    cursor: pointer;
}

    .besked-row:focus-visible[b-95v6ymgbe9],
    .besked-mobile-card:focus-visible[b-95v6ymgbe9] {
        outline: 2px solid var(--bs-primary);
        outline-offset: -2px;
    }

.besked-mobile-card[b-95v6ymgbe9] {
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .besked-mobile-card:hover[b-95v6ymgbe9] {
        background-color: var(--bs-light);
    }

.besked-table-wrapper[b-95v6ymgbe9] {
    max-height: 500px;
    overflow-y: auto
}

    .besked-table-wrapper thead th[b-95v6ymgbe9] {
        position: sticky;
        top: 0;
        z-index: 1;
        background-color: var(--bs-light);
    }
/* /Components/Pages/Admin/Besparelse.razor.rz.scp.css */
.savings-page[b-27eg8tmhez] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

/* Header */

.page-header[b-27eg8tmhez] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

    .page-header h1[b-27eg8tmhez] {
        margin: 0;
        color: #1f2937;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -.02em;
    }

    .page-header p[b-27eg8tmhez] {
        margin: .5rem 0 0;
        color: #6b7280;
    }

.summary-badge[b-27eg8tmhez] {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: .9rem;
    white-space: nowrap;
}

    .summary-badge span[b-27eg8tmhez] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 26px;
        height: 26px;
        padding: 0 .45rem;
        border-radius: 999px;
        background: #f3f4f6;
        color: #111827;
        font-weight: 700;
    }

/* Toolbar */

.list-toolbar[b-27eg8tmhez] {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 190px 210px;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.search-field[b-27eg8tmhez],
.filter-field[b-27eg8tmhez] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

    .search-field label[b-27eg8tmhez],
    .filter-field label[b-27eg8tmhez] {
        color: #6b7280;
        font-size: .8rem;
        font-weight: 700;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

/* Table */

.table-container[b-27eg8tmhez] {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.savings-table[b-27eg8tmhez] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .savings-table th[b-27eg8tmhez] {
        padding: .85rem 1rem;
        border-bottom: 1px solid #e5e7eb;
        background: #f9fafb;
        color: #6b7280;
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .savings-table td[b-27eg8tmhez] {
        padding: 1rem;
        border-bottom: 1px solid #edf0f2;
        color: #374151;
        font-size: .95rem;
        vertical-align: top;
    }

    .savings-table tbody tr:last-child td[b-27eg8tmhez] {
        border-bottom: 0;
    }

    .savings-table tbody tr[b-27eg8tmhez] {
        transition: background .15s ease;
    }

        .savings-table tbody tr:hover[b-27eg8tmhez] {
            background: #fafafa;
        }

.status-column[b-27eg8tmhez] {
    width: 42px;
}

.actions-column[b-27eg8tmhez] {
    width: 190px;
}

.status-cell[b-27eg8tmhez] {
    text-align: center;
}

.status-indicator[b-27eg8tmhez] {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-top: .25rem;
    border-radius: 50%;
}

    .status-indicator.pending[b-27eg8tmhez] {
        background: #f59e0b;
    }

    .status-indicator.registered[b-27eg8tmhez] {
        background: #22c55e;
    }

.ad-cell[b-27eg8tmhez] {
    width: 30%;
}

.ad-title[b-27eg8tmhez] {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
}

.ad-meta[b-27eg8tmhez] {
    margin-top: .2rem;
    color: #6b7280;
    font-size: .88rem;
    font-weight: 500;
}

.ad-description[b-27eg8tmhez] {
    display: -webkit-box;
    margin-top: .45rem;
    overflow: hidden;
    color: #6b7280;
    font-size: .88rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.savings-value[b-27eg8tmhez] {
    color: #166534;
    font-weight: 600;
    white-space: nowrap;
}

.muted-value[b-27eg8tmhez] {
    color: #9ca3af;
    font-style: italic;
}

.registration-date[b-27eg8tmhez] {
    color: #374151;
    font-size: .9rem;
}

.registration-user[b-27eg8tmhez] {
    margin-top: .15rem;
    color: #6b7280;
    font-size: .85rem;
}

.table-actions[b-27eg8tmhez] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}

.view-link[b-27eg8tmhez] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #2563eb;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

    .view-link:hover[b-27eg8tmhez] {
        color: #1d4ed8;
        text-decoration: underline;
    }

/* Pagination */

.pagination-bar[b-27eg8tmhez] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pagination-summary[b-27eg8tmhez] {
    color: #6b7280;
    font-size: .9rem;
}

    .pagination-summary strong[b-27eg8tmhez] {
        color: #374151;
        font-weight: 600;
    }

.pagination-actions[b-27eg8tmhez] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-number[b-27eg8tmhez] {
    min-width: 110px;
    color: #4b5563;
    font-size: .9rem;
    text-align: center;
}

/* Empty state */

.empty-state[b-27eg8tmhez] {
    padding: 4rem 2rem;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    background: #fafafa;
    text-align: center;
}

.empty-icon[b-27eg8tmhez],
.modal-icon[b-27eg8tmhez] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #e8f5e9;
    color: #198754;
    font-size: 1.4rem;
    font-weight: 700;
}

.empty-state h2[b-27eg8tmhez] {
    margin: 0;
    color: #374151;
    font-size: 1.2rem;
}

.empty-state p[b-27eg8tmhez] {
    margin: .5rem 0 0;
    color: #6b7280;
}

/* Modal backdrop */

.modal-backdrop-custom[b-27eg8tmhez] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(17, 24, 39, .55);
    backdrop-filter: blur(2px);
}

/* Savings modal */

.savings-modal[b-27eg8tmhez] {
    width: min(100%, 420px);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.modal-header-custom[b-27eg8tmhez] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
}

    .modal-header-custom h3[b-27eg8tmhez] {
        margin: 0;
        color: #1f2937;
        font-size: 1.25rem;
    }

    .modal-header-custom p[b-27eg8tmhez] {
        margin: .35rem 0 0;
        color: #6b7280;
        font-size: .9rem;
    }

.modal-close[b-27eg8tmhez] {
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

    .modal-close:hover[b-27eg8tmhez] {
        color: #111827;
    }

.modal-body-custom[b-27eg8tmhez] {
    padding: 1rem 1.5rem 1.5rem;
}

    .modal-body-custom label[b-27eg8tmhez] {
        display: block;
        margin-bottom: .4rem;
        color: #6b7280;
        font-size: .8rem;
        font-weight: 700;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

.input-with-suffix[b-27eg8tmhez] {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    background: #fff;
}

    .input-with-suffix:focus-within[b-27eg8tmhez] {
        border-color: #86b7fe;
        box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    }

    .input-with-suffix .form-control[b-27eg8tmhez] {
        border: 0;
        box-shadow: none;
    }

    .input-with-suffix span[b-27eg8tmhez] {
        padding: 0 .75rem;
        color: #6b7280;
        font-size: .9rem;
        white-space: nowrap;
    }

.modal-actions[b-27eg8tmhez] {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* Success modal */

.success-modal[b-27eg8tmhez] {
    width: min(100%, 420px);
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
    text-align: center;
}

    .success-modal h3[b-27eg8tmhez] {
        margin: 0 0 .65rem;
        color: #1f2937;
        font-size: 1.25rem;
    }

    .success-modal p[b-27eg8tmhez] {
        margin: 0 0 1.5rem;
        color: #6b7280;
        line-height: 1.5;
    }

.modal-confirm-btn[b-27eg8tmhez] {
    min-width: 140px;
}

/* Accessibility */

.visually-hidden[b-27eg8tmhez] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */

@media (max-width: 900px) {
    .savings-page[b-27eg8tmhez] {
        padding: 1.5rem 1rem 3rem;
    }

    .page-header[b-27eg8tmhez] {
        flex-direction: column;
        gap: 1rem;
    }

    .list-toolbar[b-27eg8tmhez] {
        grid-template-columns: 1fr;
    }

    .search-field[b-27eg8tmhez] {
        grid-column: auto;
    }

    .table-container[b-27eg8tmhez] {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .savings-table[b-27eg8tmhez],
    .savings-table tbody[b-27eg8tmhez],
    .savings-table tr[b-27eg8tmhez],
    .savings-table td[b-27eg8tmhez] {
        display: block;
        width: 100%;
    }

        .savings-table thead[b-27eg8tmhez] {
            display: none;
        }

        .savings-table tbody[b-27eg8tmhez] {
            display: grid;
            gap: 1rem;
        }

        .savings-table tr[b-27eg8tmhez] {
            overflow: hidden;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            background: #fff;
            box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
        }

        .savings-table td[b-27eg8tmhez] {
            display: grid;
            grid-template-columns: 120px minmax(0, 1fr);
            gap: 1rem;
            padding: .75rem 1rem;
            border-bottom: 1px solid #edf0f2;
        }

            .savings-table td[b-27eg8tmhez]::before {
                content: attr(data-label);
                color: #6b7280;
                font-size: .75rem;
                font-weight: 700;
                letter-spacing: .03em;
                text-transform: uppercase;
            }

        .savings-table tbody tr:last-child td[b-27eg8tmhez] {
            border-bottom: 1px solid #edf0f2;
        }

        .savings-table td:last-child[b-27eg8tmhez] {
            border-bottom: 0;
        }

    .status-cell[b-27eg8tmhez] {
        text-align: left;
    }

    .ad-cell[b-27eg8tmhez] {
        width: 100%;
    }

    .table-actions[b-27eg8tmhez] {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .pagination-bar[b-27eg8tmhez] {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-summary[b-27eg8tmhez] {
        text-align: center;
    }

    .pagination-actions[b-27eg8tmhez] {
        justify-content: space-between;
    }

    .modal-actions[b-27eg8tmhez] {
        flex-direction: column;
    }

        .modal-actions .btn[b-27eg8tmhez] {
            width: 100%;
        }

    .success-modal[b-27eg8tmhez] {
        padding: 1.5rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.item-card[b-8ks7ze4uq6] {
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .item-card:hover[b-8ks7ze4uq6] {
        transform: translateY(-4px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
    }

.item-image[b-8ks7ze4uq6] {
    height: 200px;
    object-fit: cover;
}

.filter-dropdown[b-8ks7ze4uq6] {
    min-width: 240px;
}

.clear-btn[b-8ks7ze4uq6] {
    top: 0;
    bottom: 0;
    margin: auto 0;
    background: transparent;
    color: #6c757d;
    border: none;
    line-height: 1;
}

    .clear-btn:hover[b-8ks7ze4uq6] {
        color: #000;
    }

.search-indicator-container[b-8ks7ze4uq6] {
    min-height: 20px;
    margin-top: 6px;
}

.search-indicator[b-8ks7ze4uq6] {
    min-width: 90px;
}
/* /Components/Pages/Item.razor.rz.scp.css */
.info-card[b-1i10zipg4i] {
    background-color: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 1rem;
}

[b-1i10zipg4i] .empty-value {
    color: var(--bs-secondary);
    font-style: italic;
}

/* Gør placeholderne lidt mere bløde og giver dem en fast minimumshøjde */
.placeholder[b-1i10zipg4i] {
    background-color: #e9ecef !important;
}

/* Sikrer at info-cards i skeleton-tilstanden har samme højde som de rigtige */
.info-card.placeholder-glow[b-1i10zipg4i] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem;
    min-height: 60px;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-page[b-1k4wsivwag] {
    background: linear-gradient(135deg, #e8f5e9 0%, #d7f0e3 35%, #dceeff 100%);
}

.text-primary:hover[b-1k4wsivwag] {
    text-decoration: underline !important;
    opacity: 0.8;
}
/* /Components/Pages/Profile/MineAnnoncer.razor.rz.scp.css */
/* --- Overordnet container --- */
[b-y2ibd92a1p] .profile-container {
    padding: 20px;
    color: #333;
    background-color: #f8f9fa; /* Meget lys grå baggrund for at matche form-stilen */
    min-height: 100vh;
}

.page-title[b-y2ibd92a1p] {
    color: #004d40;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* --- Rollefilter (Alle / Ejer / Medejer) - samme stil som filtrene på forsiden --- */
.role-filter[b-y2ibd92a1p] {
    margin-bottom: 1.5rem;
}

/* --- Sektion Overskrifter (Aktive/Inaktive) --- */
[b-y2ibd92a1p] .section-header {
    margin-bottom: 1.5rem;
}

    [b-y2ibd92a1p] .section-header h2 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        font-size: 1.25rem;
    }

[b-y2ibd92a1p] .header-text {
    color: #495057;
    font-weight: 600;
}

[b-y2ibd92a1p] .status-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

    [b-y2ibd92a1p] .status-dot.active {
        background-color: #28a745;
    }

    [b-y2ibd92a1p] .status-dot.inactive {
        background-color: #adb5bd;
    }

[b-y2ibd92a1p] .count-badge {
    display: inline-flex;
    background: #dee2e6;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 5px;
}

/* --- Listevisning af Annoncer --- */
[b-y2ibd92a1p] .item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Paginering --- */
.pagination-bar[b-y2ibd92a1p] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.pagination-info[b-y2ibd92a1p] {
    color: #6c757d;
    font-size: 0.875rem;
}

.pagination-controls[b-y2ibd92a1p] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Smalle skærme: info og knapper stables og centreres, så begge lister står ens */
@media (max-width: 575.98px) {
    .pagination-bar[b-y2ibd92a1p] {
        flex-direction: column;
        justify-content: center;
    }

    .pagination-info[b-y2ibd92a1p] {
        text-align: center;
    }

    .pagination-controls[b-y2ibd92a1p] {
        margin-left: 0;
    }
}

.pagination-page[b-y2ibd92a1p] {
    color: #6c757d;
    white-space: nowrap;
    min-width: 6.5em; /* fast bredde, så knapperne ikke flytter sig med sidetallet */
    text-align: center;
}

/* --- Hjælpeklasser --- */
.section-divider[b-y2ibd92a1p] {
    border: 0;
    border-top: 1px solid #dee2e6;
    margin: 30px 0;
}

.empty-msg[b-y2ibd92a1p] {
    color: #6c757d;
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #dee2e6;
    border-radius: 0.375rem;
}
/* /Components/Pages/Profile/MineBeskeder.razor.rz.scp.css */
[b-afpuy5fnqn] .beskeder-container {
    max-width: 600px;
    margin: 0 auto;
}

[b-afpuy5fnqn] .beskeder-card {
    border-radius: 1rem;
}

[b-afpuy5fnqn] .besked-list {
    width: 100%;
}

    [b-afpuy5fnqn] .besked-list .list-group {
        border-radius: 0.75rem;
        overflow: hidden;
    }

[b-afpuy5fnqn] .besked-list-item {
    padding: 1rem 1.25rem;
    transition: background-color 0.15s ease-in-out, transform 0.05s ease-in-out;
}

    [b-afpuy5fnqn] .besked-list-item:hover {
        background-color: #f8f9fa;
    }

    [b-afpuy5fnqn] .besked-list-item:active {
        transform: scale(0.998);
    }

    [b-afpuy5fnqn] .besked-list-item:focus {
        z-index: 1;
    }
