.eacm-btn{display:inline-block;background:#0b1f3a;color:#fff!important;padding:10px 18px;border-radius:7px;text-decoration:none;font-weight:700}.eacm-not-ready{background:#fff8e5;padding:12px;border-radius:8px;border:1px solid #f1d58a}.eacm-list table{width:100%;border-collapse:collapse}.eacm-list th,.eacm-list td{border:1px solid #e5e7eb;padding:12px;text-align:left}.eacm-verify input{padding:12px;min-width:280px}.eacm-verify button{padding:12px 18px}.eacm-valid{background:#ecfdf5;border:1px solid #10b981;padding:18px;border-radius:8px;margin-top:12px}.eacm-invalid{background:#fef2f2;border:1px solid #ef4444;padding:18px;border-radius:8px;margin-top:12px}.eacm-print-body{margin:0;background:#eef2f7;font-family:Georgia,'Times New Roman',serif}.eacm-print-actions{padding:15px;text-align:center;font-family:Arial,sans-serif}.eacm-print-actions button,.eacm-print-actions a{background:#0b1f3a;color:#fff;padding:10px 16px;border:0;border-radius:6px;text-decoration:none;margin:0 4px}.eacm-cert-page{position:relative;width:1123px;height:794px;background:#fff;background-size:cover;background-position:center;margin:20px auto;box-shadow:0 10px 40px rgba(0,0,0,.2);overflow:hidden}.eacm-cert-el{position:absolute;transform:translate(-50%,-50%);line-height:1.15;white-space:pre-wrap}.eacm-auto-button{margin:25px 0}@page{size:A4 landscape;margin:0}@media print{html,body{width:297mm;height:210mm;background:#fff}.eacm-print-actions{display:none}.eacm-cert-page{margin:0;width:297mm;height:210mm;box-shadow:none;page-break-after:avoid}}
.eacm-course-cert-box{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f8fafc;border:1px solid #dbe4ef;border-radius:12px;padding:18px;margin:20px 0}.eacm-course-cert-box p{margin:.35em 0 0}.eacm-popup-backdrop{position:fixed;inset:0;background:rgba(4,16,32,.62);z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}.eacm-popup{position:relative;background:#fff;border-radius:18px;box-shadow:0 25px 80px rgba(0,0,0,.35);max-width:520px;width:100%;text-align:center;padding:38px 32px;font-family:Arial,sans-serif}.eacm-popup h2{margin:8px 0 12px;color:#0b1f3a}.eacm-popup p{font-size:16px;line-height:1.6;color:#334155}.eacm-popup-icon{font-size:54px}.eacm-popup-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#64748b}.eacm-signature-font{font-family:'Brush Script MT','Segoe Script','Lucida Handwriting',cursive!important;line-height:1.35}.eacm-dashboard-page{max-width:1100px;margin:40px auto;padding:0 20px}.eacm-list table{background:#fff}.eacm-auto-button:empty{display:none}@media(max-width:700px){.eacm-course-cert-box{display:block}.eacm-course-cert-box .eacm-btn{margin-top:12px}}
/* v2.2 certificate filters, dashboard icon and stamp */
.eacm-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px;margin:0 0 18px}.eacm-filters select,.eacm-filters input{min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 10px}.eacm-filter-btn,.eacm-reset-btn{display:inline-block;background:#0b1f3a;color:#fff!important;border:0;border-radius:8px;padding:10px 14px;text-decoration:none;font-weight:700}.eacm-reset-btn{background:#64748b}.eacm-cert-stamp{display:flex;align-items:center;justify-content:center}.eacm-stamp-img{display:inline-block;object-fit:contain;filter:contrast(1.08)}.eacm-stamp-fallback{display:inline-flex;align-items:center;justify-content:center;border:3px double #0b1f3a;border-radius:50%;color:#0b1f3a;text-transform:uppercase;font-family:Arial,sans-serif;font-size:12px;font-weight:800;line-height:1.15;text-align:center;padding:10px;box-sizing:border-box;transform:rotate(-8deg)}
.tutor-dashboard-menu-certificates a:before,.tutor-dashboard-left-menu .certificates a:before,.tutor-dashboard-menu-item-certificates a:before{content:"\f313";font-family:dashicons;margin-right:8px;vertical-align:middle}
@media(max-width:800px){.eacm-filters{display:block}.eacm-filters select,.eacm-filters input,.eacm-filter-btn,.eacm-reset-btn{width:100%;margin:5px 0}.eacm-list table{display:block;overflow-x:auto}}

/* v2.3 automatic placement */
.eacm-fallback-button{margin:24px 0;clear:both}
.eacm-course-cert-box{box-sizing:border-box}

/* v2.4 automatic Tutor LMS learning-page actions */
#eacm-course-actions-kit[hidden]{display:none!important}
.eacm-course-top-actions{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap}
.eacm-compact-cert-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;margin:0 10px 0 0;min-height:42px}
.eacm-cert-icon{line-height:1}
.eacm-injected-banner{margin:14px 0 20px}
.eacm-injected-banner .eacm-course-cert-box{margin:0;border-left:4px solid #22c55e;background:#f0fdf4}
.eacm-more-cert-item{display:flex!important;align-items:center;gap:9px;width:100%;box-sizing:border-box;padding:10px 14px!important;color:inherit!important;text-decoration:none!important}
.eacm-more-cert-item:hover{background:#f3f4f6}
.eacm-more-cert-li{list-style:none;margin:0;padding:0}
@media(max-width:700px){.eacm-compact-cert-btn{margin:6px 0;width:100%}.eacm-course-top-actions{width:100%}}

/* v2.6.1 instructor signature blocks */
.eacm-signature-blocks-element{font-family:Arial,sans-serif!important;line-height:1.1}
.eacm-instructor-signatures{display:flex;align-items:flex-end;justify-content:center;gap:28px;width:100%;height:100%}
.eacm-instructor-signature-block{display:flex;flex:1 1 0;min-width:120px;max-width:260px;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center}
.eacm-instructor-signature-image{display:block;max-width:190px;max-height:72px;width:auto;height:auto;object-fit:contain;margin:0 auto 3px}
.eacm-instructor-signature-fallback{font-family:'Brush Script MT','Segoe Script','Lucida Handwriting',cursive;font-size:1.25em;line-height:1;white-space:nowrap;margin-bottom:4px}
.eacm-instructor-name{width:100%;padding-top:6px;border-top:1.5px solid currentColor;font-family:Arial,sans-serif;font-size:.52em;font-weight:700;line-height:1.15;white-space:normal}
