﻿/* ===== Layout ===== */

.page-shell {
    width: 100%;
    max-width: none;
    padding: 20px 24px 30px 24px;
    background-color: #f8fafc;
}

.page-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.page-eyebrow {
    font-size: .80rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}

.page-title-main {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.page-subtitle {
    margin-top: 6px;
    color: #6b7280;
    font-size: .95rem;
}

.header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 14px;
}

.meta-chip {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .9rem;
    color: #374151;
    font-weight: 600;
}

.section-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

.field-label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.input-highlight {
    border: 1px solid #cfd8e3 !important;
    border-radius: 10px !important;
    background-color: #fcfdff !important;
}

.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 4px;
}

.action-btn {
    min-width: 130px;
    height: 42px;
    border-radius: 10px !important;
    font-weight: 600;
    text-transform: none;
    box-shadow: none !important;
}

.reports-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.owners-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.owner-chip {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .85rem;
    font-weight: 500;
}

.loading-state {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
}

.compact-summary {
    color: #6b7280;
    font-size: .9rem;
    margin-top: -6px;
    margin-bottom: 14px;
}

.window-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fbfdff;
    padding: 14px;
}

.summary-expander .mud-expand-panel {
    background: transparent;
    box-shadow: none;
    border: none;
}

.summary-expander .mud-expand-panel-header {
    padding: 0;
    min-height: auto;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.summary-expander .mud-expand-panel-content {
    padding-top: 14px;
}

.compact-summary {
    color: #6b7280;
    font-size: .9rem;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.summary-card {
    background: #fbfdff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
}
.summary-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}
.mud-data-grid .mud-table-cell {
    font-size: 0.75rem;
    padding: 6px;
}

.mud-data-grid .mud-table-head th {
    font-size: 0.75rem;
    font-weight: 700;
    background: #f8fafc;

}
.section-card {
    margin-bottom: 16px;
}
.uniform-height {
    height: 40px;
}

.align-bottom {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.grid-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.grid-search {
    width: 400px;
}
.edit-pencil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #be185d; /* pink tone */

    transition: all 0.15s ease-in-out;
}

    .edit-pencil:hover {
        background-color: #fce7f3; /* light pink */
        border: 1px solid #f9a8d4;
        transform: translateY(-1px);
    }
.header-right-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.yard-select {
    min-width: 220px;
}
.grid-toolbar-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.grid-toolbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.actions-row {
    justify-content: flex-start; /* or flex-end if you want right aligned */
}
.col-tight {
    min-width: 30px;
    width: fit-content;
}

.col-id {
    min-width: 70px;
    width: fit-content;
}

.col-owner {
    min-width: 240px;
    white-space: normal;
}

 