/* /Pages/AllBuildings.razor.rz.scp.css */
.all-buildings-wrapper[b-dex4g3anr3]{
    padding:24px 2px 40px;
    max-width:1200px;
    margin:0 auto;
    font-family:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.section-card[b-dex4g3anr3]{
    border:1px solid #000;
    padding:10px;
    background:#fff;
}

.totals-card[b-dex4g3anr3]{
    background:#d9d9d9;
}

.totals-value[b-dex4g3anr3]{
    text-align:center;
    font-size:26px;
    font-weight:700;
    padding:8px 0 16px;
}

.note-text[b-dex4g3anr3]{
    font-size:11px;
    color:#333;
    text-align:right;
    margin-bottom:4px;
}

.subtitle-fg[b-dex4g3anr3]{
    position:relative;
    margin:10px 0 6px;
    display:flex;
    justify-content:center;
    width:100%;
    align-items:center;
    text-align:center;
    padding:0;
    z-index:1;
    pointer-events:none;
}

    .subtitle-fg span[b-dex4g3anr3] {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-style: normal;
        text-align: center;
        line-height: 110%;
        margin: 0;
        font-weight: 700;
        font-size: 20px;
        color: #1a202c;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

.table td[b-dex4g3anr3],.table th[b-dex4g3anr3]{
    font-size:12px;
    vertical-align:middle;
}

.unit-toggle-inline[b-dex4g3anr3]{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.unit-label[b-dex4g3anr3]{
    font-size:10px;
    color:#666;
    margin-bottom:2px;
    text-transform:uppercase;
    letter-spacing:0.5px;
}

.unit-buttons[b-dex4g3anr3]{
    display:flex;
    align-items:center;
    background:none;
    padding:0;
    border:none;
}

.unit-btn[b-dex4g3anr3]{
    background:none;
    border:none;
    padding:0 5px;
    cursor:pointer;
    font-size:13px;
    color:#1201FF;
    font-weight:500;
}

.unit-btn.active[b-dex4g3anr3]{
    font-weight:700;
}

.unit-separator[b-dex4g3anr3]{
    color:#1a73e8;
    padding:0 2px;
}

.multiply-by[b-dex4g3anr3]{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:700;
    color:#111;
}

.multiply-box[b-dex4g3anr3]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:28px;
    border:1px solid #000;
    background:#fff2a8;
    font-weight:700;
}

table.table.table-bordered > tbody > tr.table-active[b-dex4g3anr3],
.section-card .table-active[b-dex4g3anr3]{
    background-color:#000 !important;
    color:#fff !important;
}

table.table.table-bordered > tbody > tr.table-active > td[b-dex4g3anr3],
.section-card .table-active td[b-dex4g3anr3]{
    background-color:#000 !important;
    color:#fff !important;
    border-color:#444 !important;
    font-weight:700;
}

.section-card[b-dex4g3anr3] {
    overflow: auto;
}


/* /Pages/BuildingDetail.razor.rz.scp.css */
.form-row[b-hv5xtk3t1k] {
    display: grid;
    grid-template-columns: 50px 60px 80px 100px 1fr 80px 90px 90px 90px 110px;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Main container */
.add-components-wrapper[b-hv5xtk3t1k] {
    padding: 24px 2px 40px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Top title + view toggle */
.top-bar[b-hv5xtk3t1k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.title-container[b-hv5xtk3t1k] {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
}

.title-stroke[b-hv5xtk3t1k] {
    display: inline-block;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-style: normal;
    font-size: 20px;
    font-weight: 600;
    line-height: 110%;
    color: #ff0000;
    text-transform: uppercase;
    -webkit-text-stroke: 1px #000;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.unit-toggle[b-hv5xtk3t1k] {
    margin-left: auto;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    white-space: nowrap;
    padding: 8px 0;
}

.unit-toggle-inner[b-hv5xtk3t1k] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.unit-label[b-hv5xtk3t1k] {
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.unit-buttons[b-hv5xtk3t1k] {
    display: flex;
    align-items: center;
    background: none;
    padding: 0;
    border: none;
}

.unit-btn[b-hv5xtk3t1k] {
    background: none;
    border: none;
    padding: 0 5px;
    cursor: pointer;
    font-size: 13px;
    color: #1201FF;
    font-weight: 500;
    transition: color 0.2s ease;
}

.unit-btn:hover[b-hv5xtk3t1k] {
    color: #0d47a1;
}

.unit-btn.active[b-hv5xtk3t1k] {
    color: #0d47a1;
    font-weight: 600;
}

.unit-separator[b-hv5xtk3t1k] {
    color: #1a73e8;
    padding: 0 2px;
}

/* Section container */
.section-block[b-hv5xtk3t1k] {
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid #e0e0e0;
}

/* Section header (black bar) */
.section-header[b-hv5xtk3t1k] {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background-color: #0b0b0b;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.section-header:hover[b-hv5xtk3t1k] {
    background-color: #1a1a1a;
}

.arrow[b-hv5xtk3t1k] {
    display: inline-block;
    margin-right: 12px;
    font-size: 14px;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.section-name[b-hv5xtk3t1k] {
    flex: 1;
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
    text-transform: capitalize;
}

/* Table container */
.table-wrapper[b-hv5xtk3t1k] {
    background: #ffffff;
    overflow-x: auto;
}

.table[b-hv5xtk3t1k] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 0;
    table-layout: fixed;
}

/* Define consistent column widths */
.table th:nth-child(1)[b-hv5xtk3t1k], .table td:nth-child(1)[b-hv5xtk3t1k] { width: 60px; }   /* BLDG # */
.table th:nth-child(2)[b-hv5xtk3t1k], .table td:nth-child(2)[b-hv5xtk3t1k] { width: 50px; }   /* QTY */
.table th:nth-child(3)[b-hv5xtk3t1k], .table td:nth-child(3)[b-hv5xtk3t1k] { width: 120px; }  /* PART */
.table th:nth-child(4)[b-hv5xtk3t1k], .table td:nth-child(4)[b-hv5xtk3t1k] { width: 80px; }   /* GAGE */
.table th:nth-child(5)[b-hv5xtk3t1k], .table td:nth-child(5)[b-hv5xtk3t1k] { width: 150px; }  /* DESCRIPTION */
.table th:nth-child(6)[b-hv5xtk3t1k], .table td:nth-child(6)[b-hv5xtk3t1k] { width: 60px; }   /* UOM */
.table th:nth-child(7)[b-hv5xtk3t1k], .table td:nth-child(7)[b-hv5xtk3t1k] { width: 80px; }   /* FINISH */
.table th:nth-child(8)[b-hv5xtk3t1k], .table td:nth-child(8)[b-hv5xtk3t1k] { width: 70px; }   /* COLOR */
.table th:nth-child(9)[b-hv5xtk3t1k], .table td:nth-child(9)[b-hv5xtk3t1k] { width: 70px; }   /* PROFILE */
.table th:nth-child(10)[b-hv5xtk3t1k], .table td:nth-child(10)[b-hv5xtk3t1k] { width: 70px; }   /* THICKNESS */
.table th:nth-child(11)[b-hv5xtk3t1k], .table td:nth-child(11)[b-hv5xtk3t1k] { width: 80px; }   /* LENGTH */
.table th:nth-child(12)[b-hv5xtk3t1k], .table td:nth-child(12)[b-hv5xtk3t1k] { width: 90px; }   /* WEIGHT */
.table th:nth-child(13)[b-hv5xtk3t1k], .table td:nth-child(13)[b-hv5xtk3t1k] { width: 120px; } /* MATERIAL COST */
.table th:nth-child(14)[b-hv5xtk3t1k], .table td:nth-child(14)[b-hv5xtk3t1k] { width: 120px; } /* MATERIAL LABOR */
.table th:nth-child(15)[b-hv5xtk3t1k], .table td:nth-child(15)[b-hv5xtk3t1k] { width: 120px; } /* TOTAL WEIGHT */
.table th:nth-child(16)[b-hv5xtk3t1k], .table td:nth-child(16)[b-hv5xtk3t1k] { width: 120px; } /* TOTAL COST */
.table th:nth-child(17)[b-hv5xtk3t1k], .table td:nth-child(17)[b-hv5xtk3t1k] { width: 120px; } /* ACTIONS */

.table thead th[b-hv5xtk3t1k] {
    background-color: #f6f6f6;
    padding: 8px 10px;
    border: 1px solid #e6e6e6;
    font-weight: 700;
    text-align: left;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table tbody td[b-hv5xtk3t1k] {
    padding: 8px 10px;
    border: 1px solid #f1f1f1;
    color: #222;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table tbody tr:nth-child(even)[b-hv5xtk3t1k] {
    background-color: #fbfbfb;
}

.table tbody tr:hover[b-hv5xtk3t1k] {
    background-color: #f9f9f9;
}

.table tfoot[b-hv5xtk3t1k] {
    background-color: #f0f0f0;
}

.table tfoot td[b-hv5xtk3t1k] {
    padding: 10px 12px;
    border: 1px solid #e6e6e6;
    font-weight: 700;
}

.table-primary[b-hv5xtk3t1k] {
    background-color: #e7f3ff !important;
}

.table-light[b-hv5xtk3t1k] {
    background-color: #f6f6f6 !important;
}

.text-end[b-hv5xtk3t1k] {
    text-align: right;
}

.text-center[b-hv5xtk3t1k] {
    text-align: center;
}

/* Add Item Button */
.add-item-btn[b-hv5xtk3t1k] {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 12px;
    color: #1201FF;
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 4px;
}

.add-item-btn:hover[b-hv5xtk3t1k] {
    background-color: rgba(18, 1, 255, 0.05);
    text-decoration: none;
}

/* Modify Button */
.modify-btn[b-hv5xtk3t1k] {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.modify-btn:hover[b-hv5xtk3t1k] {
    background-color: #2a2a2a;
    border-color: #444;
}

/* Action buttons */
.actions[b-hv5xtk3t1k] {
  display: flex;
  gap: 0;
  justify-content: center;
}

.btn-edit[b-hv5xtk3t1k],
.btn-delete[b-hv5xtk3t1k] {
  background: none;
  border: none;
  border-right: 1px solid #e0e0e0;
  color: #495057;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  position: relative;
}

.btn-delete[b-hv5xtk3t1k] {
  border-right: none;
}

.btn-edit:hover[b-hv5xtk3t1k] {
  background-color: #e9ecef;
  color: #0d6efd;
}

.btn-edit:hover svg[b-hv5xtk3t1k] {
  stroke: #0d6efd;
}

.btn-delete:hover[b-hv5xtk3t1k] {
  background-color: #fff5f5;
  color: #dc3545;
}

.btn-delete:hover svg[b-hv5xtk3t1k] {
  stroke: #dc3545;
}

.btn-edit svg[b-hv5xtk3t1k],
.btn-delete svg[b-hv5xtk3t1k] {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* Form Styles */
.form-container[b-hv5xtk3t1k] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section[b-hv5xtk3t1k] {
    background: #ffffff;
    border-radius: 4px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    overflow-x: auto;
    width: 100%;
    box-sizing: border-box;
}

.form-row[b-hv5xtk3t1k] {
    display: grid;
    grid-template-columns: 50px 70px 80px 130px 1fr 80px 100px 100px 100px 120px;
    gap: 3.5rem;
    align-items: center;
    padding: 0.75rem 0;
}

.form-row:not(.header)[b-hv5xtk3t1k] {
    border-bottom: 1px solid #eee;
}

.form-row.header[b-hv5xtk3t1k] {
    font-weight: 600;
    background-color: #f8f9fa;
    padding: 0.5rem 0;
    margin: 0 0 0.5rem 0;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-check[b-hv5xtk3t1k] {
    display: flex;
    align-items: center;
    margin: 0;
}

.form-check-input[b-hv5xtk3t1k] {
    margin-right: 0.75rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.form-check-label[b-hv5xtk3t1k] {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

.form-control[b-hv5xtk3t1k] {
    width: 100%;
    min-width: 0;
    padding: 0.4rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 0.8125rem;
    font-family: inherit;
    box-sizing: border-box;
    max-width: 100%;
}

.form-control:focus[b-hv5xtk3t1k] {
    outline: none;
    border-color: #1201FF;
    box-shadow: 0 0 0 3px rgba(18, 1, 255, 0.1);
}

.form-control:disabled[b-hv5xtk3t1k] {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Button Styles */
.btn[b-hv5xtk3t1k] {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    border: 1px solid transparent;
}

.btn-primary[b-hv5xtk3t1k] {
    background-color: #1201FF;
    color: white;
    border-color: #1201FF;
}

.btn-primary:hover[b-hv5xtk3t1k] {
    background-color: #0d00cc;
    border-color: #0d00cc;
}

.btn-primary:active[b-hv5xtk3t1k] {
    background-color: #0a0099;
}

.btn-secondary[b-hv5xtk3t1k] {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-secondary:hover[b-hv5xtk3t1k] {
    background-color: #5a6268;
    border-color: #5a6268;
}

.btn-link[b-hv5xtk3t1k] {
    background: none;
    border: none;
    color: #1201FF;
    text-decoration: underline;
    padding: 0.5rem 1rem;
}

.btn-link:hover[b-hv5xtk3t1k] {
    color: #0d00cc;
    text-decoration: none;
}

/* Select Styles */
.form-select[b-hv5xtk3t1k],
select.form-control[b-hv5xtk3t1k] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    background-color: #ffffff;
    cursor: pointer;
}

.form-select:focus[b-hv5xtk3t1k],
select.form-control:focus[b-hv5xtk3t1k] {
    outline: none;
    border-color: #1201FF;
    box-shadow: 0 0 0 3px rgba(18, 1, 255, 0.1);
}

.form-select-sm[b-hv5xtk3t1k] {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.form-control-sm[b-hv5xtk3t1k] {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

/* Modify overlay panel */
.modify-overlay[b-hv5xtk3t1k] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1100;
}

.modify-panel[b-hv5xtk3t1k] {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid #ddd;
}

.modify-title[b-hv5xtk3t1k] {
    margin: 0 0 1.5rem 0;
    font-size: 18px;
    font-weight: 700;
    color: #ff0000;
    text-align: center;
    text-transform: uppercase;
}

/* Utility classes */
.mb-2[b-hv5xtk3t1k] {
    margin-bottom: 0.5rem;
}

.mb-3[b-hv5xtk3t1k] {
    margin-bottom: 1rem;
}

.mb-1[b-hv5xtk3t1k] {
    margin-bottom: 0.25rem;
}

.mt-2[b-hv5xtk3t1k] {
    margin-top: 0.5rem;
}

.mt-3[b-hv5xtk3t1k] {
    margin-top: 1rem;
}

.me-2[b-hv5xtk3t1k] {
    margin-right: 0.5rem;
}

.ms-1[b-hv5xtk3t1k] {
    margin-left: 0.25rem;
}

.me-1[b-hv5xtk3t1k] {
    margin-right: 0.25rem;
}

.p-2[b-hv5xtk3t1k] {
    padding: 0.5rem;
}

.p-4[b-hv5xtk3t1k] {
    padding: 1.5rem;
}

.gap-2[b-hv5xtk3t1k] {
    gap: 0.5rem;
}

.d-flex[b-hv5xtk3t1k] {
    display: flex;
}

.justify-content-between[b-hv5xtk3t1k] {
    justify-content: space-between;
}

.justify-content-center[b-hv5xtk3t1k] {
    justify-content: center;
}

.justify-content-end[b-hv5xtk3t1k] {
    justify-content: flex-end;
}

.align-items-center[b-hv5xtk3t1k] {
    align-items: center;
}

.w-100[b-hv5xtk3t1k] {
    width: 100%;
}

.h-100[b-hv5xtk3t1k] {
    height: 100%;
}

.fw-semibold[b-hv5xtk3t1k] {
    font-weight: 600;
}

.fw-bold[b-hv5xtk3t1k] {
    font-weight: 700;
}

/* Responsive design */
@media (max-width: 1200px) {
    .form-row[b-hv5xtk3t1k] {
        grid-template-columns: 50px 60px 70px 110px 1fr 80px 90px 90px 90px 100px;
        gap: 0.4rem;
    }
    
    .modal-content[b-hv5xtk3t1k] {
        max-width: 95vw;
    }
}

@media (max-width: 900px) {
    .form-row[b-hv5xtk3t1k] {
        grid-template-columns: 45px 50px 60px 100px 1fr 70px 80px 80px 80px 90px;
        gap: 0.3rem;
        font-size: 12px;
    }
    
    .form-control[b-hv5xtk3t1k] {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }
    
    .table[b-hv5xtk3t1k] {
        font-size: 12px;
        min-width: 1100px;
    }
    
    /* Adjust column widths for medium screens */
    .table th:nth-child(1)[b-hv5xtk3t1k], .table td:nth-child(1)[b-hv5xtk3t1k] { width: 50px; }   /* BLDG # */
    .table th:nth-child(2)[b-hv5xtk3t1k], .table td:nth-child(2)[b-hv5xtk3t1k] { width: 45px; }   /* QTY */
    .table th:nth-child(3)[b-hv5xtk3t1k], .table td:nth-child(3)[b-hv5xtk3t1k] { width: 100px; }  /* PART */
    .table th:nth-child(4)[b-hv5xtk3t1k], .table td:nth-child(4)[b-hv5xtk3t1k] { width: 70px; }   /* GAGE */
    .table th:nth-child(5)[b-hv5xtk3t1k], .table td:nth-child(5)[b-hv5xtk3t1k] { width: 120px; }  /* DESCRIPTION */
    .table th:nth-child(6)[b-hv5xtk3t1k], .table td:nth-child(6)[b-hv5xtk3t1k] { width: 50px; }   /* UOM */
    .table th:nth-child(7)[b-hv5xtk3t1k], .table td:nth-child(7)[b-hv5xtk3t1k] { width: 70px; }   /* FINISH */
    .table th:nth-child(8)[b-hv5xtk3t1k], .table td:nth-child(8)[b-hv5xtk3t1k] { width: 70px; }   /* COLOR */
    .table th:nth-child(9)[b-hv5xtk3t1k], .table td:nth-child(9)[b-hv5xtk3t1k] { width: 70px; }   /* PROFILE */
    .table th:nth-child(10)[b-hv5xtk3t1k], .table td:nth-child(10)[b-hv5xtk3t1k] { width: 70px; }   /* THICKNESS */
    .table th:nth-child(11)[b-hv5xtk3t1k], .table td:nth-child(11)[b-hv5xtk3t1k] { width: 80px; }   /* LENGTH */
    .table th:nth-child(12)[b-hv5xtk3t1k], .table td:nth-child(12)[b-hv5xtk3t1k] { width: 80px; }   /* WEIGHT */
    .table th:nth-child(13)[b-hv5xtk3t1k], .table td:nth-child(13)[b-hv5xtk3t1k] { width: 95px; } /* MATERIAL COST */
    .table th:nth-child(14)[b-hv5xtk3t1k], .table td:nth-child(14)[b-hv5xtk3t1k] { width: 95px; } /* MATERIAL LABOR */
    .table th:nth-child(15)[b-hv5xtk3t1k], .table td:nth-child(15)[b-hv5xtk3t1k] { width: 95px; } /* TOTAL WEIGHT */
    .table th:nth-child(16)[b-hv5xtk3t1k], .table td:nth-child(16)[b-hv5xtk3t1k] { width: 95px; } /* TOTAL COST */
    .table th:nth-child(17)[b-hv5xtk3t1k], .table td:nth-child(17)[b-hv5xtk3t1k] { width: 100px; } /* ACTIONS */
    
    .table thead th[b-hv5xtk3t1k],
    .table tbody td[b-hv5xtk3t1k] {
        padding: 6px 8px;
    }
}

@media (max-width: 768px) {
    .add-components-wrapper[b-hv5xtk3t1k] {
        padding: 1rem;
    }
    
    .title-stroke[b-hv5xtk3t1k] {
        font-size: 18px;
    }
    
    .form-row[b-hv5xtk3t1k] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .form-row.header[b-hv5xtk3t1k] {
        display: none;
    }
    
    .form-row[b-hv5xtk3t1k] {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        border-radius: 4px;
    }
    
    .form-control[b-hv5xtk3t1k] {
        width: 100%;
    }
    
    .modal-content[b-hv5xtk3t1k] {
        max-width: 100vw;
        max-height: 95vh;
    }
    
    .table[b-hv5xtk3t1k] {
        font-size: 11px;
        min-width: 900px;
    }
    
    /* Smaller column widths for mobile */
    .table th:nth-child(1)[b-hv5xtk3t1k], .table td:nth-child(1)[b-hv5xtk3t1k] { width: 45px; }   /* BLDG # */
    .table th:nth-child(2)[b-hv5xtk3t1k], .table td:nth-child(2)[b-hv5xtk3t1k] { width: 40px; }   /* QTY */
    .table th:nth-child(3)[b-hv5xtk3t1k], .table td:nth-child(3)[b-hv5xtk3t1k] { width: 80px; }   /* PART */
    .table th:nth-child(4)[b-hv5xtk3t1k], .table td:nth-child(4)[b-hv5xtk3t1k] { width: 60px; }   /* GAGE */
    .table th:nth-child(5)[b-hv5xtk3t1k], .table td:nth-child(5)[b-hv5xtk3t1k] { width: 100px; }  /* DESCRIPTION */
    .table th:nth-child(6)[b-hv5xtk3t1k], .table td:nth-child(6)[b-hv5xtk3t1k] { width: 45px; }   /* UOM */
    .table th:nth-child(7)[b-hv5xtk3t1k], .table td:nth-child(7)[b-hv5xtk3t1k] { width: 60px; }   /* FINISH */
    .table th:nth-child(8)[b-hv5xtk3t1k], .table td:nth-child(8)[b-hv5xtk3t1k] { width: 70px; }   /* COLOR */
    .table th:nth-child(9)[b-hv5xtk3t1k], .table td:nth-child(9)[b-hv5xtk3t1k] { width: 70px; }   /* PROFILE */
    .table th:nth-child(10)[b-hv5xtk3t1k], .table td:nth-child(10)[b-hv5xtk3t1k] { width: 70px; }   /* THICKNESS */
    .table th:nth-child(11)[b-hv5xtk3t1k], .table td:nth-child(11)[b-hv5xtk3t1k] { width: 80px; }   /* LENGTH */
    .table th:nth-child(12)[b-hv5xtk3t1k], .table td:nth-child(12)[b-hv5xtk3t1k] { width: 70px; }   /* WEIGHT */
    .table th:nth-child(13)[b-hv5xtk3t1k], .table td:nth-child(13)[b-hv5xtk3t1k] { width: 80px; } /* MATERIAL COST */
    .table th:nth-child(14)[b-hv5xtk3t1k], .table td:nth-child(14)[b-hv5xtk3t1k] { width: 80px; } /* MATERIAL LABOR */
    .table th:nth-child(15)[b-hv5xtk3t1k], .table td:nth-child(15)[b-hv5xtk3t1k] { width: 80px; } /* TOTAL WEIGHT */
    .table th:nth-child(16)[b-hv5xtk3t1k], .table td:nth-child(16)[b-hv5xtk3t1k] { width: 80px; } /* TOTAL COST */
    .table th:nth-child(17)[b-hv5xtk3t1k], .table td:nth-child(17)[b-hv5xtk3t1k] { width: 70px; } /* ACTIONS */
    
    .table thead th[b-hv5xtk3t1k],
    .table tbody td[b-hv5xtk3t1k] {
        padding: 4px 6px;
    }
    
    .modify-panel[b-hv5xtk3t1k] {
        max-width: 90%;
    }
}

/* Add this to your CSS file */
.file-info[b-hv5xtk3t1k] {
    text-align: left;
    margin: 8px 0 16px 0;
    font-size: 16px;
    font-weight: 500;
}

.files-label[b-hv5xtk3t1k] {
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
}
/* Add Building modal specific width */
.modal-content.building-modal[b-hv5xtk3t1k] {
    max-width: 47vw;
    width: 47vw;
}

/* error validation styles*/
.validation-message[b-hv5xtk3t1k] {
    color: #dc3545;
    font-size: 0.75rem;
}

input.invalid[b-hv5xtk3t1k],
select.invalid[b-hv5xtk3t1k],
textarea.invalid[b-hv5xtk3t1k] {
    border-color: #dc3545;
}

.btn[b-hv5xtk3t1k] {
    padding: 6px 16px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
    text-align: center;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-dark[b-hv5xtk3t1k] {
    background-color: #545454;
    color: white;
    border: 1px solid #656566;
}

    .btn-primary:hover[b-hv5xtk3t1k] {
        background-color: #e2e6ea;
        border-color: #e7e8e8;
    }

.btn-secondary[b-hv5xtk3t1k] {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #ced4da;
}

    .btn-secondary:hover[b-hv5xtk3t1k] {
        background-color: #e2e6ea;
        border-color: #dae0e5;
    }

/* /Pages/BuildingInformation.razor.rz.scp.css */
.content-area[b-184ydg9tij] {
    padding: 20px;
    /* background: #f5f5f5; */
}

.building-tabs button[b-184ydg9tij] {
    /* margin-right: 6px; */
    --bs-btn-padding-x: 1.7%;
    --bs-btn-padding-y: 0.8%;
    outline: none;
}
.building-tabs button:focus[b-184ydg9tij] {
    outline: none !important;
    box-shadow: none !important;
}

/* For better accessibility, you might want to add a different visual indicator */
.building-tabs button:focus-visible[b-184ydg9tij] {
    outline: 2px solid #6c757d !important;
    outline-offset: 2px;
}

.note-text[b-184ydg9tij] {
    font-size: 11px;
    font-style: italic;
    color: #333;
    text-align: right;
    margin-bottom: 6px;
}

/* Red subtitle from figma reference */
.subtitle-fg[b-184ydg9tij] {
  position: relative;
  margin: 10px 0 6px;
  display: flex;
  justify-content: center; /* Center horizontally */
  width: 100%; /* Ensure it spans full width */
  align-items: center;
  text-align: center;
  padding: 0; /* no inset space */
  z-index: 1;
  pointer-events: none; /* ensure it never blocks clicks */
}
    .subtitle-fg span[b-184ydg9tij] {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-style: normal;
        text-align: center;
        line-height: 110%;
        margin: 0;
        font-weight: 700;
        font-size: 20px;
        color: #1a202c;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

.section-card[b-184ydg9tij] {
    border: 1px solid #000;
    border-radius: 0;
    padding: 10px;
    /* background-color: #f5f5f5; */
    background: #fff;
}

.section-title[b-184ydg9tij] {
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.table td[b-184ydg9tij], .table th[b-184ydg9tij] {
    font-size: 12px;
    vertical-align: middle;
}
.mbs-header[b-184ydg9tij] {
    padding-bottom: 10px;
}

.mbs-row[b-184ydg9tij] {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.mbs-row .label[b-184ydg9tij] {
    font-weight: bold;
    width: 130px;
}

.underline-input[b-184ydg9tij] {
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
    padding: 2px 4px;
    background: transparent;
}

.underline-input.wide[b-184ydg9tij] {
    width: 300px;
}

.underline-input.small[b-184ydg9tij] {
    width: 40px;
    text-align: center;
}

.cost-strip[b-184ydg9tij] {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
}

.cost-item[b-184ydg9tij] {
    text-align: center;
    font-size: 12px;
}

.cost-label[b-184ydg9tij] {
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 3px;
}

.cost-value[b-184ydg9tij] {
    font-size: 13px;
}

/* Building Material - header controls */
.unit-toggle-inline[b-184ydg9tij] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.unit-toggle-inline .unit-label[b-184ydg9tij] {
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.unit-toggle-inline .unit-buttons[b-184ydg9tij] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.unit-toggle-inline .unit-btn[b-184ydg9tij] {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.unit-toggle-inline .unit-btn.active[b-184ydg9tij] {
    color: #2b50ff;
}

.unit-toggle-inline .unit-separator[b-184ydg9tij] {
    font-size: 12px;
    color: #000;
}

.multiply-by[b-184ydg9tij] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.multiply-box[b-184ydg9tij] {
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    background: #ffe86a;
    font-weight: 700;
}

/* Building Material - table tweaks */
.building-material-table .material-link[b-184ydg9tij] {
    color: #2b50ff;
    text-decoration: underline;
    font-weight: 600;
}

.building-material-table[b-184ydg9tij] {
    border-color: #000;
}

.building-material-table thead th[b-184ydg9tij] {
    background: #e6e6e6;
    border-color: #000;
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
}

.building-material-table tbody td[b-184ydg9tij] {
    background: #d9d9d9;
    border-color: #000;
    font-size: 12px;
}

.building-material-table td[b-184ydg9tij],
.building-material-table th[b-184ydg9tij] {
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Style for summary rows */
table.table.table-bordered > tbody > tr.table-active[b-184ydg9tij] {
    background-color: #000000 !important;
    color: #ffffff !important;
}

table.table.table-bordered > tbody > tr.table-active > td[b-184ydg9tij] {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-color: #444 !important;
}


/* Style for Building Totals table */
.section-card table[b-184ydg9tij] {
    background-color: white; /* Set default background for all tables */
}

.section-card .table-active[b-184ydg9tij] {
    background-color: #000 !important;
    color: #fff !important;
}

.section-card .table-active td[b-184ydg9tij] {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #444 !important;
    font-weight: 600;
}
.section-card[b-184ydg9tij] {
    overflow: auto;
}

/* /Pages/MaterialCategoryTypeManager.razor.rz.scp.css */
.material-categories-table th:last-child[b-rdpiu0v291],
.material-categories-table td:last-child[b-rdpiu0v291] {
    width: 96px;
}

.material-categories-table .category-actions-header[b-rdpiu0v291] {
    text-align: center;
    padding-left: 20px;
}

.material-categories-table .category-actions-cell[b-rdpiu0v291] {
    justify-content: flex-end;
    padding-right: 16px;
}

.material-categories-table .category-action-btn[b-rdpiu0v291] {
    border-right: none;
}

.material-types-table th:last-child[b-rdpiu0v291],
.material-types-table td:last-child[b-rdpiu0v291] {
    width: 96px;
}

.material-types-table .type-actions-header[b-rdpiu0v291] {
    text-align: center;
    padding-left: 20px;
}

.material-types-table .type-actions-cell[b-rdpiu0v291] {
    justify-content: flex-end;
    padding-right: 16px;
}

.material-types-table .type-action-btn[b-rdpiu0v291] {
    border-right: none;
}
/* /Pages/ProjectInfo.razor.rz.scp.css */
/* Page container */
.project-info-page[b-q7aamdv4ym] { 
  padding: 24px 28px 96px 28px; 
  background-color: #f9f9f9;
}

/* Project title container */
.project-title-container[b-q7aamdv4ym] {
  background-color: #fff;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

/* Project title row */
.project-title-row[b-q7aamdv4ym] { 
  display: grid; 
  grid-template-columns: 170px 1fr auto; 
  align-items: center; 
  gap: 14px; 
}

.project-title-row .label[b-q7aamdv4ym] {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.project-title-row .title-box[b-q7aamdv4ym] {
  border: 2px solid #e0e4e7;
  padding: 12px 16px;
  border-radius: 6px;
  width: 100%;
  max-width: 600px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}

.project-title-row .title-box:hover[b-q7aamdv4ym] {
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.project-title-row .title-box a[b-q7aamdv4ym] {
  color: #1a1a1a;
  text-decoration: underline;
  font-weight: 500;
}

.project-title-row .title-box a.nowrap[b-q7aamdv4ym] { 
  white-space: nowrap; 
  display: inline-block; 
}

/* Info sections */
.info-section[b-q7aamdv4ym] {
  background-color: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-section:hover[b-q7aamdv4ym] {
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Section title style */
.info-section .section-title[b-q7aamdv4ym] {
  position: relative;
  width: 100%;
  height: 35px;
  display: flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: #1b6ec2;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Content container */
.info-content[b-q7aamdv4ym] {
  padding: 4px 0;
}

/* Field layout */
.info-section .field[b-q7aamdv4ym] {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 12px;
  margin: 14px 0; /* consistent spacing to align rows across columns */
  position: relative;
}

.info-section .name[b-q7aamdv4ym] {
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

/* Input styling */
.mini-input[b-q7aamdv4ym] {
  width: 100%;
  max-width: 260px;
  height: 32px;
  background: #f5f5f5 !important;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 10px;
  outline: none;
  display: block; /* ensures consistent height in grid */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  font-size: 14px;
  color: #333;
}

.mini-input:focus[b-q7aamdv4ym] {
  border-color: #1b6ec2;
  box-shadow: 0 0 0 2px rgba(27,110,194,0.15);
  background: #fff !important;
}

.mini-input[b-q7aamdv4ym]::placeholder {
  color: #aaa;
  font-size: 13px;
}

.mini-input[type="date"][b-q7aamdv4ym] {
  /* Align native date control to same height */
  line-height: 24px;
  background: #f5f5f5 !important;
}

.mini-input[type="date"]:focus[b-q7aamdv4ym] {
  background: #fff !important;
}

.date-input[b-q7aamdv4ym] {
  max-width: 260px;
}

/* Actions */
.actions[b-q7aamdv4ym] { 
  position: fixed; 
  right: 28px; 
  bottom: 24px; 
  z-index: 10; 
}

.actions .update[b-q7aamdv4ym] {
  background: #2ecc71;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.actions .update:hover[b-q7aamdv4ym] {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.actions .update:active[b-q7aamdv4ym] {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.15);
}

/* Modify button */
.modify-btn[b-q7aamdv4ym] {
  background-color: #1b6ec2;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.modify-btn:hover[b-q7aamdv4ym] {
  background-color: #155da1;
  transform: translateY(-1px);
  box-shadow: 0 3px 5px rgba(0,0,0,0.15);
}

.modify-btn:active[b-q7aamdv4ym] {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .info-section .field[b-q7aamdv4ym] {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .info-section .name[b-q7aamdv4ym] {
    margin-bottom: 4px;
  }
  
  .mini-input[b-q7aamdv4ym] {
    max-width: 100%;
  }
}

.content[b-q7aamdv4ym]{
  background-color: #f9f9f9 !important;
}
.no-lr-padding[b-q7aamdv4ym] {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
