/* /Components/Layout/MainLayout.razor.rz.scp.css */

/* =========================================================
   CARDSCOUT - MAIN APPLICATION LAYOUT
   Milestone 16.1 - Mobile-First Experience
   ========================================================= */

/* Application shell */

.app-shell[b-ictn9nutkv] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bs-body-bg, #f7faf8);
}

/* =========================================================
   HEADER
   ========================================================= */

.topbar[b-ictn9nutkv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    min-height: 72px;
    padding: 0.75rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #e2eae5;
}

/* Brand */

.brand[b-ictn9nutkv] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    color: #172820;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

    .brand:hover[b-ictn9nutkv] {
        color: #172820;
    }

.brand-mark[b-ictn9nutkv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #247451;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
}

.brand-name[b-ictn9nutkv] {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-tag[b-ictn9nutkv] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    background: #e8f4ed;
    color: #247451;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.desktop-nav[b-ictn9nutkv] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.85rem;
    min-width: 0;
    margin-left: auto;
}

    /* ::deep is required for Blazor NavLink-generated anchors */

    .desktop-nav[b-ictn9nutkv]  a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        color: #52645a;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.15s ease;
    }

        .desktop-nav[b-ictn9nutkv]  a:hover {
            color: #247451;
        }

        .desktop-nav[b-ictn9nutkv]  a.active {
            color: #247451;
            font-weight: 800;
        }

/* Desktop More dropdown */

