/* ISKA Egypt public certificate pages. All rules are scoped to cert-* to preserve the site layout. */
.cert-container{width:min(1360px,calc(100% - 44px));margin-inline:auto}
.cert-hero{position:relative;isolation:isolate;min-height:246px;color:#fff;overflow:hidden;background:radial-gradient(ellipse at 55% 10%,#173350 0%,transparent 66%),linear-gradient(100deg,#350d16 0%,#0b1728 35%,#06101f 68%,#06273c 100%)}
.cert-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 13% 30%,#fd15352c,transparent 27%),radial-gradient(circle at 84% 30%,#00a7f026,transparent 30%);z-index:-1}
.cert-hero-fighter{position:absolute;top:0;bottom:0;width:33%;background-repeat:no-repeat;background-size:cover;opacity:.9;z-index:-1;pointer-events:none}
.cert-hero-fighter-left{left:0;background-image:linear-gradient(to right,transparent 30%,#081526e9 100%),url('../images/certificates/verify-fighter.webp');background-position:70% 28%}
.cert-hero-fighter-right{right:0;background-image:linear-gradient(to left,transparent 26%,#081526ec 100%),url('../images/certificates/verify-fighter-right.webp');background-position:48% 20%;filter:contrast(1.15)}
.cert-hero-content{position:relative;text-align:center;padding:31px 22px 27px;z-index:1}
.cert-hero-eyebrow{color:#ff7f90;font-weight:800;font-size:10px;letter-spacing:2.2px}
.cert-hero h1{font-size:clamp(29px,3.3vw,48px);line-height:1.28;font-weight:900;margin:6px 0 4px;text-shadow:0 2px 15px #0008}
.cert-hero h1 span{color:#fc1636}
.cert-hero p{font-size:13px;max-width:610px;margin:0 auto 13px;line-height:1.85;color:#e5ebf4}
.cert-hero-highlights{display:flex;justify-content:center;gap:0;margin:12px auto 0;max-width:690px}
.cert-hero-highlights span{display:flex;gap:9px;align-items:center;justify-content:center;flex:1;font-size:12px;font-weight:800;border-inline-end:1px solid #ffffff26;padding:4px 12px}
.cert-hero-highlights span:last-child{border:0}.cert-hero-highlights i{font-style:normal;color:#ff1741;font-size:21px}
.cert-main{padding-top:17px;padding-bottom:25px}
.cert-category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:16px}
.cert-category{background:white;border:1px solid #e4e8f0;border-radius:11px;padding:13px 17px;min-height:67px;display:flex;align-items:center;justify-content:center;gap:15px;color:#121d2d;cursor:pointer;text-align:center;font-family:inherit;box-shadow:0 5px 23px #0b172808;transition:box-shadow .16s,transform .16s,border-color .16s;position:relative}
.cert-category:hover{border-color:#ec183c;transform:translateY(-1px)}.cert-category.active{color:#fff;background:linear-gradient(100deg,#ef0a2c,#d50726);border-color:#dc0929;box-shadow:0 9px 22px #b6113026}
.cert-category::after{content:"";width:14px;height:14px;border:2px solid #c5cddc;border-radius:50%;position:absolute;inset-inline-end:18px;top:calc(50% - 7px)}.cert-category.active::after{border-color:#fff;background:#fff;box-shadow:inset 0 0 0 4px #eb092c}
.cert-category .cert-tab-icon{color:#e9092b;font-size:25px;line-height:1}.cert-category.active .cert-tab-icon{color:#fff}
.cert-category strong{display:block;font-size:15px;font-weight:900}.cert-category small{display:block;font-size:10.5px;font-weight:600;margin-top:3px;opacity:.75}.cert-category.active small{opacity:.92}
.cert-content-grid{direction:ltr;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:17px;align-items:stretch}
.cert-search-panel,.cert-preview-panel{direction:rtl}
.cert-search-panel{background:#fff;border:1px solid #e4eaf3;border-radius:13px;padding:19px 19px 23px;box-shadow:0 3px 22px #00183408;min-width:0}
.cert-panel-heading{display:flex;align-items:center;gap:13px;margin-bottom:18px}.cert-heading-icon{width:48px;height:48px;background:#f0f3f8;border-radius:12px;display:grid;place-items:center;font-size:26px;color:#d5002d;flex-shrink:0}
.cert-panel-heading h2{color:#0d1b31;margin:0 0 3px;font-size:20px;font-weight:900}.cert-panel-heading p{margin:0;color:#7f8aa2;font-size:11.5px;line-height:1.8}
.cert-field-label{display:block;font-size:12px;font-weight:800;color:#1d293b;margin-bottom:7px}
.cert-form-inline{display:flex;gap:10px}.cert-form-inline input{flex:1;min-width:0;width:100%;height:43px;padding:0 13px;border:1px solid #d8dfe9;border-radius:8px;font-size:12px;font-family:inherit;box-shadow:inset 0 1px 3px #00000007;direction:ltr;text-align:left}.cert-form-inline input:focus{outline:2px solid #ed134632;outline-offset:1px;border-color:#ed1346}.cert-form-inline .cert-submit{flex:0 0 120px;background:#eb002a;color:#fff;border:0;border-radius:8px;font-size:13px;font-family:inherit;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.cert-submit:hover{background:#c9072a}.cert-submit span{font-size:21px;line-height:1}
.cert-help-note{margin:12px 0 17px;color:#54779c;background:#eaf5ff;border-radius:8px;padding:12px 13px;font-size:11px;line-height:1.8;display:flex;gap:7px;align-items:start}.cert-help-note span{font-size:15px;color:#0085d8}
.cert-result{border:1px solid #dceee2;border-radius:9px;overflow:hidden;background:#fff}.cert-result-invalid{border-color:#f1dfcf}.cert-result-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:linear-gradient(95deg,#e5f8eb,#f7fcf9);color:#17803d}.cert-result-invalid .cert-result-head{background:#fff3e7;color:#955014}.cert-result-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#159849;color:#fff;font-family:Arial;font-size:22px;font-weight:900}.cert-result-invalid .cert-result-mark{background:#da9b27}.cert-result-head h3{margin:0;font-size:18px;font-weight:900;flex:1}.cert-result-head .cert-status{font-size:11px;color:#fff;background:#178b42;padding:5px 16px;border-radius:5px}.cert-result-invalid .cert-result-head .cert-status{background:#c17421}
.cert-details-grid{padding:5px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cert-details-grid>div{padding:12px;border-radius:7px;border:1px solid #ecf0f5;min-width:0}.cert-details-grid small{display:block;font-size:10.5px;color:#728096;font-weight:700;margin-bottom:4px}.cert-details-grid strong{display:block;color:#142238;overflow-wrap:anywhere;font-size:11.5px;line-height:1.5;text-align:start}
.cert-result-actions{display:flex;gap:8px;justify-content:flex-start;align-items:center;flex-wrap:wrap;margin:3px 6px 11px}.cert-secondary-action,.cert-pdf-action{display:inline-flex;justify-content:center;align-items:center;min-height:38px;padding:8px 15px;border-radius:7px;color:#fff;font-size:11.5px;font-weight:900;text-decoration:none;line-height:1.6}.cert-secondary-action{background:#111f36}.cert-pdf-action{background:#e6aa04;color:#151f2c}.cert-secondary-action:hover{background:#243d5f}.cert-pdf-action:hover{background:#f2c138}.cert-result-notice{font-size:11px;color:#7b8594;background:#f8fafc;padding:9px 12px;margin:0;line-height:1.8}
.cert-no-result{display:flex;align-items:flex-start;gap:10px;background:#fff6f3;border:1px solid #f3d7d0;border-radius:10px;padding:15px;color:#8a3c2f}.cert-not-found-icon{background:#e47052;color:white;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-weight:900;flex-shrink:0}.cert-no-result h3{font-size:15px;margin:0}.cert-no-result p{margin:4px 0 0;font-size:12px;line-height:1.8}
.cert-idle-box{display:flex;align-items:center;gap:12px;background:#f8fafc;border-radius:9px;padding:17px;color:#718096}.cert-idle-box span{font-size:24px;color:#1ea368}.cert-idle-box p{margin:0;font-size:12px}.cert-assistance{margin-top:19px;font-size:11px;color:#697a92}.cert-assistance a{color:#e00932;font-weight:900;text-decoration:underline;text-underline-offset:3px}
.cert-error-text{color:#b71636;font-size:12px;margin-top:7px}
.cert-preview-panel{padding:3px 9px 15px;text-align:center;min-width:0}.cert-preview-heading{text-align:center;margin:4px auto 11px}.cert-preview-kicker{letter-spacing:2px;font-size:9px;color:#dc1235;font-weight:900}.cert-preview-heading h2{margin:0;font-size:17px;color:#0e1c30;font-weight:900}
.cert-paper-wrap{margin:0 auto;position:relative;width:min(100%,286px);background:#fff9e8;box-shadow:0 5px 20px #071c271c;border:1px solid #dfb85d;overflow:hidden}.cert-paper-wrap img{display:block;width:100%;height:auto}.cert-preview-watermark{position:absolute;left:0;right:0;bottom:14%;padding:10px 4px;background:#751523b3;color:#fff;font-weight:900;font-size:13px;letter-spacing:.3px}.cert-preview-panel p{font-size:10.5px;line-height:1.8;color:#7d899a;max-width:340px;margin:10px auto 0}
.cert-trust-band{background:#0a1522;color:#fff}.cert-trust-inner{display:grid;grid-template-columns:repeat(3,1fr);min-height:66px;align-items:center;gap:14px}.cert-trust-inner div{display:flex;align-items:center;gap:12px;justify-content:center;border-inline-end:1px solid #ffffff19;padding:10px}.cert-trust-inner div:last-child{border:0}.cert-trust-inner span{font-size:27px;color:#ef0a30}.cert-trust-inner strong{font-size:12px;font-weight:700}
.cert-detail-hero{background:linear-gradient(110deg,#081527,#1c3855);color:#fff;padding:34px 0}.cert-detail-hero span{font-size:10px;color:#fc8aa1;letter-spacing:1.5px}.cert-detail-hero h1{font-weight:900;margin:5px 0 3px;font-size:28px}.cert-detail-hero p{font-size:13px;margin:0}.cert-detail-page{padding:35px 0 60px}.cert-detail-card{background:#fff;border:1px solid #e0e7f0;border-radius:15px;box-shadow:0 6px 30px #0b203612;padding:25px;max-width:950px;margin:auto}.cert-detail-top{display:flex;align-items:center;gap:17px;border-bottom:1px solid #e8edf3;padding-bottom:15px}.cert-detail-top img{width:80px;height:70px;object-fit:contain}.cert-detail-top div{flex:1}.cert-detail-top div strong{font-size:18px;color:#172138}.cert-detail-top p{font-size:12px;color:#728197;margin:4px 0}.cert-status.ok{background:#e1f6e8;color:#118643;padding:5px 13px;border-radius:7px}.cert-status.bad{background:#fff1dd;color:#a86112;padding:5px 13px;border-radius:7px}.cert-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:20px 0}.cert-record-fields div{background:#f8fafc;padding:13px 17px;border:1px solid #edf0f5;border-radius:9px}.cert-record-fields dt{font-size:11px;color:#738096}.cert-record-fields dd{font-weight:900;font-size:13px;margin:5px 0 0;overflow-wrap:anywhere}.cert-detail-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:960px){.cert-hero-fighter{width:34%;opacity:.52}.cert-content-grid{grid-template-columns:minmax(0,1.3fr) minmax(225px,1fr)}.cert-category{padding-inline:10px}.cert-category::after{display:none}.cert-category strong{font-size:13px}.cert-category small{font-size:9px}}
@media(max-width:680px){.cert-container{width:min(100% - 24px,560px)}.cert-hero{min-height:229px}.cert-hero-content{padding:25px 9px 18px}.cert-hero-fighter{width:48%;opacity:.3}.cert-hero p{font-size:11.5px}.cert-hero-highlights{gap:1px}.cert-hero-highlights span{font-size:9.5px;padding:4px;flex-direction:column;gap:0}.cert-hero-highlights i{font-size:18px}.cert-category-tabs{gap:6px}.cert-category{min-height:74px;flex-direction:column;gap:3px;padding:8px 2px}.cert-category .cert-tab-icon{font-size:21px}.cert-category strong{font-size:11px}.cert-category small{display:none}.cert-content-grid{grid-template-columns:1fr}.cert-search-panel{padding:15px 11px}.cert-panel-heading h2{font-size:17px}.cert-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cert-form-inline .cert-submit{flex-basis:88px}.cert-preview-panel{padding:12px 0 20px}.cert-paper-wrap{width:min(100%,300px)}.cert-trust-inner{grid-template-columns:1fr;gap:0}.cert-trust-inner div{border:0;border-bottom:1px solid #ffffff14;justify-content:flex-start;padding:9px 15px}.cert-record-fields{grid-template-columns:1fr}.cert-detail-top{flex-wrap:wrap}.cert-result-head h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){.cert-category{transition:none}}
