/* PAV EDUC 360 : compléments de l'application parent (identité, photo, paiements) */
.btn.big { min-height: 54px; font-size: var(--fs-3); border-radius: 14px; }
.btn.big svg { width: 22px; height: 22px; }

/* En-tête de connexion : PAV EDUC 360 discret, école mise en avant */
.school-hero { background-size: cover; background-position: center; padding-top: calc(18px + env(safe-area-inset-top)); }
.platform-tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-1); font-weight: var(--fw-semibold); letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 16px; }
.platform-tag img { width: 18px; height: 18px; border-radius: 5px; }
.auth-hero .big-logo { width: 108px; height: 108px; border-radius: 26px; }
.school-name { font-size: var(--fs-5) !important; text-transform: uppercase; letter-spacing: .02em; max-width: 420px; margin: 0 auto; font-weight: var(--fw-bold) }
.pav-hero { background: #12355B; }
.pav-choice { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: #fff; cursor: pointer; text-align: left; min-height: 64px; font: inherit; }
.pav-choice img { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }

/* Photo de l'enfant */
.photo-block { margin-top: 12px; display: grid; gap: 10px; }
.photo-status { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 10px 12px; font-size: var(--fs-2); font-weight: var(--fw-semibold); background: var(--info-soft); color: #1F4474; }
.photo-status.ok { background: var(--ok-soft); color: #1E5535; }
.photo-status.warn { background: var(--warn-soft); color: #6E4700; }
.photo-status .ic svg { width: 18px; height: 18px; }
.photo-tips { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: var(--fs-2); line-height: 1.5; }
.photo-preview { border-radius: 16px; overflow: hidden; background: var(--surface-2); max-height: 52vh; display: grid; place-items: center; }
.photo-preview img { max-height: 52vh; width: auto; max-width: 100%; }
.photo-done { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto; }
.photo-done svg { width: 34px; height: 34px; }
.child-photo { width: 72px; height: 88px; border-radius: 12px; object-fit: cover; background: var(--surface-2); flex: none; }

/* Paiements */
.big-amount { font-family: var(--font-display); font-size: var(--fs-5); font-weight: var(--fw-bold); line-height: 1.2; }
.pay-total { margin-top: 12px; }
.pay-bar { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
.pay-bar i { display: block; height: 100%; background: var(--ok); border-radius: 5px; }
.pay-item .pay-bar { height: 7px; margin: 8px 0 4px; }
.pay-hist { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.pay-choice, .pay-provider { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: inherit; min-height: 60px; text-align: left; }
.pay-choice + .pay-choice, .pay-provider + .pay-provider { margin-top: 10px; }
.pay-provider .prov-dot { width: 34px; height: 34px; border-radius: 10px; flex: none; background: var(--surface-2); }
.pay-provider.prov-om .prov-dot { background: #FF7900; }
.pay-provider.prov-wave .prov-dot { background: #1DC8F2; }
.pay-provider.prov-demo .prov-dot { background: repeating-linear-gradient(45deg, #FFF3D1 0 6px, #FBE7B0 6px 12px); border: 1px dashed #D7A836; }
.pay-provider:disabled { opacity: .6; }
.pay-recap { background: var(--brand-soft); border-radius: 14px; padding: 12px 14px; }
.amount-input { font-size: var(--fs-5); font-weight: var(--fw-semibold); text-align: center; }
.pay-state { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; }
.pay-state.bad { background: var(--danger-soft); color: var(--danger); }
.pay-state svg { width: 30px; height: 30px; }

/* Reçu */
.receipt { position: relative; overflow: hidden; padding-bottom: 72px; }
.receipt-head { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.receipt-head img { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: #fff; object-fit: contain; }
.receipt-title { text-align: center; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--fs-4); color: var(--brand); margin-top: 14px; }
.receipt-kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 14px 0 0; font-size: var(--fs-2); }
.receipt-kv dt { color: var(--ink-2); } .receipt-kv dd { margin: 0; font-weight: var(--fw-semibold); word-break: break-word; }
.receipt-stamp { position: absolute; right: 14px; bottom: 14px; transform: rotate(-10deg); border: 3px solid var(--ok); color: var(--ok); font-weight: var(--fw-bold); font-size: var(--fs-5); letter-spacing: .08em; padding: 4px 14px; border-radius: 8px; opacity: .9; }

/* Page de démonstration du paiement */
.demo-pay { max-width: 460px; margin: 0 auto; padding: 24px 16px; }
.auth-foot .powered { opacity: .75; font-size: var(--fs-1); letter-spacing: .02em; font-weight: var(--fw-light) }
.auth-hero .big-logo { margin-top: 6px; }
