/* /Components/Layout/MainLayout.razor.rz.scp.css */
.main-content[b-26c6et76vp] {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

#blazor-error-ui[b-26c6et76vp] {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-26c6et76vp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2tfxfinq7i],
.components-reconnect-repeated-attempt-visible[b-2tfxfinq7i],
.components-reconnect-failed-visible[b-2tfxfinq7i],
.components-pause-visible[b-2tfxfinq7i],
.components-resume-failed-visible[b-2tfxfinq7i],
.components-rejoining-animation[b-2tfxfinq7i] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2tfxfinq7i],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2tfxfinq7i],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2tfxfinq7i],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2tfxfinq7i],
#components-reconnect-modal.components-reconnect-retrying[b-2tfxfinq7i],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2tfxfinq7i],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2tfxfinq7i],
#components-reconnect-modal.components-reconnect-failed[b-2tfxfinq7i],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2tfxfinq7i] {
    display: block;
}


#components-reconnect-modal[b-2tfxfinq7i] {
    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-2tfxfinq7i 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2tfxfinq7i 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2tfxfinq7i 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2tfxfinq7i]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2tfxfinq7i 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2tfxfinq7i {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2tfxfinq7i {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2tfxfinq7i {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2tfxfinq7i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2tfxfinq7i] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2tfxfinq7i] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2tfxfinq7i] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2tfxfinq7i] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2tfxfinq7i] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2tfxfinq7i] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2tfxfinq7i 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2tfxfinq7i] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2tfxfinq7i {
    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/AddGrocery.razor.rz.scp.css */
/* =========================================================
   ADD GROCERY
   FULL REPLACEMENT CSS
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.grocery-page[b-j0s74mpu0f] {
    min-height: 100vh;
    box-sizing: border-box;
    padding: 30px 22px 60px;
    background: linear-gradient( 180deg, #f8fafc 0%, #f4f6f9 100% );
}

.grocery-container[b-j0s74mpu0f] {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.page-header[b-j0s74mpu0f] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.back-button[b-j0s74mpu0f] {
    display: flex;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e8ef;
    border-radius: 13px;
    background: #ffffff;
    color: #263241;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

    .back-button:hover[b-j0s74mpu0f] {
        background: #f8fafc;
    }

.header-copy[b-j0s74mpu0f] {
    flex: 1;
    min-width: 0;
}

    .header-copy h1[b-j0s74mpu0f] {
        margin: 0;
        color: #1d2939;
        font-size: 28px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .header-copy p[b-j0s74mpu0f] {
        overflow: hidden;
        margin: 3px 0 0;
        color: #7a8492;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.header-house-icon[b-j0s74mpu0f] {
    display: none;
}


/* =========================================================
   CURRENT HOUSE
   ========================================================= */

.current-house-card[b-j0s74mpu0f] {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #e5eaf0;
    border-radius: 15px;
    background: #ffffff;
    box-sizing: border-box;
}

.current-house-icon[b-j0s74mpu0f] {
    display: flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eaf6f3;
    font-size: 18px;
}

.current-house-copy[b-j0s74mpu0f] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

    .current-house-copy span[b-j0s74mpu0f] {
        color: #98a1ad;
        font-size: 10px;
        font-weight: 650;
    }

    .current-house-copy strong[b-j0s74mpu0f] {
        overflow: hidden;
        margin-top: 2px;
        color: #344054;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.admin-badge[b-j0s74mpu0f] {
    flex-shrink: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf7ef;
    color: #16794a;
    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   CARDS
   ========================================================= */

.app-card[b-j0s74mpu0f] {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid #e7ebf0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(16, 24, 40, 0.045);
}

.section-title[b-j0s74mpu0f] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 21px;
}

.section-number[b-j0s74mpu0f] {
    display: flex;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #263241;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.section-title-copy[b-j0s74mpu0f] {
    flex: 1;
    min-width: 0;
}

.section-title h2[b-j0s74mpu0f] {
    margin: 1px 0 3px;
    color: #263241;
    font-size: 17px;
    font-weight: 800;
}

.section-title p[b-j0s74mpu0f] {
    margin: 0;
    color: #8a94a3;
    font-size: 11px;
}

.optional-pill[b-j0s74mpu0f] {
    flex-shrink: 0;
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #7a8492;
    font-size: 9px;
    font-weight: 750;
}


/* =========================================================
   FORM
   ========================================================= */

.form-grid[b-j0s74mpu0f] {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.field-group[b-j0s74mpu0f] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

    .field-group.full-width[b-j0s74mpu0f] {
        grid-column: 1 / -1;
    }

    .field-group label[b-j0s74mpu0f] {
        display: block;
        margin-bottom: 7px;
        color: #475467;
        font-size: 11px;
        font-weight: 750;
    }

.field-label-row[b-j0s74mpu0f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .field-label-row label[b-j0s74mpu0f] {
        margin-bottom: 7px;
    }

.optional-text[b-j0s74mpu0f] {
    flex-shrink: 0;
    margin-bottom: 7px;
    color: #98a2b3;
    font-size: 9px;
}


/* =========================================================
   BLAZOR INPUTS
   ========================================================= */

.field-group[b-j0s74mpu0f]  input.app-input,
.field-group[b-j0s74mpu0f]  textarea.app-input {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 46px;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 11px 13px;
    border: 1px solid #dce2e9;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #253041;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .field-group[b-j0s74mpu0f]  input.app-input:hover,
    .field-group[b-j0s74mpu0f]  textarea.app-input:hover {
        border-color: #c7d0da;
    }

    .field-group[b-j0s74mpu0f]  input.app-input:focus,
    .field-group[b-j0s74mpu0f]  textarea.app-input:focus {
        border-color: #218777;
        box-shadow: 0 0 0 3px rgba(33, 135, 119, 0.10);
    }

    .field-group[b-j0s74mpu0f]  input.app-input::placeholder,
    .field-group[b-j0s74mpu0f]  textarea.app-input::placeholder {
        color: #98a2b3;
        opacity: 1;
    }


/* =========================================================
   INPUT SHELL
   ========================================================= */

.input-shell[b-j0s74mpu0f] {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.input-icon[b-j0s74mpu0f] {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 2;
    pointer-events: none;
    font-size: 15px;
    transform: translateY(-50%);
}

.input-shell[b-j0s74mpu0f]  input.with-icon {
    padding-left: 42px !important;
}


/* =========================================================
   AMOUNT
   ========================================================= */

.money-symbol[b-j0s74mpu0f] {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;
    pointer-events: none;
    color: #667085;
    font-size: 14px;
    font-weight: 700;
    transform: translateY(-50%);
}

.input-shell[b-j0s74mpu0f]  input.money-input {
    width: 100% !important;
    padding-left: 31px !important;
}

.input-shell[b-j0s74mpu0f]  input[type="number"]::-webkit-inner-spin-button,
.input-shell[b-j0s74mpu0f]  input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.input-shell[b-j0s74mpu0f]  input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}


/* =========================================================
   DATE
   ========================================================= */

.input-shell[b-j0s74mpu0f]  input[type="date"] {
    width: 100% !important;
    min-width: 0 !important;
}

    .input-shell[b-j0s74mpu0f]  input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
    }


/* =========================================================
   DESCRIPTION
   ========================================================= */

.field-group[b-j0s74mpu0f]  textarea.description-input {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 95px;
    box-sizing: border-box !important;
    resize: vertical;
}

.scan-hint[b-j0s74mpu0f] {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 8px;
    color: #7a8492;
    font-size: 10px;
    line-height: 1.45;
}

.scan-hint-icon[b-j0s74mpu0f] {
    flex-shrink: 0;
    color: #218777;
    font-weight: 800;
}


/* =========================================================
   VALIDATION
   ========================================================= */

.field-group[b-j0s74mpu0f]  .validation-message {
    display: block;
    margin-top: 5px;
    color: #b42318;
    font-size: 10px;
}


/* =========================================================
   RECEIPT CAMERA / UPLOAD
   ========================================================= */

.receipt-source-grid[b-j0s74mpu0f] {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.receipt-action[b-j0s74mpu0f] {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 135px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 18px 10px;
    overflow: hidden;
    border: 1px solid #dfe5eb;
    border-radius: 16px;
    background: #f8fafb;
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

    .receipt-action:hover[b-j0s74mpu0f] {
        border-color: #b9c8c5;
        background: #f5faf8;
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    }


/* =========================================================
   CAMERA
   ========================================================= */

.receipt-camera[b-j0s74mpu0f] {
    border-color: #263241;
    background: #263241;
}

    .receipt-camera:hover[b-j0s74mpu0f] {
        border-color: #1d2939;
        background: #1d2939;
    }


/* =========================================================
   MODERN ICON
   ========================================================= */

.receipt-action-icon[b-j0s74mpu0f] {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    border-radius: 15px;
    background: #e8f5f2;
}

    .receipt-action-icon svg[b-j0s74mpu0f] {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: #218777;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.receipt-camera .receipt-action-icon[b-j0s74mpu0f] {
    background: rgba(255, 255, 255, 0.12);
}

    .receipt-camera .receipt-action-icon svg[b-j0s74mpu0f] {
        stroke: #ffffff;
    }


/* =========================================================
   RECEIPT BUTTON TEXT
   ========================================================= */

.receipt-action strong[b-j0s74mpu0f] {
    display: block;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.receipt-action small[b-j0s74mpu0f] {
    display: block;
    color: #98a2b3;
    font-size: 9px;
}

.receipt-camera strong[b-j0s74mpu0f] {
    color: #ffffff;
}

.receipt-camera small[b-j0s74mpu0f] {
    color: #cbd5df;
}


/* =========================================================
   COMPLETELY HIDE BROWSER FILE INPUT
   ========================================================= */

.receipt-action[b-j0s74mpu0f]  input[type="file"],
.change-photo-button[b-j0s74mpu0f]  input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    border: 0 !important;
    opacity: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}


/* =========================================================
   RECEIPT TIPS
   ========================================================= */

.receipt-tips[b-j0s74mpu0f] {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #e8ebef;
    border-radius: 13px;
    background: #fafbfc;
}

.tips-heading[b-j0s74mpu0f] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
}

    .tips-heading > span[b-j0s74mpu0f] {
        display: flex;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #eaf7ef;
        color: #16794a;
        font-size: 10px;
        font-weight: 800;
    }

    .tips-heading strong[b-j0s74mpu0f] {
        color: #475467;
        font-size: 10px;
    }

.tips-list[b-j0s74mpu0f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
}

.tip[b-j0s74mpu0f] {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 7px;
}

    .tip > span[b-j0s74mpu0f] {
        display: flex;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        background: #eef1f5;
        color: #667085;
        font-size: 8px;
        font-weight: 800;
    }

    .tip p[b-j0s74mpu0f] {
        margin: 1px 0 0;
        color: #7a8492;
        font-size: 9px;
        line-height: 1.4;
    }

        .tip p strong[b-j0s74mpu0f] {
            color: #475467;
        }


/* =========================================================
   RECEIPT PREVIEW
   ========================================================= */

.receipt-preview-card[b-j0s74mpu0f] {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #e0e5eb;
    border-radius: 15px;
    background: #fafbfc;
}

.preview-top[b-j0s74mpu0f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    background: #ffffff;
}

    .preview-top > div[b-j0s74mpu0f] {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
    }

.preview-label[b-j0s74mpu0f] {
    margin-bottom: 2px;
    color: #98a2b3;
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-top strong[b-j0s74mpu0f] {
    overflow: hidden;
    color: #475467;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-receipt-button[b-j0s74mpu0f] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 0;
    border-radius: 9px;
    background: #f2f4f7;
    color: #667085;
    cursor: pointer;
}

    .remove-receipt-button:hover[b-j0s74mpu0f] {
        background: #e8ecf1;
    }

.receipt-image-frame[b-j0s74mpu0f] {
    display: flex;
    width: 100%;
    max-height: 430px;
    min-height: 220px;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
    padding: 14px;
    background: #e9edf2;
}

    .receipt-image-frame img[b-j0s74mpu0f] {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 400px;
        border-radius: 7px;
        background: #ffffff;
        object-fit: contain;
        box-shadow: 0 5px 18px rgba(16, 24, 40, 0.12);
    }

.receipt-file-details[b-j0s74mpu0f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid #e6e9ee;
    background: #ffffff;
    color: #98a2b3;
    font-size: 9px;
}

.file-ready[b-j0s74mpu0f] {
    color: #16794a;
    font-weight: 750;
}


/* =========================================================
   RECEIPT CHECK
   ========================================================= */

.preview-check[b-j0s74mpu0f] {
    margin: 12px;
    padding: 13px;
    border-radius: 12px;
    background: #ffffff;
}

.preview-check-title[b-j0s74mpu0f] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

    .preview-check-title > span[b-j0s74mpu0f] {
        flex-shrink: 0;
        font-size: 17px;
    }

    .preview-check-title > div[b-j0s74mpu0f] {
        display: flex;
        flex-direction: column;
    }

    .preview-check-title strong[b-j0s74mpu0f] {
        color: #344054;
        font-size: 10px;
    }

    .preview-check-title small[b-j0s74mpu0f] {
        color: #98a2b3;
        font-size: 8px;
    }

.manual-check-list[b-j0s74mpu0f] {
    display: grid;
    gap: 6px;
}

    .manual-check-list div[b-j0s74mpu0f] {
        display: flex;
        align-items: center;
        gap: 7px;
        color: #667085;
        font-size: 9px;
    }

        .manual-check-list div > span[b-j0s74mpu0f] {
            color: #16794a;
            font-weight: 800;
        }

.quality-note[b-j0s74mpu0f] {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #eef0f3;
    color: #98a2b3;
    font-size: 8px;
    line-height: 1.4;
}


/* =========================================================
   RETAKE / CHANGE
   ========================================================= */

.change-photo-grid[b-j0s74mpu0f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
}

.change-photo-button[b-j0s74mpu0f] {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    background: #ffffff;
    color: #475467;
    font-size: 9px;
    font-weight: 750;
    cursor: pointer;
}

    .change-photo-button:hover[b-j0s74mpu0f] {
        background: #f8fafc;
    }

    .change-photo-button svg[b-j0s74mpu0f] {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: #218777;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


/* =========================================================
   MESSAGE
   ========================================================= */

.app-message[b-j0s74mpu0f] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 600;
}

    .app-message.success[b-j0s74mpu0f] {
        border: 1px solid #cdebd8;
        background: #edf9f1;
        color: #16794a;
    }

    .app-message.error[b-j0s74mpu0f] {
        border: 1px solid #ffd5cf;
        background: #fff2f0;
        color: #b42318;
    }

.message-icon[b-j0s74mpu0f] {
    flex-shrink: 0;
    font-weight: 900;
}


/* =========================================================
   DESKTOP ACTIONS
   ========================================================= */

.desktop-actions[b-j0s74mpu0f] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.secondary-button[b-j0s74mpu0f],
.primary-button[b-j0s74mpu0f] {
    display: inline-flex;
    min-height: 43px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 20px;
    border-radius: 11px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.secondary-button[b-j0s74mpu0f] {
    border: 1px solid #dce2e8;
    background: #ffffff;
    color: #667085;
}

.primary-button[b-j0s74mpu0f] {
    border: 0;
    background: #263241;
    color: #ffffff;
}

    .secondary-button:disabled[b-j0s74mpu0f],
    .primary-button:disabled[b-j0s74mpu0f],
    .mobile-save-button:disabled[b-j0s74mpu0f] {
        opacity: 0.55;
        cursor: not-allowed;
    }


/* =========================================================
   SPINNER
   ========================================================= */

.button-spinner[b-j0s74mpu0f] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-spin-b-j0s74mpu0f 0.7s linear infinite;
}

@keyframes button-spin-b-j0s74mpu0f {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   MOBILE SAVE BAR
   ========================================================= */

.mobile-save-bar[b-j0s74mpu0f] {
    display: none;
}


/* =========================================================
   LOADING
   ========================================================= */

.loading-card[b-j0s74mpu0f] {
    display: flex;
    min-height: 200px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    background: #ffffff;
    color: #98a2b3;
}

    .loading-card strong[b-j0s74mpu0f] {
        color: #475467;
        font-size: 12px;
    }

    .loading-card span[b-j0s74mpu0f] {
        font-size: 9px;
    }

.loading-spinner[b-j0s74mpu0f] {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
    border: 3px solid #e8ebef;
    border-top-color: #344054;
    border-radius: 50%;
    animation: grocery-spin-b-j0s74mpu0f 0.8s linear infinite;
}

@keyframes grocery-spin-b-j0s74mpu0f {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    html[b-j0s74mpu0f],
    body[b-j0s74mpu0f] {
        overflow-x: hidden;
    }


    /* PAGE */

    .grocery-page[b-j0s74mpu0f] {
        width: 100%;
        min-height: 100dvh;
        box-sizing: border-box;
        padding: 0 0 105px;
        overflow-x: hidden;
        background: #f5f7fa;
    }

    .grocery-container[b-j0s74mpu0f] {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }


    /* =====================================================
       HEADER
       ===================================================== */

    .page-header[b-j0s74mpu0f] {
        position: sticky;
        top: 0;
        z-index: 20;
        display: flex;
        width: 100%;
        box-sizing: border-box;
        gap: 11px;
        margin: 0;
        padding: max(13px, env(safe-area-inset-top)) 15px 12px;
        border-bottom: 1px solid #e9edf2;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
    }

    .back-button[b-j0s74mpu0f] {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 11px;
        background: #f2f4f7;
        box-shadow: none;
        font-size: 27px;
    }

    .header-copy h1[b-j0s74mpu0f] {
        font-size: 18px;
        letter-spacing: -0.2px;
    }

    .header-copy p[b-j0s74mpu0f] {
        margin-top: 1px;
        font-size: 9px;
    }

    .header-house-icon[b-j0s74mpu0f] {
        display: flex;
        width: 35px;
        height: 35px;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #eaf6f3;
        font-size: 15px;
    }


    /* =====================================================
       HOUSE
       ===================================================== */

    .current-house-card[b-j0s74mpu0f] {
        width: auto;
        margin: 12px 12px 0;
        padding: 11px 12px;
        border-radius: 13px;
    }

    .current-house-icon[b-j0s74mpu0f] {
        width: 35px;
        height: 35px;
        border-radius: 9px;
        font-size: 15px;
    }

    .current-house-copy span[b-j0s74mpu0f] {
        font-size: 8px;
    }

    .current-house-copy strong[b-j0s74mpu0f] {
        font-size: 11px;
    }

    .admin-badge[b-j0s74mpu0f] {
        font-size: 8px;
    }


    /* =====================================================
       CARD
       ===================================================== */

    .app-card[b-j0s74mpu0f] {
        width: auto;
        margin: 12px 12px 0;
        padding: 17px 15px;
        border-radius: 16px;
        box-shadow: 0 3px 14px rgba(16, 24, 40, 0.035);
    }

    .section-title[b-j0s74mpu0f] {
        gap: 9px;
        margin-bottom: 17px;
    }

    .section-number[b-j0s74mpu0f] {
        width: 25px;
        height: 25px;
        border-radius: 8px;
        font-size: 10px;
    }

    .section-title h2[b-j0s74mpu0f] {
        margin-top: 0;
        font-size: 14px;
    }

    .section-title p[b-j0s74mpu0f] {
        font-size: 9px;
    }

    .optional-pill[b-j0s74mpu0f] {
        padding: 4px 7px;
        font-size: 7px;
    }


    /* =====================================================
       FORM
       ===================================================== */

    .form-grid[b-j0s74mpu0f] {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .field-group[b-j0s74mpu0f],
    .field-group.full-width[b-j0s74mpu0f] {
        width: 100%;
        min-width: 0;
        grid-column: auto;
    }

        .field-group label[b-j0s74mpu0f] {
            margin-bottom: 6px;
            font-size: 10px;
        }

    .optional-text[b-j0s74mpu0f] {
        margin-bottom: 6px;
        font-size: 8px;
    }

    .field-group[b-j0s74mpu0f]  input.app-input,
    .field-group[b-j0s74mpu0f]  textarea.app-input {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        font-size: 16px;
    }

    .field-group[b-j0s74mpu0f]  input.app-input {
        min-height: 48px;
    }

    .field-group[b-j0s74mpu0f]  textarea.description-input {
        width: 100% !important;
        min-height: 90px;
        max-width: 100% !important;
    }

    .input-shell[b-j0s74mpu0f] {
        width: 100%;
        min-width: 0;
    }

        .input-shell[b-j0s74mpu0f]  input.money-input,
        .input-shell[b-j0s74mpu0f]  input[type="date"] {
            width: 100% !important;
            max-width: 100% !important;
        }

    .scan-hint[b-j0s74mpu0f] {
        font-size: 8px;
    }


    /* =====================================================
       CAMERA / UPLOAD
       ===================================================== */

    .receipt-source-grid[b-j0s74mpu0f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .receipt-action[b-j0s74mpu0f] {
        min-height: 125px;
        padding: 16px 8px;
        border-radius: 15px;
    }

    .receipt-action-icon[b-j0s74mpu0f] {
        width: 45px;
        height: 45px;
        border-radius: 14px;
    }

        .receipt-action-icon svg[b-j0s74mpu0f] {
            width: 22px;
            height: 22px;
        }

    .receipt-action strong[b-j0s74mpu0f] {
        font-size: 11px;
    }

    .receipt-action small[b-j0s74mpu0f] {
        font-size: 8px;
    }


    /* =====================================================
       TIPS
       ===================================================== */

    .receipt-tips[b-j0s74mpu0f] {
        padding: 12px;
    }

    .tips-heading[b-j0s74mpu0f] {
        margin-bottom: 10px;
    }

        .tips-heading strong[b-j0s74mpu0f] {
            font-size: 9px;
        }

    .tips-list[b-j0s74mpu0f] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .tip p[b-j0s74mpu0f] {
        font-size: 8px;
    }


    /* =====================================================
       PREVIEW
       ===================================================== */

    .receipt-image-frame[b-j0s74mpu0f] {
        width: 100%;
        max-height: 390px;
        min-height: 190px;
        padding: 10px;
    }

        .receipt-image-frame img[b-j0s74mpu0f] {
            max-width: 100%;
            max-height: 370px;
        }


    /* =====================================================
       MESSAGE
       ===================================================== */

    .app-message[b-j0s74mpu0f] {
        margin: 12px 12px 0;
    }


    /* =====================================================
       DESKTOP ACTIONS OFF
       ===================================================== */

    .desktop-actions[b-j0s74mpu0f] {
        display: none;
    }


    /* =====================================================
       MOBILE SAVE
       ===================================================== */

    .mobile-save-bar[b-j0s74mpu0f] {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        display: block;
        box-sizing: border-box;
        padding: 10px 13px max(10px, env(safe-area-inset-bottom));
        border-top: 1px solid #e3e8ee;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(14px);
    }

    .mobile-save-button[b-j0s74mpu0f] {
        display: flex;
        width: 100%;
        min-height: 50px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 0;
        border-radius: 13px;
        background: #263241;
        color: #ffffff;
        font-family: inherit;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 6px 16px rgba(38, 50, 65, 0.18);
    }

    .mobile-add-icon[b-j0s74mpu0f] {
        font-size: 18px;
        font-weight: 400;
    }
}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .app-card[b-j0s74mpu0f] {
        margin-right: 9px;
        margin-left: 9px;
        padding-right: 13px;
        padding-left: 13px;
    }

    .current-house-card[b-j0s74mpu0f] {
        margin-right: 9px;
        margin-left: 9px;
    }

    .receipt-source-grid[b-j0s74mpu0f] {
        gap: 8px;
    }

    .receipt-action[b-j0s74mpu0f] {
        min-height: 115px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .receipt-action-icon[b-j0s74mpu0f] {
        width: 42px;
        height: 42px;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */

/* =========================================================
   HOUSE MANAGER - DASHBOARD
   Desktop + Tablet + Mobile
   ========================================================= */

*[b-ahgfb2k44q] {
    box-sizing: border-box;
}

.dashboard-shell[b-ahgfb2k44q] {
    --dash-navy: #142a46;
    --dash-navy-dark: #0d2038;
    --dash-blue: #2563eb;
    --dash-green: #0f9f74;
    --dash-text: #1b2d45;
    --dash-muted: #718096;
    --dash-border: #e7ecf2;
    --dash-bg: #f5f7fb;
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: var(--dash-bg);
    color: var(--dash-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

    .dashboard-shell button[b-ahgfb2k44q],
    .dashboard-shell a[b-ahgfb2k44q] {
        font: inherit;
    }

    .dashboard-shell a[b-ahgfb2k44q] {
        text-decoration: none;
    }

    .dashboard-shell button[b-ahgfb2k44q] {
        cursor: pointer;
    }

/* =========================================================
   DESKTOP SIDEBAR
   ========================================================= */

.dashboard-sidebar[b-ahgfb2k44q] {
    position: sticky;
    top: 0;
    flex: 0 0 252px;
    width: 252px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 25px 14px 18px;
    background: linear-gradient( 165deg, #173755 0%, #112944 55%, #0b1e34 100% );
    color: #fff;
    overflow-y: auto;
    z-index: 30;
}

.sidebar-logo[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 10px 30px;
    color: white;
}

    .sidebar-logo img[b-ahgfb2k44q] {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        object-fit: contain;
        border-radius: 12px;
        background: white;
        padding: 4px;
    }

.sidebar-brand[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    letter-spacing: 1.4px;
}

    .sidebar-brand span[b-ahgfb2k44q] {
        font-size: 11px;
        color: #a9c4dd;
        font-weight: 700;
    }

    .sidebar-brand strong[b-ahgfb2k44q] {
        font-size: 17px;
        color: white;
        font-weight: 800;
    }

.sidebar-menu[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.menu-item[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    color: #c4d1e1;
    background: transparent;
    border: 0;
    border-radius: 11px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

    .menu-item:hover[b-ahgfb2k44q] {
        background: rgba(255, 255, 255, 0.09);
        color: white;
    }

    .menu-item.active[b-ahgfb2k44q] {
        background: #2a537c;
        color: white;
        box-shadow: inset 3px 0 0 #6bd5c0;
    }

.menu-icon[b-ahgfb2k44q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    flex-shrink: 0;
    font-size: 19px;
}

.sidebar-alert-count[b-ahgfb2k44q] {
    margin-left: auto;
    min-width: 21px;
    padding: 3px 6px;
    border-radius: 20px;
    background: #ef5964;
    color: white;
    font-size: 11px;
    text-align: center;
}

.sidebar-bottom[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

    .sidebar-bottom form[b-ahgfb2k44q] {
        width: 100%;
    }

.logout-button[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    color: #f0f4fa;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

    .logout-button:hover[b-ahgfb2k44q] {
        background: rgba(255, 255, 255, 0.12);
    }

/* =========================================================
   MAIN AREA
   ========================================================= */

.dashboard-main[b-ahgfb2k44q] {
    flex: 1;
    min-width: 0;
    max-width: 1600px;
    margin: 0 auto;
    padding: 31px 36px 55px;
}

.dashboard-header[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px;
}

.dashboard-heading[b-ahgfb2k44q] {
    min-width: 0;
}

.dashboard-eyebrow[b-ahgfb2k44q] {
    display: block;
    margin-bottom: 8px;
    color: var(--dash-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.dashboard-heading h1[b-ahgfb2k44q] {
    margin: 0;
    font-size: clamp(25px, 2.7vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.dashboard-address[b-ahgfb2k44q] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 9px 0 0;
    color: var(--dash-muted);
    font-size: 12px;
    line-height: 1.6;
}

.dashboard-label[b-ahgfb2k44q] {
    font-weight: 700;
    color: #455b75;
}

.dashboard-divider[b-ahgfb2k44q] {
    color: #b5c0cf;
}

.dashboard-header-actions[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

/* =========================================================
   NOTIFICATION BUTTON
   ========================================================= */

.dashboard-notification-button[b-ahgfb2k44q] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--dash-border);
    border-radius: 13px;
    background: white;
    box-shadow: 0 3px 12px rgba(24, 46, 73, 0.04);
}

.notification-bell[b-ahgfb2k44q] {
    font-size: 19px;
}

.notification-count[b-ahgfb2k44q] {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    padding: 3px 5px;
    border-radius: 20px;
    background: #ef5964;
    color: white;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

/* =========================================================
   PROFILE MENU
   ========================================================= */

.profile-menu-wrapper[b-ahgfb2k44q] {
    position: relative;
}

.profile-circle[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 3px solid white;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a8bc4, #173f77);
    color: white;
    box-shadow: 0 3px 12px rgba(15, 43, 76, 0.15);
    font-size: 18px;
    font-weight: 800;
}

.profile-circle[b-ahgfb2k44q] {
    overflow: hidden;
}

    .profile-circle img[b-ahgfb2k44q] {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.profile-dropdown[b-ahgfb2k44q] {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 335px;
    max-width: calc(100vw - 30px);
    padding: 8px;
    border: 1px solid var(--dash-border);
    border-radius: 18px;
    background: white;
    box-shadow: 0 16px 55px rgba(16, 39, 69, 0.18);
    z-index: 100;
}

.dropdown-user[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 12px;
    border-bottom: 1px solid var(--dash-border);
}

.dropdown-avatar[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e5f1fc;
    color: #1d5d91;
    font-size: 18px;
    font-weight: 800;
}

.dropdown-user-info[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .dropdown-user-info strong[b-ahgfb2k44q] {
        font-size: 13px;
    }

    .dropdown-user-info span[b-ahgfb2k44q] {
        overflow: hidden;
        color: var(--dash-muted);
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.dropdown-section[b-ahgfb2k44q] {
    padding: 13px 5px;
    border-bottom: 1px solid var(--dash-border);
}

.dropdown-section-title[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 10px;
    color: #7b8ca2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.house-count[b-ahgfb2k44q] {
    padding: 3px 7px;
    border-radius: 8px;
    background: #eef3f8;
    color: #345572;
    font-size: 10px;
}

.house-loading[b-ahgfb2k44q] {
    padding: 12px;
    color: var(--dash-muted);
    font-size: 12px;
}

.dropdown-house-list[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 240px;
    overflow-y: auto;
}

.dropdown-house-item[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: white;
    color: var(--dash-text);
    text-align: left;
}

    .dropdown-house-item:hover[b-ahgfb2k44q] {
        background: #f5f8fc;
    }

    .dropdown-house-item.current[b-ahgfb2k44q] {
        border-color: #c9e9dc;
        background: #effaf5;
    }

.dropdown-house-icon[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #edf3fa;
    font-size: 17px;
}

.dropdown-house-details[b-ahgfb2k44q] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .dropdown-house-details strong[b-ahgfb2k44q] {
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dropdown-house-details span[b-ahgfb2k44q] {
        color: var(--dash-muted);
        font-size: 10px;
    }

.current-house-check[b-ahgfb2k44q] {
    color: var(--dash-green);
    font-weight: 900;
}

.switch-house-text[b-ahgfb2k44q] {
    color: var(--dash-blue);
    font-size: 11px;
    font-weight: 700;
}

.dropdown-links[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    padding: 7px 0;
}

    .dropdown-links a[b-ahgfb2k44q] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 12px;
        border-radius: 10px;
        color: var(--dash-text);
    }

        .dropdown-links a:hover[b-ahgfb2k44q] {
            background: #f5f8fc;
        }

.dropdown-link-icon[b-ahgfb2k44q] {
    font-size: 18px;
}

.dropdown-links a div[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dropdown-links strong[b-ahgfb2k44q] {
    font-size: 12px;
}

.dropdown-links small[b-ahgfb2k44q] {
    color: var(--dash-muted);
    font-size: 10px;
}

.dropdown-signout[b-ahgfb2k44q] {
    border-top: 1px solid var(--dash-border);
    padding: 8px 4px 2px;
}

    .dropdown-signout form[b-ahgfb2k44q] {
        width: 100%;
    }

    .dropdown-signout button[b-ahgfb2k44q] {
        width: 100%;
        padding: 11px;
        border: 0;
        border-radius: 9px;
        background: #fff2f2;
        color: #c83d49;
        font-size: 12px;
        font-weight: 700;
        text-align: left;
    }

/* =========================================================
   BALANCE CARD
   ========================================================= */

.balance-card[b-ahgfb2k44q] {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 28px 30px;
    border-radius: 19px;
    background: linear-gradient( 115deg, #193f65 0%, #155875 65%, #0b897d 100% );
    color: white;
    box-shadow: 0 12px 30px rgba(18, 65, 100, 0.13);
}

    .balance-card[b-ahgfb2k44q]::after {
        content: "";
        position: absolute;
        top: -100px;
        right: -70px;
        width: 290px;
        height: 290px;
        border: 45px solid rgba(255, 255, 255, 0.045);
        border-radius: 50%;
        pointer-events: none;
    }

.balance-top[b-ahgfb2k44q] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

    .balance-top p[b-ahgfb2k44q] {
        margin: 0 0 11px;
        color: #c7e2ed;
        font-size: 13px;
    }

    .balance-top h2[b-ahgfb2k44q] {
        margin: 0 0 11px;
        font-size: clamp(32px, 4vw, 45px);
        font-weight: 800;
        letter-spacing: -1px;
    }

.balance-good[b-ahgfb2k44q] {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.13);
    color: #d5ffe7;
    font-size: 11px;
    font-weight: 700;
}

.balance-icon[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 28px;
    font-weight: 700;
}

.balance-footer[b-ahgfb2k44q] {
    display: flex;
    gap: 65px;
    margin-top: 25px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

    .balance-footer div[b-ahgfb2k44q] {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .balance-footer span[b-ahgfb2k44q] {
        color: #c6e2eb;
        font-size: 11px;
    }

    .balance-footer strong[b-ahgfb2k44q] {
        font-size: 17px;
    }

/* =========================================================
   SUMMARY CARDS
   ========================================================= */

.summary-grid[b-ahgfb2k44q] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.summary-card[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 21px 17px;
    border: 1px solid var(--dash-border);
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 18px rgba(20, 46, 77, 0.035);
}

.summary-icon[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    flex-shrink: 0;
    border-radius: 13px;
    background: #edf4ff;
    font-size: 22px;
}

.summary-card:nth-child(2) .summary-icon[b-ahgfb2k44q] {
    background: #e9f9f1;
}

.summary-card:nth-child(3) .summary-icon[b-ahgfb2k44q] {
    background: #fff3e8;
}

.summary-card:nth-child(4) .summary-icon[b-ahgfb2k44q] {
    background: #f1edff;
}

.summary-card > div:last-child[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.summary-card span[b-ahgfb2k44q] {
    color: var(--dash-muted);
    font-size: 11px;
}

.summary-card strong[b-ahgfb2k44q] {
    color: #1d3049;
    font-size: 21px;
    font-weight: 800;
}

.summary-card small[b-ahgfb2k44q] {
    color: #92a0b0;
    font-size: 10px;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.dashboard-section[b-ahgfb2k44q] {
    margin-bottom: 25px;
}

.section-heading[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

    .section-heading h2[b-ahgfb2k44q] {
        margin: 0;
        color: #20354e;
        font-size: 17px;
        font-weight: 800;
    }

    .section-heading a[b-ahgfb2k44q] {
        color: var(--dash-blue);
        font-size: 12px;
        font-weight: 700;
    }

/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.quick-grid[b-ahgfb2k44q] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.quick-card[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 83px;
    padding: 17px;
    border: 1px solid var(--dash-border);
    border-radius: 15px;
    background: white;
    color: #27405b;
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .quick-card:hover[b-ahgfb2k44q] {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(18, 48, 78, 0.09);
    }

.quick-icon[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #edf5fc;
    color: #1d6594;
    font-size: 23px;
}

/* =========================================================
   MONTHLY SUMMARY
   ========================================================= */

.expense-summary[b-ahgfb2k44q] {
    overflow: hidden;
    border: 1px solid var(--dash-border);
    border-radius: 16px;
    background: white;
}

.expense-row[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 22px;
    border-bottom: 1px solid #edf0f5;
}

    .expense-row:last-child[b-ahgfb2k44q] {
        border-bottom: 0;
    }

    .expense-row > div[b-ahgfb2k44q] {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .expense-row strong[b-ahgfb2k44q] {
        color: #273c56;
        font-size: 12px;
        font-weight: 750;
    }

    .expense-row > strong[b-ahgfb2k44q] {
        font-size: 15px;
        white-space: nowrap;
    }

    .expense-row span[b-ahgfb2k44q] {
        color: var(--dash-muted);
        font-size: 11px;
    }

/* =========================================================
   INVITATIONS
   ========================================================= */

.invitation-section[b-ahgfb2k44q] {
    padding: 20px;
    border: 1px solid #dce7f5;
    border-radius: 17px;
    background: #fafdff;
}

.invitation-count[b-ahgfb2k44q] {
    padding: 6px 10px;
    border-radius: 20px;
    background: #fff0dd;
    color: #a96716;
    font-size: 11px;
    font-weight: 800;
}

.invitation-empty[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 26px;
    color: var(--dash-muted);
    text-align: center;
    font-size: 12px;
}

    .invitation-empty > span[b-ahgfb2k44q] {
        font-size: 27px;
    }

    .invitation-empty strong[b-ahgfb2k44q] {
        color: var(--dash-text);
        font-size: 13px;
    }

    .invitation-empty p[b-ahgfb2k44q] {
        margin: 0;
    }

.invitation-list[b-ahgfb2k44q] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.invitation-card[b-ahgfb2k44q] {
    padding: 17px;
    border: 1px solid #e2eaf3;
    border-radius: 13px;
    background: white;
}

.invitation-card-top[b-ahgfb2k44q] {
    display: flex;
    gap: 12px;
}

.invitation-house-icon[b-ahgfb2k44q] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 11px;
    background: #eaf5ff;
    font-size: 21px;
}

.invitation-details[b-ahgfb2k44q] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

    .invitation-details h3[b-ahgfb2k44q] {
        margin: 0;
        font-size: 14px;
        font-weight: 800;
    }

    .invitation-details p[b-ahgfb2k44q] {
        margin: 0;
        color: #5c7188;
        font-size: 12px;
    }

    .invitation-details small[b-ahgfb2k44q] {
        color: #8190a2;
        font-size: 11px;
    }

.invitation-expiry[b-ahgfb2k44q] {
    color: #ad752b !important;
}

.invitation-actions[b-ahgfb2k44q] {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

    .invitation-actions form[b-ahgfb2k44q] {
        flex: 1;
    }

    .invitation-actions button[b-ahgfb2k44q] {
        width: 100%;
        min-height: 38px;
        border: 0;
        border-radius: 9px;
        font-size: 12px;
        font-weight: 800;
    }

.invitation-accept[b-ahgfb2k44q] {
    background: #0f9f74;
    color: white;
}

    .invitation-accept:hover[b-ahgfb2k44q] {
        background: #087e5b;
    }

.invitation-decline[b-ahgfb2k44q] {
    background: #f3f5f8;
    color: #56677d;
}

    .invitation-decline:hover[b-ahgfb2k44q] {
        background: #e8ecf2;
    }

.dashboard-message[b-ahgfb2k44q] {
    margin-bottom: 18px;
    padding: 13px 16px;
    border: 1px solid #d3e3f7;
    border-radius: 11px;
    background: #f0f7ff;
    color: #315c8b;
    font-size: 12px;
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-navigation[b-ahgfb2k44q],
.mobile-bottom-space[b-ahgfb2k44q] {
    display: none;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {
    .dashboard-sidebar[b-ahgfb2k44q] {
        flex-basis: 220px;
        width: 220px;
    }

    .dashboard-main[b-ahgfb2k44q] {
        padding: 28px 23px 45px;
    }

    .summary-grid[b-ahgfb2k44q],
    .quick-grid[b-ahgfb2k44q] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .dashboard-sidebar[b-ahgfb2k44q] {
        flex-basis: 195px;
        width: 195px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .sidebar-brand strong[b-ahgfb2k44q] {
        font-size: 14px;
    }

    .sidebar-logo img[b-ahgfb2k44q] {
        width: 42px;
        height: 42px;
    }

    .dashboard-main[b-ahgfb2k44q] {
        padding: 25px 18px 45px;
    }

    .invitation-list[b-ahgfb2k44q] {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .dashboard-shell[b-ahgfb2k44q] {
        display: block;
        min-height: 100dvh;
    }

    .dashboard-sidebar[b-ahgfb2k44q] {
        display: none;
    }

    .dashboard-main[b-ahgfb2k44q] {
        width: 100%;
        padding: 23px 16px 25px;
    }

    .dashboard-header[b-ahgfb2k44q] {
        gap: 10px;
        margin-bottom: 23px;
    }

    .dashboard-eyebrow[b-ahgfb2k44q] {
        font-size: 9px;
    }

    .dashboard-heading h1[b-ahgfb2k44q] {
        font-size: 24px;
    }

    .dashboard-address[b-ahgfb2k44q] {
        font-size: 11px;
    }

    .dashboard-header-actions[b-ahgfb2k44q] {
        gap: 8px;
    }

    .dashboard-notification-button[b-ahgfb2k44q] {
        width: 39px;
        height: 39px;
        border-radius: 11px;
    }

    .profile-circle[b-ahgfb2k44q] {
        width: 41px;
        height: 41px;
    }

    .profile-dropdown[b-ahgfb2k44q] {
        width: min(335px, calc(100vw - 25px));
    }

    .balance-card[b-ahgfb2k44q] {
        padding: 23px 20px;
        border-radius: 16px;
    }

    .balance-top h2[b-ahgfb2k44q] {
        font-size: 36px;
    }

    .balance-icon[b-ahgfb2k44q] {
        width: 45px;
        height: 45px;
    }

    .balance-footer[b-ahgfb2k44q] {
        gap: 42px;
    }

    .summary-grid[b-ahgfb2k44q] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .summary-card[b-ahgfb2k44q] {
        flex-direction: column;
        align-items: flex-start;
        gap: 11px;
        padding: 16px;
        border-radius: 13px;
    }

    .summary-icon[b-ahgfb2k44q] {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .summary-card strong[b-ahgfb2k44q] {
        font-size: 20px;
    }

    .quick-grid[b-ahgfb2k44q] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .quick-card[b-ahgfb2k44q] {
        min-height: 77px;
        padding: 13px;
        gap: 10px;
    }

    .quick-icon[b-ahgfb2k44q] {
        width: 38px;
        height: 38px;
    }

    .section-heading h2[b-ahgfb2k44q] {
        font-size: 16px;
    }

    .expense-row[b-ahgfb2k44q] {
        padding: 16px;
    }

    .invitation-section[b-ahgfb2k44q] {
        padding: 15px;
    }

    .mobile-bottom-space[b-ahgfb2k44q] {
        display: block;
        height: 76px;
    }


    .mobile-navigation[b-ahgfb2k44q] {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;
        display: flex;
        align-items: center;
        justify-content: space-around;
        min-height: 0;
        padding: 9px 5px max(9px, env(safe-area-inset-bottom));
        border-top: 1px solid #e2eaf2;
        background: #ffffff;
        box-shadow: 0 -5px 20px rgba(30, 60, 90, 0.05);
    }

    .mobile-menu[b-ahgfb2k44q] {
        position: relative;
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        padding: 5px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: #8292a4;
        font-size: 10px;
        font-weight: 400;
    }

    .mobile-icon[b-ahgfb2k44q] {
        font-size: 21px;
    }


    .mobile-icon[b-ahgfb2k44q] {
        font-size: 21px;
    }

    .mobile-alert-count[b-ahgfb2k44q] {
        position: absolute;
        top: 0;
        right: 15%;
        min-width: 17px;
        padding: 2px 4px;
        border-radius: 20px;
        background: #e94f5b;
        color: white;
        font-size: 9px;
    }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {
    .dashboard-main[b-ahgfb2k44q] {
        padding-left: 12px;
        padding-right: 12px;
    }

    .dashboard-heading h1[b-ahgfb2k44q] {
        font-size: 21px;
    }

    .summary-card[b-ahgfb2k44q] {
        padding: 13px;
    }

        .summary-card strong[b-ahgfb2k44q] {
            font-size: 18px;
        }

    .quick-card[b-ahgfb2k44q] {
        font-size: 11px;
    }

    .balance-footer[b-ahgfb2k44q] {
        gap: 25px;
    }
}
/* /Components/Pages/Grocery.razor.rz.scp.css */
/* =========================================================
   PAGE
   ========================================================= */

.grocery-page[b-qga0xwtw98] {
    min-height: 100vh;
    background: #f5f7fb;
    padding: 24px 18px 110px;
}

.grocery-container[b-qga0xwtw98] {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.page-header[b-qga0xwtw98] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.back-button[b-qga0xwtw98] {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #ffffff;
    color: #1d2939;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(16, 24, 40, 0.05);
}

.header-copy[b-qga0xwtw98] {
    flex: 1;
    min-width: 0;
}

    .header-copy h1[b-qga0xwtw98] {
        margin: 0;
        color: #101828;
        font-size: 29px;
        font-weight: 800;
        letter-spacing: -0.6px;
    }

    .header-copy p[b-qga0xwtw98] {
        margin: 4px 0 0;
        color: #667085;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.header-add-button[b-qga0xwtw98] {
    min-height: 46px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: none;
    border-radius: 14px;
    background: #101828;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(16, 24, 40, 0.14);
}

    .header-add-button span:first-child[b-qga0xwtw98] {
        font-size: 20px;
    }


/* =========================================================
   LOADING
   ========================================================= */

.loading-card[b-qga0xwtw98] {
    min-height: 230px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 20px;
    box-shadow: 0 5px 18px rgba(16, 24, 40, 0.05);
}

    .loading-card strong[b-qga0xwtw98] {
        margin-top: 8px;
        color: #101828;
        font-size: 17px;
    }

    .loading-card span[b-qga0xwtw98] {
        color: #667085;
        font-size: 13px;
        text-align: center;
    }

.loading-spinner[b-qga0xwtw98] {
    width: 32px;
    height: 32px;
    border: 3px solid #eaecf0;
    border-top-color: #101828;
    border-radius: 50%;
    animation: grocery-spin-b-qga0xwtw98 0.8s linear infinite;
}

@keyframes grocery-spin-b-qga0xwtw98 {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   ERROR
   ========================================================= */

.error-card[b-qga0xwtw98] {
    margin-bottom: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff6f6;
    border: 1px solid #fecdca;
    border-radius: 16px;
}

.error-icon[b-qga0xwtw98] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fee4e2;
    border-radius: 50%;
    color: #b42318;
    font-weight: 900;
}

.error-copy[b-qga0xwtw98] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .error-copy strong[b-qga0xwtw98] {
        color: #912018;
        font-size: 14px;
    }

    .error-copy span[b-qga0xwtw98] {
        color: #b42318;
        font-size: 12px;
        overflow-wrap: anywhere;
    }

.retry-button[b-qga0xwtw98] {
    padding: 9px 13px;
    border: 1px solid #fda29b;
    border-radius: 10px;
    background: #ffffff;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.summary-card[b-qga0xwtw98] {
    margin-bottom: 28px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #101828 0%, #344054 100%);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.18);
}

.summary-top[b-qga0xwtw98] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.summary-label[b-qga0xwtw98] {
    display: block;
    margin-bottom: 4px;
    color: #d0d5dd;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.summary-top h2[b-qga0xwtw98] {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.summary-icon[b-qga0xwtw98] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    font-size: 22px;
}

.summary-amount[b-qga0xwtw98] {
    margin: 25px 0 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .summary-amount span[b-qga0xwtw98] {
        color: #d0d5dd;
        font-size: 13px;
    }

    .summary-amount strong[b-qga0xwtw98] {
        color: #ffffff;
        font-size: 36px;
        line-height: 1.1;
        font-weight: 800;
        letter-spacing: -1px;
    }

.summary-bottom[b-qga0xwtw98] {
    padding-top: 17px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.summary-stat[b-qga0xwtw98] {
    display: flex;
    flex-direction: column;
}

    .summary-stat strong[b-qga0xwtw98] {
        color: #ffffff;
        font-size: 18px;
    }

    .summary-stat span[b-qga0xwtw98] {
        margin-top: 2px;
        color: #98a2b3;
        font-size: 11px;
    }

.summary-divider[b-qga0xwtw98] {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
}

.report-button[b-qga0xwtw98] {
    margin-left: auto;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   HISTORY HEADING
   ========================================================= */

.history-heading[b-qga0xwtw98] {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
}

    .history-heading h2[b-qga0xwtw98] {
        margin: 0;
        color: #101828;
        font-size: 20px;
        font-weight: 800;
    }

    .history-heading p[b-qga0xwtw98] {
        margin: 4px 0 0;
        color: #667085;
        font-size: 12px;
    }

.record-count[b-qga0xwtw98] {
    padding: 6px 10px;
    border: 1px solid #eaecf0;
    border-radius: 999px;
    background: #ffffff;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   GROCERY LIST
   ========================================================= */

.grocery-list[b-qga0xwtw98] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.grocery-card[b-qga0xwtw98] {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 19px;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .grocery-card:hover[b-qga0xwtw98] {
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    }


/* =========================================================
   RECEIPT
   ========================================================= */

.receipt-area[b-qga0xwtw98] {
    min-height: 205px;
    position: relative;
    overflow: hidden;
    background: #f2f4f7;
}

.receipt-image[b-qga0xwtw98] {
    width: 100%;
    height: 100%;
    min-height: 205px;
    display: block;
    object-fit: cover;
}

.receipt-badge[b-qga0xwtw98] {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.has-receipt[b-qga0xwtw98] {
    background: rgba(236, 253, 243, 0.94);
    color: #027a48;
}

.no-receipt[b-qga0xwtw98] {
    background: rgba(255, 255, 255, 0.94);
    color: #667085;
}


/* =========================================================
   GROCERY INFO
   ========================================================= */

.grocery-info[b-qga0xwtw98] {
    min-width: 0;
    padding: 18px;
}

.grocery-top[b-qga0xwtw98] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.store-area[b-qga0xwtw98] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.store-icon[b-qga0xwtw98] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f2f4f7;
    font-size: 18px;
}

.store-area h3[b-qga0xwtw98] {
    margin: 0 0 3px;
    color: #101828;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.purchase-date[b-qga0xwtw98] {
    color: #667085;
    font-size: 11px;
}

.grocery-amount[b-qga0xwtw98] {
    flex: 0 0 auto;
    color: #101828;
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -0.4px;
}


/* =========================================================
   MEMBER
   ========================================================= */

.member-row[b-qga0xwtw98] {
    margin-top: 16px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #f0f2f5;
    border-radius: 13px;
}

.member-avatar[b-qga0xwtw98] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #101828;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.member-copy[b-qga0xwtw98] {
    display: flex;
    flex-direction: column;
}

    .member-copy span[b-qga0xwtw98] {
        color: #98a2b3;
        font-size: 10px;
    }

    .member-copy strong[b-qga0xwtw98] {
        margin-top: 1px;
        color: #344054;
        font-size: 13px;
    }


/* =========================================================
   DESCRIPTION
   ========================================================= */

.description-row[b-qga0xwtw98] {
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.description-icon[b-qga0xwtw98] {
    flex: 0 0 auto;
    font-size: 13px;
}

.description-row p[b-qga0xwtw98] {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.grocery-footer[b-qga0xwtw98] {
    margin-top: 15px;
    padding-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f0f2f5;
}

.expense-number[b-qga0xwtw98] {
    color: #98a2b3;
    font-size: 10px;
}

.view-receipt-button[b-qga0xwtw98] {
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #ffffff;
    color: #344054;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

    .view-receipt-button:hover[b-qga0xwtw98] {
        background: #f9fafb;
        color: #101828;
    }

.receipt-unavailable[b-qga0xwtw98] {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   EMPTY
   ========================================================= */

.empty-card[b-qga0xwtw98] {
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 20px;
}

.empty-icon[b-qga0xwtw98] {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #f2f4f7;
    font-size: 28px;
}

.empty-card h2[b-qga0xwtw98] {
    margin: 0;
    color: #101828;
    font-size: 20px;
}

.empty-card p[b-qga0xwtw98] {
    max-width: 400px;
    margin: 8px 0 20px;
    color: #667085;
    font-size: 13px;
}

.empty-add-button[b-qga0xwtw98] {
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 11px;
    background: #101828;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   MOBILE ADD BAR
   ========================================================= */

.mobile-add-bar[b-qga0xwtw98] {
    display: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 760px) {

    .grocery-page[b-qga0xwtw98] {
        padding: 18px 13px 100px;
    }

    .grocery-card[b-qga0xwtw98] {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .receipt-area[b-qga0xwtw98],
    .receipt-image[b-qga0xwtw98] {
        min-height: 220px;
    }

    .grocery-info[b-qga0xwtw98] {
        padding: 15px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .grocery-page[b-qga0xwtw98] {
        padding: 14px 11px 105px;
    }

    .page-header[b-qga0xwtw98] {
        margin-bottom: 16px;
    }

    .back-button[b-qga0xwtw98] {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
    }

    .header-copy h1[b-qga0xwtw98] {
        font-size: 23px;
    }

    .header-copy p[b-qga0xwtw98] {
        font-size: 11px;
    }

    .header-add-button[b-qga0xwtw98] {
        display: none;
    }


    /* SUMMARY */

    .summary-card[b-qga0xwtw98] {
        margin-bottom: 23px;
        padding: 18px;
        border-radius: 18px;
    }

    .summary-top h2[b-qga0xwtw98] {
        font-size: 17px;
    }

    .summary-icon[b-qga0xwtw98] {
        width: 43px;
        height: 43px;
    }

    .summary-amount[b-qga0xwtw98] {
        margin: 20px 0 18px;
    }

        .summary-amount strong[b-qga0xwtw98] {
            font-size: 31px;
        }

    .summary-bottom[b-qga0xwtw98] {
        gap: 13px;
    }

    .summary-stat strong[b-qga0xwtw98] {
        font-size: 16px;
    }

    .report-button[b-qga0xwtw98] {
        padding: 8px 9px;
        font-size: 10px;
    }


    /* HISTORY */

    .history-heading[b-qga0xwtw98] {
        align-items: center;
    }

        .history-heading h2[b-qga0xwtw98] {
            font-size: 18px;
        }

        .history-heading p[b-qga0xwtw98] {
            font-size: 10px;
        }

    .record-count[b-qga0xwtw98] {
        font-size: 9px;
    }


    /* CARD */

    .grocery-card[b-qga0xwtw98] {
        display: block;
        border-radius: 17px;
    }

    .receipt-area[b-qga0xwtw98] {
        width: 100%;
        height: 190px;
        min-height: 190px;
    }

    .receipt-image[b-qga0xwtw98] {
        width: 100%;
        height: 190px;
        min-height: 190px;
        object-fit: cover;
    }

    .grocery-info[b-qga0xwtw98] {
        padding: 15px;
    }

    .store-area[b-qga0xwtw98] {
        gap: 9px;
    }

    .store-icon[b-qga0xwtw98] {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .store-area h3[b-qga0xwtw98] {
        max-width: 160px;
        font-size: 15px;
    }

    .grocery-amount[b-qga0xwtw98] {
        font-size: 19px;
    }

    .member-row[b-qga0xwtw98] {
        margin-top: 13px;
    }

    .description-row[b-qga0xwtw98] {
        margin-top: 10px;
    }


    /* FIXED MOBILE BUTTON */

    .mobile-add-bar[b-qga0xwtw98] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: block;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid #eaecf0;
        backdrop-filter: blur(10px);
    }

    .mobile-add-button[b-qga0xwtw98] {
        width: 100%;
        max-width: 560px;
        min-height: 50px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: none;
        border-radius: 14px;
        background: #101828;
        color: #ffffff;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 6px 18px rgba(16, 24, 40, 0.18);
    }

    .mobile-add-icon[b-qga0xwtw98] {
        font-size: 21px;
    }
}
/* =========================================================
   CHANGE MEMBER BUTTON
   ========================================================= */

.change-member-button[b-qga0xwtw98] {
    margin-left: auto;
    padding: 7px 11px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #ffffff;
    color: #344054;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

    .change-member-button:hover[b-qga0xwtw98] {
        background: #f9fafb;
        border-color: #98a2b3;
    }


/* =========================================================
   SUCCESS MESSAGE
   ========================================================= */

.success-message[b-qga0xwtw98] {
    margin-bottom: 16px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 13px;
    color: #067647;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   MODAL BACKDROP
   ========================================================= */

.member-modal-backdrop[b-qga0xwtw98] {
    position: fixed;
    inset: 0;
    z-index: 5000;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 24, 40, 0.62);
    backdrop-filter: blur(3px);
}


/* =========================================================
   MODAL
   ========================================================= */

.member-modal[b-qga0xwtw98] {
    width: 100%;
    max-width: 470px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 22px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(16, 24, 40, 0.28);
}

.member-modal-header[b-qga0xwtw98] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.modal-small-title[b-qga0xwtw98] {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-modal-header h2[b-qga0xwtw98] {
    margin: 3px 0 0;
    color: #101828;
    font-size: 22px;
    font-weight: 800;
}

.modal-close-button[b-qga0xwtw98] {
    width: 36px;
    height: 36px;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #ffffff;
    color: #475467;
    cursor: pointer;
}


/* =========================================================
   SELECTED EXPENSE
   ========================================================= */

.selected-expense[b-qga0xwtw98] {
    margin-top: 18px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #eaecf0;
    border-radius: 14px;
}

    .selected-expense > div[b-qga0xwtw98] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .selected-expense span[b-qga0xwtw98] {
        color: #344054;
        font-size: 14px;
        font-weight: 700;
    }

    .selected-expense strong[b-qga0xwtw98] {
        color: #101828;
        font-size: 17px;
    }

    .selected-expense small[b-qga0xwtw98] {
        display: block;
        margin-top: 4px;
        color: #98a2b3;
    }


/* =========================================================
   CURRENT MEMBER
   ========================================================= */

.current-member-box[b-qga0xwtw98] {
    margin-top: 13px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 3px solid #101828;
    background: #f9fafb;
    border-radius: 8px;
}

    .current-member-box span[b-qga0xwtw98] {
        color: #98a2b3;
        font-size: 10px;
    }

    .current-member-box strong[b-qga0xwtw98] {
        color: #344054;
        font-size: 13px;
    }


/* =========================================================
   MEMBER OPTIONS
   ========================================================= */

.member-selection-title[b-qga0xwtw98] {
    margin: 20px 0 10px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.member-options[b-qga0xwtw98] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.member-option[b-qga0xwtw98] {
    min-height: 54px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #eaecf0;
    border-radius: 13px;
    background: #ffffff;
    cursor: pointer;
    transition: 0.15s ease;
}

    .member-option:hover[b-qga0xwtw98] {
        border-color: #98a2b3;
        background: #f9fafb;
    }

    .member-option.selected[b-qga0xwtw98] {
        border-color: #101828;
        background: #f8fafc;
    }

    .member-option input[b-qga0xwtw98] {
        display: none;
    }

.member-option-avatar[b-qga0xwtw98] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #101828;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.member-option-name[b-qga0xwtw98] {
    flex: 1;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.selected-check[b-qga0xwtw98] {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf3;
    border-radius: 50%;
    color: #067647;
    font-size: 12px;
    font-weight: 900;
}


/* =========================================================
   MEMBER LOADING / ERROR
   ========================================================= */

.member-loading[b-qga0xwtw98] {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #667085;
    font-size: 12px;
}

.modal-error[b-qga0xwtw98] {
    padding: 11px 13px;
    background: #fff6f6;
    border: 1px solid #fecdca;
    border-radius: 10px;
    color: #b42318;
    font-size: 12px;
}


/* =========================================================
   MODAL ACTIONS
   ========================================================= */

.member-modal-actions[b-qga0xwtw98] {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-cancel-button[b-qga0xwtw98],
.modal-save-button[b-qga0xwtw98] {
    min-height: 46px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.modal-cancel-button[b-qga0xwtw98] {
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
}

.modal-save-button[b-qga0xwtw98] {
    border: none;
    background: #101828;
    color: #ffffff;
}

    .modal-save-button:disabled[b-qga0xwtw98] {
        background: #d0d5dd;
        color: #667085;
        cursor: not-allowed;
    }


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .change-member-button[b-qga0xwtw98] {
        padding: 7px 9px;
        font-size: 9px;
    }

    .member-modal-backdrop[b-qga0xwtw98] {
        padding: 0;
        align-items: flex-end;
    }

    .member-modal[b-qga0xwtw98] {
        max-width: none;
        max-height: 88vh;
        padding: 20px 16px calc(18px + env(safe-area-inset-bottom));
        border-radius: 22px 22px 0 0;
    }

    .member-modal-header h2[b-qga0xwtw98] {
        font-size: 20px;
    }

    .member-option[b-qga0xwtw98] {
        min-height: 57px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .summary-bottom[b-qga0xwtw98] {
        gap: 9px;
    }

    .report-button[b-qga0xwtw98] {
        padding: 7px;
    }

    .store-area h3[b-qga0xwtw98] {
        max-width: 125px;
    }

    .grocery-amount[b-qga0xwtw98] {
        font-size: 17px;
    }
}

/* COMPACT GROCERY HISTORY: overrides the previous tall desktop/mobile cards */
.grocery-list[b-qga0xwtw98]{gap:10px}
.grocery-card[b-qga0xwtw98]{display:grid;grid-template-columns:105px minmax(0,1fr);border-radius:13px;min-height:130px}
.grocery-card .receipt-area[b-qga0xwtw98]{width:105px;height:100%;min-height:130px;max-height:none}
.grocery-card .receipt-image[b-qga0xwtw98]{width:100%;height:100%;min-height:130px;object-fit:contain;background:#f2f4f7}
.grocery-card .grocery-info[b-qga0xwtw98]{padding:11px 13px}
.grocery-card .receipt-badge[b-qga0xwtw98]{left:5px;bottom:5px;padding:4px 6px;font-size:9px}
@media(max-width:600px){.grocery-card[b-qga0xwtw98]{display:grid;grid-template-columns:84px minmax(0,1fr);border-radius:12px;min-height:125px}.grocery-card .receipt-area[b-qga0xwtw98]{width:84px;height:100%;min-height:125px}.grocery-card .receipt-image[b-qga0xwtw98]{height:100%;min-height:125px;object-fit:contain}.grocery-card .grocery-info[b-qga0xwtw98]{padding:10px}.grocery-card .store-area h3[b-qga0xwtw98]{max-width:unset;font-size:13px}.grocery-card .store-icon[b-qga0xwtw98]{width:28px;height:28px;flex-basis:28px}}

/* FINAL COMPACT GROCERY HISTORY OVERRIDES */
.grocery-list[b-qga0xwtw98] { gap: 9px !important; }
.grocery-card.compact-card[b-qga0xwtw98] { display:grid !important; grid-template-columns:88px minmax(0,1fr) !important; min-height:112px !important; border-radius:13px !important; }
.compact-card .receipt-area.compact-receipt[b-qga0xwtw98] { width:88px !important; height:100% !important; min-height:112px !important; position:relative; background:#f1f5f9; }
.compact-card .receipt-image[b-qga0xwtw98] { width:100% !important; height:100% !important; min-height:0 !important; object-fit:contain !important; }
.receipt-thumbnail-button[b-qga0xwtw98] { padding:0; margin:0; border:0; display:block; width:100%; height:100%; cursor:zoom-in; background:transparent; }
.compact-card .grocery-info.compact-info[b-qga0xwtw98] { padding:9px 11px !important; min-width:0; display:flex; flex-direction:column; justify-content:space-between; gap:6px; }
.compact-card .grocery-top.compact-top[b-qga0xwtw98] { gap:6px; align-items:start; }
.compact-card .store-area h3[b-qga0xwtw98] { font-size:13px !important; line-height:1.2; margin:0 0 3px; }
.compact-card .grocery-amount[b-qga0xwtw98] { font-size:15px !important; white-space:nowrap; }
.compact-member-line[b-qga0xwtw98] { display:flex; gap:6px; align-items:center; justify-content:space-between; min-width:0; color:#667085; font-size:10px; }
.compact-member-line strong[b-qga0xwtw98] { color:#25334a; }
.compact-member-line .change-member-button[b-qga0xwtw98] { font-size:10px; padding:4px 6px; margin:0; white-space:nowrap; }
.compact-actions[b-qga0xwtw98] { display:flex; align-items:center; justify-content:space-between; gap:5px; }
.compact-receipt-status[b-qga0xwtw98] { font-size:10px; color:#667085; white-space:nowrap; }
.compact-action-buttons[b-qga0xwtw98] { display:flex; gap:5px; }
.compact-edit-button[b-qga0xwtw98],.compact-delete-button[b-qga0xwtw98] { border-radius:7px; padding:5px 9px; font-size:11px; font-weight:700; cursor:pointer; background:#fff; border:1px solid #bfcce0; color:#183153; }
.compact-delete-button[b-qga0xwtw98] { color:#b42318; border-color:#f2b8b5; }
.compact-modal-backdrop[b-qga0xwtw98] { position:fixed; z-index:2000; inset:0; background:rgba(7,18,36,.75); display:flex; align-items:center; justify-content:center; padding:16px; }
.compact-receipt-dialog[b-qga0xwtw98] { position:relative; max-width:min(95vw,780px); max-height:95vh; display:flex; flex-direction:column; gap:10px; align-items:end; }
.compact-receipt-dialog img[b-qga0xwtw98] { max-width:100%; max-height:85vh; object-fit:contain; background:white; border-radius:8px; }
.compact-modal-close[b-qga0xwtw98] { border:0; background:white; border-radius:8px; padding:8px 12px; cursor:pointer; }
.compact-confirm-dialog[b-qga0xwtw98] { background:white; color:#14213b; padding:22px; border-radius:14px; max-width:420px; width:100%; }
.compact-confirm-dialog h3[b-qga0xwtw98] { margin:0 0 8px; }
.compact-confirm-actions[b-qga0xwtw98] { display:flex; justify-content:flex-end; gap:10px; margin-top:16px; }
.compact-confirm-actions button[b-qga0xwtw98] { padding:9px 13px; border-radius:8px; cursor:pointer; }
.compact-error[b-qga0xwtw98] { color:#b42318; }
@media(max-width:600px) {
 .grocery-card.compact-card[b-qga0xwtw98] { grid-template-columns:76px minmax(0,1fr) !important; min-height:110px !important; }
 .compact-card .receipt-area.compact-receipt[b-qga0xwtw98] { width:76px !important; min-height:110px !important; }
 .compact-card .grocery-info.compact-info[b-qga0xwtw98] { padding:8px !important; gap:5px; }
 .compact-card .grocery-amount[b-qga0xwtw98] { font-size:14px !important; }
 .compact-member-line[b-qga0xwtw98] { font-size:10px; }
 .compact-member-line .change-member-button[b-qga0xwtw98] { font-size:9px; padding:4px; }
 .compact-edit-button[b-qga0xwtw98],.compact-delete-button[b-qga0xwtw98] { padding:5px 7px; font-size:10px; }
}

/* Grocery History: five items per page, responsive pagination */
.grocery-pagination[b-qga0xwtw98] { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:18px 2px 6px; }
.pagination-summary[b-qga0xwtw98] { font-size:13px; color:#66758a; }
.pagination-actions[b-qga0xwtw98] { display:flex; align-items:center; gap:8px; }
.pagination-button[b-qga0xwtw98] { border:1px solid #d3dbe7; border-radius:9px; padding:10px 13px; background:#fff; color:#14213a; cursor:pointer; font-weight:600; font-size:13px; }
.pagination-button:hover:not(:disabled)[b-qga0xwtw98] { background:#edf2f9; }
.pagination-button:disabled[b-qga0xwtw98] { opacity:.45; cursor:not-allowed; }
.pagination-current[b-qga0xwtw98] { padding:9px 10px; border-radius:9px; background:#e9edf5; font-size:13px; font-weight:700; white-space:nowrap; }
@media (max-width:600px) { .grocery-pagination[b-qga0xwtw98] { justify-content:center; text-align:center; } .pagination-summary[b-qga0xwtw98] { width:100%; } .pagination-actions[b-qga0xwtw98] { width:100%; justify-content:center; } .pagination-button[b-qga0xwtw98] { padding:10px 11px; } }
/* /Components/Pages/GroceryEdit.razor.rz.scp.css */

.edit-grocery-page[b-9nnyo18vle] { min-height:100vh; padding:22px 12px; background:#f3f6fb; }
.edit-grocery-card[b-9nnyo18vle] { background:#fff; max-width:650px; margin:0 auto; padding:24px; border-radius:16px; box-shadow:0 4px 22px #14213b0d; }
.edit-grocery-heading[b-9nnyo18vle] { display:flex; gap:15px; align-items:center; margin-bottom:22px; }
.edit-grocery-heading h1[b-9nnyo18vle] { font-size:24px; margin:0; color:#15233b; }
.edit-grocery-heading p[b-9nnyo18vle] { margin:4px 0 0; color:#64748b; }
.edit-grocery-card label[b-9nnyo18vle] { display:block; margin:14px 0 6px; font-size:13px; font-weight:700; color:#26364f; }
.edit-input[b-9nnyo18vle] { width:100%; padding:12px; border:1px solid #cbd5e1; border-radius:9px; font-size:15px; box-sizing:border-box; }
.edit-grocery-card textarea.edit-input[b-9nnyo18vle] { min-height:100px; resize:vertical; }
.edit-actions[b-9nnyo18vle] { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
.edit-actions button[b-9nnyo18vle],.edit-grocery-heading button[b-9nnyo18vle] { border:1px solid #cbd5e1; background:#fff; border-radius:9px; padding:10px 16px; cursor:pointer; }
.edit-actions button[type=submit][b-9nnyo18vle] { background:#15233b; color:white; }
.edit-error[b-9nnyo18vle] { color:#b42318; padding:12px 0; }
@media(max-width:600px){.edit-grocery-card[b-9nnyo18vle]{padding:17px}.edit-grocery-heading h1[b-9nnyo18vle]{font-size:20px}}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ==========================================================
   HOUSE MANAGER
   FINAL PROFESSIONAL LOGIN
   ORIGINAL NAVY + BLUE + GREEN THEME
   ========================================================== */


/* ==========================================================
   GLOBAL
   ========================================================== */

.login-page[b-nmgmkyibri],
.login-page *[b-nmgmkyibri] {
    box-sizing: border-box;
}


.login-page[b-nmgmkyibri] {
    --primary: #087be8;
    --primary-dark: #0564c9;
    --navy: #062746;
    --navy-light: #07558a;
    --green: #49bf22;
    --text: #102a47;
    --muted: #74849a;
    --border: #dce5ef;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(420px, 46%) minmax(0, 54%);
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
}


/* ==========================================================
   LEFT BRAND PANEL
   ========================================================== */

.brand-panel[b-nmgmkyibri] {
    position: relative;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: white;
    background: radial-gradient( circle at 12% 12%, rgba(18, 139, 222, 0.38), transparent 32% ), radial-gradient( circle at 88% 88%, rgba(73, 191, 34, 0.15), transparent 30% ), linear-gradient( 145deg, #041d36 0%, #063b68 55%, #05233f 100% );
}


.brand-pattern[b-nmgmkyibri] {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( rgba(255,255,255,0.018) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,0.018) 1px, transparent 1px );
    background-size: 45px 45px;
    pointer-events: none;
}


.brand-panel[b-nmgmkyibri]::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: -300px;
    bottom: -280px;
    border: 80px solid rgba(255,255,255,0.025);
    border-radius: 50%;
}


.brand-panel[b-nmgmkyibri]::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    right: -250px;
    top: -230px;
    border: 65px solid rgba(255,255,255,0.025);
    border-radius: 50%;
}


/* ==========================================================
   BRAND CONTENT
   ========================================================== */

.brand-content[b-nmgmkyibri] {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
    padding: 55px 65px;
}


/* ==========================================================
   LOGO
   ========================================================== */

.desktop-logo-box[b-nmgmkyibri] {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


.desktop-logo[b-nmgmkyibri] {
    display: block;
    width: 325px;
    max-width: 100%;
    height: auto;
}


/* ==========================================================
   BRAND MESSAGE
   ========================================================== */

.brand-message[b-nmgmkyibri] {
    margin-top: 52px;
}


.small-title[b-nmgmkyibri] {
    display: inline-block;
    margin-bottom: 14px;
    color: #72d955;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.3px;
}


.brand-message h1[b-nmgmkyibri] {
    max-width: 500px;
    margin: 0;
    color: white;
    font-size: clamp(36px, 3.2vw, 50px);
    line-height: 1.12;
    font-weight: 750;
    letter-spacing: -1px;
}


    .brand-message h1 span[b-nmgmkyibri] {
        display: block;
        color: #5bd535;
    }


.brand-message p[b-nmgmkyibri] {
    max-width: 500px;
    margin: 20px 0 0;
    color: #c4d4e3;
    font-size: 15px;
    line-height: 1.7;
}


/* ==========================================================
   FEATURES
   ========================================================== */

.feature-list[b-nmgmkyibri] {
    display: grid;
    gap: 22px;
    margin-top: 45px;
}


.feature-item[b-nmgmkyibri] {
    display: flex;
    align-items: center;
    gap: 16px;
}


.feature-icon[b-nmgmkyibri] {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    background: rgba(13,104,166,0.40);
}


    .feature-icon svg[b-nmgmkyibri] {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: white;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


.feature-info[b-nmgmkyibri] {
    min-width: 0;
}


    .feature-info strong[b-nmgmkyibri] {
        display: block;
        margin-bottom: 3px;
        color: white;
        font-size: 15px;
        font-weight: 650;
    }


    .feature-info span[b-nmgmkyibri] {
        display: block;
        color: #aec0d1;
        font-size: 12px;
        line-height: 1.4;
    }


/* ==========================================================
   BRAND BOTTOM
   ========================================================== */

.brand-bottom[b-nmgmkyibri] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 46px;
    color: #91a7bb;
    font-size: 11px;
}


.green-dot[b-nmgmkyibri] {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(73,191,34,0.10);
}


/* ==========================================================
   RIGHT PANEL
   ========================================================== */

.login-panel[b-nmgmkyibri] {
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 60px;
    background: linear-gradient( 145deg, #ffffff 0%, #fbfdff 55%, #f5f9fd 100% );
}


.login-container[b-nmgmkyibri] {
    width: 100%;
    max-width: 490px;
    min-width: 0;
    margin: 0 auto;
}


/* ==========================================================
   MOBILE BRAND
   ========================================================== */

.mobile-brand[b-nmgmkyibri] {
    display: none;
}


/* ==========================================================
   LOGIN HEADER
   ========================================================== */

.login-header[b-nmgmkyibri] {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 34px;
}


.login-icon[b-nmgmkyibri] {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background: linear-gradient( 135deg, #e7f3ff, #f1f8ff );
    color: var(--primary);
    box-shadow: inset 0 0 0 1px #d6eafd;
}


    .login-icon svg[b-nmgmkyibri] {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


.login-heading[b-nmgmkyibri] {
    min-width: 0;
    padding-top: 1px;
}


.login-eyebrow[b-nmgmkyibri] {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 2px;
}


.login-heading h2[b-nmgmkyibri] {
    margin: 0;
    color: var(--text);
    font-size: 29px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.5px;
}


.login-heading p[b-nmgmkyibri] {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================================
   FORM
   ========================================================== */

.form-group[b-nmgmkyibri] {
    width: 100%;
    min-width: 0;
    margin-bottom: 20px;
}


    .form-group > label[b-nmgmkyibri] {
        display: block;
        margin-bottom: 8px;
        color: #344a63;
        font-size: 12px;
        font-weight: 650;
    }


.input-wrapper[b-nmgmkyibri] {
    position: relative;
    width: 100%;
    min-width: 0;
}


    .input-wrapper input.form-control[b-nmgmkyibri] {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 57px !important;
        margin: 0 !important;
        padding: 0 50px !important;
        border: 1px solid var(--border) !important;
        border-radius: 12px !important;
        outline: none !important;
        background: white !important;
        color: var(--text) !important;
        font-family: inherit !important;
        font-size: 15px !important;
        box-shadow: 0 1px 2px rgba(16,42,71,0.02) !important;
        appearance: none;
        -webkit-appearance: none;
        transition: border-color .2s, box-shadow .2s, background .2s;
    }


        .input-wrapper input.form-control[b-nmgmkyibri]::placeholder {
            color: #9ca9b9 !important;
            opacity: 1;
        }


        .input-wrapper input.form-control:hover:not(:disabled)[b-nmgmkyibri] {
            border-color: #c5d6e7 !important;
        }


        .input-wrapper input.form-control:focus[b-nmgmkyibri] {
            border-color: var(--primary) !important;
            box-shadow: 0 0 0 4px rgba(8,123,232,0.08) !important;
        }


        .input-wrapper input.form-control:disabled[b-nmgmkyibri] {
            background: #f5f8fb !important;
            cursor: not-allowed;
            opacity: .8;
        }


    .input-wrapper input.password-input[b-nmgmkyibri] {
        padding-right: 52px !important;
    }


/* ==========================================================
   INPUT ICON
   ========================================================== */

.input-icon[b-nmgmkyibri] {
    position: absolute;
    left: 17px;
    top: 50%;
    z-index: 2;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    fill: none;
    stroke: #718298;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}


/* ==========================================================
   PASSWORD EYE
   ========================================================== */

.eye-button[b-nmgmkyibri] {
    position: absolute;
    right: 8px;
    top: 50%;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #718298;
    cursor: pointer;
}


    .eye-button:hover[b-nmgmkyibri] {
        background: #f0f5fa;
        color: var(--primary);
    }


    .eye-button svg[b-nmgmkyibri] {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


/* ==========================================================
   LOGIN OPTIONS
   ========================================================== */

.login-options[b-nmgmkyibri] {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: -2px 0 22px;
}


.remember-me[b-nmgmkyibri] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #607187;
    font-size: 12px;
    cursor: pointer;
}


    .remember-me input[b-nmgmkyibri] {
        width: 17px;
        height: 17px;
        margin: 0;
        accent-color: var(--primary);
    }


.forgot-link[b-nmgmkyibri] {
    color: var(--primary);
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
}


    .forgot-link:hover[b-nmgmkyibri] {
        text-decoration: underline;
    }


/* ==========================================================
   ERROR
   ========================================================== */

.login-error[b-nmgmkyibri] {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid #f0cccc;
    border-radius: 11px;
    background: #fff6f6;
    color: #a33d3d;
}


.login-error-icon[b-nmgmkyibri] {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #d65454;
    color: white;
    font-size: 13px;
    font-weight: 800;
}


.login-error strong[b-nmgmkyibri] {
    display: block;
    font-size: 12px;
}


.login-error p[b-nmgmkyibri] {
    margin: 3px 0 0;
    font-size: 11px;
    line-height: 1.4;
}


/* ==========================================================
   SIGN IN
   ========================================================== */

.sign-in-button[b-nmgmkyibri] {
    width: 100%;
    height: 57px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient( 135deg, #118af5, #066bd8 );
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(6,107,216,0.22);
    transition: transform .2s, box-shadow .2s;
}


    .sign-in-button:hover:not(:disabled)[b-nmgmkyibri] {
        transform: translateY(-1px);
        box-shadow: 0 12px 27px rgba(6,107,216,0.28);
    }


    .sign-in-button:active:not(:disabled)[b-nmgmkyibri] {
        transform: translateY(0);
    }


    .sign-in-button:disabled[b-nmgmkyibri] {
        cursor: not-allowed;
        opacity: .65;
    }


    .sign-in-button svg[b-nmgmkyibri] {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


/* ==========================================================
   LOADING SPINNER
   ========================================================== */

.button-spinner[b-nmgmkyibri] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: white;
    border-radius: 50%;
    animation: loginSpin-b-nmgmkyibri .7s linear infinite;
}


@keyframes loginSpin-b-nmgmkyibri {

    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================
   ACCOUNT DIVIDER
   ========================================================== */

.account-divider[b-nmgmkyibri] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 27px 0 20px;
}


    .account-divider span[b-nmgmkyibri] {
        flex: 1;
        height: 1px;
        background: #e1e8ef;
    }


    .account-divider small[b-nmgmkyibri] {
        color: #98a5b5;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .8px;
        white-space: nowrap;
    }


/* ==========================================================
   REGISTER
   ========================================================== */

.register-box[b-nmgmkyibri] {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid #d8e8f8;
    border-radius: 13px;
    background: linear-gradient( 135deg, #f3f9ff, #edf6ff );
    color: var(--text);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}


    .register-box:hover[b-nmgmkyibri] {
        border-color: #b8d9f7;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(30,85,130,0.07);
    }


.register-icon[b-nmgmkyibri] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 11px;
    background: #dfefff;
    color: var(--primary);
}


    .register-icon svg[b-nmgmkyibri] {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


.register-details[b-nmgmkyibri] {
    flex: 1;
    min-width: 0;
}


    .register-details strong[b-nmgmkyibri] {
        display: block;
        overflow: hidden;
        color: #193652;
        font-size: 13px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .register-details span[b-nmgmkyibri] {
        display: block;
        margin-top: 3px;
        overflow: hidden;
        color: #78889a;
        font-size: 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


.register-arrow[b-nmgmkyibri] {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   SECURITY NOTE
   ========================================================== */

.security-note[b-nmgmkyibri] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 21px;
    color: #8291a3;
    font-size: 10px;
}


    .security-note svg[b-nmgmkyibri] {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: #62ad49;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


/* ==========================================================
   FOOTER
   ========================================================== */

.login-footer[b-nmgmkyibri] {
    margin-top: 26px;
    color: #98a5b4;
    font-size: 9px;
    text-align: center;
}


    .login-footer > span[b-nmgmkyibri] {
        display: block;
        margin-bottom: 9px;
        font-weight: 650;
        letter-spacing: 2px;
    }


    .login-footer div[b-nmgmkyibri] {
        display: flex;
        justify-content: center;
        gap: 7px;
    }


    .login-footer a[b-nmgmkyibri] {
        color: #73849a;
        text-decoration: none;
    }


        .login-footer a:hover[b-nmgmkyibri] {
            color: var(--primary);
            text-decoration: underline;
        }


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

    .login-page[b-nmgmkyibri] {
        grid-template-columns: minmax(330px, 40%) minmax(0, 60%);
    }


    .brand-content[b-nmgmkyibri] {
        padding: 45px 38px;
    }


    .desktop-logo[b-nmgmkyibri] {
        width: 270px;
    }


    .brand-message[b-nmgmkyibri] {
        margin-top: 40px;
    }


        .brand-message h1[b-nmgmkyibri] {
            font-size: 34px;
        }


        .brand-message p[b-nmgmkyibri] {
            font-size: 13px;
        }


    .feature-list[b-nmgmkyibri] {
        gap: 18px;
        margin-top: 35px;
    }


    .feature-icon[b-nmgmkyibri] {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }


    .feature-info strong[b-nmgmkyibri] {
        font-size: 13px;
    }


    .feature-info span[b-nmgmkyibri] {
        font-size: 11px;
    }


    .login-panel[b-nmgmkyibri] {
        padding: 40px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .login-page[b-nmgmkyibri] {
        display: block;
        width: 100%;
        min-height: 100dvh;
        overflow-x: hidden;
        background: white;
    }


    .brand-panel[b-nmgmkyibri] {
        display: none;
    }


    .login-panel[b-nmgmkyibri] {
        display: block;
        width: 100%;
        min-height: 100dvh;
        padding: 0;
        background: white;
    }


    .login-container[b-nmgmkyibri] {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 20px 28px;
    }


    /* MOBILE HEADER */

    .mobile-brand[b-nmgmkyibri] {
        position: relative;
        width: auto;
        min-height: 185px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 -20px 30px;
        padding: 27px 20px 34px;
        overflow: hidden;
        border-radius: 0 0 32px 32px;
        background: radial-gradient( circle at 85% 10%, rgba(73,191,34,0.20), transparent 32% ), linear-gradient( 145deg, #062846, #075b91 );
    }


        .mobile-brand[b-nmgmkyibri]::before {
            content: "";
            position: absolute;
            width: 210px;
            height: 210px;
            right: -120px;
            bottom: -140px;
            border: 30px solid rgba(255,255,255,0.035);
            border-radius: 50%;
        }


    .mobile-logo[b-nmgmkyibri] {
        position: relative;
        z-index: 2;
        display: block;
        width: 300px;
        max-width: 90%;
        height: auto;
        padding: 7px 10px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 9px 24px rgba(0,0,0,0.15);
    }


    .mobile-brand > span[b-nmgmkyibri] {
        position: relative;
        z-index: 2;
        margin-top: 13px;
        color: rgba(255,255,255,0.80);
        font-size: 11px;
        letter-spacing: .3px;
    }


    /* LOGIN HEADER */

    .login-header[b-nmgmkyibri] {
        display: block;
        margin-bottom: 27px;
        text-align: center;
    }


    .login-icon[b-nmgmkyibri] {
        width: 48px;
        height: 48px;
        margin: 0 auto 13px;
    }


        .login-icon svg[b-nmgmkyibri] {
            width: 23px;
            height: 23px;
        }


    .login-eyebrow[b-nmgmkyibri] {
        margin-bottom: 6px;
    }


    .login-heading h2[b-nmgmkyibri] {
        font-size: 25px;
    }


    .login-heading p[b-nmgmkyibri] {
        max-width: 330px;
        margin: 7px auto 0;
        font-size: 12px;
    }


    /* FORM */

    .form-group[b-nmgmkyibri] {
        margin-bottom: 17px;
    }


    .input-wrapper input.form-control[b-nmgmkyibri] {
        height: 55px !important;
        font-size: 16px !important;
    }


    .sign-in-button[b-nmgmkyibri] {
        height: 55px;
    }


    .register-box[b-nmgmkyibri] {
        padding: 13px;
    }


    .register-details strong[b-nmgmkyibri] {
        font-size: 12px;
    }


    .register-details span[b-nmgmkyibri] {
        font-size: 9px;
    }


    .security-note[b-nmgmkyibri] {
        margin-top: 20px;
    }


    .login-footer[b-nmgmkyibri] {
        margin-top: 24px;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 380px) {

    .login-container[b-nmgmkyibri] {
        padding: 0 15px 25px;
    }


    .mobile-brand[b-nmgmkyibri] {
        min-height: 170px;
        margin: 0 -15px 25px;
        padding: 25px 15px 30px;
    }


    .mobile-logo[b-nmgmkyibri] {
        width: 270px;
    }


    .mobile-brand > span[b-nmgmkyibri] {
        font-size: 10px;
    }


    .login-heading h2[b-nmgmkyibri] {
        font-size: 23px;
    }


    .login-options[b-nmgmkyibri] {
        gap: 8px;
    }


    .remember-me[b-nmgmkyibri],
    .forgot-link[b-nmgmkyibri] {
        font-size: 10px;
    }


    .register-icon[b-nmgmkyibri] {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }


    .account-divider[b-nmgmkyibri] {
        gap: 9px;
    }


        .account-divider small[b-nmgmkyibri] {
            font-size: 8px;
        }
}


/* ==========================================================
   LARGE DESKTOP
   ========================================================== */

@media (min-width: 1500px) {

    .brand-content[b-nmgmkyibri] {
        max-width: 680px;
    }


    .login-container[b-nmgmkyibri] {
        max-width: 520px;
    }


    .desktop-logo[b-nmgmkyibri] {
        width: 350px;
    }


    .login-heading h2[b-nmgmkyibri] {
        font-size: 31px;
    }
}
/* /Components/Pages/HouseSettings.razor.rz.scp.css */
*[b-r5sr4p67si] {
    box-sizing: border-box;
}

.house-page[b-r5sr4p67si] {
    width: 100%;
    min-height: 100vh;
    padding: 34px;
    background: linear-gradient(145deg, #f4fbff 0%, #f7fff9 48%, #ffffff 100%);
    color: #17222b;
}


/* =========================================================
   HEADER
   ========================================================= */

.house-header[b-r5sr4p67si] {
    max-width: 1180px;
    margin: 0 auto 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.header-left[b-r5sr4p67si] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.back-button[b-r5sr4p67si] {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #57717e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

    .back-button:hover[b-r5sr4p67si] {
        color: #1599d1;
        transform: translateX(-2px);
    }

.page-eyebrow[b-r5sr4p67si],
.section-eyebrow[b-r5sr4p67si],
.modal-eyebrow[b-r5sr4p67si] {
    display: block;
    margin-bottom: 6px;
    color: #1599d1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.header-title h1[b-r5sr4p67si] {
    margin: 0;
    color: #16242c;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
}

.header-title p[b-r5sr4p67si] {
    margin: 8px 0 0;
    color: #73828a;
    font-size: 15px;
}

.primary-add-button[b-r5sr4p67si] {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #21a7dd, #47c98a);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(25, 163, 198, .20);
    transition: .2s ease;
}

    .primary-add-button:hover[b-r5sr4p67si] {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(25, 163, 198, .25);
    }

.add-icon[b-r5sr4p67si] {
    font-size: 22px;
    line-height: 1;
}


/* =========================================================
   PAGE MESSAGE
   ========================================================= */

.page-message[b-r5sr4p67si] {
    max-width: 1180px;
    margin: 0 auto 22px;
    padding: 14px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 600;
}

    .page-message.success[b-r5sr4p67si] {
        background: #effcf5;
        border: 1px solid #bdebd1;
        color: #24714b;
    }

    .page-message.error[b-r5sr4p67si] {
        background: #fff4f4;
        border: 1px solid #f3cccc;
        color: #a43c3c;
    }

.message-symbol[b-r5sr4p67si] {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .8);
    font-weight: 900;
}


/* =========================================================
   LOADING
   ========================================================= */

.loading-state[b-r5sr4p67si] {
    max-width: 1180px;
    min-height: 180px;
    margin: auto;
    border: 1px solid #e5edf0;
    border-radius: 20px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6d7c84;
}

.loading-spinner[b-r5sr4p67si],
.address-spinner[b-r5sr4p67si],
.small-spinner[b-r5sr4p67si],
.button-spinner[b-r5sr4p67si] {
    border-radius: 50%;
    border-style: solid;
    animation: houseSpin-b-r5sr4p67si .7s linear infinite;
}

.loading-spinner[b-r5sr4p67si] {
    width: 23px;
    height: 23px;
    border-width: 3px;
    border-color: #dce8ed;
    border-top-color: #1ca3dc;
}

@keyframes houseSpin-b-r5sr4p67si {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   CURRENT HOUSE
   ========================================================= */

.current-house[b-r5sr4p67si] {
    max-width: 1180px;
    margin: 0 auto 24px;
    padding: 26px;
    border: 1px solid rgba(44, 181, 150, .22);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(226, 248, 255, .85), rgba(236, 255, 244, .9));
    box-shadow: 0 10px 34px rgba(25, 69, 86, .06);
}

.current-house-main[b-r5sr4p67si] {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.current-house-icon[b-r5sr4p67si] {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 17px;
    background: white;
    display: grid;
    place-items: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(32, 103, 126, .10);
}

.current-house-details[b-r5sr4p67si] {
    min-width: 0;
    flex: 1;
}

.current-title-row[b-r5sr4p67si] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.current-label[b-r5sr4p67si] {
    color: #1b9bc8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.active-badge[b-r5sr4p67si] {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    color: #31885f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
}

.active-dot[b-r5sr4p67si] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #46c98a;
}

.current-house h2[b-r5sr4p67si] {
    margin: 8px 0 8px;
    color: #182930;
    font-size: 25px;
    font-weight: 800;
}

.current-address[b-r5sr4p67si] {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #687980;
    font-size: 14px;
    line-height: 1.5;
}

.location-icon[b-r5sr4p67si] {
    color: #1aa2d9;
}

.current-meta[b-r5sr4p67si] {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.role-chip[b-r5sr4p67si] {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

    .role-chip.admin[b-r5sr4p67si] {
        background: #e7f6ff;
        color: #167aa4;
    }

    .role-chip.member[b-r5sr4p67si] {
        background: #edf9f2;
        color: #367b58;
    }

.member-number[b-r5sr4p67si] {
    color: #859299;
    font-size: 12px;
}


/* =========================================================
   HOUSES
   ========================================================= */

.houses-container[b-r5sr4p67si] {
    max-width: 1180px;
    margin: 0 auto;
}

.section-heading[b-r5sr4p67si] {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

    .section-heading h2[b-r5sr4p67si] {
        margin: 0;
        color: #1a2930;
        font-size: 22px;
    }

.house-count[b-r5sr4p67si] {
    color: #819098;
    font-size: 13px;
}

.house-grid[b-r5sr4p67si] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.house-card[b-r5sr4p67si] {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e4ecef;
    border-radius: 19px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 7px 25px rgba(34, 67, 79, .045);
    transition: .2s ease;
}

    .house-card:hover[b-r5sr4p67si] {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(34, 67, 79, .08);
    }

    .house-card.current[b-r5sr4p67si] {
        border-color: #91d9c2;
    }

.card-top[b-r5sr4p67si] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-house-icon[b-r5sr4p67si] {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: #eefaff;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.current-pill[b-r5sr4p67si] {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eafaf2;
    color: #2f8a60;
    font-size: 11px;
    font-weight: 800;
}

.card-content h3[b-r5sr4p67si] {
    margin: 16px 0 8px;
    color: #1c2b32;
    font-size: 18px;
}

.card-address[b-r5sr4p67si] {
    min-height: 44px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #74838a;
}

    .card-address p[b-r5sr4p67si] {
        margin: 0;
        font-size: 13px;
        line-height: 1.55;
    }

.card-role[b-r5sr4p67si] {
    margin-top: 14px;
}

.card-actions[b-r5sr4p67si] {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #edf1f3;
    display: flex;
    gap: 9px;
}

.switch-button[b-r5sr4p67si],
.edit-button[b-r5sr4p67si] {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 11px;
    font-weight: 750;
    cursor: pointer;
}

.switch-button[b-r5sr4p67si] {
    border: 0;
    background: #eaf8fd;
    color: #1686b2;
}

.edit-button[b-r5sr4p67si] {
    border: 1px solid #dde7ea;
    background: white;
    color: #586970;
}


/* =========================================================
   EMPTY
   ========================================================= */

.empty-state[b-r5sr4p67si] {
    padding: 55px 25px;
    border: 1px dashed #cbdce2;
    border-radius: 22px;
    background: rgba(255, 255, 255, .7);
    text-align: center;
}

.empty-house-icon[b-r5sr4p67si] {
    width: 68px;
    height: 68px;
    margin: 0 auto 15px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e4f7ff, #e9fff1);
    display: grid;
    place-items: center;
    font-size: 30px;
}

.empty-state h3[b-r5sr4p67si] {
    margin: 0 0 8px;
}

.empty-state p[b-r5sr4p67si] {
    max-width: 430px;
    margin: 0 auto 20px;
    color: #78878e;
    font-size: 14px;
    line-height: 1.6;
}

.empty-add-button[b-r5sr4p67si] {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #1ca3d8;
    color: white;
    font-weight: 800;
    cursor: pointer;
}


/* =========================================================
   MODAL
   ========================================================= */

.modal-backdrop[b-r5sr4p67si] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 24px;
    background: rgba(14, 29, 36, .48);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.house-modal[b-r5sr4p67si] {
    width: min(100%, 600px);
    max-height: calc(100vh - 48px);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 24px;
    background: white;
    box-shadow: 0 30px 80px rgba(7, 32, 43, .24);
    overflow: visible;
}

.modal-header[b-r5sr4p67si] {
    padding: 23px 24px 19px;
    border-bottom: 1px solid #edf1f3;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.modal-heading[b-r5sr4p67si] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.modal-icon[b-r5sr4p67si] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, #e5f7ff, #e7fbef);
    color: #1598c9;
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 800;
}

.modal-header h2[b-r5sr4p67si] {
    margin: 0;
    color: #18282f;
    font-size: 21px;
}

.modal-header p[b-r5sr4p67si] {
    margin: 5px 0 0;
    color: #839098;
    font-size: 12px;
}

.modal-close[b-r5sr4p67si] {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    border: 0;
    border-radius: 11px;
    background: #f3f6f7;
    color: #637279;
    font-size: 24px;
    cursor: pointer;
}

.modal-body[b-r5sr4p67si] {
    padding: 23px 24px;
    overflow: visible;
}


/* =========================================================
   FORM
   ========================================================= */

.modern-field[b-r5sr4p67si] {
    position: relative;
    margin-bottom: 21px;
}

    .modern-field > label[b-r5sr4p67si] {
        display: block;
        margin-bottom: 8px;
        color: #34464e;
        font-size: 13px;
        font-weight: 800;
    }

.modern-input[b-r5sr4p67si] {
    min-height: 51px;
    border: 1px solid #dce6e9;
    border-radius: 13px;
    background: #fbfdfe;
    display: flex;
    align-items: center;
    transition: .2s ease;
}

    .modern-input:focus-within[b-r5sr4p67si] {
        border-color: #58bce1;
        background: white;
        box-shadow: 0 0 0 4px rgba(46, 169, 215, .10);
    }

    .modern-input.selected-address[b-r5sr4p67si] {
        border-color: #72cfaa;
        background: #fbfffd;
    }

.field-icon[b-r5sr4p67si] {
    width: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    color: #6c8995;
}

.modern-input input[b-r5sr4p67si] {
    width: 100%;
    min-width: 0;
    height: 49px;
    padding: 0 12px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1f3038;
    font-family: inherit;
    font-size: 14px;
}

    .modern-input input[b-r5sr4p67si]::placeholder {
        color: #a0acb1;
    }

.field-help[b-r5sr4p67si] {
    display: block;
    margin-top: 7px;
    color: #8a979d;
    font-size: 11px;
    line-height: 1.45;
}

.address-spinner[b-r5sr4p67si] {
    width: 19px;
    height: 19px;
    margin-right: 14px;
    flex: 0 0 19px;
    border-width: 2px;
    border-color: #dce9ed;
    border-top-color: #1ba4da;
}

.address-check[b-r5sr4p67si] {
    margin-right: 14px;
    color: #3aad78;
    font-size: 18px;
    font-weight: 900;
}


/* =========================================================
   ADDRESS SUGGESTIONS
   ========================================================= */

.address-field[b-r5sr4p67si] {
    z-index: 30;
}

.address-suggestions[b-r5sr4p67si] {
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    z-index: 2000;
    max-height: 290px;
    overflow-y: auto;
    border: 1px solid #dce7eb;
    border-radius: 14px;
    background: white;
    box-shadow: 0 18px 45px rgba(17, 48, 61, .18);
}

.address-suggestion[b-r5sr4p67si] {
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #edf2f4;
    background: white;
    display: flex;
    align-items: center;
    gap: 11px;
    text-align: left;
    cursor: pointer;
}

    .address-suggestion:last-child[b-r5sr4p67si] {
        border-bottom: 0;
    }

    .address-suggestion:hover[b-r5sr4p67si] {
        background: #f4fbfe;
    }

.suggestion-icon[b-r5sr4p67si] {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    border-radius: 10px;
    background: #eaf8fd;
    color: #1597c7;
    display: grid;
    place-items: center;
}

.suggestion-content[b-r5sr4p67si] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .suggestion-content strong[b-r5sr4p67si] {
        overflow: hidden;
        color: #25363e;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .suggestion-content small[b-r5sr4p67si] {
        overflow: hidden;
        color: #819097;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.suggestion-arrow[b-r5sr4p67si] {
    color: #9ba9ae;
    font-size: 22px;
}

.suggestion-status[b-r5sr4p67si] {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #718087;
    font-size: 12px;
}

    .suggestion-status.error[b-r5sr4p67si] {
        color: #a14d4d;
    }

.small-spinner[b-r5sr4p67si] {
    width: 17px;
    height: 17px;
    border-width: 2px;
    border-color: #dce8ec;
    border-top-color: #1ba4da;
}

.selected-address-message[b-r5sr4p67si] {
    margin-top: 7px;
    color: #32835d;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   ERRORS
   ========================================================= */

.modal-error[b-r5sr4p67si] {
    padding: 12px 14px;
    border: 1px solid #f0cece;
    border-radius: 12px;
    background: #fff5f5;
    color: #a14545;
    display: flex;
    gap: 9px;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   MODAL FOOTER
   ========================================================= */

.modal-footer[b-r5sr4p67si] {
    padding: 18px 24px 22px;
    border-top: 1px solid #edf1f3;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cancel-button[b-r5sr4p67si],
.save-button[b-r5sr4p67si] {
    min-height: 45px;
    padding: 0 19px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.cancel-button[b-r5sr4p67si] {
    border: 1px solid #dce5e8;
    background: white;
    color: #617078;
}

.save-button[b-r5sr4p67si] {
    min-width: 145px;
    border: 0;
    background: linear-gradient(135deg, #1fa6dc, #45c98a);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 8px 20px rgba(27, 160, 190, .18);
}

    .save-button:disabled[b-r5sr4p67si],
    .cancel-button:disabled[b-r5sr4p67si] {
        opacity: .6;
        cursor: not-allowed;
    }

.button-spinner[b-r5sr4p67si] {
    width: 17px;
    height: 17px;
    border-width: 2px;
    border-color: rgba(255,255,255,.45);
    border-top-color: white;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .house-page[b-r5sr4p67si] {
        padding: 24px 18px;
    }

    .house-grid[b-r5sr4p67si] {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 600px) {

    .house-page[b-r5sr4p67si] {
        padding: 18px 14px 90px;
    }

    .house-header[b-r5sr4p67si] {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .header-title h1[b-r5sr4p67si] {
        font-size: 29px;
    }

    .header-title p[b-r5sr4p67si] {
        font-size: 13px;
        line-height: 1.5;
    }

    .primary-add-button[b-r5sr4p67si] {
        width: 100%;
        min-height: 50px;
    }

    .current-house[b-r5sr4p67si] {
        padding: 18px;
        border-radius: 18px;
    }

    .current-house-main[b-r5sr4p67si] {
        gap: 12px;
    }

    .current-house-icon[b-r5sr4p67si] {
        width: 47px;
        height: 47px;
        flex-basis: 47px;
        border-radius: 14px;
        font-size: 21px;
    }

    .current-title-row[b-r5sr4p67si] {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .current-house h2[b-r5sr4p67si] {
        font-size: 20px;
    }

    .house-card[b-r5sr4p67si] {
        padding: 17px;
    }

    .card-actions[b-r5sr4p67si] {
        flex-direction: column;
    }

    .switch-button[b-r5sr4p67si],
    .edit-button[b-r5sr4p67si] {
        width: 100%;
    }


    /* -----------------------------------------
       MOBILE MODAL = BOTTOM SHEET
       ----------------------------------------- */

    .modal-backdrop[b-r5sr4p67si] {
        padding: 0;
        align-items: flex-end;
    }

    .house-modal[b-r5sr4p67si] {
        width: 100%;
        max-height: 94vh;
        border: 0;
        border-radius: 24px 24px 0 0;
        overflow-y: auto;
    }

    .modal-header[b-r5sr4p67si] {
        padding: 19px 17px 16px;
        position: sticky;
        top: 0;
        z-index: 40;
        background: white;
    }

    .modal-heading[b-r5sr4p67si] {
        gap: 10px;
    }

    .modal-icon[b-r5sr4p67si] {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .modal-header h2[b-r5sr4p67si] {
        font-size: 19px;
    }

    .modal-header p[b-r5sr4p67si] {
        display: none;
    }

    .modal-body[b-r5sr4p67si] {
        padding: 20px 17px;
        overflow: visible;
    }

    .modern-input[b-r5sr4p67si] {
        min-height: 54px;
    }

        .modern-input input[b-r5sr4p67si] {
            height: 52px;
            /*
         * 16px prevents iPhone Safari from
         * zooming automatically when focused.
         */
            font-size: 16px;
        }

    .address-suggestions[b-r5sr4p67si] {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-top: 7px;
        max-height: 245px;
        box-shadow: 0 10px 28px rgba(17, 48, 61, .12);
    }

    .address-suggestion[b-r5sr4p67si] {
        min-height: 61px;
        padding: 12px;
    }

    .suggestion-content strong[b-r5sr4p67si] {
        font-size: 13px;
        white-space: normal;
    }

    .suggestion-content small[b-r5sr4p67si] {
        font-size: 11px;
        line-height: 1.4;
        white-space: normal;
    }

    .modal-footer[b-r5sr4p67si] {
        position: sticky;
        bottom: 0;
        z-index: 30;
        padding: 13px 17px max(17px, env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(8px);
    }

    .cancel-button[b-r5sr4p67si] {
        flex: 1;
    }

    .save-button[b-r5sr4p67si] {
        flex: 1.5;
        min-width: 0;
    }
}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .house-page[b-r5sr4p67si] {
        padding-left: 10px;
        padding-right: 10px;
    }

    .modal-footer[b-r5sr4p67si] {
        flex-direction: column-reverse;
    }

    .cancel-button[b-r5sr4p67si],
    .save-button[b-r5sr4p67si] {
        width: 100%;
    }
}
/* /Components/Pages/Members.razor.rz.scp.css */

/* =========================================
   HOUSE MANAGEMENT - MEMBERS
   Scoped CSS for Members.razor
   ========================================= */

*[b-v8yr48p3t4] {
    box-sizing: border-box;
}

.members-page[b-v8yr48p3t4] {
    --primary: #087fa8;
    --primary-dark: #07698e;
    --text: #19324e;
    --muted: #788ba1;
    --border: #e2eaf2;
    --background: #f5f8fc;
    --white: #ffffff;
    display: flex;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
}

/* =========================================
   SIDEBAR
   ========================================= */

.members-sidebar[b-v8yr48p3t4] {
    width: 255px;
    flex: 0 0 255px;
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid var(--border);
    padding: 26px 17px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.members-logo[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 35px;
    text-decoration: none;
    color: var(--text);
}

.members-logo-icon[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #e3f3fa;
    color: var(--primary);
    font-size: 30px;
}

.members-logo > span:last-child[b-v8yr48p3t4] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.members-logo strong[b-v8yr48p3t4] {
    font-size: 17px;
    letter-spacing: 1px;
}

.members-logo small[b-v8yr48p3t4] {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.members-sidebar-label[b-v8yr48p3t4] {
    padding: 0 14px 12px;
    color: #9aa9b9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.members-navigation[b-v8yr48p3t4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .members-navigation a[b-v8yr48p3t4] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 15px;
        color: #58708a;
        text-decoration: none;
        border-radius: 11px;
        font-size: 14px;
        font-weight: 500;
        transition: background 0.15s ease;
    }

        .members-navigation a > span[b-v8yr48p3t4] {
            width: 22px;
            text-align: center;
            font-size: 18px;
        }

        .members-navigation a:hover[b-v8yr48p3t4] {
            background: #f1f7fb;
        }

        .members-navigation a.active[b-v8yr48p3t4] {
            background: #e5f4fb;
            color: var(--primary);
            font-weight: 700;
        }

.members-sidebar-footer[b-v8yr48p3t4] {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

    .members-sidebar-footer a[b-v8yr48p3t4],
    .members-sidebar-footer button[b-v8yr48p3t4] {
        display: block;
        width: 100%;
        padding: 13px 15px;
        color: #58708a;
        text-decoration: none;
        background: transparent;
        border: none;
        border-radius: 10px;
        text-align: left;
        font-size: 14px;
        cursor: pointer;
    }

        .members-sidebar-footer a:hover[b-v8yr48p3t4],
        .members-sidebar-footer button:hover[b-v8yr48p3t4] {
            background: #f1f7fb;
        }

/* =========================================
   MAIN CONTENT
   ========================================= */

.members-content[b-v8yr48p3t4] {
    flex: 1;
    min-width: 0;
    max-width: 1550px;
    padding: 34px;
    margin: 0 auto;
}

.members-header[b-v8yr48p3t4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.members-overline[b-v8yr48p3t4],
.members-kicker[b-v8yr48p3t4] {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.members-header h1[b-v8yr48p3t4] {
    margin: 8px 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 750;
}

.members-header p[b-v8yr48p3t4] {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.members-header-house[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    background: #e8f4fa;
    color: #24607b;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

    .members-header-house span[b-v8yr48p3t4] {
        font-size: 20px;
    }

/* =========================================
   STATISTICS
   ========================================= */

.members-stats[b-v8yr48p3t4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.members-stat[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 18px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(28, 55, 82, 0.035);
}

.members-stat-icon[b-v8yr48p3t4] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 13px;
    font-size: 21px;
}

    .members-stat-icon.blue[b-v8yr48p3t4] {
        background: #e4f3ff;
    }

    .members-stat-icon.purple[b-v8yr48p3t4] {
        background: #f0eaff;
    }

    .members-stat-icon.green[b-v8yr48p3t4] {
        background: #e2f8ed;
    }

    .members-stat-icon.orange[b-v8yr48p3t4] {
        background: #fff1df;
    }

.members-stat > div[b-v8yr48p3t4] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.members-stat small[b-v8yr48p3t4] {
    color: var(--muted);
    font-size: 12px;
}

.members-stat strong[b-v8yr48p3t4] {
    font-size: 27px;
    line-height: 1.2;
}

.members-stat div > span[b-v8yr48p3t4] {
    color: #92a0af;
    font-size: 11px;
}

/* =========================================
   CARDS
   ========================================= */

.members-card[b-v8yr48p3t4] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 19px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 5px 22px rgba(25, 55, 85, 0.035);
}

.members-section-heading[b-v8yr48p3t4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

    .members-section-heading h2[b-v8yr48p3t4] {
        margin: 8px 0;
        font-size: 22px;
        line-height: 1.3;
    }

    .members-section-heading p[b-v8yr48p3t4] {
        margin: 5px 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
    }

.members-heading-icon[b-v8yr48p3t4] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 13px;
    background: #e8f4fc;
    font-size: 22px;
}

/* =========================================
   FORMS
   ========================================= */

.members-field[b-v8yr48p3t4] {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 18px;
    min-width: 0;
}

    .members-field label[b-v8yr48p3t4] {
        font-size: 14px;
        font-weight: 700;
        color: #29415d;
    }

    .members-field input[b-v8yr48p3t4],
    .members-field select[b-v8yr48p3t4] {
        display: block;
        width: 100%;
        min-height: 51px;
        padding: 12px 15px;
        background: #fff;
        color: var(--text);
        border: 1px solid #d7e2ed;
        border-radius: 11px;
        outline: none;
        font-size: 14px;
        font-family: inherit;
        transition: border-color 0.15s ease;
    }

        .members-field input:focus[b-v8yr48p3t4],
        .members-field select:focus[b-v8yr48p3t4],
        .members-toolbar input:focus[b-v8yr48p3t4] {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(8, 127, 168, 0.1);
        }

        .members-field select:disabled[b-v8yr48p3t4] {
            background: #f1f5f9;
            color: #697c91;
            cursor: not-allowed;
        }

    .members-field small[b-v8yr48p3t4] {
        color: #8998a9;
        font-size: 12px;
        line-height: 1.5;
    }

.members-form-grid[b-v8yr48p3t4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 20px;
}

.members-full-width[b-v8yr48p3t4] {
    grid-column: 1 / -1;
}

/* =========================================
   USER SEARCH
   ========================================= */

.members-loading[b-v8yr48p3t4] {
    padding: 15px;
    color: var(--muted);
    font-size: 13px;
}

.members-search-list[b-v8yr48p3t4] {
    border: 1px solid var(--border);
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 20px;
}

.members-search-item[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: #fff;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

    .members-search-item:last-child[b-v8yr48p3t4] {
        border-bottom: none;
    }

    .members-search-item:hover:not(:disabled)[b-v8yr48p3t4] {
        background: #f3f9fc;
    }

    .members-search-item:disabled[b-v8yr48p3t4] {
        opacity: 0.6;
        cursor: not-allowed;
    }

.members-search-details[b-v8yr48p3t4] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
    min-width: 0;
}

    .members-search-details strong[b-v8yr48p3t4] {
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .members-search-details small[b-v8yr48p3t4] {
        font-size: 12px;
        color: var(--muted);
    }

.members-search-action[b-v8yr48p3t4] {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================================
   AVATAR
   ========================================= */

.members-avatar[b-v8yr48p3t4] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: #dfeeff;
    color: #176b9e;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
}

    .members-avatar.large[b-v8yr48p3t4] {
        width: 55px;
        height: 55px;
        font-size: 17px;
    }

/* =========================================
   INVITATION PANEL
   ========================================= */

.members-invite-panel[b-v8yr48p3t4] {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #cfe4f4;
    border-radius: 16px;
    background: #f7fbff;
}

.members-selected-user[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e1ebf4;
}

    .members-selected-user > div[b-v8yr48p3t4] {
        display: flex;
        flex-direction: column;
        gap: 5px;
        flex: 1;
        min-width: 0;
    }

        .members-selected-user > div small[b-v8yr48p3t4] {
            color: var(--primary);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .members-selected-user > div strong[b-v8yr48p3t4] {
            font-size: 16px;
        }

        .members-selected-user > div span[b-v8yr48p3t4] {
            color: var(--muted);
            font-size: 12px;
        }

.members-invite-summary[b-v8yr48p3t4] {
    padding: 18px;
    border: 1px solid #dceaf5;
    background: #edf6fd;
    border-radius: 12px;
}

    .members-invite-summary > strong[b-v8yr48p3t4] {
        font-size: 14px;
    }

    .members-invite-summary p[b-v8yr48p3t4] {
        margin: 10px 0;
        font-size: 13px;
        line-height: 1.6;
        color: #536d87;
    }

/* =========================================
   BUTTONS
   ========================================= */

.members-actions[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 23px;
}

.members-btn[b-v8yr48p3t4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 13px;
    font-family: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .members-btn.primary[b-v8yr48p3t4] {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

        .members-btn.primary:hover:not(:disabled)[b-v8yr48p3t4] {
            background: var(--primary-dark);
        }

    .members-btn.secondary[b-v8yr48p3t4] {
        background: #fff;
        color: #45617c;
        border-color: #d7e2ed;
    }

        .members-btn.secondary:hover:not(:disabled)[b-v8yr48p3t4] {
            background: #f1f6fa;
        }

    .members-btn:disabled[b-v8yr48p3t4] {
        opacity: 0.55;
        cursor: not-allowed;
    }

/* =========================================
   TAGS
   ========================================= */

.members-tags[b-v8yr48p3t4] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

    .members-tags span[b-v8yr48p3t4] {
        display: inline-flex;
        align-items: center;
        padding: 6px 10px;
        border-radius: 20px;
        background: #e9f0f7;
        color: #49627b;
        font-size: 11px;
        font-weight: 700;
    }

        .members-tags span.grocery[b-v8yr48p3t4] {
            background: #def6e9;
            color: #17784e;
        }

/* =========================================
   MEMBERS TOOLBAR
   ========================================= */

.members-toolbar[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

    .members-toolbar input[b-v8yr48p3t4] {
        flex: 1;
        min-width: 0;
        min-height: 45px;
        padding: 10px 14px;
        border: 1px solid #d7e2ed;
        border-radius: 10px;
        background: #fff;
        outline: none;
        font-size: 13px;
    }

/* =========================================
   MEMBERS LIST
   ========================================= */

.members-list[b-v8yr48p3t4] {
    display: flex;
    flex-direction: column;
}

.members-person[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e9eff5;
}

    .members-person:last-child[b-v8yr48p3t4] {
        border-bottom: none;
    }

.members-person-info[b-v8yr48p3t4] {
    flex: 1;
    min-width: 0;
}

    .members-person-info > strong[b-v8yr48p3t4] {
        display: block;
        font-size: 15px;
        margin-bottom: 5px;
    }

        .members-person-info > strong small[b-v8yr48p3t4] {
            color: var(--muted);
            font-weight: 400;
        }

    .members-person-info > span[b-v8yr48p3t4] {
        display: block;
        margin-top: 5px;
        color: var(--muted);
        font-size: 12px;
        overflow-wrap: anywhere;
    }

.members-person-actions[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 13px;
}

.members-active[b-v8yr48p3t4] {
    color: #168052;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.members-edit-panel[b-v8yr48p3t4] {
    border-color: #b3d8ec;
}

/* =========================================
   INFORMATION AND ALERTS
   ========================================= */

.members-info[b-v8yr48p3t4] {
    padding: 17px;
    border-radius: 11px;
    background: #edf6fd;
    color: #486983;
    font-size: 13px;
    line-height: 1.6;
}

.members-alert[b-v8yr48p3t4] {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    margin-bottom: 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

    .members-alert.success[b-v8yr48p3t4] {
        background: #e5f7ed;
        color: #18754b;
    }

    .members-alert.error[b-v8yr48p3t4] {
        background: #fff0f0;
        color: #aa3333;
    }

    .members-alert > div[b-v8yr48p3t4] {
        flex: 1;
    }

    .members-alert > button[b-v8yr48p3t4] {
        border: none;
        background: transparent;
        color: inherit;
        font-size: 22px;
        cursor: pointer;
    }

.members-empty[b-v8yr48p3t4] {
    padding: 35px 20px;
    text-align: center;
    color: var(--muted);
}

    .members-empty h2[b-v8yr48p3t4] {
        color: var(--text);
    }

/* =========================================
   PROCESS STEPS
   ========================================= */

.members-steps[b-v8yr48p3t4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

    .members-steps > div[b-v8yr48p3t4] {
        padding: 19px;
        background: #f5f9fc;
        border-radius: 13px;
    }

        .members-steps > div > span[b-v8yr48p3t4] {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 31px;
            height: 31px;
            margin-bottom: 13px;
            border-radius: 9px;
            background: #dff1fa;
            color: var(--primary);
            font-size: 13px;
            font-weight: 800;
        }

    .members-steps strong[b-v8yr48p3t4] {
        display: block;
        font-size: 14px;
    }

    .members-steps p[b-v8yr48p3t4] {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.6;
    }

.members-mobile-nav[b-v8yr48p3t4] {
    display: none;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1200px) {
    .members-stats[b-v8yr48p3t4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .members-steps[b-v8yr48p3t4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   MOBILE NAVIGATION
   ========================================= */

@media (max-width: 850px) {
    .members-sidebar[b-v8yr48p3t4] {
        display: none;
    }

    .members-content[b-v8yr48p3t4] {
        padding: 24px 16px 110px;
    }

    .members-mobile-nav[b-v8yr48p3t4] {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        justify-content: space-around;
        background: #fff;
        border-top: 1px solid var(--border);
        padding: 9px 5px max(9px, env(safe-area-inset-bottom));
        box-shadow: 0 -5px 20px rgba(30, 60, 90, 0.05);
    }

        .members-mobile-nav a[b-v8yr48p3t4] {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding: 5px;
            color: #8292a4;
            text-decoration: none;
        }

            .members-mobile-nav a > span[b-v8yr48p3t4] {
                font-size: 21px;
            }

            .members-mobile-nav a small[b-v8yr48p3t4] {
                font-size: 10px;
            }

            .members-mobile-nav a.active[b-v8yr48p3t4] {
                color: var(--primary);
                font-weight: 800;
            }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 600px) {
    .members-header[b-v8yr48p3t4] {
        align-items: flex-start;
    }

        .members-header h1[b-v8yr48p3t4] {
            font-size: 27px;
        }

        .members-header p[b-v8yr48p3t4] {
            font-size: 13px;
        }

    .members-header-house[b-v8yr48p3t4] {
        display: none;
    }

    .members-stats[b-v8yr48p3t4] {
        gap: 10px;
    }

    .members-stat[b-v8yr48p3t4] {
        padding: 15px 12px;
        gap: 10px;
    }

    .members-stat-icon[b-v8yr48p3t4] {
        width: 39px;
        height: 39px;
        font-size: 17px;
    }

    .members-stat strong[b-v8yr48p3t4] {
        font-size: 23px;
    }

    .members-stat small[b-v8yr48p3t4] {
        font-size: 11px;
    }

    .members-stat div > span[b-v8yr48p3t4] {
        font-size: 10px;
    }

    .members-card[b-v8yr48p3t4] {
        padding: 19px;
        border-radius: 15px;
    }

    .members-section-heading h2[b-v8yr48p3t4] {
        font-size: 19px;
    }

    .members-form-grid[b-v8yr48p3t4],
    .members-steps[b-v8yr48p3t4] {
        grid-template-columns: 1fr;
    }

    .members-full-width[b-v8yr48p3t4] {
        grid-column: auto;
    }

    .members-invite-panel[b-v8yr48p3t4] {
        padding: 17px;
    }

    .members-selected-user[b-v8yr48p3t4] {
        flex-wrap: wrap;
    }

        .members-selected-user > .members-btn[b-v8yr48p3t4] {
            margin-left: auto;
        }

    .members-actions[b-v8yr48p3t4] {
        flex-direction: column;
        align-items: stretch;
    }

        .members-actions .members-btn[b-v8yr48p3t4] {
            width: 100%;
        }

    .members-toolbar[b-v8yr48p3t4] {
        flex-direction: column;
        align-items: stretch;
    }

    .members-person[b-v8yr48p3t4] {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .members-person-actions[b-v8yr48p3t4] {
        width: 100%;
        justify-content: flex-end;
    }

    .members-search-action[b-v8yr48p3t4] {
        font-size: 11px;
    }
}
/* /Components/Pages/Register.razor.rz.scp.css */
/* ============================================================
   REGISTER PAGE
   ============================================================ */

*[b-lezi2tiupd] {
    box-sizing: border-box;
}

.register-page[b-lezi2tiupd] {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f5f7f6;
    color: #17231e;
    font-family: "Segoe UI", Arial, sans-serif;
}

.register-wrapper[b-lezi2tiupd] {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 42% 58%;
}


/* ============================================================
   LEFT PANEL
   ============================================================ */

.brand-panel[b-lezi2tiupd] {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 55px 65px;
    background: linear-gradient( 145deg, #123f33 0%, #1c5c49 55%, #26745d 100% );
    color: white;
}

    .brand-panel[b-lezi2tiupd]::before {
        content: "";
        position: absolute;
        width: 430px;
        height: 430px;
        border-radius: 50%;
        right: -170px;
        top: -170px;
        background: rgba(255,255,255,0.045);
    }

    .brand-panel[b-lezi2tiupd]::after {
        content: "";
        position: absolute;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        left: -150px;
        bottom: -150px;
        background: rgba(255,255,255,0.04);
    }

.brand-content[b-lezi2tiupd] {
    width: 100%;
    max-width: 540px;
    min-height: calc(100vh - 110px);
    margin: auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}


/* ============================================================
   LOGO
   ============================================================ */

.brand-logo[b-lezi2tiupd] {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .brand-logo img[b-lezi2tiupd] {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

.brand-name[b-lezi2tiupd] {
    display: flex;
    flex-direction: column;
}

    .brand-name span[b-lezi2tiupd] {
        font-size: 11px;
        letter-spacing: 4px;
        color: rgba(255,255,255,.75);
    }

    .brand-name strong[b-lezi2tiupd] {
        margin-top: 2px;
        font-size: 21px;
        letter-spacing: 1px;
    }


/* ============================================================
   LEFT CONTENT
   ============================================================ */

.brand-message[b-lezi2tiupd] {
    margin-top: auto;
}

.brand-badge[b-lezi2tiupd] {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.brand-message h1[b-lezi2tiupd] {
    max-width: 500px;
    margin: 28px 0 18px;
    font-size: clamp(42px, 4vw, 65px);
    line-height: 1.03;
    letter-spacing: -2px;
    font-weight: 750;
}

    .brand-message h1 span[b-lezi2tiupd] {
        display: block;
        color: #96dec4;
    }

.brand-message p[b-lezi2tiupd] {
    max-width: 500px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.7;
}


/* ============================================================
   FEATURES
   ============================================================ */

.brand-features[b-lezi2tiupd] {
    margin-top: 50px;
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.brand-feature[b-lezi2tiupd] {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon[b-lezi2tiupd] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    font-weight: bold;
}

.brand-feature div[b-lezi2tiupd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-feature strong[b-lezi2tiupd] {
    font-size: 14px;
}

.brand-feature small[b-lezi2tiupd] {
    font-size: 12px;
    color: rgba(255,255,255,.65);
}


/* ============================================================
   RIGHT SIDE
   ============================================================ */

.register-panel[b-lezi2tiupd] {
    min-height: 100vh;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #f8faf9 0%, #f1f5f3 100% );
}


/* ============================================================
   REGISTER CARD
   ============================================================ */

.register-card[b-lezi2tiupd] {
    width: 100%;
    max-width: 590px;
    padding: 42px 45px;
    background: white;
    border: 1px solid #e6ece9;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(22, 63, 50, 0.08);
}


/* ============================================================
   MOBILE LOGO
   ============================================================ */

.mobile-logo[b-lezi2tiupd] {
    display: none;
}


/* ============================================================
   HEADER
   ============================================================ */

.register-header[b-lezi2tiupd] {
    margin-bottom: 30px;
}

.eyebrow[b-lezi2tiupd] {
    display: block;
    margin-bottom: 9px;
    color: #1f7358;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.register-header h2[b-lezi2tiupd] {
    margin: 0;
    color: #14241e;
    font-size: 34px;
    font-weight: 750;
    letter-spacing: -1px;
}

.register-header p[b-lezi2tiupd] {
    margin: 10px 0 0;
    color: #718078;
    font-size: 14px;
    line-height: 1.6;
}


/* ============================================================
   FORM GROUP
   ============================================================ */

.form-group[b-lezi2tiupd] {
    width: 100%;
    margin-bottom: 18px;
}

    .form-group > label[b-lezi2tiupd],
    .label-row label[b-lezi2tiupd] {
        display: block;
        margin-bottom: 7px;
        color: #253c33;
        font-size: 13px;
        font-weight: 650;
    }

.optional[b-lezi2tiupd] {
    margin-left: 6px;
    color: #95a19b;
    font-size: 11px;
    font-weight: 400;
}

.label-row[b-lezi2tiupd] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ============================================================
   INPUT WRAPPER
   ============================================================ */

.input-wrapper[b-lezi2tiupd] {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-lezi2tiupd] {
    position: absolute;
    left: 16px;
    z-index: 3;
    width: 20px;
    color: #71867d;
    font-size: 14px;
    text-align: center;
    pointer-events: none;
}


/* ============================================================
   IMPORTANT:
   BLAZOR CSS ISOLATION INPUT FIX
   ============================================================ */

.input-wrapper[b-lezi2tiupd]  input.form-control {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 16px 0 48px !important;
    border: 1px solid #d7e1dc !important;
    border-radius: 12px !important;
    outline: none !important;
    background: #fbfcfc !important;
    color: #17231e !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

    .input-wrapper[b-lezi2tiupd]  input.form-control:hover {
        border-color: #b9cbc3 !important;
    }

    .input-wrapper[b-lezi2tiupd]  input.form-control:focus {
        background: white !important;
        border-color: #28775e !important;
        box-shadow: 0 0 0 4px rgba(40,119,94,.10) !important;
    }

    .input-wrapper[b-lezi2tiupd]  input.form-control::placeholder {
        color: #a0aaa5 !important;
        opacity: 1;
    }


    /* ============================================================
   BLAZOR VALID / INVALID
   ============================================================ */

    .input-wrapper[b-lezi2tiupd]  input.form-control.invalid {
        border-color: #d76666 !important;
    }

    .input-wrapper[b-lezi2tiupd]  input.form-control.valid.modified {
        border-color: #64a78e !important;
    }

.input-success[b-lezi2tiupd]  input.form-control {
    border-color: #58a486 !important;
    background: #fbfffd !important;
}

.input-error[b-lezi2tiupd]  input.form-control {
    border-color: #d76666 !important;
    background: #fffafa !important;
}


/* ============================================================
   HELP / VALIDATION
   ============================================================ */

.field-help[b-lezi2tiupd] {
    margin-top: 6px;
    color: #8b9892;
    font-size: 11px;
    line-height: 1.4;
}

[b-lezi2tiupd] .validation-message {
    display: block;
    margin-top: 6px;
    color: #c64f4f;
    font-size: 11px;
}

.username-check[b-lezi2tiupd] {
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
}

    .username-check.available[b-lezi2tiupd] {
        color: #21805d;
    }

    .username-check.unavailable[b-lezi2tiupd] {
        color: #c64f4f;
    }

    .username-check.checking[b-lezi2tiupd] {
        color: #7b8882;
    }

.username-message[b-lezi2tiupd] {
    margin-top: 5px;
    font-size: 11px;
}

.message-success[b-lezi2tiupd] {
    color: #21805d;
}

.message-error[b-lezi2tiupd] {
    color: #c64f4f;
}


/* ============================================================
   ALERT
   ============================================================ */

.alert[b-lezi2tiupd] {
    width: 100%;
    margin-bottom: 22px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 12px;
    font-size: 13px;
}

.alert-icon[b-lezi2tiupd] {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.alert > div:last-child[b-lezi2tiupd] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.alert-success[b-lezi2tiupd] {
    color: #176247;
    background: #eef9f4;
    border: 1px solid #cae9db;
}

    .alert-success .alert-icon[b-lezi2tiupd] {
        color: white;
        background: #248665;
    }

.alert-error[b-lezi2tiupd] {
    color: #9e3d3d;
    background: #fff4f4;
    border: 1px solid #efd2d2;
}

    .alert-error .alert-icon[b-lezi2tiupd] {
        color: white;
        background: #c65353;
    }


/* ============================================================
   BUTTON
   ============================================================ */

.register-button[b-lezi2tiupd] {
    width: 100%;
    min-height: 54px;
    margin-top: 7px;
    padding: 0 22px;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    background: linear-gradient( 135deg, #1d6a51, #287d61 );
    color: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(31,107,83,.18);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .register-button:hover:not(:disabled)[b-lezi2tiupd] {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(31,107,83,.24);
    }

    .register-button:disabled[b-lezi2tiupd] {
        cursor: not-allowed;
        opacity: .65;
    }

.button-arrow[b-lezi2tiupd] {
    font-size: 18px;
}

.button-spinner[b-lezi2tiupd] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: white;
    border-radius: 50%;
    animation: registerSpin-b-lezi2tiupd .7s linear infinite;
}

@keyframes registerSpin-b-lezi2tiupd {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   LOGIN
   ============================================================ */

.login-section[b-lezi2tiupd] {
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid #e5ebe8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #77847e;
    font-size: 13px;
}

    .login-section a[b-lezi2tiupd] {
        color: #17674e;
        font-weight: 700;
        text-decoration: none;
    }

        .login-section a:hover[b-lezi2tiupd] {
            text-decoration: underline;
        }

.register-footer[b-lezi2tiupd] {
    margin-top: 16px;
    color: #99a49f;
    text-align: center;
    font-size: 11px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .register-wrapper[b-lezi2tiupd] {
        grid-template-columns: 40% 60%;
    }

    .brand-panel[b-lezi2tiupd] {
        padding: 45px 38px;
    }

    .brand-message h1[b-lezi2tiupd] {
        font-size: 43px;
    }

    .register-panel[b-lezi2tiupd] {
        padding: 35px;
    }

    .register-card[b-lezi2tiupd] {
        padding: 35px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 760px) {

    .register-page[b-lezi2tiupd] {
        background: #f4f7f5;
    }

    .register-wrapper[b-lezi2tiupd] {
        display: block;
    }

    .brand-panel[b-lezi2tiupd] {
        display: none;
    }

    .register-panel[b-lezi2tiupd] {
        width: 100%;
        min-height: 100vh;
        padding: 24px 16px 40px;
        align-items: flex-start;
        background: linear-gradient( 180deg, #f8faf9 0%, #ffffff 250px );
    }

    .register-card[b-lezi2tiupd] {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        padding: 27px 22px 25px;
        border-radius: 18px;
        box-shadow: 0 12px 35px rgba(20,60,47,.07);
    }


    /* MOBILE LOGO */

    .mobile-logo[b-lezi2tiupd] {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
    }

        .mobile-logo img[b-lezi2tiupd] {
            width: 43px;
            height: 43px;
            object-fit: contain;
        }

        .mobile-logo div[b-lezi2tiupd] {
            display: flex;
            flex-direction: column;
        }

        .mobile-logo span[b-lezi2tiupd] {
            color: #77847e;
            font-size: 9px;
            letter-spacing: 3px;
        }

        .mobile-logo strong[b-lezi2tiupd] {
            margin-top: 2px;
            color: #17674e;
            font-size: 16px;
            letter-spacing: 1px;
        }


    /* HEADER */

    .register-header[b-lezi2tiupd] {
        margin-bottom: 25px;
    }

        .register-header h2[b-lezi2tiupd] {
            font-size: 29px;
        }

        .register-header p[b-lezi2tiupd] {
            font-size: 13px;
        }


    /* INPUT */

    .input-wrapper[b-lezi2tiupd]  input.form-control {
        height: 53px !important;
        min-height: 53px !important;
        font-size: 16px !important;
    }

    .register-button[b-lezi2tiupd] {
        min-height: 55px;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 390px) {

    .register-panel[b-lezi2tiupd] {
        padding-left: 10px;
        padding-right: 10px;
    }

    .register-card[b-lezi2tiupd] {
        padding: 24px 17px;
    }

    .register-header h2[b-lezi2tiupd] {
        font-size: 27px;
    }

    .login-section[b-lezi2tiupd] {
        flex-wrap: wrap;
    }
}
/* /Components/Pages/UserSettings.razor.rz.scp.css */
/* Full User Settings page styles */
.settings-page[b-0cudf4ln5k]{min-height:100vh;background:#f5f7fb;padding:32px 24px 60px}.settings-container[b-0cudf4ln5k]{max-width:980px;margin:auto}.settings-header[b-0cudf4ln5k]{display:flex;align-items:flex-start;gap:16px;margin-bottom:26px}.settings-header h1[b-0cudf4ln5k]{margin:0 0 6px;font-size:30px;font-weight:800;color:#1f2937}.settings-header p[b-0cudf4ln5k]{margin:0;color:#6b7280;font-size:14px}.back-button[b-0cudf4ln5k]{width:42px;height:42px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;font-size:22px;cursor:pointer;flex-shrink:0}.settings-card[b-0cudf4ln5k]{background:#fff;border:1px solid #e8ecf2;border-radius:18px;padding:26px;margin-bottom:22px;box-shadow:0 8px 28px rgba(15,23,42,.05)}.card-heading[b-0cudf4ln5k]{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.card-heading h2[b-0cudf4ln5k]{margin:0 0 5px;font-size:19px;color:#1f2937}.card-heading p[b-0cudf4ln5k]{margin:0;color:#6b7280;font-size:13px}.photo-section[b-0cudf4ln5k]{display:flex;align-items:center;gap:22px}.profile-photo[b-0cudf4ln5k]{width:92px;height:92px;border-radius:50%;overflow:hidden;background:#eef2f7;border:3px solid #fff;box-shadow:0 0 0 1px #e5e7eb;display:flex;align-items:center;justify-content:center;flex-shrink:0}.profile-photo img[b-0cudf4ln5k]{width:100%;height:100%;object-fit:cover}.profile-photo span[b-0cudf4ln5k]{font-size:32px;font-weight:800;color:#4b5563}.photo-actions[b-0cudf4ln5k]{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.photo-actions small[b-0cudf4ln5k]{color:#8a94a3}.upload-button[b-0cudf4ln5k]{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border-radius:10px;background:#1f2937;color:#fff;font-size:13px;font-weight:700;cursor:pointer}.photo-input[b-0cudf4ln5k]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.form-grid[b-0cudf4ln5k]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-group[b-0cudf4ln5k]{min-width:0}.form-group label[b-0cudf4ln5k]{display:block;margin-bottom:7px;color:#374151;font-size:13px;font-weight:700}.form-control[b-0cudf4ln5k]{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #d9dee7;border-radius:10px;padding:10px 13px;background:#fff;color:#1f2937;font-size:14px;outline:none}.form-control:focus[b-0cudf4ln5k]{border-color:#9ca3af;box-shadow:0 0 0 3px rgba(31,41,55,.07)}.form-control.readonly[b-0cudf4ln5k]{background:#f7f8fa;color:#6b7280}.validation-message[b-0cudf4ln5k]{display:block;margin-top:5px;color:#b42318;font-size:12px}.house-information[b-0cudf4ln5k]{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:20px;padding:14px 16px;border-radius:11px;background:#f8fafc;border:1px solid #edf0f4}.house-label[b-0cudf4ln5k]{color:#6b7280;font-size:13px}.house-information strong[b-0cudf4ln5k]{color:#1f2937;font-size:14px}.admin-badge[b-0cudf4ln5k]{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#e9f7ef;color:#16794a;font-size:11px;font-weight:800}.form-actions[b-0cudf4ln5k]{display:flex;justify-content:flex-end;margin-top:22px}.primary-button[b-0cudf4ln5k]{min-height:42px;border:0;border-radius:10px;padding:0 20px;background:#1f2937;color:#fff;font-size:13px;font-weight:700;cursor:pointer}.primary-button:disabled[b-0cudf4ln5k]{opacity:.55;cursor:not-allowed}.settings-message[b-0cudf4ln5k]{margin-top:18px;padding:11px 13px;border-radius:9px;font-size:13px;font-weight:600}.settings-message.success[b-0cudf4ln5k]{background:#edf9f1;color:#16794a;border:1px solid #cdebd8}.settings-message.error[b-0cudf4ln5k]{background:#fff2f0;color:#b42318;border:1px solid #ffd5cf}.loading-card[b-0cudf4ln5k]{min-height:160px;background:#fff;border:1px solid #e8ecf2;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#6b7280}.loading-spinner[b-0cudf4ln5k]{width:28px;height:28px;border:3px solid #e5e7eb;border-top-color:#374151;border-radius:50%;animation:settings-spin-b-0cudf4ln5k .8s linear infinite}@keyframes settings-spin-b-0cudf4ln5k{to{transform:rotate(360deg)}}@media(max-width:700px){.settings-page[b-0cudf4ln5k]{padding:18px 14px 40px}.settings-header[b-0cudf4ln5k]{gap:12px;margin-bottom:18px}.settings-header h1[b-0cudf4ln5k]{font-size:23px}.settings-header p[b-0cudf4ln5k]{font-size:12px;line-height:1.5}.back-button[b-0cudf4ln5k]{width:38px;height:38px}.settings-card[b-0cudf4ln5k]{padding:19px 16px;border-radius:15px;margin-bottom:16px}.card-heading[b-0cudf4ln5k]{margin-bottom:18px}.card-heading h2[b-0cudf4ln5k]{font-size:17px}.photo-section[b-0cudf4ln5k]{gap:16px}.profile-photo[b-0cudf4ln5k]{width:76px;height:76px}.profile-photo span[b-0cudf4ln5k]{font-size:27px}.form-grid[b-0cudf4ln5k],.password-grid[b-0cudf4ln5k]{grid-template-columns:1fr;gap:15px}.form-actions[b-0cudf4ln5k]{justify-content:stretch}.primary-button[b-0cudf4ln5k]{width:100%}}
