/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-zl8wa8roym] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-zl8wa8roym] {
    flex: 1;
}

.sidebar[b-zl8wa8roym] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-zl8wa8roym] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-zl8wa8roym]  a, .top-row[b-zl8wa8roym]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-zl8wa8roym]  a:hover, .top-row[b-zl8wa8roym]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-zl8wa8roym]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-zl8wa8roym] {
        justify-content: space-between;
    }

    .top-row[b-zl8wa8roym]  a, .top-row[b-zl8wa8roym]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-zl8wa8roym] {
        flex-direction: row;
    }

    .sidebar[b-zl8wa8roym] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-zl8wa8roym] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-zl8wa8roym]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-zl8wa8roym], article[b-zl8wa8roym] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-zl8wa8roym] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-zl8wa8roym] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-t35wzy1ibv] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-t35wzy1ibv] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-t35wzy1ibv] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-t35wzy1ibv] {
    font-size: 1.1rem;
}

.bi[b-t35wzy1ibv] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-t35wzy1ibv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-t35wzy1ibv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-t35wzy1ibv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-t35wzy1ibv] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-t35wzy1ibv] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-t35wzy1ibv] {
        padding-bottom: 1rem;
    }

    .nav-item[b-t35wzy1ibv]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-t35wzy1ibv]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-t35wzy1ibv]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-t35wzy1ibv] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-t35wzy1ibv] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-t35wzy1ibv] {
        display: none;
    }

    .nav-scrollable[b-t35wzy1ibv] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* CSS for Home component */
