/* Salad Points - vásárló (My Account) nézet */
.saladpoints-customer {
    --sp-green: #6ba03f;
    --sp-green-dark: #4d7a26;
    --sp-green-bg: #f6faef;
    --sp-green-light: #eaf4dc;
    --sp-orange: #e89738;
    --sp-blue: #3b82f6;
    --sp-text: #2a3a1f;
    --sp-gray: #8b9a82;
    --sp-border: #d8e5cb;
    --sp-shadow: 0 2px 12px rgba(60,100,40,0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--sp-text);
    max-width: 480px;
}
.saladpoints-customer * { box-sizing: border-box; }
.saladpoints-customer h3 {
    font-size: 12px;
    color: var(--sp-gray);
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.sp-points-card,
.sp-qr-card,
.sp-history-card {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: var(--sp-shadow);
    margin-bottom: 14px;
}

.sp-points-big {
    font-size: 58px;
    font-weight: 800;
    color: var(--sp-green);
    text-align: center;
    line-height: 1;
}
.sp-points-label {
    text-align: center;
    color: var(--sp-gray);
    font-size: 13px;
    margin-bottom: 18px;
}

.sp-progress { margin-top: 8px; }
.sp-progress-row { margin-bottom: 12px; }
.sp-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 500;
}
.sp-progress-bar {
    height: 9px;
    background: var(--sp-green-bg);
    border-radius: 5px;
    overflow: hidden;
}
.sp-progress-fill {
    height: 100%;
    transition: width 0.4s;
    border-radius: 5px;
}
.sp-blue { background: var(--sp-blue); }
.sp-orange { background: var(--sp-orange); }

.sp-stamps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 16px;
}
.sp-stamp {
    aspect-ratio: 1;
    border: 2px dashed var(--sp-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--sp-gray);
    font-weight: 600;
    background: #fff;
}
.sp-stamp.sp-filled {
    background: var(--sp-green);
    border-color: var(--sp-green);
    color: #fff;
    border-style: solid;
}
.sp-stamp.sp-reward {
    border-color: var(--sp-orange);
    border-style: solid;
    color: var(--sp-orange);
}
.sp-stamp.sp-reward.sp-filled {
    background: var(--sp-orange);
    color: #fff;
}

.sp-qr-card { text-align: center; }
#saladpointsQR {
    display: inline-block;
    padding: 8px;
    background: #fff;
    border-radius: 10px;
}
#saladpointsQR img,
#saladpointsQR canvas { display: block; margin: 0 auto; }
.sp-qr-name { margin-top: 10px; font-weight: 700; font-size: 15px; }
.sp-qr-hint { margin-top: 6px; color: var(--sp-gray); font-size: 12px; line-height: 1.4; }

.sp-history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-history-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--sp-green-bg);
    font-size: 13px;
    gap: 10px;
}
.sp-history-list li:last-child { border-bottom: none; }
.sp-history-date { color: var(--sp-gray); font-size: 12px; }
.sp-history-amount.sp-positive { color: var(--sp-green); font-weight: 700; white-space: nowrap; }
.sp-history-amount.sp-redeem { color: var(--sp-orange); font-weight: 700; white-space: nowrap; }
.sp-empty { color: var(--sp-gray); text-align: center; padding: 18px; font-size: 13px; margin: 0; }
