:root{--certy-primary:#5b2cff;--certy-primary2:#2563eb;--certy-navy:#07123d;--certy-text:#101936;--certy-muted:#667085;--certy-border:#e7eaf3;--certy-bg:#f7f8ff;--certy-green:#16b982;--certy-soft:#f2efff}*{box-sizing:border-box}.certy-shell,.certy-shell *{box-sizing:border-box}.certy-shell{font-family:Cairo,Tajawal,Arial,sans-serif;color:var(--certy-text);line-height:1.55}.certy-landing{background:linear-gradient(180deg,#fff,#f8f9ff);border-radius:30px;overflow:hidden;border:1px solid #eef1f8;box-shadow:0 30px 70px rgba(15,23,42,.06)}.certy-nav{display:flex;align-items:center;justify-content:space-between;padding:22px 34px;gap:16px}.certy-brand{display:flex;align-items:center;gap:10px}.certy-brand strong{display:block;font-size:18px;font-weight:900;color:var(--certy-navy)}.certy-brand small{display:block;font-size:11px;letter-spacing:1.4px;color:var(--certy-navy);font-weight:700}.certy-mark{width:44px;height:44px;border:3px solid var(--certy-primary);border-radius:12px;display:grid;place-items:center;font-weight:900;color:var(--certy-primary);background:#fff;box-shadow:0 10px 25px rgba(91,44,255,.12)}.certy-mark span{font-weight:900}.certy-menu{display:flex;align-items:center;gap:28px}.certy-menu a,.certy-login{color:var(--certy-navy);font-weight:800;text-decoration:none}.certy-nav-actions{display:flex;gap:10px;align-items:center}.certy-login{border:1px solid var(--certy-border);border-radius:10px;padding:11px 18px;background:#fff}.certy-main-btn,.certy-side-action,.certy-primary{background:linear-gradient(135deg,var(--certy-primary),#3f19dc);color:#fff!important;border:none;border-radius:10px;padding:13px 26px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;box-shadow:0 14px 28px rgba(91,44,255,.22);cursor:pointer;transition:.2s transform,.2s box-shadow}.certy-main-btn:hover,.certy-side-action:hover,.certy-primary:hover{transform:translateY(-2px);box-shadow:0 18px 35px rgba(91,44,255,.28)}.certy-main-btn.big{font-size:17px;padding:15px 34px}.certy-badge{display:inline-flex;background:var(--certy-soft);color:var(--certy-primary);border:1px solid #e2dcff;border-radius:999px;padding:7px 13px;font-weight:900;font-size:12px}.certy-hero{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center;padding:28px 54px 66px}.certy-hero-copy h1{font-size:50px;line-height:1.28;margin:14px 0 15px;color:var(--certy-navy);letter-spacing:-1px}.certy-hero-copy p{font-size:18px;color:#344054;max-width:560px}.certy-hero-tags{display:flex;gap:18px;flex-wrap:wrap;margin:22px 0}.certy-hero-tags span{font-weight:800;color:#333b63}.certy-hero-copy small{display:block;margin-top:12px;color:var(--certy-muted)}.certy-hero-art{position:relative;min-height:390px}.certy-orb{position:absolute;inset:42px 70px auto auto;width:320px;height:320px;border-radius:50%;background:linear-gradient(135deg,#7357ff,#e8e3ff);filter:drop-shadow(0 20px 35px rgba(91,44,255,.16))}.certy-paper{position:absolute;width:222px;height:315px;background:#fff;border:1px solid var(--certy-border);border-radius:18px;box-shadow:0 25px 55px rgba(9,19,63,.13);padding:25px}.certy-paper:before{content:'';display:block;width:54px;height:54px;border-radius:50%;background:#eef1f7;margin:auto auto 18px}.certy-paper span,.certy-paper b,.certy-paper i,.certy-paper em{display:block;height:8px;border-radius:10px;background:#dfe4ee;margin:12px 0}.certy-paper b{width:70%;background:#17224d}.certy-paper i{width:90%}.certy-paper em{width:58%}.p1{right:150px;top:20px;transform:rotate(-8deg)}.p2{right:285px;top:75px;transform:rotate(8deg)}.certy-float{position:absolute;right:70px;bottom:68px;width:56px;height:56px;border-radius:50%;border:none;background:var(--certy-primary);color:#fff;font-size:22px;box-shadow:0 15px 35px rgba(91,44,255,.35)}.certy-features{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:0 34px 42px}.certy-features div,.certy-card,.certy-sidebar,.certy-preview-panel,.certy-steps,.certy-stat-row div,.certy-cv-item,.certy-login-box{background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border:1px solid var(--certy-border);border-radius:20px;box-shadow:0 14px 34px rgba(15,23,42,.055)}.certy-features div{padding:25px;text-align:center}.certy-features span{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;margin:0 auto 12px;background:var(--certy-soft);font-size:22px}.certy-features b{font-size:18px;color:var(--certy-navy)}.certy-features p{color:var(--certy-muted);font-size:13px}.certy-steps{margin:0 34px 34px;padding:28px;text-align:center}.certy-steps h2{margin-top:0;color:var(--certy-navy)}.certy-steps>div{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.certy-steps article{padding:18px}.certy-steps b{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 10px;border-radius:50%;background:var(--certy-primary);color:#fff}.certy-builder-anchor{margin-top:22px}.certy-app{display:grid;grid-template-columns:270px minmax(0,1fr) 410px;gap:18px;background:linear-gradient(180deg,#fbfcff,#f5f6ff);padding:18px;border-radius:28px;direction:rtl;border:1px solid #edf0f8}.certy-sidebar{padding:18px;height:max-content;position:sticky;top:20px}.certy-sidebar .certy-brand{margin-bottom:22px}.certy-side-action{width:100%;margin:6px 0 22px}.certy-sidebar nav{display:grid;gap:7px}.certy-sidebar nav a{padding:13px 14px;border-radius:12px;color:var(--certy-navy);font-weight:850;text-decoration:none}.certy-sidebar nav a.active,.certy-sidebar nav a:hover{background:#f1efff;color:var(--certy-primary)}.certy-save-card{margin-top:25px;background:#f4f1ff;border-radius:16px;padding:18px;text-align:center}.certy-save-card p{font-size:13px;color:var(--certy-muted)}.certy-save-card a{display:inline-flex;background:var(--certy-primary);color:#fff;border-radius:10px;padding:11px 18px;font-weight:900;text-decoration:none}.certy-builder-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:14px}.certy-builder-head h2{margin:7px 0 0;color:var(--certy-navy);font-size:27px}.certy-ghost{background:#fff;border:1px solid var(--certy-border);border-radius:10px;padding:10px 16px;color:var(--certy-navy);font-weight:800;cursor:pointer}.certy-progress{display:flex;align-items:flex-start;justify-content:space-between;position:relative;margin:18px 10px 33px}.certy-progress:before{content:'';position:absolute;top:18px;right:35px;left:35px;height:2px;background:#dbe1ee}.certy-progress button{position:relative;z-index:1;width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #cfd6e6;display:grid;place-items:center;color:#667085;font-weight:900;cursor:pointer}.certy-progress button.on{background:var(--certy-primary);color:#fff;border-color:var(--certy-primary);box-shadow:0 10px 25px rgba(91,44,255,.22)}.certy-progress small{position:absolute;top:45px;white-space:nowrap;color:#667085;font-size:11px;font-weight:800}.certy-card{padding:24px;margin-bottom:18px;display:none}.certy-card.is-active{display:block;animation:certyFade .25s ease}@keyframes certyFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.certy-card h3{margin:0 0 6px;text-align:center;color:var(--certy-navy);font-size:23px}.certy-card>p{text-align:center;color:var(--certy-muted);font-size:13px}.certy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.certy-app label{display:grid;gap:8px;font-size:13px;font-weight:900;color:#26345d}.certy-app input,.certy-app textarea{border:1px solid var(--certy-border);border-radius:11px;min-height:46px;padding:12px 14px;font-family:inherit;outline:none;background:#fff;color:var(--certy-text);width:100%}.certy-app textarea{min-height:96px;resize:vertical}.certy-app input:focus,.certy-app textarea:focus{border-color:var(--certy-primary);box-shadow:0 0 0 4px rgba(91,44,255,.08)}.certy-full{margin-top:16px}.certy-actions{display:flex;justify-content:center;gap:12px;margin-top:20px;flex-wrap:wrap}.certy-actions button,.certy-template-row button,.certy-downloads button,.certy-country-row button,.certy-add,.certy-skill-presets button,.certy-repeat-head button,.certy-ai-mini{border:1px solid var(--certy-border);background:#fff;border-radius:11px;padding:12px 18px;font-family:inherit;font-weight:900;cursor:pointer;color:var(--certy-navy)}.certy-country-row{display:flex;justify-content:center;gap:10px;margin:18px 0}.certy-country-row button.selected,.certy-template-row button.selected{background:var(--certy-primary);color:#fff;border-color:var(--certy-primary);box-shadow:0 12px 24px rgba(91,44,255,.18)}.certy-repeat-card{border:1px solid var(--certy-border);background:#fff;border-radius:16px;padding:16px;margin:14px 0}.certy-repeat-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.certy-repeat-head b{color:var(--certy-navy)}.certy-repeat-head button{padding:8px 12px;color:#b42318;background:#fff6f5}.certy-add{width:100%;background:#f8f7ff;color:var(--certy-primary);border-style:dashed}.certy-ai-mini{margin-top:12px;background:#f5f2ff;color:var(--certy-primary)}.certy-skill-presets{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.certy-skill-presets button{padding:9px 13px;background:#fff}.certy-skill-presets button:hover{background:var(--certy-soft);color:var(--certy-primary)}.certy-template-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}.certy-status{margin-top:15px;text-align:center;font-weight:900;color:var(--certy-green)}.certy-status.error{color:#b42318}.certy-preview-panel{padding:22px;height:max-content;position:sticky;top:20px}.certy-preview-panel h3{text-align:center;margin-top:0;color:var(--certy-navy)}.certy-cv-preview{display:grid;grid-template-columns:142px 1fr;background:#fff;border:1px solid var(--certy-border);border-radius:16px;overflow:hidden;min-height:545px;box-shadow:0 18px 38px rgba(15,23,42,.07)}.cv-side{background:#10234b;color:#fff;padding:19px 14px;text-align:center}.cv-avatar{width:78px;height:78px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#10234b;font-size:34px}.cv-side h2{font-size:18px;margin:6px 0;line-height:1.3}.cv-side p{font-size:11px;overflow-wrap:anywhere;opacity:.92}.cv-side hr{border:0;border-top:1px solid rgba(255,255,255,.2);margin:16px 0}.cv-main{padding:20px}.cv-main h4{margin:0 0 8px;color:#0d1b44;border-bottom:1px solid #e8ebf3;padding-bottom:6px;font-size:15px}.cv-main p,.cv-entry{font-size:12px;color:#38415f;line-height:1.75;white-space:pre-wrap}.cv-entry{margin:0 0 10px}.cv-entry b{display:block;color:#10234b;font-size:13px}.cv-entry span{display:block;color:#667085;font-size:11px}.cv-empty-line{color:#667085}.tpl-classic{grid-template-columns:1fr}.tpl-classic .cv-side{background:#fff;color:#10234b;border-bottom:4px solid #10234b}.tpl-classic .cv-avatar{background:#eef1f7}.tpl-ats{grid-template-columns:1fr;border-radius:0}.tpl-ats .cv-side{background:#fff;color:#111827;text-align:right;border-bottom:1px solid #ddd}.tpl-ats .cv-avatar{display:none}.tpl-executive .cv-side{background:#07123d}.tpl-executive .cv-main h4{color:#5b2cff}.certy-downloads{display:grid;grid-template-columns:1fr;gap:9px;margin-top:14px}.certy-downloads button:first-child{background:var(--certy-green);color:#fff;border-color:var(--certy-green)}.certy-downloads button:nth-child(2){background:#2563eb;color:#fff;border-color:#2563eb}.certy-note{background:#f6f8ff;border:1px solid var(--certy-border);border-radius:16px;margin-top:14px;padding:15px}.certy-note p{margin:7px 0 0;color:var(--certy-muted);font-size:13px}.certy-dashboard{background:var(--certy-bg);border-radius:28px;padding:22px;border:1px solid var(--certy-border)}.certy-dash-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.certy-dash-head h1{margin:15px 0 0;color:var(--certy-navy)}.certy-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:18px 0}.certy-stat-row div{padding:20px;text-align:center}.certy-stat-row b{font-size:28px;color:var(--certy-primary);display:block}.certy-stat-row span{color:var(--certy-muted);font-weight:800}.certy-cv-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.certy-cv-item{padding:18px}.certy-cv-item h3{margin:0;color:var(--certy-navy)}.certy-cv-item p{color:var(--certy-muted)}.certy-cv-item button{border:0;background:#fff1f1;color:#b42318;padding:9px 14px;border-radius:10px;font-weight:900;cursor:pointer}.certy-empty{padding:22px;background:#fff;border-radius:16px;border:1px dashed var(--certy-border)}.certy-login-box{padding:32px;text-align:center}.certy-login-box h2{color:var(--certy-navy)}@media(max-width:1240px){.certy-app{grid-template-columns:1fr}.certy-sidebar,.certy-preview-panel{position:static}.certy-hero{grid-template-columns:1fr}.certy-features{grid-template-columns:repeat(2,1fr)}.certy-cv-list{grid-template-columns:1fr 1fr}}@media(max-width:760px){.certy-nav,.certy-menu,.certy-nav-actions{display:block;text-align:center}.certy-menu{margin-top:16px}.certy-menu a{display:inline-block;margin:6px}.certy-hero{padding:20px}.certy-hero-copy h1{font-size:34px}.certy-grid,.certy-features,.certy-steps>div,.certy-stat-row,.certy-cv-list{grid-template-columns:1fr}.certy-cv-preview{grid-template-columns:1fr}.certy-app{padding:8px;border-radius:18px}.certy-progress small{display:none}.certy-hero-art{min-height:280px}.certy-orb{right:20px;width:230px;height:230px}.certy-paper{width:170px;height:240px}.p1{right:80px}.p2{right:160px}.certy-dash-head{display:block}}@media print{body *{visibility:hidden!important}.certy-cv-preview,.certy-cv-preview *{visibility:visible!important}.certy-cv-preview{position:absolute!important;inset:0!important;width:100%!important;min-height:100vh!important;border:0!important;border-radius:0!important;box-shadow:none!important}.certy-sidebar,.certy-builder,.certy-preview-panel>h3,.certy-downloads,.certy-note{display:none!important}}


/* Certy Pro Foundation v1.3 - Guest Builder Layout
   Guest mode removes the dashboard/sidebar column and gives the form more space while keeping the live preview visible. */
.certy-guest-builder{grid-template-columns:minmax(0,1fr) 430px!important;gap:22px!important;align-items:start;padding:22px!important;}
.certy-guest-builder .certy-builder{min-width:0;}
.certy-guest-builder .certy-preview-panel{width:100%;}
.certy-guest-builder .certy-card{padding:30px!important;}
.certy-guest-builder .certy-builder-head{justify-content:center;position:relative;text-align:center;margin-bottom:18px;}
.certy-guest-builder .certy-builder-head .certy-ghost{position:absolute;left:0;top:0;}
.certy-guest-builder .certy-progress{max-width:760px;margin:20px auto 36px;}
.certy-guest-builder .certy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;}
.certy-guest-builder .certy-app input,.certy-guest-builder .certy-app textarea{font-size:15px;}
.certy-guest-builder .certy-preview-panel{position:sticky;top:20px;}
.certy-guest-builder .certy-cv-preview{min-height:640px;}
.certy-nav-actions .certy-login{white-space:nowrap;}
@media(max-width:1180px){.certy-guest-builder{grid-template-columns:1fr!important}.certy-guest-builder .certy-preview-panel{position:static;order:2}.certy-guest-builder .certy-builder{order:1}.certy-guest-builder .certy-builder-head .certy-ghost{position:static}}
@media(max-width:760px){.certy-guest-builder{padding:10px!important}.certy-guest-builder .certy-grid{grid-template-columns:1fr}.certy-guest-builder .certy-card{padding:20px!important}.certy-guest-builder .certy-cv-preview{min-height:520px}}

