/* BooksFirst PartnerHub coupon campaigns: accessible progressive enhancement. */
.bf-coupon-head{padding:1rem 0 1.25rem}.bf-coupon-head h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(1.75rem,3vw,2.5rem);color:#141a3c;margin:.35rem 0}.bf-coupon-head p{max-width:58ch;color:#5b6376}
.bf-coupon-filter,.bf-coupon-form-card,.bf-coupon-list{border:1px solid #e5e6ed;border-radius:14px;background:#fff;margin:1rem 0;padding:1.25rem}.bf-coupon-filter{display:flex;gap:.8rem;align-items:end;flex-wrap:wrap}.bf-coupon-filter label{flex:1 1 18rem}.bf-coupon-form-card>h3,.bf-coupon-list>h3{font-size:1.2rem;color:#172149;margin:0 0 .5rem}.bf-coupon-form-card>p{color:#667087;margin:0 0 1rem}
.bf-coupon-admin-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem 1rem}.bf-coupon-admin-form>label{display:flex;flex-direction:column;gap:.4rem;min-width:0;font-size:.9rem;font-weight:600;color:#2d354b}.bf-coupon-admin-form input,.bf-coupon-admin-form select,.bf-coupon-filter select{min-width:0;width:100%;border:1px solid #d8dce7;border-radius:9px;background:#fff;padding:.75rem;font:inherit;color:#172149;box-sizing:border-box}.bf-coupon-admin-form .bf-check{flex-direction:row;align-items:center;gap:.6rem}.bf-coupon-admin-form .bf-check input{width:auto;accent-color:#d71920}.bf-coupon-admin-form button{align-self:end;min-height:45px}.bf-coupon-list td small{display:block;color:#697085;margin-top:.3rem}.bf-coupon-list code{white-space:nowrap;color:#a31825;font-weight:700}
.bf-coupon-issued{border:1px solid #c2d6c7;border-radius:12px;padding:1.2rem;background:#f4fbf5}.bf-coupon-issued textarea{display:block;width:100%;resize:vertical;margin:.5rem 0;padding:1rem;border:1px solid #b4d0c0;border-radius:8px;font:700 1rem ui-monospace,SFMono-Regular,monospace;box-sizing:border-box;color:#142c1e;background:white}.bf-coupon-issued small{color:#526d5c}
.bf-coupon-box{border-top:1px solid #e6e7eb;margin:1rem 0 0;padding:1rem 0}.bf-coupon-box h3{margin:0 0 .8rem;font:700 1rem system-ui;color:#191d36}.bf-coupon-form{display:block}.bf-coupon-form>label{display:block;font-size:.8rem;color:#636b7b;margin-bottom:.4rem}.bf-coupon-form>div{display:flex;gap:.5rem}.bf-coupon-form input{flex:1 1 auto;min-width:0;border:1px solid #d9dce4;border-radius:8px;padding:.75rem;font-size:1rem;letter-spacing:.025em}.bf-coupon-form .btn{padding:.7rem 1rem;white-space:nowrap}.bf-coupon-box small{display:block;margin-top:.5rem;color:#677185;font-size:.75rem}.bf-coupon-applied{display:flex;justify-content:space-between;gap:.5rem;align-items:center;border:1px dashed #b6cfc0;background:#f6fbf6;border-radius:8px;padding:.65rem .8rem}.bf-coupon-applied strong{letter-spacing:.07em;color:#24643b}.bf-coupon-preview,.bf-coupon-discount{color:#276640!important}.bf-coupon-discount strong{color:#246a40}
@media(max-width:1000px){.bf-coupon-admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bf-coupon-filter,.bf-coupon-form-card,.bf-coupon-list{padding:1rem}.bf-coupon-admin-form{grid-template-columns:1fr}.bf-coupon-form>div{flex-wrap:wrap}.bf-coupon-form input{flex-basis:100%}.bf-coupon-form .btn{width:100%}.bf-coupon-admin-form input,.bf-coupon-admin-form select,.bf-coupon-form input{font-size:16px}.bf-coupon-admin-form .btn,.bf-coupon-form .btn{min-height:44px} }

.bf-coupon-share{display:block;font-size:.75rem;margin-top:.4rem;text-decoration:underline;color:#ac1822}.bf-public-coupon{max-width:720px;margin:clamp(2rem,6vw,5rem) auto;background:#faf8f4;padding:clamp(1.5rem,4vw,3rem);border-radius:14px;text-align:center}.bf-public-coupon h1{font:400 clamp(2.2rem,5vw,3.5rem)/1.1 Georgia,serif;color:#151b3a}.bf-public-coupon-value{font-size:clamp(1.3rem,3vw,2rem);font-weight:700;color:#d71920}.bf-coupon-large{display:inline-block;margin:1.2rem auto;padding:1rem 2rem;font:700 1.5rem ui-monospace,SFMono-Regular,monospace;letter-spacing:.15em;background:white;border:1px dashed #d71920;border-radius:10px}.bf-public-coupon .btn{min-height:44px}
