#bfv-volunteer-portal,#bfv-volunteer-portal *{box-sizing:border-box}#bfv-volunteer-portal{--red:#dc1724;--navy:#153960;--green:#16864b;font-family:Arial,sans-serif;max-width:1150px;margin:30px auto;padding:24px;color:#17324c;background:linear-gradient(135deg,#fff9f7,#f2f8ff);border-radius:20px}#bfv-volunteer-portal .bfvv-heading{display:flex;align-items:center;gap:15px;margin-bottom:22px}#bfv-volunteer-portal .bfvv-heading img{width:74px;height:74px;object-fit:contain;border-radius:50%}#bfv-volunteer-portal h2,#bfv-volunteer-portal h3{color:var(--navy);margin:0 0 10px}#bfv-volunteer-portal .bfvv-heading p{margin:0}#bfv-volunteer-portal .bfvv-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}#bfv-volunteer-portal .bfvv-card{padding:25px;border-radius:17px;background:#fff;border:1px solid #e4eaf0;box-shadow:0 12px 28px #1234}#bfv-volunteer-portal .bfvv-card>p{line-height:1.6;font-size:14px}#bfv-volunteer-portal label{display:block;font-size:13px;font-weight:700;margin:13px 0;color:#254059}#bfv-volunteer-portal input:not([type=checkbox]),#bfv-volunteer-portal textarea,#bfv-volunteer-portal select{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #cbd5df;border-radius:8px;font-size:14px;background:#fff;color:#162c41}#bfv-volunteer-portal .bfvv-consent{display:flex;align-items:flex-start;gap:8px;line-height:1.5}#bfv-volunteer-portal .bfvv-consent input{margin-top:3px}#bfv-volunteer-portal button{border:0;border-radius:10px;padding:12px 16px;background:linear-gradient(110deg,#d70b1d,#ad1735);color:#fff;font-weight:800;cursor:pointer;line-height:1.4}#bfv-volunteer-portal button:hover{filter:brightness(1.08)}#bfv-volunteer-portal .bfvv-message{padding:13px 15px;background:#fff1db;border:1px solid #e5c07c;border-radius:9px;margin:15px 0;font-size:14px}#bfv-volunteer-portal .bfvv-ok{background:#e7f8ed;border-color:#8ad0a4}#bfv-volunteer-portal .bfvv-note{font-size:12px;color:#53687b;margin-top:20px}#bfv-volunteer-portal .bfvv-trap{position:absolute;left:-99999px}#bfv-volunteer-portal .bfvv-doc-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}#bfv-volunteer-portal .bfvv-printables{display:none}#bfv-volunteer-portal .bfvv-id{width:340px;height:525px;border:5px solid #c51a2b;border-radius:20px;background:#fff;overflow:hidden;text-align:center;color:#19314a}#bfv-volunteer-portal .bfvv-id-top{background:linear-gradient(110deg,#d10e1f,#173960);color:#fff;display:flex;align-items:center;gap:12px;padding:15px}#bfv-volunteer-portal .bfvv-id-top img{width:57px;height:57px;object-fit:contain;border-radius:50%;background:white}#bfv-volunteer-portal .bfvv-id-top b{display:block;font-size:18px}#bfv-volunteer-portal .bfvv-id-top small{font-size:10px}#bfv-volunteer-portal .bfvv-id-body{padding:24px 12px}#bfv-volunteer-portal .bfvv-person{width:100px;height:115px;object-fit:cover;margin:auto;border-radius:8px;border:3px solid #eee}#bfv-volunteer-portal .bfvv-id-body h3{margin:12px 0;color:#163d61}#bfv-volunteer-portal .bfvv-id-body p{margin:9px 0;font-size:13px}#bfv-volunteer-portal .bfvv-id-foot{padding:15px 8px;font-size:10px;background:#e8f5e9;line-height:1.7}#bfv-volunteer-portal .bfvv-cert{width:850px;min-height:600px;background:#fff;border:13px solid #183e64;padding:13px;color:#1a3552;text-align:center}#bfv-volunteer-portal .bfvv-cert-inner{border:3px solid #d31a27;min-height:548px;padding:32px}#bfv-volunteer-portal .bfvv-cert img{width:90px;height:90px;object-fit:contain;margin:auto}#bfv-volunteer-portal .bfvv-cert h1{font-size:33px;color:#c91729;margin:22px 0}#bfv-volunteer-portal .bfvv-cert h2{font-size:24px;margin:10px 0}#bfv-volunteer-portal .bfvv-cert-sub{font-weight:800;letter-spacing:2px;color:#15804c}#bfv-volunteer-portal .bfvv-cert p{font-size:16px;line-height:1.6}#bfv-volunteer-portal .bfvv-cert-bottom{display:flex;justify-content:space-between;margin:50px 0 20px;font-size:13px}#bfv-volunteer-portal .bfvv-cert-bottom small{font-size:10px}@media(max-width:760px){#bfv-volunteer-portal{padding:14px}#bfv-volunteer-portal .bfvv-columns{grid-template-columns:1fr}#bfv-volunteer-portal .bfvv-card{padding:18px}}

