/* Shared shell: list/main pages styled like Components/Product_Price/Pages/Import.razor
   Scoped: do NOT use global .mud-menu { display:none } here — keep that per-page if needed */

.product-price-page {
    padding: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
    min-height: calc(100vh - 72px);
}

.product-price-header {
    border-radius: 18px;
    border: 1px solid rgba(17, 138, 178, .16);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
    padding: 14px 16px;
    margin-bottom: 12px;
}

.product-price-title {
    font-weight: 800 !important;
    letter-spacing: .2px;
    color: #0f3557;
}

.product-price-subtitle {
    color: #64748b;
    font-size: 12px;
    margin-top: 2px;
}

.product-price-toolbar {
    gap: 8px;
    flex-wrap: wrap;
}

    .product-price-toolbar .mud-button-root {
        border-radius: 999px !important;
        min-height: 32px;
        font-weight: 700;
        text-transform: none;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
    }

.product-price-card {
    border-radius: 18px;
    border: 1px solid rgba(17, 138, 178, .14);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}

.product-price-grid-wrap {
    padding: 10px;
}

.product-price-grid {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
}

    .product-price-grid .mud-table-container {
        max-height: calc(100vh - 300px);
        min-height: 360px;
    }

    .product-price-grid .mud-table {
        font-size: 12px;
    }

        .product-price-grid .mud-table-head th,
        .product-price-grid .mud-table thead th {
            background: linear-gradient(180deg, #118ab2 0%, #0d6f91 100%) !important;
            color: #ffffff !important;
            font-weight: 800 !important;
            white-space: nowrap;
            padding: 7px 10px !important;
            border-bottom: none !important;
        }

        .product-price-grid .mud-table-row td {
            padding: 6px 10px !important;
            white-space: nowrap;
            max-width: 220px;
            overflow: hidden;
            text-overflow: ellipsis;
            border-bottom: 1px solid #eef2f7 !important;
        }

        .product-price-grid .mud-table-row:hover td {
            background-color: #eef8ff !important;
        }

        .product-price-grid .selected td,
        .product-price-grid .mud-table-row.selected td {
            background: #d8efff !important;
            color: #075985 !important;
            font-weight: 700;
            border-top: 1px solid #7dd3fc !important;
            border-bottom: 1px solid #7dd3fc !important;
        }

            .product-price-grid .selected td:first-child {
                border-left: 4px solid #0284c7 !important;
            }

        .product-price-grid .mud-checkbox .mud-icon-root {
            font-size: 18px;
        }

        .product-price-grid .mud-icon-button {
            padding: 4px !important;
            border-radius: 10px !important;
        }

        .product-price-grid .mud-input-root,
        .product-price-grid .mud-input-control {
            font-size: 12px !important;
        }

        .product-price-grid .mud-table-foot tr,
        .product-price-grid .mud-table-foot td {
            background: #f8fafc !important;
            color: #0f3557 !important;
            font-weight: 700;
        }

.product-price-child-panel {
    margin: 8px 12px 12px 44px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    box-shadow: inset 4px 0 0 #38bdf8;
}

.chart-card {
    margin-top: 12px;
    border-radius: 18px;
    border: 1px solid rgba(17, 138, 178, .14);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
    overflow: hidden;
}

.chart-card-header {
    padding: 12px 16px 4px 16px;
    font-weight: 800;
    color: #0f3557;
}

.chart-card-body {
    padding: 6px 14px 14px 14px;
}

.no-wrap {
    white-space: nowrap;
}

.text-right input {
    text-align: right !important;
}
