.afrisec-conf-wrap{max-width:980px;margin:20px auto;padding:24px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 5px 20px rgba(0,0,0,.04);font-family:Arial,sans-serif}.afrisec-conf-head{border-bottom:1px solid #eee;margin-bottom:18px;padding-bottom:12px}.afrisec-conf-head h2{margin:0 0 10px;font-size:28px;line-height:1.25}.afrisec-note{background:#f5faf7;border-left:5px solid #14532d;padding:11px 13px}.afrisec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.afrisec-form p{margin:0 0 14px}.afrisec-form label{display:block;font-weight:700;margin-bottom:6px}.afrisec-form input[type=text],.afrisec-form input[type=email],.afrisec-form select{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:7px}.afrisec-btn{background:#14532d;color:#fff;border:0;border-radius:8px;padding:12px 22px;font-weight:700;cursor:pointer}.afrisec-fee{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:14px;margin:8px 0 16px}.afrisec-fee-display{font-size:20px;font-weight:800;color:#14532d}.afrisec-alert{padding:13px 15px;border-radius:8px;margin:14px auto;max-width:980px}.afrisec-alert.success{background:#ecfdf5;border:1px solid #86efac;color:#166534}.afrisec-alert.error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.afrisec-result table{width:100%;border-collapse:collapse}.afrisec-result th,.afrisec-result td{border:1px solid #ddd;padding:9px;text-align:left}.afrisec-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.afrisec-summary div{text-align:center;border:1px solid #ddd;border-radius:10px;padding:16px}.afrisec-summary strong{display:block;font-size:28px}.student-only,.organizer-only,.gov-agency-nominee-only{display:none}@media(max-width:760px){.afrisec-grid,.afrisec-summary{grid-template-columns:1fr}.afrisec-conf-wrap{padding:16px}}

/* v1.0.2 centered header and joint logo banner */
.afrisec-conf-head{text-align:center!important;border-bottom:1px solid #edf0f2!important;margin-bottom:22px!important;padding:8px 0 18px!important}
.afrisec-header-logo-wrap{display:flex;justify-content:center;align-items:center;margin:0 auto 16px;text-align:center}
.afrisec-header-logo{display:block;max-width:520px;width:100%;height:auto;margin:0 auto;object-fit:contain}
.afrisec-conf-head h2{max-width:900px;margin:0 auto 14px!important;text-align:center;font-weight:800}
.afrisec-conf-head p{max-width:900px;margin:0 auto 18px!important;text-align:center}
.afrisec-note{display:block;max-width:900px;margin:20px auto 0!important;text-align:center;border-left:0!important;border-top:5px solid #14532d!important;padding:14px 18px!important;background:#f5faf7!important}
@media(max-width:760px){.afrisec-header-logo{max-width:320px}.afrisec-conf-head h2{font-size:22px!important}.afrisec-conf-head p{font-size:14px}}

/* v1.0.3 venue before date refinement */
.afrisec-conf-head p{margin:0 auto 12px!important;}
.afrisec-conf-head p strong{font-weight:800;}

/* v1.0.5 forced corrected header order, center alignment, and post-submission screen */
.afrisec-conf-head.gep-conf-header-v105,
.gep-conf-header-v105 .gep-conf-event-meta,
.gep-conf-header-v105 .gep-conf-venue,
.gep-conf-header-v105 .gep-conf-date {
    text-align: center !important;
}
.gep-conf-header-v105 .gep-conf-venue,
.gep-conf-header-v105 .gep-conf-date {
    display: block !important;
    width: 100% !important;
    margin: 8px auto !important;
}


/* v1.0.5 conference registration submitted screen */
.gep-conf-submission-screen{
    max-width: 980px;
    margin: 24px auto;
    padding: 0 12px;
    font-family: Arial, sans-serif;
}
.gep-conf-success-card{
    max-width: 760px;
    margin: 0 auto;
    padding: 38px 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    text-align: center;
}
.gep-conf-success-icon{
    width: 76px;
    height: 76px;
    line-height: 76px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 42px;
    font-weight: 800;
    margin: 0 auto 18px;
}
.gep-conf-success-card h2{
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.25;
    color: #111827;
    font-weight: 800;
}
.gep-conf-success-message{
    max-width: 620px;
    margin: 0 auto 22px;
    font-size: 17px;
    line-height: 1.55;
    color: #1f2937;
    font-weight: 600;
}
.gep-conf-success-reference{
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin: 2px auto 20px;
    font-size: 16px;
    color: #111827;
}
.gep-conf-success-reference span{
    font-weight: 800;
}
.gep-conf-success-details{
    max-width: 640px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    background: #f9fafb;
    border-radius: 12px;
    color: #374151;
}
.gep-conf-success-details p{
    margin: 7px 0;
}
.gep-conf-return-btn{
    display: inline-block;
    background: #14532d;
    color: #fff !important;
    padding: 13px 22px;
    border-radius: 9px;
    text-decoration: none !important;
    font-weight: 800;
}
.gep-conf-return-btn:hover{
    opacity: .92;
}
@media(max-width:760px){
    .gep-conf-success-card{padding:28px 18px;}
    .gep-conf-success-card h2{font-size:24px;}
    .gep-conf-success-reference{display:block;}
}


/* v1.0.6 professional conference registration form upgrade */
.gep-conf-form-upgrade-v106{max-width:1040px!important;padding:28px!important;background:#ffffff!important;border-radius:16px!important}
.gep-conf-header-v106{text-align:center!important}
.gep-conf-modern-form{margin-top:22px}
.gep-conf-progress-note{display:flex;justify-content:space-between;gap:16px;align-items:center;background:#0f172a;color:#fff;border-radius:12px;padding:16px 18px;margin-bottom:18px}
.gep-conf-progress-note strong{font-size:18px;white-space:nowrap}
.gep-conf-progress-note span{font-size:14px;opacity:.92;line-height:1.45}
.gep-conf-section{border:1px solid #dbe3ea;border-radius:14px;padding:20px 20px 8px;margin:0 0 18px;background:#fbfdff}
.gep-conf-section legend{font-weight:800;color:#0f172a;background:#fff;border:1px solid #dbe3ea;border-radius:999px;padding:7px 14px;margin-left:6px}
.gep-conf-modern-form .required{color:#b91c1c;font-weight:900}
.gep-conf-modern-form input[type=text],.gep-conf-modern-form input[type=email],.gep-conf-modern-form select{min-height:46px;background:#fff;border:1px solid #cbd5e1!important;border-radius:9px!important;box-shadow:none!important;outline:none!important}
.gep-conf-modern-form input:focus,.gep-conf-modern-form select:focus{border-color:#14532d!important;box-shadow:0 0 0 3px rgba(20,83,45,.12)!important}
.gep-conf-modern-form label{color:#111827;font-size:14px}
.afrisec-grid .full-row{grid-column:1 / -1}
.gep-conf-category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:4px 0 16px}
.gep-conf-category-card{position:relative;display:block;background:#fff;border:2px solid #dbe3ea;border-radius:14px;padding:18px 16px;cursor:pointer;transition:all .18s ease;min-height:132px}
.gep-conf-category-card:hover{border-color:#14532d;box-shadow:0 8px 24px rgba(20,83,45,.10)}
.gep-conf-category-card input{position:absolute;top:14px;right:14px;transform:scale(1.15)}
.gep-conf-category-card .cat-title{display:block;font-size:18px;font-weight:900;color:#111827;margin-bottom:8px}
.gep-conf-category-card .cat-fee{display:inline-block;font-size:20px;font-weight:900;color:#14532d;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;padding:5px 12px;margin-bottom:10px}
.gep-conf-category-card .cat-desc{display:block;color:#475569;font-size:13px;line-height:1.45}
.gep-conf-category-card.is-active{border-color:#14532d;background:#f8fff9;box-shadow:0 10px 26px rgba(20,83,45,.12)}
.gep-conf-category-card.is-active:before{content:'Selected';position:absolute;top:-11px;left:16px;background:#14532d;color:#fff;border-radius:999px;font-size:11px;font-weight:800;padding:3px 9px;letter-spacing:.02em}
.gep-conf-section .afrisec-fee{margin:0 0 8px!important;background:#f0fdf4!important;border:1px solid #bbf7d0!important;text-align:center!important;font-size:16px}
.gep-conf-help-text{display:block;margin:2px 0 12px!important;color:#475569;background:#f8fafc;border-left:4px solid #14532d;padding:10px 12px;border-radius:8px;font-size:14px;line-height:1.45}
.gep-conf-terms{display:flex!important;gap:10px;align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:13px 14px;margin-bottom:12px!important}
.gep-conf-terms input{margin-top:3px}
.gep-conf-submit-row{text-align:center;margin-top:8px}
.gep-conf-submit-row .afrisec-btn{font-size:16px;padding:14px 28px;border-radius:10px;box-shadow:0 8px 20px rgba(20,83,45,.18)}
@media(max-width:860px){.gep-conf-category-cards{grid-template-columns:1fr}.gep-conf-progress-note{display:block;text-align:center}.gep-conf-progress-note strong{display:block;margin-bottom:8px;white-space:normal}.afrisec-grid .full-row{grid-column:auto}.gep-conf-form-upgrade-v106{padding:18px!important}.gep-conf-section{padding:18px 14px 6px}}


/* v1.0.7 payment proof, acknowledgement slip and receipt display */
.gep-conf-form-upgrade-v107 input[type=file]{width:100%;background:#fff;border:1px dashed #94a3b8;border-radius:9px;padding:12px;min-height:48px}
.gep-conf-field-note{display:block;margin-top:7px;color:#64748b;font-size:13px;line-height:1.4}
.gep-conf-success-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:8px}
.gep-conf-secondary-btn{display:inline-block;background:#1d4ed8;color:#fff!important;padding:13px 22px;border-radius:9px;text-decoration:none!important;font-weight:800}
.gep-conf-secondary-btn:hover{opacity:.92}
.gep-conf-slip-wrap{max-width:920px!important;background:#f8fafc!important}
.gep-conf-slip{background:#fff;border:1px solid #dbe3ea;border-radius:16px;padding:28px;text-align:center;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.gep-conf-slip h2{font-size:28px;line-height:1.25;margin:12px 0 6px;color:#111827;font-weight:900}
.gep-conf-slip-subtitle{font-size:17px;font-weight:700;margin:0 0 14px;color:#14532d}
.gep-conf-slip-meta{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 16px;margin:14px auto 18px;max-width:760px;text-align:left}
.gep-conf-slip-meta p{margin:6px 0}
.gep-conf-slip-table{width:100%;border-collapse:collapse;margin:18px 0;text-align:left;background:#fff}
.gep-conf-slip-table th,.gep-conf-slip-table td{border:1px solid #e2e8f0;padding:11px 13px;vertical-align:top}
.gep-conf-slip-table th{width:34%;background:#f8fafc;color:#0f172a;font-weight:800}
.gep-conf-slip-note{text-align:left;background:#fff7ed;border-left:4px solid #f97316;border-radius:10px;padding:12px 14px;color:#431407;line-height:1.5}
.gep-conf-slip-actions{text-align:center;margin-top:18px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.afrisec-result .gep-conf-return-btn{font-size:14px;padding:10px 15px;margin-top:6px}
@media print{body *{visibility:hidden!important}.gep-conf-slip,.gep-conf-slip *{visibility:visible!important}.gep-conf-slip{position:absolute;left:0;top:0;width:100%;box-shadow:none!important;border:0!important}.no-print,.no-print *{display:none!important}.afrisec-conf-wrap{box-shadow:none!important;border:0!important;margin:0!important;padding:0!important}}
@media(max-width:760px){.gep-conf-success-actions,.gep-conf-slip-actions{display:block}.gep-conf-success-actions a,.gep-conf-slip-actions a,.gep-conf-slip-actions button{display:block;margin:8px auto}.gep-conf-slip{padding:20px 12px}.gep-conf-slip-table th,.gep-conf-slip-table td{display:block;width:auto}.gep-conf-slip-table th{border-bottom:0}}

/* v1.0.8 conference ticket, QR check-in and badge */
.gep-conf-ticket-wrap,.gep-conf-badge-wrap,.gep-conf-checkin-wrap{max-width:980px!important;background:#f8fafc!important}
.gep-conf-ticket,.gep-conf-checkin-card{background:#fff;border:1px solid #dbe3ea;border-radius:16px;padding:28px;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.gep-conf-ticket-title{text-align:center;border-bottom:2px solid #e2e8f0;margin-bottom:18px;padding-bottom:14px}
.gep-conf-ticket-title h2{font-size:30px;margin:0 0 6px;color:#111827;font-weight:900;text-transform:uppercase;letter-spacing:.03em}
.gep-conf-ticket-title p{margin:0;color:#14532d;font-weight:800;font-size:17px}
.gep-conf-ticket-grid{display:grid;grid-template-columns:1fr 270px;gap:20px;align-items:start}
.gep-conf-ticket-qr{text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:18px}
.gep-conf-ticket-qr img{display:block;width:240px;max-width:100%;height:auto;margin:0 auto 10px;background:#fff;padding:8px;border:1px solid #e5e7eb;border-radius:10px}
.gep-conf-ticket-qr p{margin:6px 0;color:#111827}
.gep-conf-ticket-qr small{display:block;color:#475569;font-weight:800;word-break:break-all}
.gep-conf-ticket-meta{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 16px;margin:18px auto;text-align:left}
.gep-conf-ticket-meta p{margin:6px 0}
.gep-conf-status-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gep-conf-badge{width:420px;max-width:100%;margin:0 auto;background:#fff;border:2px solid #14532d;border-radius:18px;padding:24px;text-align:center;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.gep-conf-badge .afrisec-header-logo{max-width:300px}
.gep-conf-badge-event{display:inline-block;background:#14532d;color:#fff;border-radius:999px;padding:7px 14px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;margin:6px 0 12px;font-size:12px}
.gep-conf-badge h2{font-size:30px;line-height:1.15;margin:8px 0;color:#111827;font-weight:900;text-transform:uppercase}
.gep-conf-badge-org{font-size:15px;color:#475569;margin:6px 0 10px;font-weight:700}
.gep-conf-badge-cat{display:inline-block;background:#ecfdf5;border:1px solid #bbf7d0;color:#14532d;border-radius:999px;padding:6px 13px;font-weight:900;margin:4px 0 14px}
.gep-conf-badge-qr{display:block;width:180px;height:180px;margin:10px auto;background:#fff;padding:8px;border:1px solid #e5e7eb;border-radius:10px}
.gep-conf-badge-ref{font-size:13px;font-weight:900;color:#111827;word-break:break-all;margin:10px 0 0}
.gep-conf-checkin-wrap h2{text-align:center;font-size:30px;margin:0 0 18px;font-weight:900;color:#111827}
.gep-conf-checkin-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.gep-conf-danger-btn{background:#b91c1c!important}
@media(max-width:820px){.gep-conf-ticket-grid{grid-template-columns:1fr}.gep-conf-ticket,.gep-conf-checkin-card{padding:20px 12px}.gep-conf-status-actions{display:block}.gep-conf-status-actions a{display:block;margin:8px 0;text-align:center}}
@media print{.gep-conf-ticket,.gep-conf-ticket *,.gep-conf-badge,.gep-conf-badge *{visibility:visible!important}.gep-conf-ticket,.gep-conf-badge{position:absolute;left:0;top:0;width:100%;box-shadow:none!important}.gep-conf-badge{width:100%;max-width:420px;left:50%;transform:translateX(-50%)}.no-print,.no-print *{display:none!important}}


/* v1.0.13: Do not display post-submission public document buttons before admin approval. */
.gep-conf-success .gep-conf-doc-buttons,
.gep-conf-success .gep-conf-success-documents,
.gep-conf-success .gep-conf-slip-button,
.gep-conf-success .gep-conf-ticket-button,
.gep-conf-success .gep-conf-badge-button,
.afrisec-conf-success .afrisec-conf-doc-buttons,
.afrisec-conf-success .afrisec-conf-success-documents {
    display: none !important;
}

/* v1.0.15: hide any legacy public document buttons on submission success screen. */
.gep-conf-success-card a[href*="gep_conf_slip"],
.gep-conf-success-card a[href*="gep_conf_ticket"],
.gep-conf-success-card a[href*="gep_conf_badge"]{display:none!important;}


/* v1.0.17 premium name tag design */
.gep-conf-name-tag-premium-wrap{background:#f4f6f8!important;max-width:760px!important;padding:24px!important;border:0!important;box-shadow:none!important}
.gep-conf-name-tag-premium{width:560px!important;max-width:100%!important;min-height:780px!important;margin:0 auto!important;background:#fff!important;border:5px solid #245b42!important;border-radius:24px!important;padding:54px 45px 34px!important;text-align:center!important;box-sizing:border-box!important;box-shadow:0 12px 28px rgba(0,0,0,.12)!important;position:relative!important;overflow:hidden!important}
.gep-conf-name-tag-premium:before{content:"";position:absolute;inset:12px;border:1px solid rgba(36,91,66,.18);border-radius:18px;pointer-events:none}
.gep-conf-name-tag-logo-row{margin:4px auto 88px!important;text-align:center!important}
.gep-conf-name-tag-logo{width:415px!important;max-width:92%!important;height:auto!important;display:block!important;margin:0 auto!important;object-fit:contain!important;background:transparent!important;padding:0!important;border:0!important;border-radius:0!important}
.gep-conf-name-tag-role{display:block!important;background:transparent!important;color:#2b2b2b!important;border-radius:0!important;padding:0!important;margin:0 0 38px!important;font-size:18px!important;letter-spacing:4px!important;text-transform:uppercase!important;font-weight:900!important;line-height:1.25!important}
.gep-conf-name-tag-name{font-size:44px!important;line-height:1.05!important;font-weight:900!important;color:#1e1e1e!important;text-transform:uppercase!important;margin:0 0 28px!important;letter-spacing:.5px!important}
.gep-conf-name-tag-category{display:inline-block!important;min-width:110px!important;padding:12px 22px!important;border:1.5px solid rgba(36,91,66,.35)!important;border-radius:26px!important;background:#fbfffc!important;color:#242424!important;font-size:23px!important;line-height:1!important;font-weight:800!important;margin:0 0 42px!important}
.gep-conf-name-tag-qr-box{width:245px!important;height:245px!important;padding:10px!important;border:1px solid #e6e6e6!important;border-radius:14px!important;margin:0 auto 24px!important;background:#fff!important;box-sizing:border-box!important;box-shadow:0 2px 8px rgba(0,0,0,.04)!important}
.gep-conf-name-tag-qr{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important}
.gep-conf-name-tag-ref{font-size:20px!important;line-height:1.2!important;font-weight:900!important;color:#242424!important;letter-spacing:.8px!important;margin:8px 0 0!important;word-break:break-word!important}
.gep-conf-name-tag-org{font-size:12px!important;color:#555!important;margin:8px 0 0!important;font-weight:700!important}
@media(max-width:640px){.gep-conf-name-tag-premium{width:100%!important;min-height:auto!important;padding:36px 22px 28px!important}.gep-conf-name-tag-logo-row{margin-bottom:56px!important}.gep-conf-name-tag-name{font-size:34px!important}.gep-conf-name-tag-qr-box{width:215px!important;height:215px!important}}
@media print{body *{visibility:hidden!important}.gep-conf-name-tag-premium,.gep-conf-name-tag-premium *{visibility:visible!important}.gep-conf-name-tag-premium{position:absolute!important;left:50%!important;top:0!important;transform:translateX(-50%)!important;width:560px!important;box-shadow:none!important}.no-print,.no-print *{display:none!important}@page{size:A5 portrait;margin:8mm}}


/* v1.0.18 exact name tag fix */
.gep-name-tag-stage{background:#f4f6f8!important;padding:24px 10px!important;margin:0 auto!important;font-family:Arial,Helvetica,sans-serif!important;text-align:center!important;box-sizing:border-box!important}
.gep-name-tag-card{width:520px!important;max-width:100%!important;min-height:735px!important;background:#fff!important;border:4px solid #245b42!important;border-radius:24px!important;margin:0 auto!important;padding:52px 36px 28px!important;box-sizing:border-box!important;text-align:center!important;box-shadow:0 10px 26px rgba(0,0,0,.08)!important;color:#202020!important;overflow:hidden!important}
.gep-name-tag-logos{display:block!important;width:410px!important;max-width:92%!important;height:auto!important;margin:0 auto 92px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
.gep-name-tag-delegate{font-size:19px!important;line-height:1.25!important;letter-spacing:3.5px!important;font-weight:900!important;text-transform:uppercase!important;margin:0 0 38px!important;color:#2c2c2c!important;background:transparent!important;border:0!important;padding:0!important}
.gep-name-tag-fullname{font-size:45px!important;line-height:1.05!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.2px!important;margin:0 0 28px!important;color:#1f1f1f!important;font-family:Arial Black,Arial,Helvetica,sans-serif!important}
.gep-name-tag-category-pill{display:inline-block!important;font-size:23px!important;line-height:1!important;font-weight:900!important;padding:13px 24px!important;border:1.5px solid rgba(36,91,66,.35)!important;border-radius:26px!important;background:#fff!important;color:#292929!important;margin:0 0 40px!important;min-width:118px!important}
.gep-name-tag-qr-frame{width:242px!important;height:242px!important;margin:0 auto 22px!important;padding:9px!important;border:1px solid #e3e5e8!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 7px rgba(0,0,0,.05)!important}
.gep-name-tag-qr-frame img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border:0!important;margin:0!important;padding:0!important;background:#fff!important}
.gep-name-tag-reference{font-size:20px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.8px!important;margin:0!important;color:#242424!important;word-break:break-word!important}
.gep-name-tag-org{font-size:12px!important;color:#666!important;margin:8px 0 0!important;font-weight:700!important}
@media print{.gep-name-tag-actions,.no-print{display:none!important}.gep-name-tag-stage{background:#fff!important;padding:0!important}.gep-name-tag-card{box-shadow:none!important;margin:0 auto!important;page-break-inside:avoid!important;width:520px!important;min-height:735px!important}@page{size:A5 portrait;margin:8mm}}


/* v1.0.43 colorful certificate background */
.gep-conf-certificate-screen {
    background: linear-gradient(135deg, #0f3d2b 0%, #d4af37 32%, #fff7df 54%, #8b1e24 100%);
}
.gep-conf-certificate-card {
    background: linear-gradient(180deg, #fffdf4 0%, #fff8df 45%, #f7e7aa 100%);
}
@media print {
    .gep-conf-certificate-screen {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}


/* v1.0.44 reproduced attached certificate design */
.gep-conf-certificate-card-v1044 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1044 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1044 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.45 corrected attached certificate design */
.gep-conf-certificate-card-v1045 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1045 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1045 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.46 final corrected certificate design */
.gep-conf-certificate-card-v1046 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1046 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1046 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.48 smoothed final certificate design */
.gep-conf-certificate-card-v1048 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1048 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1048 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.49 clean rebuilt certificate design */
.gep-conf-certificate-card-v1049 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1049 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1049 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.50 exact cleaned reference certificate design */
.gep-conf-certificate-card-v1053 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1053 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1053 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.51 corrected wording and signatory only */
.gep-conf-certificate-card-v1053 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1053 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1053 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.52 signatory wording ash-layer fix */
.gep-conf-certificate-card-v1053 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1053 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1053 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.53 inpainted ash-layer signatory wording fix */
.gep-conf-certificate-card-v1053 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1053 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1053 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.54 RTF certificate design replacement */
.gep-conf-certificate-card-v1054 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1054 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1054 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.55 corrected RTF certificate design */
.gep-conf-certificate-card-v1058 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1058 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1058 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.56 exact certificate of attendance design */
.gep-conf-certificate-card-v1058 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1058 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1058 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.57 conference certificate template design */
.gep-conf-certificate-card-v1058 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1058 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1058 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.58 restored exact template logos and design */
.gep-conf-certificate-card-v1058 {background-size:100% 100%;background-repeat:no-repeat;}
@media print { .gep-conf-certificate-screen-v1058{background:#fff!important;padding:0!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;} .gep-conf-certificate-card-v1058{box-shadow:none!important;max-width:none!important;width:100%!important;} }


/* v1.0.59 certificate write-up left alignment correction
   Text overlay shifted left to sit centrally under the top logo.
   No certificate background, logo, QR, seal, or signature design was changed. */


/* v1.0.60 certificate write-up and theme field
   Replaced certificate wording only and added Theme setting.
   No certificate background, logo, QR, seal, or signature design was changed. */
.gep-conf-certificate-card-v1060 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1060 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1060 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.61 restored signatory write-up only
   Restored Dr. Peters Udeagu credential text and Director General under the signature.
   No certificate background, logo, QR, seal, theme, or other plugin feature was changed. */


/* v1.0.62 signatory moved under handwritten signature only
   The typed signatory write-up was moved below the existing handwritten signature.
   No certificate background, logo, QR, seal, theme, main wording, or other plugin feature was changed. */


/* v1.0.63 balanced central certificate write-up only
   Main certificate write-up was centered under the top logo.
   No certificate background, logo, QR, seal, theme, signature/signatory block, or other plugin feature was changed. */


/* v1.0.64 title-name-signature spacing only
   Moved "This is to certify that" down slightly, adjusted participant name spacing,
   and refined only the typed signatory placement.
   No certificate background, logo, QR, seal, theme, main wording, or other plugin feature was changed. */


/* v1.0.65 reference certificate font style match only
   Certificate text font size, color and style were adjusted to match the uploaded
   Ugwu Augustine Ogwuche reference certificate. No certificate background, logo,
   QR, seal, theme, wording, signature position, or other plugin feature was changed. */


/* v1.0.66 exact reference font size color style only
   Text styling now follows the uploaded Ugwu Augustine Ogwuche reference:
   dark navy #002060, brown #833c0b name, red #ff0000 credentials,
   Times/Cambria/Poor Richard-style hierarchy. No background, logo, QR,
   seal, theme, wording, layout, or workflow feature was changed. */
.gep-conf-certificate-card-v1066 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1066 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1066 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.67 signatory aligned with signature only
   Typed signatory text was moved horizontally to align with the existing
   handwritten signature. No background, logo, QR, seal, wording, font style,
   theme field, layout, or workflow feature was changed. */


/* v1.0.68 signature-name arrangement fix only
   Typed signatory name/credentials and Director General were repositioned
   directly under the existing handwritten signature. No certificate background,
   logo, QR, seal, wording, font style, theme field, layout, or workflow feature
   was changed. */


/* v1.0.69 certificate name/signature style controls
   Added editable settings columns for font size, color and style.
   No certificate background, logo, QR, seal, wording, layout, or workflow feature was changed. */
.gep-conf-certificate-card-v1069 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media print {
    .gep-conf-certificate-screen-v1069 {
        background: #fff !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .gep-conf-certificate-card-v1069 {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
    }
}


/* v1.0.71 signature upload alignment controls fixed
   Adds visible Signature Upload and Left/Center/Right signatory alignment controls.
   No certificate background, logo, QR, seal, wording, layout, or workflow feature was changed. */
.gep-conf-certificate-card-v1199 { background-size: 100% 100%; background-repeat: no-repeat; }
@media print {
    .gep-conf-certificate-screen-v1199 { background:#fff !important; padding:0 !important; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
    .gep-conf-certificate-card-v1199 { box-shadow:none !important; max-width:none !important; width:100% !important; }
}


/* v1.0.72 working alignment and color controls
   Fixed saving/applying font color and signatory Left/Center/Right alignment.
   No certificate background, logo, QR, seal, wording, or registration workflow was changed. */


/* v1.0.73 fixed signatory style alignment controls
   Removed duplicate signatory alignment controls and added one working signatory
   style table for color, size, style and Left/Center/Right alignment.
   No certificate background, logo, QR, seal, wording, or registration workflow changed. */


/* v1.0.74 fully working signatory controls
   Signatory Name, Signatory Credentials and Signatory Title now use visible
   left/center/right positioning and direct color/style output in preview/PDF.
   No certificate background, logo, QR, seal, wording or registration workflow changed. */


/* v1.0.75 audited working signatory controls
   Final audit for Signatory Name, Signatory Credentials and Signatory Title:
   color, size, style and Left/Center/Right controls are applied to preview and PDF.
   Certificate background, logo, QR, seal, wording and registration workflow unchanged. */


/* v1.0.76 credentials inline with signatory name
   Signatory Credentials now appears on the same row beside Signatory Name.
   Credentials retain separate color, size and style controls. No background,
   logo, QR, seal, wording, or registration workflow changed. */


/* v1.0.77 credential independent style position controls
   Signatory Credentials now has its own working color, size, style and
   Left/Center/Right position controls while remaining on the signatory line.
   No certificate background, logo, QR, seal, wording or workflow changed. */


/* v1.0.78 direct working signatory controls
   Signatory Name, Signatory Credentials and Signatory Title now use direct
   fixed Left/Center/Right positions and direct color/size/style output.
   No certificate background, logo, QR, seal, wording or workflow changed. */


/* v1.0.79 fixed credential font style color size
   fhcsps, mtrcn, miacp, pgde now reads from direct credential controls:
   certificate_credentials_font_size, certificate_credentials_font_color,
   certificate_credentials_font_style and certificate_credentials_position.
   No certificate background, logo, QR, seal, wording or workflow changed. */


/* v1.0.80 remove default signature / align uploaded signature with name
   The baked/default handwritten signature was removed from the certificate
   background asset. Uploaded signature follows Signatory Name left/center/right
   position. No logo, QR, seal, wording, or workflow feature changed. */


/* v1.0.81 default signature removed / uploaded signature aligns with name
   User-facing settings text corrected: the template/default signature is removed.
   Uploaded signature follows Signatory Name left/center/right position. */


/* v1.0.82 balanced certificate design
   Improved no-default-signature background cleanup, balanced main certificate
   write-up under the crest, and fine-tuned uploaded signature alignment with
   Signatory Name. No logo, QR, seal, wording, or workflow feature changed. */


/* v1.0.83 logo color and transparent uploaded signature
   Second-to-last left logo color restored/enhanced. Uploaded signatures are
   processed as transparent PNGs and rendered with transparency in preview/PDF.
   No certificate wording, QR, seal, or workflow feature changed. */


/* v1.0.84 left logo area error fixed
   Restored the left logo column and red/white curve area while keeping the
   default handwritten signature removed. Uploaded signature transparency and
   alignment features remain unchanged. */


/* v1.0.86 safe color error fix / signature aligned
   Rebuilt certificate background from the clean source, safely removed only
   old signature strokes, restored logo/curve colors, and aligned uploaded
   signature to the exact Signatory Name anchor. */


/* v1.0.87 reference color fixed / signature on name
   Fixed certificate color/smudge error using the clean Ugwu-reference-style
   background source. Uploaded signature uses the exact Signatory Name anchor
   and sits directly above the name. */


/* v1.0.88 color error fixed / signature locked to name
   Background rebuilt from clean reference template. Old signature smudge/color
   error removed while preserving logo column and red/white curve colors.
   Uploaded signature remains locked to the Signatory Name anchor. */


/* v1.0.89 final clean signature area
   Removed the remaining smudge/dot error in the lower-left signature area
   without changing the logo column, red/white curve, wording, QR, or workflow.
   Uploaded signature remains locked above Signatory Name. */


/* v1.0.90 ash color error fixed
   Removed the remaining ash/smudge patch in the lower-left signature area
   without changing the logo column, red/white curve, wording, QR, or workflow.
   Uploaded signature remains locked above Signatory Name. */


/* v1.0.91 signature perfectly aligned on name
   Uploaded signature is centered directly above the Signatory Name in preview
   and generated PDF. No certificate background, wording, logo, QR, seal, or workflow changed. */


/* v1.0.92 uploaded signature adjustable
   Added uploaded signature controls for width, height, horizontal fine-tune
   and vertical position. Signature still follows Signatory Name anchor.
   No certificate background, wording, logo, QR, seal, or workflow changed. */


/* v1.0.93 design color restored
   Restored the certificate background colors from the clean reference design.
   Removed only the old default signature ink; no artificial ash/white color
   patch is applied. Uploaded signature adjustment controls preserved. */


/* v1.0.95 design color alteration corrected
   Replaced the altered v1093 background with a cleaner color-preserved design
   and removed only tiny lower-left specks. Uploaded signature adjustment
   controls and all workflows are preserved. */


/* v1.0.96 reference design color fixed
   Restored certificate background from the cleaner color-preserved design and
   removed only tiny lower-left dark specks. Uploaded signature adjustment
   controls and all workflows are preserved. */


/* v1.0.97 uploaded template no design alteration
   Certificate background uses the uploaded RTF template rendered as provided.
   No logo, color, curve, crest, seal, or background design element was edited. */


/* v1.0.98 uploaded template direct render no logo alteration
   Uses page 1 of the uploaded RTF template render directly. No page overlay,
   logo edit, color edit, cleanup, enhancement, or design alteration is applied. */


/* v1.0.99 all uploaded template logos applied
   Uses page 1 of the uploaded RTF template and applies only the exact logo/content
   block rendered on page 2. No logo, color, curve, crest, seal, or background
   design element is recolored, resized, cleaned, enhanced, or altered. */


/* v1.0.100 embedded template logos corrected
   Certificate background rebuilt from embedded images inside the uploaded RTF:
   template background + all embedded logos. No logo recolor, redesign, cleanup,
   enhancement, or alteration was applied. */


/* v1.0.101 UKRLP separated / logos same size
   UKRLP block moved away from certificate number area. Homeland Institute,
   AFRI-SEC and Homeland College logos are aligned and rendered at the same size.
   No logo color, logo artwork, certificate text, QR, seal or workflow changed. */


/* v1.0.102 AFRI-SEC logo size increased
   Only the AFRI-SEC logo display size on the certificate background was increased.
   UKRLP block, Homeland Institute logo, Homeland College logo, AG/APC block,
   top logo, certificate text, QR, signature controls and workflows are unchanged. */


/* v1.0.103 scan text removed / QR aligned
   Built-in SCAN TO VERIFY text removed from certificate background.
   Dynamic QR code moved and enlarged to sit cleanly in the right verification area.
   Logos, design, certificate wording, signature controls and workflows unchanged. */


/* v1.0.104 certificate text position controls
   Added Left/Center/Right position controls to Certificate Name & Signature
   Style Controls. Default remains Center, so existing layout is preserved
   unless the admin changes a position setting. */


/* v1.0.105 certificate write-up evenly aligned
   The certificate write-up text block is centered under the top logo.
   Title and theme are balanced into two lines. No logo, background, QR,
   signature control, certificate design, or workflow was changed. */


/* v1.0.106 write-up locked under top logo
   Certificate write-up rows now use one fixed center axis matching the top logo.
   No certificate background, logos, QR placement, wording, signature controls,
   uploaded-signature controls, or workflow was changed. */


/* v1.0.107 write-up shifted slightly towards QR
   Certificate write-up block shifted slightly to the right toward the QR code.
   No certificate background, logos, QR placement, wording, signature controls,
   uploaded-signature controls, or workflow was changed. */


/* v1.0.108 title on one line
   Conference title is kept on one straight line in preview and PDF.
   No certificate background, logos, QR placement, wording, signature controls,
   uploaded-signature controls, or workflow was changed. */


/* v1.0.109 certify line spaced from top logo
   Only the "This is to certify that" line was moved slightly downward to
   add space below the top logo. No certificate background, logos, QR placement,
   title line, theme, wording controls, signature controls, or workflow changed. */


/* v1.0.110 certify-name gap adjusted
   Only the "This is to certify that" line was moved slightly upward to create
   more space above the participant name. The participant name and all spacing
   below the name are unchanged. */


/* v1.0.111 more certify-name space
   Only the "This is to certify that" line was moved further upward to create
   more space above the participant name. The participant name and all spacing
   below the name are unchanged. */


/* v1.0.112 attended row restored in settings
   Restored clear visibility of the "Attended Homeland and AFRI-SEC" field in
   GEP Conference Settings > Certificate Name & Signature Style Controls.
   No certificate output, background, logos, QR, spacing, signature controls,
   or workflow was changed. */


/* v1.0.113 editable held line field
   Added an editable Held Line field between Conference Title and Theme in
   Certificate Name & Signature Style Controls. Blank value preserves the
   existing generated event-date line. No certificate background, logos, QR,
   spacing, signature controls, or workflow was changed. */


/* v1.0.114 editable attended line field
   Made "Attended Homeland and AFRI-SEC" editable in Certificate Name &
   Signature Style Controls. Default value preserves current output. No
   certificate background, logos, QR, spacing, signature controls, or workflow
   was changed. */


/* v1.0.115 theme above held line
   The certificate output order now places Theme above the Held line.
   No certificate background, logos, QR placement, wording, editable fields,
   signature controls, uploaded-signature controls, or workflow was changed. */


/* v1.0.116 editable certificate type under held line
   Added editable Certificate Type directly under Held Line. Blank value keeps
   the current certificate output unchanged. No certificate background, logos,
   QR placement, existing wording, signature controls, uploaded-signature
   controls, or workflow was changed. */


/* v1.0.117 held line certificate type spacing
   Only Certificate Type was moved slightly lower to create more space below
   Held Line. Held Line and all other certificate elements are unchanged. */


/* v1.0.118 certificate type rights spacing
   Only the Rights line was moved slightly lower to create more space below
   Certificate Type. Certificate Type and all other certificate elements are unchanged. */


/* v1.0.119 rights issued spacing
   Only the Issued line was moved slightly lower to create more space below
   the Rights line. Rights line and all other certificate elements are unchanged. */


/* v1.0.120 certify line spaced from top logo
   Only the "This is to certify that" line was moved slightly lower to create
   more space below the top logo. All other certificate elements are unchanged. */


/* v1.0.121 credentials closer to signatory name
   Only the signatory credentials line was moved slightly closer to the
   signatory name. Its vertical position and all other certificate elements
   are unchanged. */


/* v1.0.122 credentials slightly spaced from signatory name
   Only the signatory credentials line was moved slightly away from the
   signatory name. Its vertical position and all other certificate elements
   are unchanged. */


/* v1.0.123 credentials more spaced from signatory name
   Only the signatory credentials line was moved farther away from the
   signatory name. Its vertical position and all other certificate elements
   are unchanged. */


/* v1.0.124 credentials spacing reduced
   Only the signatory credentials line was moved slightly closer to the
   signatory name compared with v1.0.123. Its vertical position and all other
   certificate elements are unchanged. */


/* v1.0.125 credentials back-shift reduced space
   Only the signatory credentials line was moved slightly back toward the
   signatory name. Its vertical position and all other certificate elements
   are unchanged. */


/* v1.0.126 sharp certificate background
   Certificate background replaced with a higher-resolution sharp JPEG asset.
   No certificate layout, text positions, QR placement, logos, editable fields,
   signature controls, uploaded-signature controls, or workflow was changed. */


/* v1.0.127 theme label and text on one line
   "Theme:" and the theme text now render together on one line.
   No certificate background, logos, QR placement, editable fields, signature
   controls, uploaded-signature controls, or workflow was changed. */


/* v1.0.128 theme in two lines
   The combined Theme text now wraps into two lines.
   No certificate background, logos, QR placement, editable fields, signature
   controls, uploaded-signature controls, or workflow was changed. */


/* v1.0.129 static theme label style active
   The word "Theme:" now uses Static theme label font size, color, and style
   controls independently from the rest of the theme text. No certificate
   background, logos, QR placement, editable fields, signature controls,
   uploaded-signature controls, or workflow was changed. */


/* v1.0.130 theme label one visible space
   Added exactly one visible space between "Theme:" and the theme text.
   Static theme label styling remains active for "Theme:" only. No certificate
   background, logos, QR placement, editable fields, signature controls,
   uploaded-signature controls, or workflow was changed. */


/* v1.0.131 theme label visible space fixed
   The one space after "Theme:" is now part of the rendered label output,
   ensuring the certificate shows "Theme: Building..." with a visible gap.
   Static theme label styling remains active for "Theme:" only. No certificate
   background, logos, QR placement, editable fields, signature controls,
   uploaded-signature controls, or workflow was changed. */


/* v1.0.132 visible measured gap after theme label
   Added an actual measured visible gap after "Theme:" instead of relying on
   a collapsible trailing space. Static theme label styling remains active
   for "Theme:" only. No certificate background, logos, QR placement,
   editable fields, signature controls, uploaded-signature controls, or
   workflow was changed. */


/* v1.0.133 theme held gap reduced
   Only the Held Line was moved slightly upward to reduce the gap below the
   Theme section. No certificate background, logos, QR placement, editable
   fields, signature controls, uploaded-signature controls, or workflow was
   changed. */


/* v1.0.134 theme held and lower gap reduced
   Only the Held Line and Certificate Type vertical positions were adjusted:
   the Held Line was moved further upward to close the Theme gap, and the
   Certificate Type line was moved upward to close the gap below the Held Line.
   No certificate background, logos, QR placement, editable fields, signature
   controls, uploaded-signature controls, or workflow was changed. */


/* v1.0.135 rights issued two steps up
   Only the Rights line and Issued line vertical positions were moved upward.
   No certificate background, logos, QR placement, editable fields, Theme
   controls, signature controls, uploaded-signature controls, or workflow was
   changed. */


/* v1.0.136 certify line two steps down
   Only "This is to certify that" was moved downward by a controlled two-step
   adjustment from the top logo while preserving space above the participant
   name. No certificate background, logos, QR placement, editable fields,
   Theme controls, signature controls, uploaded-signature controls, or workflow
   was changed. */


/* v1.0.137 certify name two step space
   Only "This is to certify that" was moved upward by two steps to add space
   between it and the participant name. The participant name stayed in the
   same position, so the space below the name was not reduced. No certificate
   background, logos, QR placement, editable fields, Theme controls, signature
   controls, uploaded-signature controls, or workflow was changed. */


/* v1.0.138 certificate body two steps down
   The listed certificate body lines were moved downward together by two steps:
   certify line, participant name, attended line, title, theme, held line,
   certificate type, rights line, and issued line. Relative spacing was kept.
   No certificate background, logos, QR placement, editable fields, styling
   controls, signature controls, uploaded-signature controls, or workflow was
   changed. */


/* v1.0.139 Naira/USD fee selector */
.gep-conf-currency-choice{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:8px 0 16px;padding:12px 14px;border:1px solid #d8e0ea;border-radius:12px;background:#f8fbff;font-weight:900}
.gep-conf-currency-choice label{display:inline-flex;align-items:center;gap:6px;font-weight:900;color:#243447}


/* v1.0.139 naira or usd fees
   Public registration can now use either Naira or USD fees. Certificate
   background, logos, QR placement, certificate body positions, styling
   controls, signature controls, uploaded-signature controls, and workflow
   were preserved. */


/* v1.0.140 naira or usd same value
   The public form can show either Naira or USD, but both currencies now use
   the same numeric fee value. Only the currency symbol changes. Certificate
   background, logos, QR placement, certificate body positions, styling
   controls, signature controls, uploaded-signature controls, and workflow
   were preserved. */


/* v1.0.141 USD 15 and 20 fees
   USD fees now use separate configured values: $15 for members and $20 for
   non-members by default. Certificate background, logos, QR placement,
   certificate body positions, styling controls, signature controls,
   uploaded-signature controls, and workflow were preserved. */


/* v1.0.142 currency selection warning note */
.gep-conf-currency-warning{margin:-6px 0 16px;padding:12px 14px;border-left:4px solid #b91c1c;background:#fff7f7;color:#7f1d1d;border-radius:10px;font-weight:700;line-height:1.45}
.gep-conf-currency-warning strong{font-weight:900}


/* v1.0.143 important notice currency warning
   Changed the warning heading from "Important:" to "Important Notice:" only.
   Fee values, certificate layout, background, logos, QR placement, signature
   controls, uploaded-signature controls, and workflow were preserved. */


/* v1.0.144 stronger Fee Currency section bolding */
.gep-conf-currency-choice strong{font-weight:900}


/* v1.0.144 fee currency section bolder
   Increased bolding for the Fee Currency selector section only. Fee values,
   warning notice text, certificate layout, background, logos, QR placement,
   signature controls, uploaded-signature controls, and workflow were preserved. */


/* v1.0.145 payment option display */
.gep-conf-payment-options{margin:6px 0 16px}
.gep-conf-payment-option-panel{padding:14px 16px;border:1px solid #c7d2fe;border-left:5px solid #1d4ed8;border-radius:12px;background:#f8fbff;color:#1e293b;line-height:1.5}
.gep-conf-payment-option-panel strong{display:block;margin-bottom:6px;font-weight:900;color:#0f172a}


/* v1.0.145 payment options added
   Added public Naira and USD payment option panels controlled by the selected
   fee currency. Fee values, warning notice text, certificate layout,
   background, logos, QR placement, signature controls, uploaded-signature
   controls, and workflow were preserved. */


/* v1.0.146 online payment links */
.gep-conf-online-payment-row{margin:12px 0 0}
.gep-conf-online-payment-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;background:#0f766e;color:#fff!important;text-decoration:none!important;font-weight:900;box-shadow:0 8px 18px rgba(15,118,110,.18)}
.gep-conf-online-payment-button:hover{filter:brightness(.96);color:#fff!important}


/* v1.0.146 online payment links added
   Added optional public online payment buttons for Naira and USD based on
   admin-entered payment links. Existing payment proof upload, fee values,
   warning notice, certificate layout, background, logos, QR placement,
   signature controls, uploaded-signature controls, and workflow were preserved. */


/* v1.0.147 automatic gateway payment notes */
.gep-conf-auto-payment-note{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#ecfeff;border:1px solid #a5f3fc;color:#164e63;font-weight:700;line-height:1.45}
.gep-conf-auto-payment-note strong{font-weight:900}


/* v1.0.147 Paystack/PayPal automatic payments
   Added server-side Paystack initialization/verification for Naira and PayPal
   order creation/capture for USD. Existing manual payment proof upload,
   payment links, fee values, warning notice, certificate layout, background,
   logos, QR placement, signature controls, uploaded-signature controls, and
   workflow were preserved. */


/* v1.0.148 gateway return page fix
   Paystack/PayPal callbacks now carry the original registration page URL and
   return applicants there after success, cancellation, or error. Added an
   optional Gateway Return Page URL fallback setting. Existing gateway logic,
   payment proof upload, manual payment links, fee values, warning notice,
   certificate layout, background, logos, QR placement, signature controls,
   uploaded-signature controls, and workflow were preserved. */


/* v1.0.149 paystack naira link added
   Added default Naira online payment link: https://paystack.shop/pay/78d5ff7lgg
   Existing automatic Paystack/PayPal gateway settings, gateway return page fix,
   payment proof upload, manual payment links, fee values, warning notice,
   certificate layout, background, logos, QR placement, signature controls,
   uploaded-signature controls, and workflow were preserved. */


/* v1.0.150 public gateway callback fix
   Paystack/PayPal callbacks now use a public frontend route instead of
   wp-admin/admin-post.php to prevent applicants from being redirected to
   wp-login.php. Existing gateway verification/capture logic, payment links,
   return-page handling, payment proof upload, fee values, warning notice,
   certificate layout, background, logos, QR placement, signature controls,
   uploaded-signature controls, and workflow were preserved. */


/* v1.0.151 force automatic Paystack flow
   Removed the default Paystack Shop link and hide manual payment links when
   automatic Paystack/PayPal gateways are enabled. This prevents external
   Paystack payment pages from returning applicants to wp-admin/wp-login.php.
   Existing automatic gateway verification/capture logic, public gateway route,
   return-page handling, payment proof upload, fee values, warning notice,
   certificate layout, background, logos, QR placement, signature controls,
   uploaded-signature controls, and workflow were preserved. */


/* v1.0.152 public form and gateway routing fix
   The public registration form no longer submits through wp-admin/admin-post.php.
   It now submits through the website frontend with a public POST router, so
   public applicants are not pushed to wp-login.php/wp-admin before Paystack.
   Existing automatic Paystack/PayPal gateway verification/capture logic,
   public gateway callback route, return-page handling, payment proof upload,
   fee values, warning notice, certificate layout, background, logos, QR
   placement, signature controls, uploaded-signature controls, and workflow
   were preserved. */


/* v1.0.153 REST payment routing and Paystack Shop cleanup
   Public registration submission and Paystack/PayPal callbacks now use
   dedicated public REST endpoints instead of wp-admin/admin-post.php or the
   WordPress home page. Old saved Paystack Shop URLs are cleared/ignored so the
   plugin automatic Paystack flow controls payment redirection. Existing gateway
   verification/capture logic, return-page handling, payment proof upload, fee
   values, warning notice, certificate layout, background, logos, QR placement,
   signature controls, uploaded-signature controls, and workflow were preserved. */


/* v1.0.154 same-page public payment routing
   The public form now submits to the same public registration page. Paystack
   and PayPal callbacks also return to the same public registration/status page
   carried during checkout. REST routes remain available only as fallback
   compatibility routes. This avoids wp-admin, admin-post.php, home-root, and
   REST as the primary applicant payment path. Existing gateway
   verification/capture logic, Paystack Shop cleanup, payment proof upload, fee
   values, warning notice, certificate layout, background, logos, QR placement,
   signature controls, uploaded-signature controls, and workflow were preserved. */


/* v1.0.155 registration page return URL set
   Set default Gateway Return Page URL to: https://homelandafrisec.org/arscae-2026-conference-registration-form/
   Existing same-page public payment routing, Paystack/PayPal automatic
   verification/capture logic, Paystack Shop cleanup, payment proof upload,
   fee values, warning notice, certificate layout, background, logos, QR
   placement, signature controls, uploaded-signature controls, and workflow
   were preserved. */


/* v1.0.156 external gateway redirect fix
   Fixed Paystack/PayPal checkout redirection by replacing wp_safe_redirect()
   for external gateway checkout URLs with a controlled allowlisted
   wp_redirect() helper. This prevents WordPress from rejecting the external
   gateway domain and falling back to wp-admin/wp-login. Existing same-page
   public payment routing, Gateway Return Page URL, Paystack Shop cleanup,
   payment proof upload, fee values, warning notice, certificate layout,
   background, logos, QR placement, signature controls, uploaded-signature
   controls, and workflow were preserved. */


/* v1.0.157 Paystack notice three lines
   Changed only the Paystack automatic payment notice text into three lines.
   Existing payment routing, external gateway redirect fix, Gateway Return Page
   URL, Paystack/PayPal logic, payment proof upload, fee values, warning notice,
   certificate layout, background, logos, QR placement, signature controls,
   uploaded-signature controls, and workflow were preserved. */


/* v1.0.158 Paystack notice two lines
   Changed only the Paystack automatic payment notice text from three lines
   to two lines. Existing payment routing, external gateway redirect fix,
   Gateway Return Page URL, Paystack/PayPal logic, payment proof upload, fee
   values, warning notice, certificate layout, background, logos, QR placement,
   signature controls, uploaded-signature controls, and workflow were preserved. */


/* v1.0.159 Cash payment option removed
   Removed Cash from the public Mode of Payment options. Existing Paystack
   notice wording, payment routing, external gateway redirect fix, Gateway
   Return Page URL, Paystack/PayPal logic, payment proof upload, fee values,
   warning notice, certificate layout, background, logos, QR placement,
   signature controls, uploaded-signature controls, and workflow were preserved. */


/* v1.0.160 PayPal card payment preferred
   Changed PayPal USD checkout to prefer PayPal billing/card checkout by
   setting landing_page to BILLING, adding NO_SHIPPING, and using immediate
   payment preference. Updated only the PayPal payment notice/settings wording.
   Existing Paystack notice wording, cash removal, payment routing, external
   gateway redirect fix, Gateway Return Page URL, Paystack/PayPal logic,
   payment proof upload, fee values, warning notice, certificate layout,
   background, logos, QR placement, signature controls, uploaded-signature
   controls, and workflow were preserved. */


/* v1.0.161 PayPal experience context card checkout
   Moved PayPal checkout experience options from deprecated
   application_context into payment_source.paypal.experience_context so PayPal
   applies the card/billing checkout preference correctly. Existing cash
   removal, Paystack notice wording, payment routing, external gateway redirect
   fix, Gateway Return Page URL, Paystack/PayPal verification/capture logic,
   payment proof upload, fee values, warning notice, certificate layout,
   background, logos, QR placement, signature controls, uploaded-signature
   controls, and workflow were preserved. */


/* v1.0.162 PayPal payer-action link fix
   Fixed PayPal checkout link extraction to accept both approve and
   payer-action link rel values, plus compatible checkout/pay fallbacks. This
   resolves "PayPal approval link was not returned" after moving PayPal checkout
   settings into payment_source.paypal.experience_context. Existing PayPal
   card/billing checkout preference, cash removal, Paystack notice wording,
   payment routing, external gateway redirect fix, Gateway Return Page URL,
   Paystack/PayPal verification/capture logic, payment proof upload, fee values,
   warning notice, certificate layout, background, logos, QR placement,
   signature controls, uploaded-signature controls, and workflow were preserved. */


/* v1.0.163 direct PayPal payment link
   Added user-provided direct PayPal payment-options link for USD:
   [removed: PayPal API checkout flow restored in v1.0.167]
   The USD payment panel now shows this PayPal card link directly and does not
   require automatic PayPal API keys when the direct link is used. Existing
   Paystack automatic flow, PayPal API fallback, cash removal, Paystack notice
   wording, payment routing, external gateway redirect fix, Gateway Return Page
   URL, payment proof upload, fee values, warning notice, certificate layout,
   background, logos, QR placement, signature controls, uploaded-signature
   controls, and workflow were preserved. */


/* v1.0.164 direct PayPal validation fix
   Fixed validation for direct payment link modes. paypal_link/direct_link no
   longer require automatic Paystack/PayPal API configuration, preventing the
   false "Paystack online payment is not yet configured" error when the direct
   PayPal payment-options link is used. Existing direct PayPal link, Paystack
   flow, PayPal fallback, payment routing, certificate layout, QR, signature
   controls, and workflow were preserved. */


/* v1.0.165 direct PayPal redirect after submit
   Fixed direct payment link mode so successful Online Payment submissions
   redirect to the configured direct payment link instead of stopping on the
   registration submitted message. Existing direct PayPal link, Paystack flow,
   PayPal fallback, payment routing, certificate layout, QR, signature controls,
   and workflow were preserved. */


/* v1.0.166 hide direct PayPal button
   Removed the visible public "Pay Online - USD via PayPal Card" button because
   the form now redirects to the PayPal payment-options link after successful
   Online Payment submission. Existing direct PayPal redirect, direct PayPal
   validation fix, Paystack flow, PayPal fallback, payment routing, certificate
   layout, QR, signature controls, and workflow were preserved. */


/* v1.0.167 PayPal API checkout flow restored
   Restored USD Online Payment to PayPal API checkout flow. Removed the direct
   PayPal NCP payment-link mode so PayPal can return to the registration page
   and the plugin can capture/verify payment automatically through the PayPal
   API. Existing Paystack flow, payment routing, certificate layout, QR,
   signature controls, and workflow were preserved. */


/* v1.0.168 payment webhooks and admin verify
   Added Paystack webhook, PayPal webhook signature verification/processing,
   idempotent payment verification, and admin Verify Gateway Payment action.
   Existing PayPal API checkout flow, Paystack flow, registration form,
   certificate layout, QR, signature controls, name tag, check-in and dashboard
   layout were preserved. */

/* v1.0.169 payment recovery audit secure secrets */
.gep-conf-continue-payment-row{margin:10px 0 0!important}
.gep-conf-continue-payment-button{font-weight:800!important}
.gep-conf-payment-audit{margin-top:8px!important;max-width:520px!important}
.gep-conf-payment-audit table{margin-top:6px!important;font-size:12px!important}
.gep-conf-payment-audit th{width:160px!important}


/* v1.0.170 applicant self-service payment emails */
.gep-conf-applicant-status{max-width:900px!important;margin:16px auto!important}
.gep-conf-proof-upload-form{margin:14px 0!important;padding:12px!important;border:1px solid #dcdcde!important;background:#fff!important}
.gep-conf-proof-upload-form input[type=file]{max-width:100%!important}
.gep-conf-continue-payment-button{display:inline-block!important}


/* v1.0.171 admin payment control center
   Adds dedicated admin payment management view while preserving public form,
   payment checkout, applicant self-service, certificates, QR and name tags. */


/* v1.0.172 security hardening bulk payment operations */
.gep-conf-payment-bulk-bar{gap:8px!important}
.gep-conf-payment-warning p{margin:4px 0!important}
.gep-conf-reminder-summary small{line-height:1.45!important}


/* v1.0.173 event day check-in control center */
.gep-conf-event-day-center .gep-conf-event-table-wrap{overflow-x:auto!important}
.gep-conf-event-actions .button{margin:2px!important}
.gep-conf-duplicate-warning strong{color:#b32d2e!important}


/* v1.0.174 post-event certificate control center */
.gep-conf-certificate-control-center .gep-conf-certificate-table-wrap{overflow-x:auto!important}
.gep-conf-certificate-actions .button{margin:2px!important}
.gep-conf-certificate-delivery table th{width:140px!important}


/* v1.0.175 system health backup restore migration audit disaster recovery */
.gep-conf-system-health-center .gep-conf-health-section{box-sizing:border-box!important}
.gep-conf-system-health-center table{max-width:100%!important}
.gep-conf-health-card span{font-weight:700!important}


/* v1.0.180 conference showcase removed */


/* v1.0.181 organizer code category */
.gep-conf-organizer-section{border-left:4px solid #14532d!important;background:#f8fafc!important}


/* v1.0.182 organizer code validation fix */
.gep-conf-organizer-section input[name="organizer_code"]{text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:700!important}


/* v1.0.183 organizer code one time use */


/* v1.0.197 student code input styling */
.gep-conf-student-section input[name="student_code"]{text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:700!important}

.gep-conf-gov-agency-nominee-section input[name="gov_agency_nominee_code"]{text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:700!important}

/* v1.0.211 make fee currency selector more visible */
.gep-conf-fee-currency-prominent{
    padding:14px 16px!important;
    margin:12px 0 16px!important;
    border:2px solid currentColor!important;
    border-radius:8px!important;
    font-size:20px!important;
    font-weight:800!important;
}
.gep-conf-fee-currency-prominent strong{
    font-size:22px!important;
    font-weight:800!important;
}
.gep-conf-fee-currency-prominent label{
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    margin:4px 16px 4px 0!important;
    font-size:20px!important;
    font-weight:800!important;
    cursor:pointer!important;
}
.gep-conf-fee-currency-prominent input[type="radio"]{
    transform:scale(1.18)!important;
    margin-right:3px!important;
}