/* v1.2: image-reference inspired vertical red/black volunteer identity card */
#bfv-volunteer-portal .bfvv-id{position:relative;width:600px;height:960px;overflow:hidden;border:0;border-radius:0;background:#fff;color:#090909;text-align:center;font-family:Arial,sans-serif}
#bfv-volunteer-portal .bfvv-id-black{height:340px;position:relative;background:radial-gradient(ellipse at 50% 35%,#303030,#050505 75%);color:white;padding:25px 16px 0;z-index:1}
#bfv-volunteer-portal .bfvv-id-logo{width:138px;height:138px;object-fit:contain;margin:0 auto 0;display:block;border-radius:50%}
#bfv-volunteer-portal .bfvv-id-cin{text-align:right;font-size:15px;font-weight:700;margin:0 0 6px}
#bfv-volunteer-portal .bfvv-id-foundation{font-size:31px;letter-spacing:-.8px;font-weight:900;white-space:nowrap}
#bfv-volunteer-portal .bfvv-id-motto{font-family:Georgia,serif;font-style:italic;font-weight:700;font-size:17px;margin-top:6px}
#bfv-volunteer-portal .bfvv-id-swoosh{position:absolute;top:265px;left:-13%;width:126%;height:135px;background:linear-gradient(180deg,#e21c0a 0%,#e81b0c 65%,#a50b05 66%,#bd1507 100%);border-radius:0 0 50% 50% / 0 0 70% 70%;z-index:2;transform:rotate(-1deg)}
#bfv-volunteer-portal .bfvv-id-photo-wrap{position:absolute;top:275px;left:50%;transform:translateX(-50%);width:230px;height:230px;border:3px solid #ed1615;border-radius:50%;background:#fff;z-index:3;overflow:hidden}
#bfv-volunteer-portal .bfvv-id-photo{width:100%;height:100%;object-fit:cover}
#bfv-volunteer-portal .bfvv-id-content{position:absolute;top:517px;left:0;width:100%;padding:0 49px;z-index:3}
#bfv-volunteer-portal .bfvv-id-content h2{font-family:Arial,sans-serif;color:#050505;font-size:35px;font-weight:900;line-height:1.15;margin:0 0 25px;overflow-wrap:anywhere}
#bfv-volunteer-portal .bfvv-id-fields{display:grid;gap:13px;text-align:left}
#bfv-volunteer-portal .bfvv-id-field{display:grid;grid-template-columns:205px 20px minmax(0,1fr);align-items:baseline;gap:8px;font-family:Georgia,serif;font-size:23px;line-height:1.16}
#bfv-volunteer-portal .bfvv-id-field strong{font-weight:400;overflow-wrap:anywhere}
#bfv-volunteer-portal .bfvv-id-signature{margin-top:22px;text-align:center;font-family:Arial,sans-serif;font-size:20px}
#bfv-volunteer-portal .bfvv-signature-line{height:25px;width:190px;border-bottom:1px solid #192c52;margin:0 auto 7px}
#bfv-volunteer-portal .bfvv-id-bottom{position:absolute;bottom:-51px;left:-10%;width:120%;height:110px;background:linear-gradient(#e81c0c 10%,#bf1205 78%);border-top:8px solid #a20c05;border-radius:50% 50% 0 0 / 40% 40% 0 0}

