/* === STYLE SISTEM KEANGGOTAAN - GAYA DANA === */

.riwayat-poin-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin: 1.5rem auto;
    font-family: 'Inter', 'Poppins', sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.riwayat-poin-header {
    background: #f7f9fc;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.riwayat-poin-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.riwayat-poin-header p {
    font-size: 0.1rem;
    color: #64748b;
    margin: 10px;
}

.riwayat-poin-list {
    display: flex;
    flex-direction: column;
}

.riwayat-poin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.riwayat-poin-item:hover {
    background: #f8fafc;
}

.riwayat-poin-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.riwayat-poin-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e0f2fe;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #0284c7;
    flex-shrink: 0;
}

.riwayat-poin-info p {
    margin: 0;
    line-height: 1.4;
}

.riwayat-poin-title {
    font-weight: 600;
    color: #0f172a;
}

.riwayat-poin-date {
    font-size: 0.8rem;
    color: #64748b;
}

.riwayat-poin-right {
    font-weight: 600;
    color: #dc2626;
    font-size: 1rem;
}

.poin-wrapper {
    text-align: center;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #fff;
    font-family: 'Inter', sans-serif;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 500px;
    margin: 1.5rem auto;
    box-shadow: 0 4px 20px rgba(2,132,199,0.2);
}

.poin-wrapper .poin-value {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.poin-wrapper p {
    margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
    .riwayat-poin-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .riwayat-poin-right {
        margin-top: 0.25rem;
    }
}
