/* Service Partner public pages: become-partner.php and provider/login.php (pp- = partner page). Palette matches the storefront: orange #f7941d, slate #0f172a. */
.pp { color: #0f172a; }
.pp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.pp-icon { flex: none; }
:where(.pp) :where(h1, h2, h3, p) { margin: 0; } /* zero specificity, so the spacing set below always wins */
.pp-eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: #fff1de; color: #b45f06; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pp-section { padding: clamp(44px, 7vw, 80px) 0; }
.pp-section--alt { background: #ffffff; border-block: 1px solid #eef0f3; }
.pp-head { max-width: 640px; margin-bottom: 36px; }
.pp-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.pp-head p { margin-top: 10px; color: #4b5563; font-size: 1.04rem; line-height: 1.6; }

.pp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.pp-btn:hover { transform: translateY(-1px); text-decoration: none; }
.pp-btn:focus-visible { outline: 3px solid #0f172a; outline-offset: 3px; }
.pp-btn--primary { background: #f7941d; color: #111827; box-shadow: 0 10px 22px -10px rgba(247,148,29,.8); }
.pp-btn--primary:hover { background: #e07d0f; color: #111827; }
.pp-btn--ghost { background: #fff; color: #0f172a; border-color: #d5dae2; }
.pp-btn--ghost:hover { background: #f8fafc; color: #0f172a; }
.pp-btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.pp-btn--light:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Hero */
.pp-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #fffbf5 0%, #fff3e0 55%, #ffffff 100%); border-bottom: 1px solid #f0e8db; padding: clamp(48px, 9vw, 96px) 0 clamp(44px, 7vw, 72px); }
.pp-hero::before { content: ''; position: absolute; top: -120px; right: -90px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(247,148,29,.16) 0%, transparent 65%); pointer-events: none; }
.pp-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pp-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; }
.pp-hero h1 span { color: #f7941d; }
.pp-hero__lead { margin-top: 18px; max-width: 560px; color: #475569; font-size: 1.1rem; line-height: 1.65; }
.pp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pp-hero__note { margin-top: 16px; color: #64748b; font-size: .92rem; }
.pp-hero__note a { color: #b45f06; font-weight: 600; }
.pp-panel { background: #fff; border: 1px solid #f0e4d2; border-radius: 20px; padding: 26px; box-shadow: 0 30px 60px -34px rgba(120,70,10,.45); }
.pp-panel h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; }
.pp-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pp-panel li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.4; }
.pp-panel li .pp-icon { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: #fff1de; color: #c2680a; }
.pp-panel li small { display: block; margin-top: 2px; font-weight: 500; color: #64748b; font-size: .86rem; }

/* Stats band */
.pp-stats { background: #0f172a; padding: 26px 0; }
.pp-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.pp-stats strong { display: block; color: #f7941d; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.1; }
.pp-stats span { color: #94a3b8; font-size: .86rem; font-weight: 500; }

/* Benefit cards */
.pp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pp-card { background: #fff; border: 1px solid #e7eaf0; border-radius: 16px; padding: 24px; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.pp-card:hover { border-color: #f7c88a; box-shadow: 0 18px 34px -22px rgba(15,23,42,.35); transform: translateY(-2px); }
.pp-card .pp-icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: #fff1de; color: #c2680a; }
.pp-card h3 { margin-top: 16px; font-size: 1.08rem; font-weight: 800; }
.pp-card p { margin-top: 8px; color: #4b5563; line-height: 1.6; font-size: .96rem; }

/* How it works */
.pp-steps { list-style: none; margin: 0; padding: 0; counter-reset: pp-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pp-steps li { counter-increment: pp-step; position: relative; background: #fff; border: 1px solid #e7eaf0; border-radius: 16px; padding: 22px 20px; }
.pp-steps li:last-child:nth-child(4n + 3) { grid-column: span 2; } /* 7 steps: the last one fills its row */
.pp-steps li::before { content: counter(pp-step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: #f7941d; color: #111827; font-weight: 800; }
.pp-steps strong { display: block; font-size: 1.02rem; }
.pp-steps span { display: block; margin-top: 6px; color: #5b6472; font-size: .92rem; line-height: 1.5; }

/* Registration fee */
.pp-fee { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: #0f172a; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(15,23,42,.8); }
.pp-fee__info { padding: clamp(26px, 4vw, 44px); color: #e2e8f0; }
.pp-fee__info .pp-eyebrow { background: rgba(247,148,29,.16); color: #ffb454; }
.pp-fee__info h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.pp-fee__amount { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; color: #fff; }
.pp-fee__amount strong { font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #f7941d; }
.pp-fee__amount span { color: #94a3b8; font-weight: 600; }
.pp-fee__sub { color: #94a3b8; line-height: 1.55; }
.pp-fee__how { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: pp-pay; }
.pp-fee__how li { counter-increment: pp-pay; display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.pp-fee__how li::before { content: counter(pp-pay); flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: rgba(247,148,29,.2); color: #ffb454; font-size: .8rem; font-weight: 800; }
.pp-fee__fine { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: #94a3b8; font-size: .88rem; line-height: 1.55; }
.pp-fee__pay { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 40px); background: linear-gradient(180deg, #fff7ed, #ffffff); text-align: center; }
.pp-fee__pay img { width: min(300px, 100%); height: auto; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px -18px rgba(15,23,42,.45); }
.pp-upi { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 8px 8px 8px 14px; border: 1px solid #e3e7ee; border-radius: 12px; background: #fff; font-size: .95rem; }
.pp-upi strong { letter-spacing: .01em; }
.pp-upi button { padding: 7px 14px; border: 0; border-radius: 9px; background: #0f172a; color: #fff; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.pp-upi button:hover { background: #1e293b; }
.pp-fee__pay p { color: #5b6472; font-size: .88rem; line-height: 1.5; max-width: 320px; }
.pp-fee--custom .pp-fee__pay { gap: 18px; }

/* Earnings */
.pp-earn { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pp-example { margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: #fff7ed; border: 1px solid #fed7aa; }
.pp-example small { display: block; color: #9a5408; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .74rem; }
.pp-example dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 12px 0 0; }
.pp-example dt { color: #475569; }
.pp-example dd { margin: 0; font-weight: 800; text-align: right; }
.pp-example dd.pp-keep { color: #15803d; }
.pp-table-wrap { background: #fff; border: 1px solid #e7eaf0; border-radius: 16px; overflow: hidden; }
.pp-table { width: 100%; border-collapse: collapse; }
.pp-table th { padding: 14px 20px; background: #f8fafc; color: #5b6472; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: left; }
.pp-table td { padding: 15px 20px; border-top: 1px solid #eef0f3; }
.pp-table td:last-child, .pp-table th:last-child { text-align: right; }
.pp-table td strong { color: #15803d; }
.pp-pill { display: inline-block; padding: 3px 11px; border-radius: 999px; background: #fff1de; color: #9a5408; font-weight: 700; font-size: .88rem; }

/* Needs + closing CTA */
.pp-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pp-needs li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid #e7eaf0; border-radius: 14px; font-weight: 600; line-height: 1.4; }
.pp-needs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pp-needs .pp-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #dcfce7; color: #15803d; }
.pp-cta { background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: 24px; padding: clamp(30px, 5vw, 56px); text-align: center; color: #fff; }
.pp-cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.pp-cta p { margin: 12px auto 0; max-width: 520px; color: #94a3b8; line-height: 1.6; }
.pp-cta .pp-hero__cta { justify-content: center; }

@media (max-width: 960px) {
    .pp-hero__grid, .pp-fee, .pp-earn { grid-template-columns: minmax(0, 1fr); }
    .pp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-steps li:last-child:nth-child(4n + 3) { grid-column: auto; }
    .pp-steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .pp-wrap { padding: 0 16px; }
    .pp-cards, .pp-steps, .pp-needs { grid-template-columns: minmax(0, 1fr); }
    .pp-hero__cta .pp-btn, .pp-cta .pp-btn { width: 100%; }
    .pp-table th, .pp-table td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .pp-btn, .pp-card { transition: none; } .pp-btn:hover, .pp-card:hover { transform: none; } }

/* ---------------------------------------------------------------------------
   Partner login / sign up (provider/login.php)
   --------------------------------------------------------------------------- */
.pp-login-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #fffbf5 0%, #fff3e0 55%, #ffffff 100%); border-bottom: 1px solid #f0e8db; padding: clamp(34px, 6vw, 60px) 0 clamp(26px, 4vw, 40px); }
.pp-login-hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(247,148,29,.15) 0%, transparent 65%); pointer-events: none; }
.pp-login-hero .pp-wrap { position: relative; }
.pp-login-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.pp-login-hero h1 span { color: #f7941d; }
.pp-login-hero__lead { margin-top: 12px; max-width: 660px; color: #475569; font-size: 1.06rem; line-height: 1.6; }
.pp-track { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 26px 0 0; padding: 0; counter-reset: pp-track; }
.pp-track li { counter-increment: pp-track; display: flex; align-items: center; gap: 10px; color: #334155; font-weight: 700; }
.pp-track li::before { content: counter(pp-track); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f7941d; color: #111827; font-size: .9rem; font-weight: 800; }

.pp-login { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: start; }
.pp-box { background: #fff; border: 1px solid #e7eaf0; border-radius: 20px; padding: clamp(22px, 3.5vw, 34px); box-shadow: 0 24px 50px -36px rgba(15,23,42,.4); }
.pp-box__step { display: inline-block; margin-bottom: 10px; color: #b45f06; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pp-box h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.pp-box__sub { margin-top: 8px; color: #5b6472; line-height: 1.55; }
.pp-box .pp-fee__amount { margin: 16px 0 0; color: #0f172a; }
.pp-box .pp-fee__amount span { color: #64748b; }
.pp-qr { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 18px; padding: 22px 18px; border: 1px solid #fde4c4; border-radius: 16px; background: linear-gradient(180deg, #fff7ed, #ffffff); text-align: center; }
.pp-qr img { width: min(280px, 100%); height: auto; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px -18px rgba(15,23,42,.45); }
.pp-qr p { max-width: 340px; color: #5b6472; font-size: .88rem; line-height: 1.5; }
.pp-box__fine { margin-top: 16px; color: #64748b; font-size: .88rem; line-height: 1.55; }

.pp-form { display: grid; gap: 14px; margin-top: 18px; }
.pp-form label { display: grid; gap: 6px; color: #334155; font-size: .86rem; font-weight: 700; }
.pp-form select { width: 100%; padding: 13px 12px; border: 1.5px solid #d5dae2; border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; color: #0f172a; }
.pp-form select:focus, .pp-phone:focus-within { outline: none; border-color: #f7941d; box-shadow: 0 0 0 4px rgba(247,148,29,.18); }
.pp-phone { display: flex; align-items: stretch; border: 1.5px solid #d5dae2; border-radius: 12px; background: #fff; overflow: hidden; }
.pp-phone__prefix { display: grid; place-items: center; padding: 0 14px; border-right: 1px solid #e3e7ee; background: #f8fafc; color: #475569; font-weight: 700; }
.pp-phone input { flex: 1; min-width: 0; padding: 14px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.08rem; letter-spacing: .04em; color: #0f172a; }
.pp-box .pp-btn { width: 100%; }
.pp-status { min-height: 1.3em; margin-top: 12px; color: #475569; font-size: .92rem; }
.pp-box .otp-status { margin: 12px 0 0; color: #475569; font-size: .92rem; }
.pp-box #otp-retry { width: 100%; margin-top: 10px; padding: 12px; border: 1.5px solid #d5dae2; border-radius: 12px; background: #fff; color: #0f172a; font-weight: 700; }

.pp-next { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #eef0f3; }
.pp-next li { display: flex; gap: 10px; align-items: flex-start; color: #475569; font-size: .92rem; line-height: 1.5; }
.pp-next .pp-icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: #dcfce7; color: #15803d; }
.pp-backlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: #475569; font-size: .92rem; font-weight: 600; text-decoration: none; }
.pp-backlink:hover { color: #0f172a; text-decoration: underline; }

@media (max-width: 960px) { .pp-login { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .pp-track { flex-direction: column; gap: 10px; } }
