﻿
.numeric-right input {
    text-align: right !important;
}

/*Grid Settings*/

/* 2. Target the individual cells, rows, and texts inside the rows */
.custom-grid .mud-table-row .mud-table-cell,
.custom-grid .mud-table-row {
    font-family: Segoe UI !important;
    color: #000000 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    background-color: #ffffff !important;
}


/* Target all header cells when the grid header has 'my-custom-header' */
.custom-grid .my-custom-header .mud-table-cell {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
    color: #334155 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
}



/* Style for Group Footer Summary Cells */
.custom-grid .mud-table-body .mud-table-cell.my-group-footer,
.custom-grid td.my-group-footer {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    border-top: 1px solid #cbd5e1 !important;
    border-bottom: 1px solid #cbd5e1 !important;
}


.custom-grid .my-grand-footer .mud-table-cell,
.custom-grid .my-grand-footer .mud-datagrid-footer-cell {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    border-top: 2px solid #94a3b8 !important;
    border-bottom: 2px solid #64748b !important;
}



th.rl-header .mud-datagrid-header-cell,
th.rl-header .column-header {
    justify-content: flex-end !important;
    text-align: right !important;
    width: 100% !important;
    display: flex !important;
}











/* ================================
   SCM Dashboard
   ================================ */

.scm-dashboard-card {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

    .scm-dashboard-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    }


/* Department Cards */

.scm-department-card {
    border-radius: 10px;
    border: 10px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
}

    .scm-department-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 16px rgba(0, 0, 0, 0.10);
    }


/* Department title */

.scm-department-title {
    font-weight: 600;
    font-size: 0.95rem;
}


/* KPI labels */

.scm-kpi-label {
    font-size: 0.72rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}


/* KPI values */

.scm-kpi-value {
    font-size: 1.25rem;
    font-weight: 700;
}


/* Dashboard section card */

.scm-section-card {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}


/* Section header */

.scm-section-title {
    font-size: 1rem;
    font-weight: 600;
}


/* AI briefing */

.scm-ai-card {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}


/* Responsive */

@media (max-width: 768px) {

    .scm-kpi-value {
        font-size: 1.05rem;
    }

    .scm-department-title {
        font-size: 0.9rem;
    }
}


.scm-group-row {
    padding: 10px 4px;
    transition: background-color 0.15s ease;
}

    .scm-group-row:hover {
        background-color: #f7f8fa;
    }

    .scm-group-row .mud-progress-linear {
        border-radius: 4px;
    }

.scm-ranking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px;
}

.scm-ranking-number {
    font-size: 0.75rem;
}

.scm-cost-center-row {
    padding: 8px 4px 12px 4px;
}

    .scm-cost-center-row .mud-progress-linear {
        border-radius: 4px;
    }


