.dre-dashboard-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding: 20px;
    background: #f5f5f5;
}

.dre-loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.dre-grid-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 15px;
    max-width: 1800px;
    margin: 0 auto;
    align-items: start;
}

.dre-left-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dre-card {
    border-radius: 16px;
    padding: 40px 20px;
    color: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 290px;
    position: relative;
    overflow: hidden;
}

.dre-card-blue {
    background: #227CBF;
    background-image: url(https://ces.infracredit.ng/wp-content/uploads/2024/09/briefcase-svgrepo-com-4-2.svg);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 39% auto;
}

.dre-card-dark {
    background: #192D41;
	background-image: url(https://ces.infracredit.ng/wp-content/uploads/2024/09/Vector-1-1.svg);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 39% auto;
}

.dre-card-icon {
    margin-bottom: 30px;
    opacity: 0.2;
}

.dre-card-icon svg {
    width: 80px;
    height: 80px;
    stroke-width: 1;
}

.dre-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 20px;
    opacity: 1;
    text-transform: uppercase;
}

.dre-card-value {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
}

.dre-middle-column {
    display: none;//flex;
    flex-direction: column;
    gap: 15px;
}

.dre-chart-card {
    background: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.dre-chart-title {
    font-size: 13px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.dre-client-header {
    display: flex;
    align-items: center;
    gap: 10px;
/*     margin-bottom: 20px; */
}

.dre-filter-select {
    padding: 8px 32px 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #f8f9fa;
    font-size: 13px;
    font-weight: 600;
    color: #2C3E50;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232C3E50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.dre-filter-select:hover {
    border-color: #2196F3;
}

.dre-chart-wrapper {
    position: relative;
    height: 235px;
}

.dre-chart-wrapper canvas {
    max-height: 235px;
}

.dre-right-column {
    display: flex;
    flex-direction: column;
}

.dre-table-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
}

.dre-table {
    width: 100%;
    border-collapse: collapse;
}

.dre-table thead {
    background: #37474f;
    color: white;
}

.dre-table th {
    padding: 18px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.dre-table-filter {
    width: 100%;
    padding: 6px 24px 6px 8px;
    border: none;
    background: #455a64;
    color: white;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.dre-table tbody tr {
    border-bottom: none;
}

.dre-table tbody tr:nth-child(6n+1),
.dre-table tbody tr:nth-child(6n+2) {
    background: white;
}

.dre-table tbody tr td:nth-child(4), .dre-table tbody tr td:nth-child(2), .dre-table tbody tr td:nth-child(3) {
    background: #227CBF;
    color: white;
}

.dre-table tbody tr.dre-total-row {
    background: #227CBF !important;
    color: white;
    font-weight: 700;
}

.dre-table td {
    padding: 12px;
    font-size: 12px;
    font-weight: 500;
}

.dre-table td:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dre-color-indicator {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}

@media (max-width: 1400px) {
    .dre-grid-layout {
        grid-template-columns: 1fr;
    }

    .dre-left-column {
        flex-direction: row;
    }

    .dre-card {
        flex: 1;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
	.dre-dashboard-container{
	padding:0;	
	}
    .dre-grid-layout {
        padding: 10px;
    }

    .dre-left-column {
        flex-direction: column;
    }

    .dre-table {
        font-size: 11px;
    }

    .dre-table th,
    .dre-table td {
        padding: 10px 8px;
    }

    .dre-card-value {
        font-size: 28px;
    }
}
