<link rel="stylesheet" href="<?= base_url();?>css/reward.css"/>



    .rw-head-card { border: 0; border-radius: 16px; background: #1e293b; color: #fff; }
    .rw-head-card h4 { font-weight: 700; margin: 0; }
    .rw-team { font-size: 14px; font-weight: 600; background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 20px; }

    .rw-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        padding: 18px;
        height: 100%;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
        transition: transform .2s ease, box-shadow .2s ease;
    }
    .rw-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(15, 23, 42, .1); }
    .rw-card.achieved { border: 1.5px solid #6366f1; }

    .rw-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .rw-left { display: flex; align-items: center; gap: 12px; }
    .rw-icon {
        width: 44px; height: 44px; border-radius: 12px;
        background: #f1f5f9; color: #94a3b8;
        display: flex; align-items: center; justify-content: center;
    }
    .rw-card.achieved .rw-icon { background: #eef2ff; color: #4f46e5; }
    .rw-icon svg { width: 22px; height: 22px; fill: currentColor; }
    .rw-title { font-size: 17px; font-weight: 700; color: #0f172a; line-height: 1.2; margin: 0; }
    .rw-sub { font-size: 13px; color: #94a3b8; font-weight: 500; }

    .rw-badge {
        font-size: 12px; font-weight: 700; padding: 5px 12px;
        border-radius: 20px; letter-spacing: .3px; white-space: nowrap;
    }
    .rw-badge.ok { background: #fff; border: 1.5px solid #0f172a; color: #0f172a; }
    .rw-badge.no { background: #eef1f6; border: 1px solid #dde3ec; color: #64748b; }

    .rw-reward-name { font-size: 14px; color: #64748b; margin-bottom: 12px; }
    .rw-reward-name b { color: #0f172a; }

    .rw-box {
        background: #f8fafc; border: 1px solid #e8edf3;
        border-radius: 14px; padding: 14px 16px;
        display: flex; justify-content: space-between; gap: 12px;
    }
    .rw-box .col-item { flex: 1; }
    .rw-box .col-item + .col-item { border-left: 1px solid #e2e8f0; padding-left: 16px; text-align: right; }
    .rw-label { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; }
    .rw-value { font-size: 20px; font-weight: 700; color: #0f172a; }
    .rw-value.green { color: #059669; }

    .rw-status {
        margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600;
        padding: 12px; border-radius: 12px;
    }
    .rw-status.ok { background: #4f46e5; color: #fff; }
    .rw-status.no { background: #eef1f6; color: #64748b; }