/* Certy Pro Foundation v1.4 - Cleaner guest start + photo + reliable PDF print */
.certy-landing{margin-bottom:20px!important}
.certy-landing + .certy-builder-anchor{margin-top:0!important}
.certy-photo-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;align-items:center;max-width:620px;margin:18px auto 24px;padding:16px;border:1px dashed #d9def0;border-radius:18px;background:#fbfcff}
.certy-photo-preview{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;background:#eef1f7;color:#10234b;font-size:38px;overflow:hidden;border:3px solid #fff;box-shadow:0 10px 22px rgba(15,23,42,.08)}
.certy-photo-preview img,.cv-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.certy-photo-upload{margin:0!important;cursor:pointer}
.certy-photo-upload input{margin-top:8px;padding:10px!important;background:#fff!important}
.certy-photo-upload span{display:block;color:var(--certy-muted);font-size:12px;font-weight:700;margin-top:4px}
.certy-guest-builder{grid-template-columns:minmax(0,1fr) 440px!important;max-width:1480px;margin:0 auto}
.certy-guest-builder .certy-builder{background:rgba(255,255,255,.55);border:1px solid #edf0f8;border-radius:24px;padding:22px;box-shadow:0 18px 40px rgba(15,23,42,.045)}
.certy-guest-builder .certy-preview-panel{order:2}.certy-guest-builder .certy-builder{order:1}
@media(max-width:760px){.certy-photo-row{grid-template-columns:1fr;text-align:center}.certy-photo-preview{margin:auto}.certy-photo-upload input{font-size:13px}}


/* Certy Pro Foundation v1.5 - Button polish + one-page PDF output */
.certy-actions .certy-ai-action{
  background:#f3f0ff!important;
  border:1px solid #7c3aed!important;
  color:#4c1d95!important;
  box-shadow:0 10px 22px rgba(91,44,255,.08);
}
.certy-actions .certy-ai-action:hover{
  background:linear-gradient(135deg,#6d28d9,#4f46e5)!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.certy-downloads button:first-child{
  background:linear-gradient(135deg,var(--certy-primary),#3f19dc)!important;
  color:#fff!important;
  border-color:var(--certy-primary)!important;
  box-shadow:0 12px 26px rgba(91,44,255,.18);
}
.certy-downloads button:nth-child(2){
  background:#22c55e!important;
  color:#fff!important;
  border-color:#22c55e!important;
  box-shadow:0 12px 24px rgba(34,197,94,.16);
}
.certy-downloads button:nth-child(3){
  background:#fff!important;
  color:var(--certy-navy)!important;
  border-color:var(--certy-border)!important;
}


/* Certy Pro Foundation v1.6 - Mobile builder focus + slide preview drawer + fixed white buttons */
.certy-actions .certy-primary,
.certy-actions button.certy-primary{
  background:linear-gradient(135deg,var(--certy-primary),#3f19dc)!important;
  color:#fff!important;
  border-color:var(--certy-primary)!important;
  box-shadow:0 14px 28px rgba(91,44,255,.22)!important;
}
.certy-actions button:not(.certy-primary):not(.certy-ai-action){
  background:#f8f9ff!important;
  color:var(--certy-navy)!important;
  border-color:#d8def0!important;
}
.certy-actions button:not(.certy-primary):not(.certy-ai-action):hover{
  background:#eef1ff!important;
  border-color:#b9c2df!important;
}
.certy-mobile-preview-btn,
.certy-preview-close{display:none;}

@media(max-width:760px){
  .certy-shell{width:100%!important;max-width:100%!important;overflow-x:hidden;}
  .certy-landing{border-radius:0!important;margin:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;}
  .certy-nav{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:12px 14px!important;gap:8px!important;position:relative;z-index:20;background:#fff;}
  .certy-nav .certy-brand strong{font-size:14px}.certy-nav .certy-brand small{font-size:9px}.certy-mark{width:38px;height:38px;border-radius:10px}
  .certy-menu{display:none!important;}
  .certy-nav-actions{display:flex!important;gap:7px!important;align-items:center!important;margin:0!important;}
  .certy-nav-actions .certy-login,.certy-nav-actions .certy-main-btn{padding:9px 10px!important;font-size:12px!important;border-radius:9px!important;box-shadow:none!important;}
  .certy-hero{padding:24px 16px 18px!important;display:block!important;text-align:center;}
  .certy-hero-art{display:none!important;}
  .certy-hero-copy h1{font-size:29px!important;line-height:1.35!important;margin:12px 0!important;}
  .certy-hero-copy p{font-size:14px!important;margin:0 auto 12px!important;}
  .certy-hero-tags{justify-content:center!important;gap:8px!important;margin:12px 0 16px!important;}
  .certy-hero-tags span{font-size:12px!important;background:#f6f4ff;border:1px solid #ebe7ff;border-radius:999px;padding:6px 9px;}
  .certy-builder-anchor{margin-top:0!important;}

  .certy-app.certy-guest-builder{display:block!important;padding:8px!important;border-radius:0!important;background:#f7f8ff!important;border:0!important;margin:0!important;}
  .certy-guest-builder .certy-builder{padding:12px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important;}
  .certy-guest-builder .certy-builder-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;text-align:center!important;margin:0 0 12px!important;}
  .certy-guest-builder .certy-builder-head .certy-ghost{position:static!important;order:3;width:100%;}
  .certy-builder-head h2{font-size:22px!important;margin:5px 0 0!important;}
  .certy-mobile-preview-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;width:100%;border:1px solid #cfd6e6;background:#fff;color:var(--certy-primary);border-radius:12px;padding:12px 16px;font-family:inherit;font-weight:900;cursor:pointer;order:2;box-shadow:0 10px 22px rgba(91,44,255,.08);}
  .certy-progress{margin:14px 0 28px!important;overflow-x:auto;gap:34px;padding:0 4px 10px;justify-content:flex-start!important;scrollbar-width:none;}
  .certy-progress:before{display:none!important;}
  .certy-progress button{min-width:38px;}
  .certy-progress small{display:block!important;top:42px;font-size:10px;}
  .certy-card{padding:16px!important;border-radius:17px!important;margin-bottom:10px!important;}
  .certy-card h3{font-size:21px!important;}
  .certy-country-row{gap:8px;flex-wrap:wrap;}
  .certy-country-row button{flex:1;min-width:120px;}
  .certy-photo-row{grid-template-columns:1fr!important;padding:12px!important;margin:12px 0 16px!important;}
  .certy-grid{grid-template-columns:1fr!important;gap:12px!important;}
  .certy-app input,.certy-app textarea{min-height:48px!important;font-size:14px!important;padding:12px!important;}
  .certy-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .certy-actions button{width:100%!important;min-height:48px!important;}

  .certy-preview-panel{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:min(92vw,430px)!important;z-index:999999!important;border-radius:0 20px 20px 0!important;transform:translateX(-105%)!important;transition:transform .28s ease!important;overflow-y:auto!important;padding:18px!important;background:#fff!important;box-shadow:24px 0 55px rgba(7,18,61,.24)!important;}
  .certy-app.is-preview-open .certy-preview-panel{transform:translateX(0)!important;}
  .certy-app.is-preview-open:before{content:'';position:fixed;inset:0;background:rgba(7,18,61,.45);z-index:999998;}
  .certy-preview-close{display:grid!important;place-items:center;position:sticky;top:0;margin:0 0 10px auto;width:42px;height:42px;border:0;border-radius:12px;background:#f2efff;color:#4c1d95;font-size:28px;line-height:1;cursor:pointer;font-family:Arial,sans-serif;z-index:2;}
  .certy-preview-panel h3{font-size:18px!important;margin-bottom:12px!important;}
  .certy-preview-panel .certy-cv-preview{min-height:520px!important;grid-template-columns:118px 1fr!important;}
  .certy-preview-panel .cv-side{padding:14px 10px!important;}
  .certy-preview-panel .cv-main{padding:14px!important;}
  .certy-downloads{position:sticky;bottom:0;background:#fff;padding-top:10px;}
  .certy-note{font-size:12px!important;}
}

/* Certy Pro 2.0 Smart Builder - Egypt-first guided flow */
.certy-v2-smart:not(.is-smart-ready) .certy-builder-head,
.certy-v2-smart:not(.is-smart-ready) .certy-progress,
.certy-v2-smart:not(.is-smart-ready) .certy-step,
.certy-v2-smart:not(.is-smart-ready) .certy-preview-panel{display:none!important;}
.certy-v2-smart.is-smart-ready .certy-smart-start,
.certy-v2-smart.is-smart-ready .certy-smart-profession,
.certy-v2-smart.is-smart-ready .certy-smart-template{display:none!important;}
.certy-smart-start,.certy-smart-profession,.certy-smart-template{background:rgba(255,255,255,.9);border:1px solid var(--certy-border);border-radius:24px;padding:32px;box-shadow:0 18px 45px rgba(15,23,42,.06);text-align:center;margin:0 auto;max-width:980px;}
.certy-smart-start h2,.certy-smart-profession h2,.certy-smart-template h2{margin:14px 0 8px;color:var(--certy-navy);font-size:34px;letter-spacing:-.5px;}
.certy-smart-start p,.certy-smart-profession p,.certy-smart-template p{color:var(--certy-muted);margin:0 auto 22px;max-width:670px;font-weight:700;}
.certy-smart-methods,.certy-prof-grid,.certy-template-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;}
.certy-smart-methods button,.certy-prof-grid button,.certy-template-cards button{border:1px solid #e5e9f4;background:linear-gradient(180deg,#fff,#fbfcff);border-radius:20px;padding:22px;text-align:right;font-family:inherit;cursor:pointer;color:var(--certy-navy);box-shadow:0 14px 32px rgba(15,23,42,.045);transition:.2s transform,.2s box-shadow,.2s border-color;min-height:128px;}
.certy-smart-methods button:hover,.certy-prof-grid button:hover,.certy-template-cards button:hover{transform:translateY(-3px);border-color:#cfc5ff;box-shadow:0 20px 42px rgba(91,44,255,.12);}
.certy-smart-methods b,.certy-prof-grid b,.certy-template-cards b{display:block;font-size:20px;margin-bottom:8px;}
.certy-smart-methods span,.certy-prof-grid span,.certy-template-cards small{display:block;color:var(--certy-muted);font-weight:700;font-size:13px;line-height:1.7;}
.certy-prof-grid button{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:10px;}
.certy-prof-grid button>span{grid-column:2}.certy-prof-grid button{font-size:28px}.certy-prof-grid button b{font-size:18px;margin:0;}
.certy-back-link{border:1px solid var(--certy-border);background:#fff;color:var(--certy-navy);border-radius:12px;padding:10px 16px;font-family:inherit;font-weight:900;cursor:pointer;float:left;margin-bottom:8px;}
.certy-smart-note{margin-top:14px;color:#7c3aed;font-weight:900;min-height:22px;}
.certy-template-cards button{text-align:center;min-height:190px;}
.mini-cv{display:block;width:92px;height:122px;border-radius:10px;background:#fff;border:1px solid #dfe5f0;margin:0 auto 12px;position:relative;overflow:hidden;box-shadow:0 12px 24px rgba(15,23,42,.06)}
.mini-cv:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#10234b 0 32%,#fff 32%);}.mini-cv:after{content:'';position:absolute;right:40%;left:10px;top:24px;height:6px;background:#d9deea;border-radius:10px;box-shadow:0 18px 0 #d9deea,0 36px 0 #d9deea,0 54px 0 #d9deea;}
.mini-cv.classic:before{background:linear-gradient(180deg,#fff 0 28%,#10234b 28% 31%,#fff 31%)}.mini-cv.ats:before{background:#fff}.mini-cv.executive:before{background:linear-gradient(90deg,#07123d 0 35%,#fff 35%)}
.certy-v2-smart .certy-country-row{display:none!important;}
.certy-v2-smart.is-smart-ready{grid-template-columns:minmax(0,1fr) 440px!important;}
@media(max-width:760px){
  .certy-v2-smart:not(.is-smart-ready){display:block!important;padding:10px!important;background:#f7f8ff!important;}
  .certy-smart-start,.certy-smart-profession,.certy-smart-template{padding:18px!important;border-radius:20px!important;box-shadow:0 10px 25px rgba(15,23,42,.06)!important;}
  .certy-smart-start h2,.certy-smart-profession h2,.certy-smart-template h2{font-size:25px!important;line-height:1.35;}
  .certy-smart-methods,.certy-prof-grid,.certy-template-cards{grid-template-columns:1fr!important;gap:12px!important;}
  .certy-smart-methods button,.certy-prof-grid button,.certy-template-cards button{min-height:auto!important;padding:16px!important;border-radius:16px!important;}
  .certy-prof-grid button{grid-template-columns:40px 1fr!important;font-size:24px!important;}
  .certy-template-cards button{min-height:160px!important;}
  .certy-v2-smart.is-smart-ready{display:block!important;}
}

/* Certy Pro Smart Builder v2.2 refinements */
.certy-v2-smart:not(.is-smart-ready){
  display:block!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:34px!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 12% 15%, rgba(91,44,255,.10), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(37,99,235,.08), transparent 30%),
    linear-gradient(180deg,#fff,#f7f8ff)!important;
}
.certy-v2-smart:not(.is-smart-ready) .certy-builder{
  width:100%!important;
  max-width:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.certy-v2-smart:not(.is-smart-ready) .certy-smart-start,
.certy-v2-smart:not(.is-smart-ready) .certy-smart-profession,
.certy-v2-smart:not(.is-smart-ready) .certy-smart-template{
  width:100%!important;
  max-width:none!important;
  min-height:520px;
  padding:42px!important;
  display:block;
  border-radius:28px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid #edf0f8!important;
}
.certy-smart-highlights{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0 10px}
.certy-smart-highlights span{background:#f7f4ff;border:1px solid #e7dfff;color:#4c1d95;border-radius:999px;padding:9px 14px;font-weight:900;font-size:13px}
.certy-smart-methods{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin-top:28px!important}
.certy-smart-methods button{min-height:210px!important;text-align:center!important;padding:30px 22px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.certy-smart-methods button b{font-size:22px!important;margin:0!important}.certy-smart-methods button span{font-size:14px!important;max-width:220px}
.certy-prof-grid-expanded{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:14px!important;margin-top:26px!important}
.certy-prof-grid-expanded button{min-height:150px!important;padding:20px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important}
.certy-prof-grid-expanded button.is-featured{background:linear-gradient(135deg,#f4f0ff,#ffffff)!important;border-color:#cfc5ff!important;box-shadow:0 18px 40px rgba(91,44,255,.12)!important}
.certy-prof-grid-expanded button b{font-size:18px!important}.certy-prof-grid-expanded button span{font-size:13px!important;line-height:1.65!important}
.certy-smart-profession h2{font-size:38px!important}
.certy-smart-profession p{max-width:820px!important}
.certy-template-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}

@media(max-width:980px){
  .certy-smart-methods,.certy-template-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .certy-v2-smart:not(.is-smart-ready){padding:18px!important}
}
@media(max-width:760px){
  .certy-v2-smart:not(.is-smart-ready){padding:10px!important;border-radius:0!important;margin:0!important}
  .certy-v2-smart:not(.is-smart-ready) .certy-smart-start,
  .certy-v2-smart:not(.is-smart-ready) .certy-smart-profession,
  .certy-v2-smart:not(.is-smart-ready) .certy-smart-template{min-height:auto!important;padding:18px!important;border-radius:20px!important}
  .certy-smart-methods,.certy-template-cards,.certy-prof-grid-expanded{grid-template-columns:1fr!important}
  .certy-smart-methods button{min-height:140px!important;padding:18px!important}
  .certy-prof-grid-expanded button{min-height:120px!important}
  .certy-smart-highlights span{font-size:11px;padding:7px 10px}
}


/* Certy Pro Smart Builder v2.2 scroll/flow fixes */
.certy-smart-profession[hidden],
.certy-smart-template[hidden],
.certy-smart-start[hidden]{display:none!important;}
.certy-smart-template{scroll-margin-top:90px;}
.certy-smart-profession{scroll-margin-top:90px;}
.certy-card,.certy-builder-head{scroll-margin-top:90px;}
.certy-v2-smart:not(.is-smart-ready) .certy-smart-template:not([hidden]){
  display:block!important;
}
.certy-v2-smart:not(.is-smart-ready) .certy-smart-profession:not([hidden]){
  display:block!important;
}
.certy-v2-smart:not(.is-smart-ready) .certy-smart-start:not([hidden]){
  display:block!important;
}
@media(max-width:760px){
  .certy-smart-template,.certy-smart-profession,.certy-smart-start{scroll-margin-top:18px!important;}
  .certy-card,.certy-builder-head{scroll-margin-top:18px!important;}
}

/* v2.3 clearer template selection */
.certy-template-cards-pro{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch;
}
.certy-template-cards-pro button{
  min-height:285px!important;
  padding:18px 16px 20px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  position:relative!important;
  overflow:hidden!important;
}
.certy-template-cards-pro button:before{
  content:"";
  position:absolute;
  inset:auto -40px -70px -40px;
  height:115px;
  background:radial-gradient(circle at center,rgba(91,44,255,.10),transparent 65%);
}
.certy-template-cards-pro button:hover,
.certy-template-cards-pro button.is-selected{
  border-color:#a996ff!important;
  box-shadow:0 25px 55px rgba(91,44,255,.14)!important;
}
.certy-template-cards-pro b{font-size:21px!important;margin-top:14px!important;color:var(--certy-navy)!important;}
.certy-template-cards-pro small{font-size:13px!important;line-height:1.65!important;min-height:42px;}
.certy-template-cards-pro .mini-cv{
  width:116px!important;
  height:156px!important;
  border:1px solid #dfe5f2!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 16px 35px rgba(15,23,42,.10)!important;
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
  margin:auto!important;
}
.certy-template-cards-pro .mini-cv:before{
  content:"";position:absolute;top:16px;right:16px;width:26px;height:26px;border-radius:50%;background:#d8deea;
}
.certy-template-cards-pro .mini-cv:after{
  content:"";position:absolute;right:16px;left:16px;top:56px;height:8px;border-radius:8px;background:#10234b;box-shadow:0 18px 0 #d8deea,0 36px 0 #d8deea,0 54px 0 #d8deea;
}
.certy-template-cards-pro .mini-cv i,.certy-template-cards-pro .mini-cv em,.certy-template-cards-pro .mini-cv u{display:none}
.certy-template-cards-pro .mini-cv.modern{background:linear-gradient(90deg,#10234b 0 30%,#fff 30%)!important}
.certy-template-cards-pro .mini-cv.modern:before{right:52px;background:#fff;border:3px solid #e9edfb}.certy-template-cards-pro .mini-cv.modern:after{right:45px;left:15px;top:60px;background:#dbe2ef;box-shadow:0 18px 0 #dbe2ef,0 36px 0 #dbe2ef,0 54px 0 #dbe2ef}
.certy-template-cards-pro .mini-cv.soft{background:linear-gradient(180deg,#fff,#fff7fb)!important}.certy-template-cards-pro .mini-cv.soft:before{background:#f0cfe3}.certy-template-cards-pro .mini-cv.soft:after{background:#7c3aed;box-shadow:0 18px 0 #eadcf8,0 36px 0 #eadcf8,0 54px 0 #eadcf8}
.certy-template-cards-pro .mini-cv.classic:after{top:44px;background:#10234b;height:3px;box-shadow:0 18px 0 #dbe2ef,0 36px 0 #dbe2ef,0 54px 0 #dbe2ef,0 72px 0 #dbe2ef}
.certy-template-cards-pro .mini-cv.ats{border-radius:4px!important;box-shadow:0 8px 18px rgba(15,23,42,.07)!important}.certy-template-cards-pro .mini-cv.ats:before{display:none}.certy-template-cards-pro .mini-cv.ats:after{right:22px;left:22px;top:28px;background:#cfd6e6;box-shadow:0 18px 0 #cfd6e6,0 36px 0 #cfd6e6,0 54px 0 #cfd6e6,0 72px 0 #cfd6e6}
.certy-template-cards-pro .mini-cv.executive{background:linear-gradient(90deg,#07123d 0 32%,#fff 32%)!important}.certy-template-cards-pro .mini-cv.executive:before{right:50px;background:#fff;border:3px solid #c7b8ff}.certy-template-cards-pro .mini-cv.executive:after{right:44px;left:16px;background:#5b2cff;box-shadow:0 18px 0 #dfe5f2,0 36px 0 #dfe5f2,0 54px 0 #dfe5f2}
.certy-template-cards-pro .mini-cv.fresh{background:linear-gradient(180deg,#eff6ff 0 22%,#fff 22%)!important}.certy-template-cards-pro .mini-cv.fresh:before{background:#60a5fa}.certy-template-cards-pro .mini-cv.fresh:after{background:#2563eb;box-shadow:0 18px 0 #dbeafe,0 36px 0 #dbeafe,0 54px 0 #dbeafe}
.certy-template-cards-pro .mini-cv.creative{background:linear-gradient(135deg,#fff 0 58%,#fff0d9 58%)!important}.certy-template-cards-pro .mini-cv.creative:before{background:#f59e0b}.certy-template-cards-pro .mini-cv.creative:after{background:#ef4444;box-shadow:0 18px 0 #fde7c7,0 36px 0 #fde7c7,0 54px 0 #fde7c7}
.certy-template-cards-pro .mini-cv.clean{background:#fff!important}.certy-template-cards-pro .mini-cv.clean:before{background:#eef1f7}.certy-template-cards-pro .mini-cv.clean:after{background:#cfd6e6;box-shadow:0 18px 0 #eef1f7,0 36px 0 #eef1f7,0 54px 0 #eef1f7}

.tpl-soft .cv-side{background:#6d28d9!important}.tpl-soft .cv-main h4{color:#6d28d9}.tpl-fresh .cv-side{background:#2563eb!important}.tpl-fresh .cv-main h4{color:#2563eb}.tpl-creative .cv-side{background:#f59e0b!important;color:#111827!important}.tpl-creative .cv-avatar{background:#fff7ed;color:#f59e0b}.tpl-creative .cv-main h4{color:#f59e0b}.tpl-clean{grid-template-columns:1fr!important}.tpl-clean .cv-side{background:#fff!important;color:#10234b!important;border-bottom:1px solid #e5e9f4}.tpl-clean .cv-avatar{background:#eef1f7}.tpl-clean .cv-main h4{color:#10234b}

@media(max-width:1180px){.certy-template-cards-pro{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.certy-template-cards-pro{grid-template-columns:1fr!important}.certy-template-cards-pro button{min-height:230px!important}.certy-template-cards-pro .mini-cv{width:100px!important;height:135px!important}}

/* Certy Pro Smart Builder v2.4 – Real Template Engine */
.certy-badge{white-space:nowrap}.certy-real-templates{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.certy-real-templates button{min-height:255px!important;padding:22px!important;text-align:center;position:relative;overflow:hidden}.certy-real-templates button.is-selected,.certy-real-templates button:hover{border-color:var(--certy-primary)!important;box-shadow:0 24px 52px rgba(91,44,255,.13);transform:translateY(-2px)}.certy-real-templates b{font-size:20px!important;margin-top:14px!important}.certy-real-templates small{font-size:13px!important;line-height:1.65!important;color:#667085!important}.certy-color-picker{margin:22px auto 0;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;background:#fbfcff;border:1px solid var(--certy-border);padding:14px;border-radius:18px;max-width:850px}.certy-color-picker b{margin-inline-end:6px;color:var(--certy-navy)}.certy-color-picker button{border:1px solid var(--certy-border);background:#fff;border-radius:999px;padding:9px 15px;font-weight:900;cursor:pointer;color:#172554}.certy-color-picker button.selected{background:var(--certy-primary);color:#fff;border-color:var(--certy-primary);box-shadow:0 10px 22px rgba(91,44,255,.18)}.certy-color-picker.compact{margin:12px auto 18px;max-width:620px;padding:10px}.certy-template-row-real{display:flex!important;justify-content:center;flex-wrap:wrap;gap:10px}.certy-template-row-real button{min-width:110px}

.mini-cv{width:112px!important;height:142px!important;margin:0 auto 10px!important;border:1px solid #dde3ef!important;border-radius:14px!important;background:#fff!important;display:block!important;position:relative!important;box-shadow:0 14px 30px rgba(15,23,42,.08);overflow:hidden}.mini-cv:before,.mini-cv:after,.mini-cv i,.mini-cv em,.mini-cv u{content:"";position:absolute;display:block;border-radius:4px;background:#d8deea}.mini-cv i{height:100%;width:24px;right:0;top:0;background:#10234b}.mini-cv em{height:8px;width:52px;right:36px;top:28px}.mini-cv u{height:6px;width:46px;right:36px;top:48px}.mini-cv:before{height:6px;width:55px;right:36px;top:68px}.mini-cv:after{height:6px;width:42px;right:36px;top:88px}.layout-header i{height:34px!important;width:100%!important;right:0!important;top:0!important}.layout-header em{top:48px!important;right:16px!important;width:80px!important}.layout-header u{top:68px!important;right:16px!important;width:62px!important}.layout-header:before{top:90px!important;right:16px!important;width:82px!important}.layout-header:after{top:108px!important;right:16px!important;width:70px!important}.layout-split i{right:auto!important;left:0!important;width:34px!important;background:#eef1f7!important}.layout-split em,.layout-split u,.layout-split:before,.layout-split:after{right:12px!important}.layout-ats i{display:none!important}.layout-ats{border-radius:4px!important}.layout-ats em{right:12px!important;top:22px!important;width:85px!important;background:#334155!important}.layout-ats u{right:12px!important;top:43px!important;width:76px!important}.layout-ats:before{right:12px!important;top:64px!important;width:90px!important}.layout-ats:after{right:12px!important;top:86px!important;width:70px!important}.layout-executive i{height:15px!important;width:100%!important;right:0!important;top:auto!important;bottom:0!important;background:#10234b!important}.layout-executive em{right:16px!important;top:22px!important;width:80px!important;background:#10234b!important}.layout-executive u{right:16px!important;top:50px!important;width:70px!important}.layout-executive:before{right:16px!important;top:76px!important;width:82px!important}.layout-executive:after{right:16px!important;top:104px!important;width:58px!important}.layout-creative{background:#faf8ff!important;border-radius:22px!important}.layout-creative i{height:54px!important;width:54px!important;right:-8px!important;top:-8px!important;border-radius:50%!important;background:linear-gradient(135deg,#5b2cff,#ec4899)!important}.layout-creative em{right:30px!important;top:38px!important;width:60px!important}.layout-creative u{right:16px!important;top:66px!important;width:80px!important}.layout-creative:before{right:18px!important;top:92px!important;width:50px!important}.layout-creative:after{right:58px!important;top:92px!important;width:36px!important;background:#c4b5fd!important}

.certy-cv-preview{--accent:#10234b}.certy-cv-preview.color-blue{--accent:#10234b}.certy-cv-preview.color-purple{--accent:#5b2cff}.certy-cv-preview.color-gold{--accent:#f59e0b}.certy-cv-preview.color-green{--accent:#0f9f6e}.certy-cv-preview.color-gray{--accent:#475467}.certy-cv-preview .cv-side{background:var(--accent)!important}.certy-cv-preview .cv-avatar{color:var(--accent)}.certy-cv-preview .cv-main h4{color:var(--accent)}
.certy-cv-preview.tpl-sidebar{grid-template-columns:142px 1fr}.certy-cv-preview.tpl-sidebar .cv-side{grid-column:auto;grid-row:auto;min-height:545px}.certy-cv-preview.tpl-header{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr}.certy-cv-preview.tpl-header .cv-side{display:grid;grid-template-columns:85px 1fr;align-items:center;gap:14px;text-align:right;padding:18px 22px;min-height:auto}.certy-cv-preview.tpl-header .cv-avatar{margin:0}.certy-cv-preview.tpl-header .cv-side hr{display:none}.certy-cv-preview.tpl-header .cv-side p{display:inline-block;margin:3px 7px;font-size:11px}.certy-cv-preview.tpl-header .cv-main{padding:22px 28px}.certy-cv-preview.tpl-split{grid-template-columns:1fr 160px}.certy-cv-preview.tpl-split .cv-side{grid-column:2;grid-row:1;min-height:545px}.certy-cv-preview.tpl-split .cv-main{grid-column:1;grid-row:1}.certy-cv-preview.tpl-ats{grid-template-columns:1fr;border-radius:6px}.certy-cv-preview.tpl-ats .cv-side{background:#fff!important;color:#111827!important;text-align:right;border-bottom:1px solid #e5e7eb;padding:22px}.certy-cv-preview.tpl-ats .cv-avatar{display:none}.certy-cv-preview.tpl-ats .cv-side hr{display:none}.certy-cv-preview.tpl-ats .cv-side h2{color:#111827;text-align:right}.certy-cv-preview.tpl-ats .cv-side p{display:inline-block;margin-left:12px;color:#344054}.certy-cv-preview.tpl-ats .cv-main h4{color:#111827;border-bottom:1px solid #d0d5dd}.certy-cv-preview.tpl-executive{grid-template-columns:1fr;grid-template-rows:auto 1fr}.certy-cv-preview.tpl-executive .cv-side{background:#fff!important;color:#101936!important;text-align:right;border-bottom:14px solid var(--accent);padding:26px 28px;min-height:auto}.certy-cv-preview.tpl-executive .cv-avatar{float:left;background:var(--accent);color:#fff;margin:0 20px 0 0}.certy-cv-preview.tpl-executive .cv-side hr{display:none}.certy-cv-preview.tpl-executive .cv-side h2{font-size:26px;color:#101936}.certy-cv-preview.tpl-executive .cv-side p{display:inline-block;margin-left:14px;color:#344054}.certy-cv-preview.tpl-executive .cv-main{padding:24px 32px}.certy-cv-preview.tpl-creative{grid-template-columns:154px 1fr;background:#fbfbff!important}.certy-cv-preview.tpl-creative .cv-side{background:linear-gradient(160deg,var(--accent),#111827)!important;border-bottom-left-radius:46px;min-height:545px}.certy-cv-preview.tpl-creative .cv-main h4{border:0;background:#f1efff;border-radius:999px;padding:8px 14px;margin-top:6px}.certy-cv-preview.tpl-creative .cv-main{padding:22px 18px}
@media(max-width:900px){.certy-real-templates{grid-template-columns:1fr 1fr!important}.certy-cv-preview.tpl-sidebar,.certy-cv-preview.tpl-split,.certy-cv-preview.tpl-creative{grid-template-columns:1fr}.certy-cv-preview.tpl-sidebar .cv-side,.certy-cv-preview.tpl-split .cv-side,.certy-cv-preview.tpl-creative .cv-side{grid-column:auto;grid-row:auto;min-height:auto}.certy-cv-preview.tpl-split .cv-main{grid-column:auto;grid-row:auto}}@media(max-width:620px){.certy-real-templates{grid-template-columns:1fr!important}.certy-color-picker button{padding:8px 12px}.certy-template-row-real button{min-width:auto}}


/* Certy Pro v2.5 - Real template cards and reliable selection */
.certy-real-templates-v25{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;margin-top:28px!important}
.certy-real-templates-v25 button{min-height:310px!important;padding:26px 22px!important;border-radius:26px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;position:relative!important;overflow:hidden!important;text-align:center!important}
.certy-real-templates-v25 button:after{content:'اضغط للاختيار';position:absolute;top:14px;left:16px;background:#f4f1ff;color:#5b2cff;border:1px solid #e2dcff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;opacity:.0;transform:translateY(-4px);transition:.2s}
.certy-real-templates-v25 button:hover:after,.certy-real-templates-v25 button.is-selected:after{opacity:1;transform:none}
.certy-real-templates-v25 button.is-selected{border:2px solid var(--certy-primary)!important;background:linear-gradient(180deg,#fff,#f8f6ff)!important;box-shadow:0 26px 60px rgba(91,44,255,.16)!important}
.certy-real-templates-v25 b{font-size:22px!important;margin-top:16px!important;margin-bottom:6px!important;color:#07123d!important}
.certy-real-templates-v25 small{font-size:14px!important;color:#667085!important;line-height:1.75!important;max-width:250px;margin:0 auto!important}
.mini-cv-real{--mini:#10234b;display:block!important;width:150px!important;height:195px!important;margin:0 auto 14px!important;background:#fff!important;border:1px solid #dfe5f0!important;border-radius:18px!important;position:relative!important;overflow:hidden!important;box-shadow:0 16px 34px rgba(15,23,42,.11)!important;transform:perspective(900px) rotateX(2deg)}
.certy-real-templates-v25 [data-start-template].is-selected .mini-cv-real,.certy-real-templates-v25 button:hover .mini-cv-real{--mini:#5b2cff;transform:perspective(900px) rotateX(0) translateY(-3px)}
.mini-cv-real i,.mini-cv-real em,.mini-cv-real u,.mini-cv-real strong,.mini-cv-real:before,.mini-cv-real:after{content:'';position:absolute;display:block;border-radius:999px;background:#d8deea}
.mini-cv-real em{height:9px;width:70px;right:56px;top:36px;background:#172554}.mini-cv-real u{height:7px;width:76px;right:56px;top:62px}.mini-cv-real strong{height:7px;width:58px;right:56px;top:84px}.mini-cv-real:before{height:7px;width:70px;right:56px;top:116px}.mini-cv-real:after{height:7px;width:48px;right:56px;top:140px}
.mini-sidebar i{height:100%;width:42px;right:0;top:0;border-radius:0;background:var(--mini)}.mini-sidebar em,.mini-sidebar u,.mini-sidebar strong,.mini-sidebar:before,.mini-sidebar:after{right:58px}.mini-sidebar em{top:32px}.mini-sidebar u{top:58px}.mini-sidebar strong{top:84px}.mini-sidebar:before{top:118px}.mini-sidebar:after{top:146px}
.mini-header i{height:48px;width:100%;right:0;top:0;border-radius:0;background:var(--mini)}.mini-header em{right:22px;top:68px;width:105px}.mini-header u{right:22px;top:94px;width:88px}.mini-header strong{right:22px;top:120px;width:106px}.mini-header:before{right:22px;top:146px;width:78px}.mini-header:after{right:22px;top:166px;width:96px}
.mini-split i{height:100%;width:48px;left:0;right:auto;top:0;border-radius:0;background:#eef1f7}.mini-split em,.mini-split u,.mini-split strong,.mini-split:before,.mini-split:after{right:18px}.mini-split em{top:30px;width:78px;background:var(--mini)}.mini-split u{top:58px;width:68px}.mini-split strong{top:88px;width:86px}.mini-split:before{top:124px;width:60px}.mini-split:after{top:150px;width:75px}
.mini-ats{border-radius:6px!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important}.mini-ats i{display:none!important}.mini-ats em,.mini-ats u,.mini-ats strong,.mini-ats:before,.mini-ats:after{right:22px}.mini-ats em{top:26px;width:105px;background:#111827;height:6px}.mini-ats u{top:52px;width:94px}.mini-ats strong{top:78px;width:106px}.mini-ats:before{top:112px;width:96px}.mini-ats:after{top:142px;width:80px}
.mini-executive i{height:20px;width:100%;right:0;bottom:0;top:auto;border-radius:0;background:var(--mini)}.mini-executive em{top:26px;right:22px;width:105px;background:var(--mini);height:10px}.mini-executive u{top:60px;right:22px;width:86px}.mini-executive strong{top:94px;right:22px;width:104px}.mini-executive:before{top:128px;right:22px;width:72px}.mini-executive:after{top:154px;right:22px;width:92px}
.mini-creative{background:linear-gradient(135deg,#fff 0 58%,#fff0d9 58%)!important;border-radius:26px!important}.mini-creative i{width:72px;height:72px;right:-18px;top:-18px;border-radius:50%;background:linear-gradient(135deg,#5b2cff,#ec4899)}.mini-creative em{top:48px;right:40px;width:78px;background:#172554}.mini-creative u{top:80px;right:22px;width:96px}.mini-creative strong{top:112px;right:22px;width:54px}.mini-creative:before{top:112px;right:84px;width:34px;background:#c4b5fd}.mini-creative:after{top:146px;right:22px;width:86px;background:#fed7aa}
.certy-color-picker-v25{max-width:930px!important;margin-top:26px!important;background:#fff!important;box-shadow:0 18px 45px rgba(15,23,42,.055)}
.certy-color-picker-v25 button{position:relative;padding-inline-start:34px!important}
.certy-color-picker-v25 button:before{content:'';position:absolute;right:12px;top:50%;width:14px;height:14px;border-radius:50%;transform:translateY(-50%);background:#10234b}.certy-color-picker-v25 button[data-color="purple"]:before{background:#5b2cff}.certy-color-picker-v25 button[data-color="gold"]:before{background:#f59e0b}.certy-color-picker-v25 button[data-color="green"]:before{background:#0f9f6e}.certy-color-picker-v25 button[data-color="gray"]:before{background:#475467}.certy-color-picker-v25 button.selected:before{background:#fff;box-shadow:inset 0 0 0 4px currentColor}
.certy-template-continue{text-align:center;margin-top:20px}.certy-template-continue .certy-primary{font-size:17px;padding:15px 34px;border-radius:14px}
.certy-cv-preview.color-blue{--accent:#10234b}.certy-cv-preview.color-purple{--accent:#5b2cff}.certy-cv-preview.color-gold{--accent:#f59e0b}.certy-cv-preview.color-green{--accent:#0f9f6e}.certy-cv-preview.color-gray{--accent:#475467}
@media(max-width:1020px){.certy-real-templates-v25{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.certy-real-templates-v25{grid-template-columns:1fr!important}.certy-real-templates-v25 button{min-height:275px!important}.mini-cv-real{width:132px!important;height:172px!important}}


/* Certy Pro v2.7 - clean real template selection UI */
.certy-real-templates-v25{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin-top:24px!important}
.certy-real-templates-v25 button{min-height:255px!important;padding:22px!important;border-radius:24px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;position:relative!important;overflow:visible!important;text-align:center!important;border:1px solid #e4e8f3!important;box-shadow:0 16px 38px rgba(15,23,42,.06)!important;transform:none!important}
.certy-real-templates-v25 button:hover{border-color:#b9a9ff!important;box-shadow:0 22px 45px rgba(91,44,255,.12)!important;transform:translateY(-2px)!important}
.certy-real-templates-v25 button.is-selected{border:2px solid var(--certy-primary)!important;box-shadow:0 26px 55px rgba(91,44,255,.16)!important;background:linear-gradient(180deg,#fff,#fbfaff)!important}
.certy-real-templates-v25 button.is-selected:after{content:none!important}.certy-real-templates-v25 button:before{content:none!important}
.certy-selected-label{position:absolute;top:12px;left:12px;background:var(--certy-primary);color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;box-shadow:0 12px 24px rgba(91,44,255,.24)}
.certy-real-templates-v25 b{font-size:20px!important;margin-top:12px!important;margin-bottom:8px!important;color:var(--certy-navy)!important;display:block!important}
.certy-real-templates-v25 small{font-size:13px!important;line-height:1.65!important;color:#667085!important;display:block!important;min-height:42px!important}
.mini-cv-real{--mini:#5b2cff;display:block!important;width:118px!important;height:150px!important;margin:0 auto 14px!important;background:#fff!important;border:1px solid #dfe5f0!important;border-radius:14px!important;position:relative!important;overflow:hidden!important;box-shadow:0 14px 28px rgba(15,23,42,.10)!important;transform:none!important}
.mini-cv-real *{position:absolute!important;display:block!important;border-radius:8px!important;background:#d7deeb!important;content:""!important}
.mini-sidebar i{right:0;top:0;width:34px;height:150px;background:var(--mini)!important}.mini-sidebar em{right:48px;top:28px;width:46px;height:8px;background:#101936!important}.mini-sidebar u{right:48px;top:50px;width:54px;height:7px}.mini-sidebar strong{right:48px;top:73px;width:42px;height:7px;box-shadow:0 20px 0 #d7deeb,0 40px 0 #d7deeb}
.mini-header i{right:0;top:0;width:118px;height:34px;background:var(--mini)!important}.mini-header em{right:28px;top:50px;width:62px;height:8px;background:#101936!important}.mini-header u{right:22px;top:76px;width:74px;height:7px}.mini-header strong{right:22px;top:99px;width:56px;height:7px;box-shadow:0 20px 0 #d7deeb}
.mini-split i{left:0;top:0;width:36px;height:150px;background:#edf1f7!important}.mini-split em{right:16px;top:28px;width:50px;height:8px;background:#101936!important}.mini-split u{right:16px;top:54px;width:62px;height:7px}.mini-split strong{right:16px;top:80px;width:50px;height:7px;box-shadow:0 22px 0 #d7deeb,0 44px 0 #d7deeb}
.mini-ats{border-radius:6px!important}.mini-ats i{display:none!important}.mini-ats em{right:16px;top:26px;width:82px;height:7px;background:#101936!important}.mini-ats u{right:16px;top:52px;width:82px;height:6px}.mini-ats strong{right:16px;top:76px;width:72px;height:6px;box-shadow:0 20px 0 #d7deeb,0 40px 0 #d7deeb}
.mini-executive i{right:0;bottom:0;width:118px;height:22px;background:var(--mini)!important}.mini-executive em{right:18px;top:28px;width:78px;height:8px;background:#101936!important}.mini-executive u{right:18px;top:58px;width:68px;height:7px}.mini-executive strong{right:18px;top:86px;width:78px;height:7px;box-shadow:0 24px 0 #d7deeb}
.mini-creative{border-radius:22px!important;background:linear-gradient(135deg,#fff 0 58%,#fff2d9 58%)!important}.mini-creative i{right:-12px;top:-12px;width:58px;height:58px;border-radius:50%!important;background:linear-gradient(135deg,var(--mini),#ec4899)!important}.mini-creative em{right:40px;top:38px;width:55px;height:8px;background:#101936!important}.mini-creative u{right:20px;top:68px;width:76px;height:7px}.mini-creative strong{right:20px;top:98px;width:40px;height:7px;background:#c4b5fd!important;box-shadow:45px 0 0 #fde0b7}
.certy-template-continue{margin-top:18px!important;text-align:center!important}.certy-template-continue .certy-primary{font-size:16px!important;padding:15px 34px!important;border-radius:14px!important}
.certy-color-picker-v25 button{min-width:86px!important}.certy-color-picker button.selected{background:var(--certy-primary)!important;color:#fff!important;border-color:var(--certy-primary)!important}
.certy-smart-template{scroll-margin-top:95px!important}.certy-builder-head{scroll-margin-top:95px!important}
@media(max-width:900px){.certy-real-templates-v25{grid-template-columns:1fr!important}.certy-real-templates-v25 button{min-height:230px!important}.mini-cv-real{width:105px!important;height:135px!important}.certy-selected-label{top:10px;left:10px}.certy-color-picker{display:grid!important;grid-template-columns:1fr 1fr!important}.certy-color-picker b{grid-column:1/-1;text-align:center}}