/* CSS for Home component */
.auth-page[b-1ahaq8m725] {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card[b-1ahaq8m725] {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px 28px;
    text-align: center;
}

    .auth-card h3[b-1ahaq8m725] {
        margin: 0 0 24px;
        font-size: 1.4rem;
        color: #1f2937;
        font-weight: 600;
    }

.login-form[b-1ahaq8m725] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.field label[b-1ahaq8m725] {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 6px;
}

.field input[b-1ahaq8m725] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .field input:focus[b-1ahaq8m725] {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    }

.btn[b-1ahaq8m725] {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-primary[b-1ahaq8m725] {
    background: #6366f1;
    color: #fff;
    margin-top: 8px;
}

    .btn-primary:hover[b-1ahaq8m725] {
        background: #4f46e5;
    }

.btn-secondary[b-1ahaq8m725] {
    background: #f3f4f6;
    color: #374151;
    margin-top: 16px;
}

    .btn-secondary:hover[b-1ahaq8m725] {
        background: #e5e7eb;
    }
/* /Components/Pages/Parse_Common/Parse_Common.razor.rz.scp.css */
/* CSS for ReceiptParsing component */
*[b-1qvhxvwwf1] {
    font-size: 18px;
}

/* Main Container */
.layout-grid[b-1qvhxvwwf1] {
    display: grid;
    grid-template-columns: 3fr 2fr 3fr;
    /* Outer border of the entire layout */
    min-height: 600px;
    background-color: white;
    color: black;
}

/* Individual Columns */
.layout-column[b-1qvhxvwwf1] {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

/* Headings */
h2[b-1qvhxvwwf1] {
    font-weight: 400;
    font-size: 1.8rem;
    padding: 30px 0px 30px 0px;
    margin-bottom: 40px;
}

/* Middle Column Spacing */
.job-section[b-1qvhxvwwf1] {
    margin-bottom: 50px;
}

/* Align buttons and inputs/labels horizontally */
.job-row[b-1qvhxvwwf1] {
    display: flex;
    gap: 2rem;
}

/* Wireframe-style Buttons */
/*.button {
    cursor: pointer;
    width: 120px;
}*/

.job-2[b-1qvhxvwwf1] {
    flex-grow: 1;
}


/* Container for the console */
.console[b-1qvhxvwwf1] {
    flex-grow: 1; /* Pushes the container to fill the remaining vertical space */
    margin-top: 20px;
}


/* #region button */

/* 1. The BASE (Enabled) State */
.button[b-1qvhxvwwf1] {
    background-color: #007bff; /* Bright blue */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;

    /* Prevent text highlighting on double-click */
    user-select: none;
    -webkit-user-select: none; /* Safari */
    /* Prevent gray tap flash on mobile */
    -webkit-tap-highlight-color: transparent;
}

    /* 2. The HOVER State (Only when enabled) */
    .button:hover:not(:disabled):not(.disabled-ui)[b-1qvhxvwwf1] {
        background-color: #0056b3; /* Darker blue */
    }

    .button:disabled[b-1qvhxvwwf1],
    .button.disabled-ui[b-1qvhxvwwf1] {
        background-color: #cccccc; /* Flat gray */
        color: #666666; /* Dark gray text */
        opacity: 0.7;
        cursor: not-allowed !important;
    }

    .button:disabled[b-1qvhxvwwf1] {
        pointer-events: none !important;
    }
/* #endregion */

/* #region copy Id */

#div-id-created[b-1qvhxvwwf1] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

#button-copy-id[b-1qvhxvwwf1] {
    /* 1.75x the size of the current font */
    width: 1.75em;
    height: 1.75em;
    /* Strip away the browser's default button padding */
    padding: 0;
    margin: 0;
    /* Use flexbox inside the button to perfectly center the 1em SVG */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Standard UI resets */
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* #endregion */

/* #region files */

/* Example CSS to make the label look like a modern upload box */
.upload-zone[b-1qvhxvwwf1] {
    display: block;
    min-height: 200px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .upload-zone:hover[b-1qvhxvwwf1] {
        background-color: #eef;
        border-color: #88f;
    }

.icon[b-1qvhxvwwf1] {
    font-size: 32px;
}

/* Container for the file list */
.list-allfile-attached[b-1qvhxvwwf1] {
}

.list-item-file-attached[b-1qvhxvwwf1] {
    display: flex;
    justify-content: space-between; /* Pushes the two items to opposite ends */
    align-items: center; /* Keeps them vertically centered with each other */
    padding: 8px 0;
    border-bottom: 1px solid #eee; /* Optional: adds a nice separator line */
}

/* #endregion */
/* /Components/Pages/Report_Common.razor.rz.scp.css */
/* --- Main Layout Container --- */
.layout[b-lohu292c9n] {
    display: grid;
    grid-template-columns: 40% 40% 1fr;
    gap: 20px;
    width: 100%;
    min-height: 80vh; /* Ensures the columns have vertical height to fill */
    box-sizing: border-box;
}

    /* Base style for the 3 main columns */
    .layout > div[b-lohu292c9n] {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 1.5rem;
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px;
    }

/* --- Prompt Section --- */
.prompt-text[b-lohu292c9n] {
    flex-grow: 1; /* Pushes the control row to the bottom */
    display: flex;
    flex-direction: column;
}

    .prompt-text textarea[b-lohu292c9n] {
        width: 100%;
        flex-grow: 1; /* Stretches to fill the remaining vertical space */
        padding: 10px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        box-sizing: border-box;
        resize: none; /* Prevents manual resizing that breaks the layout */
        font-family: inherit;
    }

.prompt-control[b-lohu292c9n] {
    display: flex;
    justify-content: flex-end;
}

/* --- Report Section --- */
.report-text[b-lohu292c9n] {
    flex-grow: 1; /* Pushes the control row to the bottom */
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    overflow-y: auto;
    white-space: pre-wrap;
}

.report-control[b-lohu292c9n] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* --- Attach / Upload Section --- */
.layout-attach h2[b-lohu292c9n],
.layout-attach h3[b-lohu292c9n] {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.job-row[b-lohu292c9n] {
    display: flex;
    gap: 10px;
}

pre[b-lohu292c9n] {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    padding: 8px;
    border-radius: 4px;
    margin: 0;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-all;
}

.list-file[b-lohu292c9n] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item-file[b-lohu292c9n] {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* --- Shared Button Styles --- */
.btn-prompt[b-lohu292c9n], .btn[b-lohu292c9n], .button[b-lohu292c9n] {
    padding: 8px 16px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
}

    .btn-prompt:hover:not(:disabled)[b-lohu292c9n],
    .btn:hover:not(:disabled)[b-lohu292c9n],
    .button:hover:not(.disabled-ui):not(:disabled)[b-lohu292c9n] {
        background-color: #0b5ed7;
    }

    /* Disabled UI States */
    .btn-prompt:disabled[b-lohu292c9n],
    .btn:disabled[b-lohu292c9n],
    button:disabled[b-lohu292c9n] {
        background-color: #adb5bd;
        cursor: not-allowed;
    }

/* Specifically for the <label> masquerading as a disabled button */
.disabled-ui[b-lohu292c9n] {
    background-color: #adb5bd !important;
    cursor: not-allowed;
    pointer-events: none; /* Prevents the user from clicking the label */
}
