/* RESET */
.dp-dashboard *, .dp-dashboard *::before, .dp-dashboard *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

/* PAGE WRAPPER */
.dp-dashboard {
    background: linear-gradient(135deg, #f6f9ff, #ffffff);
    padding: 50px 40px;
    max-width: 1300px;
    margin: auto;
    color: #0f172a;
}

/* HEADER */
.dp-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
}

/* GRID */
.dp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 35px;
}

/* CARD STYLE */
.dp-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px 26px 30px;
    border: 1px solid #e5e9f2;
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.04),
        0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.dp-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 6px 14px rgba(0,0,0,0.06),
        0 14px 34px rgba(0,0,0,0.08);
}

/* ICONS */
.dp-icon {
    width: 18px !important;
    height: 18px !important;
    opacity: 0.8;
}

/* CARD TITLE */
.dp-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

/* TABLE */
.dp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.dp-table th {
    background: #f1f5f9;
    padding: 12px;
    text-align: left;
    color: #334155;
    font-weight: 600;
}

.dp-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

/* LIST STYLE */
.dp-list-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 15px;
}

/* BUTTON */
.dp-btn {
    background: #0D6A95 !important;
    color: #ffffff !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    display: inline-block;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.2s ease;
}

.dp-btn:hover {
    background: #000000 !important;
    color: white !important;
}

/* LINKS */
.dp-dashboard a {
    color: #0D6A95;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.dp-dashboard a:hover {
    color: #064663;
    text-decoration: underline;
}

/* PAYMENT LIST ALIGN FIX */
.dp-list-item span.date {
    flex: 1;
    text-align: left;
    display: block;
}
.dp-list-item span.invoice {
    margin-right: 15px;
}
.dp-list-item span.due {
    flex: 1;
    text-align: right;
    display: block;
    font-weight: 600;
    color: #e11d48; /* Soft red highlight */
}
