:root {
    --wplh-primary: #1A3C5E;
    --wplh-secondary: #2E86AB;
    --wplh-bg: #F7F8FA;
    --wplh-text: #4A5568;
    --wplh-border: #E2E8F0;
    --wplh-white: #ffffff;
}

body {
    background-color: var(--wplh-bg);
}

.wplh-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--wplh-text);
    line-height: 1.5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography */
.wplh-dashboard h1 { font-size: 28px; font-weight: 700; color: #1a202c; }
.wplh-dashboard h2 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.wplh-dashboard h3 { font-size: 18px; font-weight: 600; margin-bottom: 15px; }

/* Buttons */
.wplh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--wplh-primary);
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.2s;
}
.wplh-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.wplh-btn-secondary { background: var(--wplh-secondary); }

/* Stats Grid */
.wplh-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.wplh-stat-card {
    background: var(--wplh-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--wplh-border);
}
.wplh-stat-card span { font-size: 12px; font-weight: 700; color: #718096; text-transform: uppercase; letter-spacing: 0.05em; }
.wplh-stat-card strong { display: block; font-size: 32px; margin-top: 8px; color: var(--wplh-primary); }

/* Cards & Containers */
.wplh-card, .wplh-reporting-panel {
    background: var(--wplh-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--wplh-border);
    margin-bottom: 20px;
}

/* Tables */
.wplh-table-responsive {
    border-radius: 12px;
    border: 1px solid var(--wplh-border);
    overflow: hidden;
}
.wplh-dashboard table {
    width: 100%;
    border-collapse: collapse;
}
.wplh-dashboard th {
    background: #F8FAFC;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748B;
    border-bottom: 1px solid var(--wplh-border);
}
.wplh-dashboard td {
    padding: 16px;
    border-bottom: 1px solid var(--wplh-border);
    font-size: 14px;
}

/* QR Container */
.wplh-qr-container {
    text-align: center;
    background: var(--wplh-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}
.wplh-qr-container img {
    max-width: 240px;
    border: 8px solid #fff;
    border-radius: 12px;
    box-shadow: 0 0 0 1px #eee;
}

/* Modals */
.wplh-modal-content {
    max-width: 500px;
    margin: 80px auto;
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.wplh-modal-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--wplh-border);
    border-radius: 6px;
    margin-top: 6px;
    margin-bottom: 16px;
}

/* Utility */
.wplh-btn-wallet {
    background: #000 !important;
}
.status-badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .wplh-stats-grid { grid-template-columns: 1fr; }
    .wplh-dashboard h1 { font-size: 24px; }
}
