/* Octopus Fit — rewards, guests & referrals in the member app (phase 6) */
.ofg-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ofg-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; border-radius: 18px;
            padding: 12px 14px; color: var(--navy); background: #fff; border: 1px solid var(--line); }
.ofg-tile .ofg-ic { grid-row: span 2; font-size: 26px; }
.ofg-tile b { font-size: 22px; font-weight: 900; line-height: 1.1; } .ofg-tile small { font-size: 12px; color: var(--muted); font-weight: 700; }
.ofg-points { background: linear-gradient(135deg, #FFF7ED, #FFEDD5); border-color: #FED7AA; }
.ofg-gift-note { margin-top: 10px; background: #ECFDF5; color: #065F46; border-radius: 14px; padding: 8px 12px; font-weight: 800; font-size: 14px; }
.ofg-code { letter-spacing: .12em; color: var(--orange); }

.ofg-balance { border-radius: 24px; padding: 18px; color: #fff; margin-bottom: 12px; position: relative; overflow: hidden;
               background: radial-gradient(120% 140% at 100% 0%, #FFB36B 0%, var(--orange) 35%, #9A3412 100%); box-shadow: 0 16px 34px rgba(255,106,43,.28); }
.ofg-balance > div:first-child small { display: block; font-weight: 800; opacity: .9; }
.ofg-balance > div:first-child b { font-size: 46px; font-weight: 900; line-height: 1.05; } .ofg-balance > div:first-child span { font-weight: 800; margin-inline-start: 6px; }
.ofg-earn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.ofg-earn > div { background: rgba(255,255,255,.16); border-radius: 12px; padding: 6px; text-align: center; }
.ofg-earn b { display: block; font-size: 14px; font-weight: 900; } .ofg-earn small { display: block; font-size: 10.5px; opacity: .9; line-height: 1.3; }
.ofg-invite .ofg-link { background: var(--bg); border: 1px dashed #CBD5E1; border-radius: 12px; padding: 8px 12px; margin: 8px 0 10px; font-weight: 800;
                        font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ofg-wa { background: #25D366; }
.ofg-refs { margin: 10px 0 0; }
.ofg-voucher { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px dashed #FDBA74; border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; }
.ofg-v-ic { font-size: 28px; } .ofg-voucher b { display: block; } .ofg-voucher small { display: block; font-size: 12px; color: var(--muted); }
.ofg-v-code { margin-inline-start: auto; background: var(--navy); color: #fff; border-radius: 10px; padding: 4px 10px; font-weight: 900; letter-spacing: .08em; font-size: 14px; }
.ofg-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ofg-reward { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.ofg-reward.can { border-color: #FDBA74; box-shadow: 0 6px 16px rgba(255,106,43,.12); }
.ofg-r-ic { font-size: 30px; } .ofg-reward b { font-size: 15px; line-height: 1.3; } .ofg-reward small { color: var(--muted); font-size: 12px; line-height: 1.35; flex: 1; }
.ofg-reward form { margin-top: 8px; } .ofg-reward .ofa-btn.sm { width: 100%; }
.ofg-r-bar { height: 5px; background: var(--bg); border-radius: 9px; overflow: hidden; margin-top: 6px; } .ofg-r-bar i { display: block; height: 100%; background: var(--orange); }
.ofg-moves { padding: 4px 14px; }
.ofg-move { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ofg-move:last-child { border-bottom: 0; }
.ofg-move b { display: block; font-size: 14px; } .ofg-move small { display: block; font-size: 12px; color: var(--muted); }
.ofg-move span { margin-inline-start: auto; font-weight: 900; } .ofg-move .plus { color: var(--ok); } .ofg-move .minus { color: var(--err); }

.ofg-sent { text-align: center; background: linear-gradient(180deg, #FFF7ED, #fff); border-color: #FED7AA; }
.ofg-sent-code { font-size: 32px; font-weight: 900; letter-spacing: .12em; color: var(--orange); }
.ofg-sent p { margin: 4px 0 8px; }
.ofg-allow { display: flex; gap: 8px; margin-bottom: 10px; }
.ofg-allow > div { flex: 1; background: var(--bg); border-radius: 14px; padding: 8px; text-align: center; }
.ofg-allow b { display: block; font-size: 22px; font-weight: 900; } .ofg-allow small { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.ofg-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: -4px 0 12px; }
.ofg-day { margin: 0 !important; flex: none; }
.ofg-day input { position: absolute; opacity: 0; width: 0; height: 0; }
.ofg-day span { display: block; min-width: 64px; text-align: center; border: 2px solid var(--line); border-radius: 14px; padding: 6px 8px; background: #fff; cursor: pointer; }
.ofg-day span b { display: block; font-size: 14px; } .ofg-day span small { font-size: 12px; color: var(--muted); }
.ofg-day input:checked + span { border-color: var(--orange); background: #FFF4EE; }
.ofg-pass { display: flex; align-items: center; gap: 10px; padding: 10px 14px; flex-wrap: wrap; }
.ofg-pass b { display: block; } .ofg-pass small { color: var(--muted); font-size: 12.5px; }
.ofg-pass > div:first-child { flex: 1; } .ofg-pass .ofa-x { margin-top: 0; }
