/* Fluxio Points & Rewards — Frontend */

.fpr-earn-notice {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 10px 14px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    color: #5a4000;
}

.fpr-redeem-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
}
.fpr-redeem-box h3 { margin-top: 0; font-size: 16px; }
.fpr-redeem-input-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fpr-redeem-input-row input[type="number"] { width: 120px; padding: 6px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.fpr-redeem-box .button { background: #2271b1; color: #fff; border: none; padding: 8px 18px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.fpr-redeem-box .button:hover { background: #135e96; }
.fpr-applied { color: #1a7e3c; font-weight: 600; }

.fpr-thankyou-notice { background: #e8f5e9; border-left: 4px solid #43a047; padding: 14px 18px; border-radius: 4px; margin: 20px 0; color: #1b5e20; }

/* My Account Points page */
.fpr-account-wrap { max-width: 900px; }

.fpr-hero { display: flex; align-items: center; gap: 20px; background: #fff; border: 2px solid #ccc; border-radius: 12px; padding: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.fpr-hero-icon { font-size: 56px; line-height: 1; }
.fpr-hero-info { flex: 1; min-width: 200px; }
.fpr-hero-level { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.fpr-balance-number { font-size: 42px; font-weight: 800; line-height: 1; display: block; }
.fpr-balance-label { font-size: 12px; color: #888; text-transform: uppercase; }
.fpr-hero-lifetime { font-size: 13px; color: #555; margin-top: 6px; }
.fpr-hero-value { text-align: center; background: #f5f5f5; border-radius: 10px; padding: 16px 24px; min-width: 160px; }
.fpr-value-label { font-size: 11px; text-transform: uppercase; color: #888; }
.fpr-value-amount { font-size: 28px; font-weight: 700; margin: 4px 0 12px; }
.fpr-shop-btn { display: inline-block; background: #2271b1; color: #fff !important; border-radius: 6px; padding: 8px 16px; text-decoration: none; font-size: 13px; }

.fpr-progress-wrap { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 16px 20px; margin-bottom: 24px; }
.fpr-progress-header { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; color: #555; }
.fpr-progress-bar-bg { background: #eee; border-radius: 100px; height: 12px; overflow: hidden; }
.fpr-progress-bar-fill { height: 100%; border-radius: 100px; transition: width 0.6s ease; }
.fpr-progress-percent { font-size: 11px; color: #aaa; margin-top: 4px; text-align: right; }
.fpr-top-level { background: #e8f5e9; border-color: #43a047; color: #1b5e20; }

.fpr-levels-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.fpr-level-tile { background: #fff; border: 2px solid #ccc; border-radius: 10px; padding: 20px 16px 16px; text-align: center; position: relative; }
.fpr-level-tile.fpr-level-current { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.fpr-tile-icon { font-size: 36px; margin-bottom: 6px; }
.fpr-tile-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.fpr-tile-pts { font-size: 12px; color: #888; }
.fpr-tile-mul { font-size: 12px; color: #555; font-weight: 600; margin-top: 2px; }
.fpr-tile-desc { font-size: 11px; color: #999; margin-top: 6px; }
.fpr-tile-current-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #2271b1; color: #fff; font-size: 10px; padding: 2px 10px; border-radius: 100px; white-space: nowrap; }

.fpr-how-it-works { background: #f9f9f9; border-radius: 10px; padding: 20px 24px; margin-bottom: 28px; }
.fpr-how-it-works h3 { margin-top: 0; }
.fpr-hiw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.fpr-hiw-item { text-align: center; }
.fpr-hiw-icon { font-size: 30px; margin-bottom: 8px; }
.fpr-hiw-title { font-weight: 700; margin-bottom: 4px; }
.fpr-hiw-text { font-size: 13px; color: #666; }

.fpr-history-table { width: 100%; border-collapse: collapse; }
.fpr-history-table th, .fpr-history-table td { padding: 10px 12px; border-bottom: 1px solid #e0e0e0; text-align: left; font-size: 14px; }
.fpr-history-table th { background: #f5f5f5; font-weight: 600; }
.fpr-positive { color: #1a7e3c; font-weight: 700; }
.fpr-negative { color: #c0392b; font-weight: 700; }