/* v1.3: larger bold portal heading only */
#bfv-volunteer-portal .bfvv-heading h2{font-family:Arial,sans-serif!important;font-size:clamp(26px,3.2vw,40px)!important;font-weight:900!important;line-height:1.16!important;letter-spacing:-.6px!important;color:#153960!important;margin:0 0 10px!important;}
@media(max-width:480px){#bfv-volunteer-portal .bfvv-heading h2{font-size:26px!important;letter-spacing:-.3px!important}}

/* v1.4: supplied authorized signature and website/email footer inside ID card */
#bfv-volunteer-portal .bfvv-id-content{top:510px!important}
#bfv-volunteer-portal .bfvv-id-content h2{margin-bottom:19px!important}
#bfv-volunteer-portal .bfvv-id-fields{gap:9px!important}
#bfv-volunteer-portal .bfvv-id-field{font-size:21px!important;line-height:1.12!important}
#bfv-volunteer-portal .bfvv-id-signature{margin-top:12px!important;display:flex;align-items:center;flex-direction:column;gap:0;font-size:17px!important;font-weight:600!important;color:#111!important}
#bfv-volunteer-portal .bfvv-signature-image{width:225px!important;height:59px!important;object-fit:contain!important;display:block!important;margin:0 auto -3px!important}
#bfv-volunteer-portal .bfvv-id-contact{position:absolute;left:18px;right:18px;bottom:64px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;z-index:5;color:#112b4d;font-size:13px;font-family:Arial,sans-serif;font-weight:800;white-space:nowrap}
#bfv-volunteer-portal .bfvv-id-contact span{display:inline-flex;align-items:center;gap:5px}
#bfv-volunteer-portal .bfvv-contact-symbol{font-style:normal;color:#e21c0a;font-size:17px;line-height:1}

/* v1.5: restore original card proportions and prevent giant website icon */
#bfv-volunteer-portal .bfvv-id-content{top:510px!important;}
#bfv-volunteer-portal .bfvv-id-signature{margin-top:7px!important;gap:0!important;font-size:14px!important;line-height:1.1!important;}
#bfv-volunteer-portal .bfvv-id-signature .bfvv-signature-image{display:block!important;width:125px!important;max-width:125px!important;height:34px!important;max-height:34px!important;object-fit:contain!important;margin:0 auto -2px!important;flex:none!important;}
#bfv-volunteer-portal .bfvv-id-contact{position:absolute!important;left:30px!important;right:30px!important;bottom:68px!important;z-index:5!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;flex-wrap:nowrap!important;color:#173452!important;font-family:Arial,sans-serif!important;font-size:10px!important;font-weight:600!important;line-height:1.15!important;white-space:nowrap!important;}
#bfv-volunteer-portal .bfvv-id-contact span{display:inline-flex!important;align-items:center!important;gap:3px!important;font-size:10px!important;line-height:1.15!important;}
#bfv-volunteer-portal .bfvv-id-contact .bfvv-contact-symbol{display:inline-block!important;width:12px!important;min-width:12px!important;max-width:12px!important;height:12px!important;max-height:12px!important;font-family:Arial,sans-serif!important;font-size:11px!important;font-weight:400!important;line-height:12px!important;text-align:center!important;vertical-align:middle!important;color:#d71920!important;transform:none!important;}

/* v1.6 certificate signature */
#bfv-volunteer-portal .bfvv-cert-bottom>span:last-child{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:2px!important;min-width:190px!important}
#bfv-volunteer-portal .bfvv-cert-bottom .bfvv-cert-signature{display:block!important;width:118px!important;max-width:118px!important;height:36px!important;max-height:36px!important;object-fit:contain!important;margin:0 auto!important;border:0!important;border-radius:0!important}
#bfv-volunteer-portal .bfvv-cert-bottom strong{display:block!important;font-size:13px!important;font-weight:700!important;color:#1a3552!important}

/* v2.1: Subtle centered logo watermark on certificate preview. */
#bfv-volunteer-portal .bfvv-cert-inner{position:relative;background-image:linear-gradient(rgba(255,255,255,.91),rgba(255,255,255,.91)),url("https://bornforvision.com/wp-content/uploads/2024/06/born-for-vision-logo-png-4-1.png");background-position:center;background-repeat:no-repeat;background-size:auto,340px 340px}

.bfvv-success-overlay{position:fixed;inset:0;background:rgba(5,20,35,.65);z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px}
.bfvv-success-modal{position:relative;width:min(460px,100%);max-height:90vh;overflow:auto;background:white;border-radius:18px;padding:30px 24px;text-align:center;box-shadow:0 20px 60px #0004;color:#17324d}
.bfvv-success-modal h3{font-size:23px;font-weight:800;margin:12px 0}
.bfvv-success-modal p{font-size:14px;line-height:1.6}
.bfvv-success-check{font-size:34px;color:#159b52}
.bfvv-success-details{display:grid;gap:5px;background:#f2f6fb;border:1px solid #dfe7ee;border-radius:10px;padding:15px;overflow-wrap:anywhere}
.bfvv-success-details span{font-size:12px;color:#61758b}
.bfvv-success-details strong{font-size:17px;color:#17324d}
.bfvv-success-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:27px;cursor:pointer;color:#52647a}
.bfvv-success-mail{font-size:12px!important}

/* v2.5: smaller popup close control; override generic form button styling. */
#bfv-volunteer-portal .bfvv-success-close{position:absolute!important;top:12px!important;right:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:0!important;margin:0!important;border:1px solid #e3e8ef!important;border-radius:6px!important;background:#f7f9fb!important;background-image:none!important;color:#53677b!important;font-size:16px!important;font-weight:500!important;line-height:1!important;box-shadow:none!important}
#bfv-volunteer-portal .bfvv-success-close:hover{background:#edf2f7!important;filter:none!important}


/* v2.6: Volunteer ID card email/download design refinements only. */
#bfv-volunteer-portal .bfvv-id .bfvv-id-logo{border:4px solid #fff!important;border-radius:50%!important;padding:3px!important;background:#fff!important;outline:2px solid #e21c0a!important;outline-offset:2px!important;}
#bfv-volunteer-portal .bfvv-id .bfvv-id-foundation{font-size:36px!important;font-weight:900!important;letter-spacing:-.6px!important;text-align:center!important;}
#bfv-volunteer-portal .bfvv-id .bfvv-id-motto{text-align:center!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;}
#bfv-volunteer-portal .bfvv-id .bfvv-id-contact{justify-content:space-between!important;left:30px!important;right:30px!important;}
#bfv-volunteer-portal .bfvv-id .bfvv-id-contact span:last-child{margin-left:auto!important;text-align:right!important;justify-content:flex-end!important;}
