@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';

/* /Pages/Invoices/Invoice.razor.rz.scp.css */
.invoice-dialog-shell[b-pbl7uhvfwu] {
    display: grid;
    gap: 1.25rem;
}

.invoice-meta-card[b-pbl7uhvfwu],
.invoice-lines-card[b-pbl7uhvfwu] {
    padding: 1.1rem 1.25rem 1.25rem;
    border: 1px solid var(--app-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--app-surface-alt) 55%, var(--app-surface));
}

.invoice-meta-header[b-pbl7uhvfwu],
.invoice-lines-header[b-pbl7uhvfwu] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.invoice-meta-header h5[b-pbl7uhvfwu],
.invoice-lines-header h5[b-pbl7uhvfwu] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.invoice-meta-header p[b-pbl7uhvfwu],
.invoice-lines-header p[b-pbl7uhvfwu] {
    margin: 0.25rem 0 0;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.invoice-status-group[b-pbl7uhvfwu] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.status-toggle[b-pbl7uhvfwu] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    background: var(--app-surface);
    color: var(--app-text);
    font-weight: 600;
}

.invoice-meta-grid[b-pbl7uhvfwu] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.field[b-pbl7uhvfwu] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field label[b-pbl7uhvfwu] {
    font-weight: 600;
    color: var(--app-text);
}

.field-span-2[b-pbl7uhvfwu] {
    grid-column: span 2;
}

.metric-card[b-pbl7uhvfwu] {
    padding: 0.85rem;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    background: var(--app-surface);
}

.field[b-pbl7uhvfwu]  .e-control-wrapper,
.field[b-pbl7uhvfwu]  .e-input-group,
.field[b-pbl7uhvfwu]  .e-input,
.field[b-pbl7uhvfwu]  textarea,
.field[b-pbl7uhvfwu]  .e-ddl,
.field[b-pbl7uhvfwu]  .e-datepicker,
.field[b-pbl7uhvfwu]  .e-numeric {
    width: 100%;
}

.field[b-pbl7uhvfwu]  textarea {
    min-height: 110px;
}

.invoice-lines-card[b-pbl7uhvfwu]  .e-grid {
    border-radius: 14px;
    overflow: hidden;
}

@media (max-width: 1000px) {
    .invoice-meta-grid[b-pbl7uhvfwu] {
        grid-template-columns: 1fr;
    }

    .field-span-2[b-pbl7uhvfwu] {
        grid-column: auto;
    }

    .invoice-meta-header[b-pbl7uhvfwu],
    .invoice-lines-header[b-pbl7uhvfwu] {
        flex-direction: column;
    }

    .invoice-status-group[b-pbl7uhvfwu] {
        justify-content: flex-start;
    }
}
/* /Pages/Relations/Relation.razor.rz.scp.css */
.relation-dialog[b-dr0b58gzq4] {
    display: grid;
    gap: 1.25rem;
}

.relation-section[b-dr0b58gzq4] {
    padding: 1.1rem 1.25rem 1.25rem;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--app-surface-alt) 55%, var(--app-surface));
}

.section-header[b-dr0b58gzq4] {
    margin-bottom: 1rem;
}

.section-header h5[b-dr0b58gzq4] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.section-header p[b-dr0b58gzq4] {
    margin: 0.25rem 0 0;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.relation-grid[b-dr0b58gzq4] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.relation-grid-primary[b-dr0b58gzq4] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field[b-dr0b58gzq4] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field label[b-dr0b58gzq4] {
    font-weight: 600;
    color: var(--app-text);
}

.field-span-2[b-dr0b58gzq4] {
    grid-column: span 2;
}

.field-span-3[b-dr0b58gzq4] {
    grid-column: 1 / -1;
}

.field[b-dr0b58gzq4]  .e-input,
.field[b-dr0b58gzq4]  .e-input-group,
.field[b-dr0b58gzq4]  textarea {
    width: 100%;
}

.field[b-dr0b58gzq4]  textarea {
    min-height: 120px;
}

@media (max-width: 900px) {
    .relation-grid[b-dr0b58gzq4],
    .relation-grid-primary[b-dr0b58gzq4] {
        grid-template-columns: 1fr;
    }

    .field-span-2[b-dr0b58gzq4],
    .field-span-3[b-dr0b58gzq4] {
        grid-column: auto;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-0y4uetx0jk] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--app-bg);
    color: var(--app-text);
}

main[b-0y4uetx0jk] {
    flex: 1;
}

.sidebar[b-0y4uetx0jk] {
    background-image: linear-gradient(180deg, var(--app-sidebar-start) 0%, var(--app-sidebar-end) 70%);
}

.top-row[b-0y4uetx0jk] {
    background-color: var(--app-surface-alt);
    border-bottom: 1px solid var(--app-border);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-0y4uetx0jk]  a, .top-row[b-0y4uetx0jk]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--app-text);
}

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

.top-row[b-0y4uetx0jk]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-0y4uetx0jk] {
        display: none;
    }

    .top-row.auth[b-0y4uetx0jk] {
        justify-content: space-between;
    }

    .top-row[b-0y4uetx0jk]  a, .top-row[b-0y4uetx0jk]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-0y4uetx0jk] {
        flex-direction: row;
    }

    .sidebar[b-0y4uetx0jk] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-0y4uetx0jk] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-0y4uetx0jk]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-0y4uetx0jk], article[b-0y4uetx0jk] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4iy5zfgn99] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-4iy5zfgn99] {
    height: 3.5rem;
    background-color: var(--app-sidebar-overlay);
}

.navbar-brand[b-4iy5zfgn99] {
    font-size: 1.1rem;
    color: #fff;
}

.oi[b-4iy5zfgn99] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-4iy5zfgn99] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-4iy5zfgn99] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-4iy5zfgn99] {
    padding-bottom: 1rem;
}

.nav-item[b-4iy5zfgn99]  a {
    color: var(--app-nav-text);
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item[b-4iy5zfgn99]  a.active {
    background-color: var(--app-nav-active);
    color: #fff;
}

.nav-item[b-4iy5zfgn99]  a:hover {
    background-color: var(--app-nav-hover);
    color: #fff;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4iy5zfgn99] {
        display: none;
    }

    .collapse[b-4iy5zfgn99] {
        display: block;
    }
}
