﻿/* ===============================
   HOME PAGE - RIL ASMS STYLE
   =============================== */

:root {
    --ril-primary: #63AEB8;
    --ril-secondary: #5C63A8;
    --ril-bg: #f5f7fb;
    --ril-card-bg: #ffffff;
    --ril-text: #1f2937;
    --ril-muted: #6b7280;
}

/* ===============================
   LAYOUT
   =============================== */

.home-container {
    text-align:end;
    min-height: 70vh;
    background: var(--ril-bg);
    display: flex;
    flex-direction: column;
}

.home-content {
    padding: 28px;
    flex: 1;
}

/* ===============================
   GRID
   =============================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

/* ===============================
   CARD BASE
   =============================== */

.dashboard-card {
    background: var(--ril-card-bg);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .dashboard-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
    }

/* ===============================
   ICON
   =============================== */

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

/* ===============================
   INFO
   =============================== */

.card-info h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ril-muted);
}

.card-count {
    font-size: 34px;
    font-weight: 700;
    color: var(--ril-text);
    margin-top: 6px;
}

/* ===============================
   CARD VARIANTS
   =============================== */

.stock-card .card-icon {
    background: linear-gradient(135deg, #63AEB8, #5C63A8);
}

.pending-card .card-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.month-card .card-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.last-card .card-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 768px) {

    .home-content {
        padding: 18px;
    }

    .dashboard-card {
        padding: 18px;
    }

    .card-count {
        font-size: 26px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

/*Dealer dialog enhanced css*/

/* Left Summary Card */

.summary-card {
    padding: 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    color: #1E293B;
}

    .summary-header .mud-icon-root {
        color: #63AEB8;
    }

.summary-section {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

    .summary-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.summary-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
    margin-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

    .summary-row span {
        color: #64748B;
    }

    .summary-row strong {
        color: #1E293B;
        font-weight: 600;
    }

/* Make left panel feel stable */
.dealer-info {
    width: 100%;
    max-width: 340px;
}