.desktop-more[b-ictn9nutkv] {
    flex-shrink: 0;
}

    .desktop-more .dropdown-toggle[b-ictn9nutkv] {
        min-height: 40px;
        padding: 0.4rem 0.7rem;
        border: 1px solid #d8e4dc;
        border-radius: 8px;
        background: #ffffff;
        color: #52645a;
        font-size: 0.82rem;
        font-weight: 600;
        white-space: nowrap;
    }

        .desktop-more .dropdown-toggle:hover[b-ictn9nutkv] {
            border-color: #247451;
            color: #247451;
        }

    .desktop-more .dropdown-menu[b-ictn9nutkv] {
        min-width: 200px;
        padding: 0.4rem;
        border: 1px solid #e2eae5;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

    .desktop-more .dropdown-item[b-ictn9nutkv] {
        padding: 0.65rem 0.85rem;
        border-radius: 7px;
        font-size: 0.9rem;
    }

        .desktop-more .dropdown-item:hover[b-ictn9nutkv] {
            background: #edf7f0;
            color: #247451;
        }

/* Hide mobile navigation on desktop */

.mobile-menu-button[b-ictn9nutkv],
.mobile-bottom-nav[b-ictn9nutkv] {
    display: none;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */

.app-main[b-ictn9nutkv] {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.app-content[b-ictn9nutkv] {
    width: 100%;
    max-width: 1600px;
    min-width: 0;
    margin-inline: auto;
    padding: 1.5rem;
}

    /* Responsive media */

    .app-content[b-ictn9nutkv]  img,
    .app-content[b-ictn9nutkv]  video {
        max-width: 100%;
        height: auto;
    }

    .app-content[b-ictn9nutkv]  .row > * {
        min-width: 0;
    }

    .app-content[b-ictn9nutkv]  .table-responsive {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

/* =========================================================
   FOOTER
   ========================================================= */

.footer[b-ictn9nutkv] {
    padding: 1.25rem;
    border-top: 1px solid #e2eae5;
    color: #718078;
    font-size: 0.75rem;
    text-align: center;
}

/* =========================================================
   MOBILE OFFCANVAS MENU
   ========================================================= */

.mobile-offcanvas[b-ictn9nutkv] {
    --bs-offcanvas-width: min(340px, 90vw);
    background: #ffffff;
    color: #172820;
}

    .mobile-offcanvas .offcanvas-header[b-ictn9nutkv] {
        padding: 1.25rem;
        border-bottom: 1px solid #e2eae5;
    }

    .mobile-offcanvas .offcanvas-title[b-ictn9nutkv] {
        color: #172820;
        font-weight: 800;
    }

.mobile-menu-links[b-ictn9nutkv] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

    .mobile-menu-links[b-ictn9nutkv]  a,
    .mobile-menu-links[b-ictn9nutkv]  .mobile-logout {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: #344b3d;
        font-size: 0.95rem;
        font-weight: 600;
        text-align: left;
        text-decoration: none;
    }

        .mobile-menu-links[b-ictn9nutkv]  a:hover,
        .mobile-menu-links[b-ictn9nutkv]  .mobile-logout:hover {
            background: #edf7f0;
            color: #247451;
        }

    .mobile-menu-links hr[b-ictn9nutkv] {
        margin: 0.75rem 0;
        border-color: #e2eae5;
    }

/* =========================================================
   TABLET + MOBILE (BELOW 1200px)
   ========================================================= */

@media (max-width: 1199.98px) {

    /* Header */

    .topbar[b-ictn9nutkv] {
        min-height: 64px;
        padding: 0.65rem 1rem;
        gap: 1rem;
    }

    .brand[b-ictn9nutkv] {
        font-size: 1.05rem;
    }

    .brand-tag[b-ictn9nutkv] {
        display: none;
    }

    /* Hide desktop links */

    .desktop-nav[b-ictn9nutkv] {
        display: none;
    }

    /* Hamburger */

    .mobile-menu-button[b-ictn9nutkv] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border: 1px solid #d8e4dc;
        border-radius: 10px;
        background: #ffffff;
        color: #247451;
        cursor: pointer;
    }

    .mobile-menu-icon[b-ictn9nutkv] {
        font-size: 1.4rem;
        line-height: 1;
    }

    .mobile-menu-button:hover[b-ictn9nutkv] {
        background: #edf7f0;
    }

    /* Fixed bottom navigation */

    .mobile-bottom-nav[b-ictn9nutkv] {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
        background: #ffffff;
        border-top: 1px solid #e2eae5;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
    }

        .mobile-bottom-nav[b-ictn9nutkv]  .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
            min-width: 0;
            min-height: 56px;
            padding: 0.3rem 0.1rem;
            border: 0;
            background: transparent;
            color: #708078;
            font-size: 0.7rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
        }

            .mobile-bottom-nav[b-ictn9nutkv]  .mobile-nav-item:hover {
                color: #247451;
            }

            .mobile-bottom-nav[b-ictn9nutkv]  .mobile-nav-item.active {
                color: #247451;
                font-weight: 800;
            }

    .mobile-nav-icon[b-ictn9nutkv] {
        font-size: 1.5rem;
        line-height: 1;
    }

    /* Leave room for the fixed bottom navigation */

    .app-main[b-ictn9nutkv] {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .footer[b-ictn9nutkv] {
        display: none;
    }
}

/* =========================================================
   PHONE (BELOW 768px)
   ========================================================= */

@media (max-width: 767.98px) {

    .topbar[b-ictn9nutkv] {
        min-height: 60px;
        padding: 0.5rem 0.75rem;
    }

    .brand-mark[b-ictn9nutkv] {
        width: 34px;
        height: 34px;
    }

    .app-content[b-ictn9nutkv] {
        padding: 1rem 0.75rem;
    }

        .app-content[b-ictn9nutkv]  h1 {
            font-size: 1.65rem;
        }

        .app-content[b-ictn9nutkv]  h2 {
            font-size: 1.35rem;
        }

        .app-content[b-ictn9nutkv]  .btn {
            min-height: 44px;
        }

        .app-content[b-ictn9nutkv]  input,
        .app-content[b-ictn9nutkv]  select,
        .app-content[b-ictn9nutkv]  textarea {
            max-width: 100%;
            font-size: 16px;
        }
}

/* =========================================================
   TABLET (768px - 1199px)
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199.98px) {

    .app-content[b-ictn9nutkv] {
        padding: 1.25rem;
    }
}

/* =========================================================
   DESKTOP (1200px AND UP)
   ========================================================= */

@media (min-width: 1200px) {

    .mobile-menu-button[b-ictn9nutkv],
    .mobile-bottom-nav[b-ictn9nutkv],
    .mobile-offcanvas[b-ictn9nutkv] {
        display: none;
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.mobile-menu-button:focus-visible[b-ictn9nutkv],
.mobile-bottom-nav[b-ictn9nutkv]  .mobile-nav-item:focus-visible,
.desktop-nav[b-ictn9nutkv]  a:focus-visible {
    outline: 3px solid #247451;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .desktop-nav[b-ictn9nutkv]  a {
        transition: none;
    }
}
/* /Components/Pages/CardDetails.razor.rz.scp.css */

.card-details-page[b-mhwyhzjmq9] {
    max-width: 1320px;
}

.card-details-header[b-mhwyhzjmq9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.card-details-header h1[b-mhwyhzjmq9] {
    margin-bottom: .35rem;
    overflow-wrap: anywhere;
}

.card-details-header p[b-mhwyhzjmq9] {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}

.card-details-sport[b-mhwyhzjmq9] {
    display: inline-flex;
    align-items: center;
    padding: .45rem .85rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    font-size: .85rem;
    white-space: nowrap;
}

.card-details-photo-panel[b-mhwyhzjmq9] {
    text-align: center;
}

.card-details-photo[b-mhwyhzjmq9] {
    display: block;
    width: 100%;
    max-width: 430px;
    max-height: 620px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto;
}

.card-details-no-photo[b-mhwyhzjmq9] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.card-details-photo-caption[b-mhwyhzjmq9] {
    color: var(--bs-secondary-color);
    font-size: .8rem;
    margin: .85rem 0 0;
}

.card-details-section-heading[b-mhwyhzjmq9] {
    margin-bottom: 1.25rem;
}

.card-details-section-heading h2[b-mhwyhzjmq9] {
    margin-bottom: .25rem;
}

.card-details-section-heading p[b-mhwyhzjmq9] {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
    font-size: .9rem;
}

.card-details-grid[b-mhwyhzjmq9] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 0;
}

.card-details-grid > div[b-mhwyhzjmq9] {
    padding: .85rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    min-width: 0;
}

.card-details-grid dt[b-mhwyhzjmq9] {
    font-size: .75rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
    margin-bottom: .35rem;
}

.card-details-grid dd[b-mhwyhzjmq9] {
    font-size: .95rem;
    font-weight: 600;
    margin: 0;
    overflow-wrap: anywhere;
}

.card-details-action-grid[b-mhwyhzjmq9] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.card-details-action-grid .btn[b-mhwyhzjmq9] {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-details-action-note[b-mhwyhzjmq9] {
    margin: 1rem 0 0;
    color: var(--bs-secondary-color);
    font-size: .8rem;
}

.card-details-state[b-mhwyhzjmq9] {
    padding: 3rem 1.5rem;
    text-align: center;
    border: 1px solid var(--bs-border-color);
    border-radius: 14px;
}

.card-details-state p[b-mhwyhzjmq9] {
    color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
    .card-details-header[b-mhwyhzjmq9] {
        flex-direction: column;
    }

    .card-details-photo[b-mhwyhzjmq9] {
        max-width: 340px;
        max-height: 480px;
    }

    .card-details-grid[b-mhwyhzjmq9] {
        gap: .65rem;
    }

    .card-details-grid > div[b-mhwyhzjmq9] {
        padding: .7rem;
    }

    .card-details-action-grid[b-mhwyhzjmq9] {
        grid-template-columns: 1fr;
    }

    .card-details-action-grid .btn[b-mhwyhzjmq9] {
        width: 100%;
    }
}

@media (max-width: 399.98px) {
    .card-details-grid[b-mhwyhzjmq9] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Cards.razor.rz.scp.css */

.collection-page[b-3wmujn1h67] {
    max-width: 1440px;
}

.collection-header[b-3wmujn1h67] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

    .collection-header h1[b-3wmujn1h67] {
        margin-bottom: .35rem;
    }

    .collection-header p[b-3wmujn1h67] {
        color: var(--bs-secondary-color);
        margin-bottom: 0;
    }

.collection-section-heading[b-3wmujn1h67] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

    .collection-section-heading h2[b-3wmujn1h67] {
        margin-bottom: .25rem;
    }

    .collection-section-heading p[b-3wmujn1h67] {
        color: var(--bs-secondary-color);
        margin-bottom: 0;
    }

.collection-toolbar[b-3wmujn1h67] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 155px;
    gap: .75rem;
}

.collection-result-count[b-3wmujn1h67] {
    font-size: .85rem;
    color: var(--bs-secondary-color);
    margin: 1rem 0;
}

.collection-mobile-list[b-3wmujn1h67] {
    display: none;
}

.collection-table-photo[b-3wmujn1h67] {
    width: 64px;
    height: 88px;
    object-fit: cover;
    border-radius: 8px;
}

.collection-no-photo[b-3wmujn1h67] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    font-size: .75rem;
    text-align: center;
}

.collection-empty-state[b-3wmujn1h67] {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--bs-secondary-color);
}

    .collection-empty-state strong[b-3wmujn1h67] {
        display: block;
        color: var(--bs-body-color);
        margin-bottom: .5rem;
    }

    .collection-empty-state p[b-3wmujn1h67] {
        margin-bottom: 0;
    }

.collection-save-button[b-3wmujn1h67] {
    min-height: 46px;
}

.collection-detail-link[b-3wmujn1h67] {
    color: inherit;
    text-decoration: none;
}

    .collection-detail-link:hover[b-3wmujn1h67],
    .collection-detail-link:focus-visible[b-3wmujn1h67] {
        color: var(--bs-primary);
        text-decoration: underline;
    }


/* Collection search toolbar */

.collection-toolbar .form-control[b-3wmujn1h67],
.collection-toolbar .form-select[b-3wmujn1h67] {
    min-height: 48px;
    border-radius: 8px;
    font-size: 0.95rem;
    padding: 0.75rem 0.875rem;
}

.collection-toolbar .btn[b-3wmujn1h67] {
    min-height: 48px;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

/* Keep the dropdown arrow properly positioned */
.collection-toolbar .form-select[b-3wmujn1h67] {
    padding-right: 2.5rem;
    background-position: right 0.875rem center;
}

    /* Consistent focus styling */
    .collection-toolbar .form-control:focus[b-3wmujn1h67],
    .collection-toolbar .form-select:focus[b-3wmujn1h67] {
        border-color: #3b6ff5;
        box-shadow: 0 0 0 0.2rem rgba(59, 111, 245, 0.12);
    }


@media (max-width: 991.98px) {

    .collection-mobile-list[b-3wmujn1h67] {
        display: grid;
        gap: .85rem;
    }

    .collection-desktop-table[b-3wmujn1h67] {
        display: none;
    }

    .collection-card[b-3wmujn1h67] {
        display: flex;
        gap: 1rem;
        padding: .85rem;
        border: 1px solid var(--bs-border-color);
        border-radius: 12px;
        min-width: 0;
    }

    .collection-card-image[b-3wmujn1h67] {
        width: 88px;
        flex: 0 0 88px;
    }

        .collection-card-image img[b-3wmujn1h67],
        .collection-card-image .collection-no-photo[b-3wmujn1h67] {
            width: 88px;
            height: 120px;
            object-fit: cover;
            border-radius: 8px;
        }

    .collection-card-content[b-3wmujn1h67] {
        flex: 1;
        min-width: 0;
    }

        .collection-card-content h3[b-3wmujn1h67] {
            font-size: 1rem;
            margin-bottom: .35rem;
            overflow-wrap: anywhere;
        }

    .collection-card-set[b-3wmujn1h67],
    .collection-card-meta[b-3wmujn1h67] {
        font-size: .85rem;
        color: var(--bs-secondary-color);
        margin-bottom: .4rem;
        overflow-wrap: anywhere;
    }

    .collection-card-footer[b-3wmujn1h67] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: .5rem;
        font-size: .8rem;
        margin-top: .75rem;
    }
}

@media (max-width: 575.98px) {

    .collection-header[b-3wmujn1h67] {
        flex-direction: column;
    }

        .collection-header > .btn[b-3wmujn1h67] {
            width: 100%;
        }

    .collection-toolbar[b-3wmujn1h67] {
        grid-template-columns: 1fr;
    }

    .collection-search[b-3wmujn1h67],
    .collection-sort[b-3wmujn1h67] {
        width: 100%;
    }

    .collection-page .form-control[b-3wmujn1h67],
    .collection-page .form-select[b-3wmujn1h67] {
        min-height: 44px;
    }

    .collection-card-image[b-3wmujn1h67] {
        width: 72px;
        flex-basis: 72px;
    }

        .collection-card-image img[b-3wmujn1h67],
        .collection-card-image .collection-no-photo[b-3wmujn1h67] {
            width: 72px;
            height: 100px;
        }

    .collection-save-button[b-3wmujn1h67] {
        width: 100%;
    }
}

/* /Components/Pages/Comps.razor.rz.scp.css */

/* =========================================================
   CARDSCOUT - SOLD COMPS
   Milestone 16.3A - Mobile-First Pricing
   ========================================================= */

.comps-page[b-pugujzbujs] {
    width: 100%;
    min-width: 0;
}

.comps-header[b-pugujzbujs] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

    .comps-header h1[b-pugujzbujs] {
        margin-bottom: 0.5rem;
    }

.comps-header-actions[b-pugujzbujs] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.comps-panel[b-pugujzbujs] {
    min-width: 0;
    padding: 1.5rem;
}

.comps-section-heading[b-pugujzbujs] {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

    .comps-section-heading h2[b-pugujzbujs] {
        margin: 0 0 0.25rem;
        font-size: 1.2rem;
        font-weight: 750;
    }

    .comps-section-heading p[b-pugujzbujs] {
        margin: 0;
        color: #718078;
        font-size: 0.9rem;
    }

.comps-step[b-pugujzbujs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e8f4ed;
    color: #247451;
    font-weight: 800;
}

.comps-form[b-pugujzbujs] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .comps-form[b-pugujzbujs]  .form-label {
        margin-bottom: 0.4rem;
        color: #344b3d;
        font-weight: 600;
    }

    .comps-form[b-pugujzbujs]  .form-control,
    .comps-form[b-pugujzbujs]  .form-select {
        min-height: 46px;
        border-radius: 9px;
    }

.comps-primary-button[b-pugujzbujs] {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
}

.comps-disclaimer[b-pugujzbujs] {
    border-radius: 12px;
    font-size: 0.9rem;
}

/* Market estimate */

.comps-estimate[b-pugujzbujs] {
    padding: 1.5rem;
    border: 1px solid #d2e7d8;
    border-radius: 14px;
    background: #f0f8f2;
}

.comps-estimate-label[b-pugujzbujs] {
    color: #526d5b;
    font-size: 0.85rem;
    font-weight: 700;
}

.comps-estimate-value[b-pugujzbujs] {
    margin: 0.35rem 0;
    color: #247451;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.comps-estimate-detail[b-pugujzbujs] {
    color: #64796a;
    font-size: 0.85rem;
}

.comps-analyze-button[b-pugujzbujs] {
    min-height: 46px;
    padding: 0.7rem 1rem;
    border-radius: 9px;
    font-weight: 700;
}

/* Results */

.comps-results-heading[b-pugujzbujs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

    .comps-results-heading h3[b-pugujzbujs] {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 800;
    }

.comps-count[b-pugujzbujs] {
    color: #718078;
    font-size: 0.85rem;
}

.comps-empty-state[b-pugujzbujs] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 1.5rem;
    border: 1px dashed #d2e2d6;
    border-radius: 12px;
    color: #718078;
    text-align: center;
}

    .comps-empty-state p[b-pugujzbujs] {
        margin: 0;
    }

/* Mobile sales cards hidden on desktop */

.comps-mobile-results[b-pugujzbujs] {
    display: none;
}

.comps-desktop-results[b-pugujzbujs] {
    display: block;
}

/* Individual sale cards */

.comps-sale-card[b-pugujzbujs] {
    padding: 1rem;
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: #ffffff;
}

.comps-sale-top[b-pugujzbujs] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.comps-sale-label[b-pugujzbujs] {
    color: #718078;
    font-size: 0.75rem;
}

.comps-sale-price[b-pugujzbujs] {
    color: #247451;
    font-size: 1.5rem;
    font-weight: 800;
}

.comps-grade[b-pugujzbujs] {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: #e8f4ed;
    color: #247451;
    font-size: 0.75rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.comps-sale-details[b-pugujzbujs] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #edf1ee;
}

    .comps-sale-details > div[b-pugujzbujs] {
        min-width: 0;
    }

    .comps-sale-details span[b-pugujzbujs] {
        display: block;
        margin-bottom: 0.25rem;
        color: #718078;
        font-size: 0.75rem;
    }

    .comps-sale-details strong[b-pugujzbujs] {
        display: block;
        font-size: 0.85rem;
        overflow-wrap: anywhere;
    }

.comps-sale-actions[b-pugujzbujs] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

    .comps-sale-actions .btn[b-pugujzbujs] {
        min-height: 42px;
        padding: 0.6rem 0.85rem;
        border-radius: 8px;
    }

/* =========================================================
   MOBILE AND TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .comps-mobile-results[b-pugujzbujs] {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }

    .comps-desktop-results[b-pugujzbujs] {
        display: none;
    }
}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 767.98px) {

    .comps-page[b-pugujzbujs] {
        padding-inline: 0;
    }

    .comps-header[b-pugujzbujs] {
        flex-direction: column;
    }

    .comps-header-actions[b-pugujzbujs] {
        width: 100%;
        flex-direction: column;
    }

        .comps-header-actions .btn[b-pugujzbujs] {
            width: 100%;
            min-height: 46px;
        }

    .comps-panel[b-pugujzbujs] {
        padding: 1.1rem;
        border-radius: 14px;
    }

    .comps-section-heading h2[b-pugujzbujs] {
        font-size: 1.1rem;
    }

    .comps-primary-button[b-pugujzbujs],
    .comps-analyze-button[b-pugujzbujs] {
        display: block;
        width: 100%;
        min-height: 50px;
    }

    .comps-estimate[b-pugujzbujs] {
        padding: 1.15rem;
    }

    .comps-sale-actions .btn[b-pugujzbujs] {
        flex: 1;
    }

    .comps-form[b-pugujzbujs]  .form-control,
    .comps-form[b-pugujzbujs]  .form-select {
        min-height: 48px;
        font-size: 16px;
    }
}
/* /Components/Pages/DealAnalyzer.razor.rz.scp.css */

/* =========================================================
   CARDSCOUT - MOBILE DEAL ANALYZER
   Milestone 16.3B
   ========================================================= */

.analyzer-mobile-page[b-qbj44bmnqp] {
    width: 100%;
    min-width: 0;
}

/* Page heading */

.analyzer-page-heading[b-qbj44bmnqp] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

    .analyzer-page-heading h1[b-qbj44bmnqp] {
        max-width: 700px;
    }

    .analyzer-page-heading p[b-qbj44bmnqp] {
        max-width: 650px;
    }

/* Input panel */

.analyzer-input-panel[b-qbj44bmnqp] {
    min-width: 0;
    padding: 1.5rem;
}

    .analyzer-input-panel .panel-heading[b-qbj44bmnqp] {
        margin-bottom: 1.5rem;
    }

    .analyzer-input-panel[b-qbj44bmnqp]  .form-label {
        margin-bottom: 0.4rem;
        color: #344b3d;
        font-weight: 600;
    }

    .analyzer-input-panel[b-qbj44bmnqp]  .form-control {
        min-height: 46px;
        border-radius: 9px;
    }

    .analyzer-input-panel[b-qbj44bmnqp]  .form-control-lg {
        min-height: 54px;
        font-size: 1.1rem;
        font-weight: 600;
    }

/* Costs section */

.analyzer-cost-heading[b-qbj44bmnqp] {
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2eae5;
}

    .analyzer-cost-heading h3[b-qbj44bmnqp] {
        margin-bottom: 0.3rem;
        font-size: 1rem;
        font-weight: 800;
        color: #173f2e;
    }

    .analyzer-cost-heading p[b-qbj44bmnqp] {
        margin-bottom: 0;
        color: #718078;
        font-size: 0.85rem;
    }

/* Action buttons */

.analyzer-actions[b-qbj44bmnqp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.analyzer-calculate-button[b-qbj44bmnqp] {
    min-height: 50px;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 800;
}

.analyzer-reset-button[b-qbj44bmnqp] {
    min-height: 50px;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
}

/* Results */

.analyzer-result-panel[b-qbj44bmnqp] {
    min-width: 0;
}

.analyzer-decision-wrapper[b-qbj44bmnqp] {
    margin: 1.25rem 0;
}

    .analyzer-decision-wrapper .decision[b-qbj44bmnqp] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0.6rem 1.25rem;
        border-radius: 12px;
        font-weight: 900;
        letter-spacing: 0.04em;
    }

    .analyzer-decision-wrapper .decision-caption[b-qbj44bmnqp] {
        margin-top: 0.75rem;
    }

.analyzer-profit-box[b-qbj44bmnqp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

    .analyzer-profit-box strong[b-qbj44bmnqp] {
        font-size: clamp(1.6rem, 4vw, 2.25rem);
        font-weight: 900;
        overflow-wrap: anywhere;
    }

.analyzer-metric-grid[b-qbj44bmnqp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

    .analyzer-metric-grid > div[b-qbj44bmnqp] {
        min-width: 0;
    }

    .analyzer-metric-grid strong[b-qbj44bmnqp] {
        overflow-wrap: anywhere;
    }

/* Market data */

.analyzer-market-panel[b-qbj44bmnqp] {
    min-width: 0;
}

    .analyzer-market-panel .market-placeholder[b-qbj44bmnqp] {
        min-width: 0;
    }

        .analyzer-market-panel .market-placeholder p[b-qbj44bmnqp] {
            margin-bottom: 0;
        }

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .analyzer-result-panel[b-qbj44bmnqp] {
        margin-top: 0;
    }
}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 767.98px) {

    .analyzer-mobile-page[b-qbj44bmnqp] {
        padding-inline: 0;
    }

    .analyzer-page-heading[b-qbj44bmnqp] {
        flex-direction: column;
        gap: 0.75rem;
    }

        .analyzer-page-heading h1[b-qbj44bmnqp] {
            font-size: 1.8rem;
            line-height: 1.15;
        }

    .analyzer-input-panel[b-qbj44bmnqp] {
        padding: 1.1rem;
        border-radius: 14px;
    }

        .analyzer-input-panel[b-qbj44bmnqp]  .form-control {
            min-height: 48px;
            font-size: 16px;
        }

        .analyzer-input-panel[b-qbj44bmnqp]  .form-control-lg {
            min-height: 56px;
            font-size: 18px;
        }

    .analyzer-actions[b-qbj44bmnqp] {
        flex-direction: column;
    }

    .analyzer-calculate-button[b-qbj44bmnqp],
    .analyzer-reset-button[b-qbj44bmnqp] {
        display: block;
        width: 100%;
        min-height: 52px;
    }

    .analyzer-result-panel[b-qbj44bmnqp] {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .analyzer-profit-box[b-qbj44bmnqp] {
        flex-direction: column;
        align-items: flex-start;
    }

    .analyzer-metric-grid[b-qbj44bmnqp] {
        gap: 0.65rem;
    }

        .analyzer-metric-grid > div[b-qbj44bmnqp] {
            padding: 0.85rem;
        }

        .analyzer-metric-grid strong[b-qbj44bmnqp] {
            font-size: 1rem;
        }

    .analyzer-market-panel[b-qbj44bmnqp] {
        padding: 1.1rem;
        border-radius: 14px;
    }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 359.98px) {

    .analyzer-metric-grid[b-qbj44bmnqp] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/EditCard.razor.rz.scp.css */

.edit-card-page[b-q2kp75t224] {
    max-width: 1200px;
}

.edit-card-photo-panel[b-q2kp75t224] {
    text-align: center;
}

.edit-card-photo[b-q2kp75t224] {
    display: block;
    width: 100%;
    max-width: 340px;
    max-height: 470px;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto;
}

.edit-card-no-photo[b-q2kp75t224] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    border-radius: 12px;
}

.edit-card-actions[b-q2kp75t224] {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

    .edit-card-actions .btn[b-q2kp75t224] {
        min-height: 46px;
        min-width: 145px;
    }

.edit-card-photo-upload[b-q2kp75t224] {
    text-align: left;
}

    .edit-card-photo-upload .btn[b-q2kp75t224] {
        min-height: 46px;
    }

@media (max-width: 767.98px) {
    .edit-card-page .form-control[b-q2kp75t224],
    .edit-card-page .form-select[b-q2kp75t224] {
        min-height: 44px;
    }

    .edit-card-actions[b-q2kp75t224] {
        flex-direction: column;
    }

        .edit-card-actions .btn[b-q2kp75t224] {
            width: 100%;
        }

    .edit-card-photo[b-q2kp75t224] {
        max-width: 280px;
        max-height: 390px;
    }
}
/* /Components/Pages/MarketplaceComps.razor.rz.scp.css */

/* =========================================================
   CARDSCOUT - MOBILE MARKETPLACE COMPS
   Milestone 16.3C
   ========================================================= */

.marketplace-page[b-j1tsf72wd8] {
    width: 100%;
    min-width: 0;
}

.marketplace-header[b-j1tsf72wd8] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

    .marketplace-header h1[b-j1tsf72wd8] {
        margin-bottom: 0.5rem;
    }

.marketplace-notice[b-j1tsf72wd8] {
    border-radius: 12px;
    font-size: 0.9rem;
}

.marketplace-search-panel[b-j1tsf72wd8],
.marketplace-results-panel[b-j1tsf72wd8],
.marketplace-listings-panel[b-j1tsf72wd8] {
    min-width: 0;
    padding: 1.5rem;
}

.marketplace-section-heading[b-j1tsf72wd8] {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

    .marketplace-section-heading h2[b-j1tsf72wd8] {
        margin: 0 0 0.25rem;
        font-size: 1.2rem;
        font-weight: 800;
    }

    .marketplace-section-heading p[b-j1tsf72wd8] {
        margin: 0;
        color: #718078;
        font-size: 0.9rem;
    }

.marketplace-step[b-j1tsf72wd8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e8f4ed;
    color: #247451;
    font-weight: 800;
}

.marketplace-search-panel[b-j1tsf72wd8]  .form-control,
.marketplace-search-panel[b-j1tsf72wd8]  .form-select {
    min-height: 48px;
    border-radius: 9px;
}

.marketplace-search-actions[b-j1tsf72wd8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.marketplace-search-button[b-j1tsf72wd8],
.marketplace-clear-button[b-j1tsf72wd8] {
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
}

/* Result counts */

.marketplace-result-count[b-j1tsf72wd8] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

    .marketplace-result-count strong[b-j1tsf72wd8] {
        font-size: 1.75rem;
        color: #247451;
    }

    .marketplace-result-count span[b-j1tsf72wd8] {
        color: #718078;
        font-size: 0.9rem;
    }

.marketplace-confidence-grid[b-j1tsf72wd8] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.marketplace-confidence-item[b-j1tsf72wd8] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid #e0e9e3;
    border-radius: 12px;
}

    .marketplace-confidence-item strong[b-j1tsf72wd8] {
        font-size: 1.5rem;
        font-weight: 800;
    }

    .marketplace-confidence-item span[b-j1tsf72wd8] {
        font-size: 0.8rem;
        color: #64746a;
    }

    .marketplace-confidence-item.high[b-j1tsf72wd8] {
        background: #eff8f1;
    }

    .marketplace-confidence-item.review[b-j1tsf72wd8] {
        background: #fff8eb;
    }

    .marketplace-confidence-item.rejected[b-j1tsf72wd8] {
        background: #f8f1f1;
    }

/* Pricing estimate */

.marketplace-estimate[b-j1tsf72wd8] {
    padding: 1.5rem;
    border: 1px solid #d2e7d8;
    border-radius: 14px;
    background: #f0f8f2;
}

.marketplace-estimate-label[b-j1tsf72wd8] {
    color: #526d5b;
    font-size: 0.85rem;
    font-weight: 700;
}

.marketplace-estimate-value[b-j1tsf72wd8] {
    margin: 0.35rem 0;
    color: #247451;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.marketplace-estimate-confidence[b-j1tsf72wd8] {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    background: #dcefe1;
    color: #247451;
    font-size: 0.8rem;
    font-weight: 700;
}

.marketplace-estimate-details[b-j1tsf72wd8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

    .marketplace-estimate-details > div[b-j1tsf72wd8] {
        min-width: 0;
    }

    .marketplace-estimate-details span[b-j1tsf72wd8] {
        display: block;
        margin-bottom: 0.25rem;
        color: #718078;
        font-size: 0.75rem;
    }

    .marketplace-estimate-details strong[b-j1tsf72wd8] {
        display: block;
        font-size: 0.95rem;
        overflow-wrap: anywhere;
    }

.marketplace-warnings[b-j1tsf72wd8] {
    padding-top: 1rem;
    border-top: 1px solid #d2e7d8;
    font-size: 0.85rem;
}

    .marketplace-warnings ul[b-j1tsf72wd8] {
        padding-left: 1.25rem;
        margin-top: 0.5rem;
    }

.marketplace-estimate-footnote[b-j1tsf72wd8] {
    margin: 1rem 0 0;
    color: #64796a;
    font-size: 0.8rem;
}

/* Listing results */

.marketplace-mobile-results[b-j1tsf72wd8] {
    display: none;
}

.marketplace-desktop-results[b-j1tsf72wd8] {
    display: block;
}

.marketplace-sale-card[b-j1tsf72wd8] {
    padding: 1rem;
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: #ffffff;
}

.marketplace-sale-top[b-j1tsf72wd8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.marketplace-sale-price[b-j1tsf72wd8] {
    color: #247451;
    font-size: 1.35rem;
    font-weight: 800;
}

.marketplace-match-badge[b-j1tsf72wd8] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

.match-high[b-j1tsf72wd8] {
    background: #e1f3e7;
    color: #1e7545;
}

.match-review[b-j1tsf72wd8] {
    background: #fff0d2;
    color: #946000;
}

.match-rejected[b-j1tsf72wd8] {
    background: #fbe5e5;
    color: #a23838;
}

.marketplace-sale-title[b-j1tsf72wd8] {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.marketplace-sale-meta[b-j1tsf72wd8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: #718078;
    font-size: 0.8rem;
}

.marketplace-sale-reason[b-j1tsf72wd8] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #edf1ee;
}

    .marketplace-sale-reason span[b-j1tsf72wd8] {
        color: #718078;
        font-size: 0.75rem;
    }

    .marketplace-sale-reason p[b-j1tsf72wd8] {
        margin: 0.35rem 0 0;
        font-size: 0.9rem;
    }

.marketplace-listing-button[b-j1tsf72wd8] {
    display: block;
    margin-top: 1rem;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border-radius: 9px;
    font-weight: 700;
}

.marketplace-load-more[b-j1tsf72wd8] {
    min-height: 48px;
    border-radius: 10px;
}

.marketplace-empty-state[b-j1tsf72wd8] {
    padding: 2rem;
    border: 1px dashed #d2e2d6;
    border-radius: 12px;
    text-align: center;
}

    .marketplace-empty-state p[b-j1tsf72wd8] {
        margin: 0.5rem 0 0;
        color: #718078;
    }

.marketplace-footer-note[b-j1tsf72wd8] {
    margin-top: 1rem;
}

/* =========================================================
   TABLET AND PHONE
   ========================================================= */

@media (max-width: 991.98px) {

    .marketplace-mobile-results[b-j1tsf72wd8] {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }

    .marketplace-desktop-results[b-j1tsf72wd8] {
        display: none;
    }
}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 767.98px) {

    .marketplace-page[b-j1tsf72wd8] {
        padding-inline: 0;
    }

    .marketplace-header[b-j1tsf72wd8] {
        flex-direction: column;
    }

        .marketplace-header > .btn[b-j1tsf72wd8] {
            width: 100%;
            min-height: 46px;
        }

    .marketplace-search-panel[b-j1tsf72wd8],
    .marketplace-results-panel[b-j1tsf72wd8],
    .marketplace-listings-panel[b-j1tsf72wd8] {
        padding: 1.1rem;
        border-radius: 14px;
    }

    .marketplace-section-heading h2[b-j1tsf72wd8] {
        font-size: 1.1rem;
    }

    .marketplace-search-panel[b-j1tsf72wd8]  .form-control,
    .marketplace-search-panel[b-j1tsf72wd8]  .form-select {
        font-size: 16px;
    }

    .marketplace-search-actions[b-j1tsf72wd8] {
        flex-direction: column;
    }

    .marketplace-search-button[b-j1tsf72wd8],
    .marketplace-clear-button[b-j1tsf72wd8],
    .marketplace-load-more[b-j1tsf72wd8] {
        width: 100%;
        min-height: 50px;
    }

    .marketplace-confidence-grid[b-j1tsf72wd8] {
        gap: 0.4rem;
    }

    .marketplace-confidence-item[b-j1tsf72wd8] {
        padding: 0.75rem 0.5rem;
    }

        .marketplace-confidence-item strong[b-j1tsf72wd8] {
            font-size: 1.3rem;
        }

        .marketplace-confidence-item span[b-j1tsf72wd8] {
            font-size: 0.7rem;
        }

    .marketplace-estimate[b-j1tsf72wd8] {
        padding: 1.1rem;
    }

    .marketplace-estimate-details[b-j1tsf72wd8] {
        gap: 0.85rem;
    }
}

@media (max-width: 359.98px) {

    .marketplace-confidence-grid[b-j1tsf72wd8] {
        grid-template-columns: 1fr;
    }

    .marketplace-estimate-details[b-j1tsf72wd8] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Scan.razor.rz.scp.css */

/* CardScout mobile-first scanning */

.scan-page[b-fsjjfs2m6f] {
    width: 100%;
    min-width: 0;
}

.scan-panel[b-fsjjfs2m6f] {
    height: 100%;
    min-width: 0;
    padding: 1.5rem;
}

.scan-section-heading[b-fsjjfs2m6f] {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

    .scan-section-heading h2[b-fsjjfs2m6f] {
        margin: 0 0 0.25rem;
        font-size: 1.2rem;
        font-weight: 750;
    }

    .scan-section-heading p[b-fsjjfs2m6f] {
        margin: 0;
        color: #6b7c72;
        font-size: 0.9rem;
    }

.scan-step[b-fsjjfs2m6f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e8f4ed;
    color: #247451;
    font-weight: 800;
}

.scan-upload-area[b-fsjjfs2m6f] {
    padding: 1rem;
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: #f8fbf9;
}

.scan-file-input[b-fsjjfs2m6f] {
    min-height: 46px;
}

.scan-preview[b-fsjjfs2m6f] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 1rem;
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: #f8fbf9;
}

.scan-preview-image[b-fsjjfs2m6f] {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
}

.scan-placeholder[b-fsjjfs2m6f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 180px;
    padding: 1.5rem;
    border: 1px dashed #cbdcd0;
    border-radius: 12px;
    background: #f8fbf9;
    color: #718078;
    text-align: center;
    font-size: 0.9rem;
}

.scan-placeholder-icon[b-fsjjfs2m6f] {
    color: #247451;
    font-size: 2.25rem;
    line-height: 1;
}

.scan-primary-button[b-fsjjfs2m6f] {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
}

.scan-confidence[b-fsjjfs2m6f] {
    padding: 1rem;
    border: 1px solid #dce8df;
    border-radius: 10px;
    background: #f0f8f2;
    color: #344b3d;
    font-size: 0.9rem;
}

.scan-empty-state[b-fsjjfs2m6f] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 1.5rem;
    border: 1px dashed #dce8df;
    border-radius: 12px;
    color: #718078;
    text-align: center;
}

    .scan-empty-state p[b-fsjjfs2m6f] {
        margin: 0;
    }

.scan-panel[b-fsjjfs2m6f]  .form-control,
.scan-panel[b-fsjjfs2m6f]  .form-select {
    min-height: 46px;
    border-radius: 9px;
}

.scan-panel[b-fsjjfs2m6f]  .form-label {
    font-weight: 600;
    color: #344b3d;
}

@media (max-width: 767.98px) {

    .scan-page[b-fsjjfs2m6f] {
        padding-inline: 0;
    }

    .scan-panel[b-fsjjfs2m6f] {
        padding: 1.1rem;
        border-radius: 14px;
    }

    .scan-section-heading h2[b-fsjjfs2m6f] {
        font-size: 1.1rem;
    }

    .scan-primary-button[b-fsjjfs2m6f] {
        width: 100%;
        min-height: 52px;
    }

    .scan-preview-image[b-fsjjfs2m6f] {
        max-height: 300px;
    }

    .scan-panel[b-fsjjfs2m6f]  .form-control,
    .scan-panel[b-fsjjfs2m6f]  .form-select {
        min-height: 48px;
        font-size: 16px;
    }
}


/* =========================================================
   MILESTONE 16.2B - MOBILE CAMERA CAPTURE
   ========================================================= */

.scan-capture-options[b-fsjjfs2m6f] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.scan-capture-option[b-fsjjfs2m6f] {
    position: relative;
    min-width: 0;
}

    /* Blazor CSS isolation requires ::deep for InputFile */

    .scan-capture-option[b-fsjjfs2m6f]  input[type="file"].scan-hidden-file-input {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: 0;
        opacity: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

.scan-capture-label[b-fsjjfs2m6f] {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-height: 76px;
    padding: 1rem;
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: #ffffff;
    color: #344b3d;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

    .scan-capture-label:hover[b-fsjjfs2m6f] {
        border-color: #247451;
        background: #f0f8f2;
    }

.scan-hidden-file-input:focus-visible + .scan-capture-label[b-fsjjfs2m6f] {
    outline: 3px solid #247451;
    outline-offset: 3px;
}

.scan-capture-label strong[b-fsjjfs2m6f] {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.scan-capture-label small[b-fsjjfs2m6f] {
    display: block;
    color: #718078;
    font-size: 0.8rem;
}

.scan-capture-icon[b-fsjjfs2m6f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e8f4ed;
    color: #247451;
    font-size: 1.5rem;
}

.scan-camera-label[b-fsjjfs2m6f] {
    border-color: #b9d9c4;
    background: #f7fbf8;
}

.scan-capture-divider[b-fsjjfs2m6f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #84938a;
    font-size: 0.7rem;
    font-weight: 700;
}

    .scan-capture-divider[b-fsjjfs2m6f]::before,
    .scan-capture-divider[b-fsjjfs2m6f]::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #dce8df;
    }

@media (max-width: 767.98px) {
    .scan-capture-label[b-fsjjfs2m6f] {
        min-height: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scan-capture-label[b-fsjjfs2m6f] {
        transition: none;
    }
}

.scan-capture-option:has(.scan-hidden-file-input:focus-visible)
.scan-capture-label[b-fsjjfs2m6f] {
    outline: 3px solid #247451;
    outline-offset: 3px;
}

.scan-status[b-fsjjfs2m6f] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.scan-optimization-status[b-fsjjfs2m6f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid #dce8df;
    border-radius: 10px;
    background: #f0f8f2;
    color: #247451;
    font-size: 0.9rem;
    font-weight: 600;
}
