/* Folio Engine: the look of MonCV on every account page of the CV product (sign-up, log-in, password, e-mail
   confirmation, account, builder), over the engine's own look (account.css, written for the books): the font,
   the colours and the shadows of the site (themes/moncv/assets/css/main.css). Loaded after account.css by
   templates/account/layout.php (products/cv/product.php "account_css"). */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/cv/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
	--fa-blue: #3c5cff;
	--fa-blue-dark: #2c48e0;
	--fa-blue-soft: #e6ecff;
	--fa-navy: #0f1530;
	--fa-text: #1b2233;
	--fa-muted: #5c6678;
	--fa-line: #e3e8ef;
	--fa-text-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fa-title: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fa-shadow: 0 8px 24px rgba(15, 21, 48, .08);
}
body { font-family: var(--fa-text-font); color: var(--fa-text); }
/* Titles: the site's weight and tighter spacing (Plus Jakarta Sans is wider than the books' title font) */
.fa h1, .fa .fa-hero h1, .cvs-q h1, .cvs-form h1 { color: var(--fa-navy); font-family: var(--fa-title); font-weight: 700; letter-spacing: -.025em; }

/* Graphic titles: a light title, its important words very bold (<span class="fa-hl">, never <strong>).
   Plus Jakarta Sans stops at 800 (no 900): 500 against 800 gives the contrast. */
.fa h1, .fa .fa-hero h1, .cvs-q h1, .cvs-form h1, .cva h1 { font-weight: 500; }
.fa-hl { font-weight: 800; }


/* The invitation to Premium (account/_premium.php, js/cv-premium.js): a dialog on every page of the member area */
.mcv-pro { width: min(94vw, 560px); max-height: 94vh; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--fa-text); box-shadow: 0 30px 80px rgba(15, 21, 48, .35); font-family: var(--fa-text-font); overflow: auto; }
.mcv-pro::backdrop { background: rgba(15, 21, 48, .55); backdrop-filter: blur(3px); }
.mcv-pro__close { position: absolute; top: 14px; right: 14px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.mcv-pro__close:hover { background: rgba(255, 255, 255, .28); }
.mcv-pro__close .fa-icon { width: 18px; height: 18px; }
.mcv-pro__head { padding: 2.1rem 2rem 1.7rem; background: linear-gradient(150deg, #18217a 0%, var(--fa-blue) 100%); color: #fff; text-align: center; }
.mcv-pro__badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #ffd54a; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.mcv-pro__badge .fa-icon { width: 16px; height: 16px; }
.mcv-pro__title { margin: .9rem 0 0; color: #fff; font: 500 26px/1.25 var(--fa-title); letter-spacing: -.02em; }
.mcv-pro__lead { max-width: 430px; margin: .7rem auto 0; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.55; }
.mcv-pro__perks { display: grid; gap: .9rem; margin: 0; padding: 1.6rem 2rem .4rem; list-style: none; }
.mcv-pro__perks li { display: flex; align-items: flex-start; gap: .85rem; }
.mcv-pro__perks strong { display: block; color: var(--fa-navy); font-size: 15px; font-weight: 700; }
.mcv-pro__perks li > span:last-child { color: var(--fa-muted); font-size: 14px; line-height: 1.45; }
.mcv-pro__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--fa-blue-soft); color: var(--fa-blue); }
.mcv-pro__icon .fa-icon { width: 19px; height: 19px; }
.mcv-pro__foot { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 1.3rem 2rem 1.6rem; text-align: center; }
.mcv-pro__price { margin: 0; color: var(--fa-muted); font-size: 15px; }
.mcv-pro__price b { color: var(--fa-navy); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.mcv-pro__price span { display: block; margin-top: .1rem; font-size: 13px; }
.mcv-pro__cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 54px; padding: 0 1.5rem; border-radius: 99px; background: var(--fa-blue); color: #fff !important; font-size: 17px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(60, 92, 255, .35); transition: background .15s, transform .15s; }
.mcv-pro__cta:hover { background: var(--fa-blue-dark); transform: translateY(-1px); }
.mcv-pro__cta .fa-icon { width: 19px; height: 19px; color: #ffd54a; }
.mcv-pro__trust { display: inline-flex; align-items: center; gap: .35rem; margin: 0; color: var(--fa-muted); font-size: 12.5px; }
.mcv-pro__trust .fa-icon { width: 13px; height: 13px; }
.mcv-pro__later { padding: .3rem .6rem; border: 0; background: none; color: var(--fa-muted); font: 600 14px/1.2 var(--fa-text-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mcv-pro__later:hover { color: var(--fa-navy); }
.mcv-pro__cta:focus-visible, .mcv-pro__later:focus-visible, .mcv-pro__close:focus-visible { outline: 2px solid #ffd54a; outline-offset: 2px; }
@media (max-width: 520px) {
	.mcv-pro__head { padding: 2rem 1.25rem 1.4rem; }
	.mcv-pro__title { font-size: 22px; }
	.mcv-pro__perks, .mcv-pro__foot { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Builder, last step: what Premium adds (free offer), under the download / publish box */
.cve-upsell { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: linear-gradient(150deg, #18217a 0%, var(--fa-blue) 100%); color: #fff; }
.cve-upsell__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .14); color: #ffd54a; }
.cve-upsell__icon .fa-icon { width: 24px; height: 24px; }
.cve-upsell__text { flex: 1; min-width: 0; }
.cve-upsell__text strong { display: block; font-size: 16px; font-weight: 700; }
.cve-upsell__text span { display: block; margin-top: .15rem; color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.45; }
.cve-upsell__btn { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.1rem; border-radius: 99px; background: #fff; color: var(--fa-blue) !important; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cve-upsell__btn:hover { background: #ffd54a; color: var(--fa-navy) !important; }
@media (max-width: 560px) { .cve-upsell { flex-wrap: wrap; } .cve-upsell__btn { width: 100%; justify-content: center; } }

/* Dashboard: the Trustpilot review banner (cv-dashboard.php, js/cv-premium.js) */
.mcv-review { position: relative; display: flex; align-items: center; gap: 18px; margin-bottom: 20px; padding: 16px 52px 16px 20px; border: 1px solid #c9ecdc; border-radius: 18px; background: #effaf5; }
.mcv-review[hidden] { display: none; }
.mcv-review__stars { display: inline-flex; flex: none; gap: 3px; }
.mcv-review__stars .fa-icon { width: 22px; height: 22px; padding: 3px; border-radius: 4px; background: #00b67a; color: #fff; fill: #fff; }
.mcv-review__text { flex: 1; min-width: 0; }
.mcv-review__text strong { display: block; color: var(--fa-navy); font-size: 15px; font-weight: 700; }
.mcv-review__text span { display: block; margin-top: 2px; color: var(--fa-muted); font-size: 13.5px; line-height: 1.45; }
.mcv-review__thanks { display: none; color: #0b7a52; font-size: 15px; font-style: normal; font-weight: 700; }
.mcv-review.is-thanks .mcv-review__text strong, .mcv-review.is-thanks .mcv-review__text span, .mcv-review.is-thanks .mcv-review__go { display: none; }
.mcv-review.is-thanks .mcv-review__thanks { display: block; }
.mcv-review__go { flex: none; background: #00b67a; color: #fff !important; font-weight: 700; }
.mcv-review__go:hover { background: #009966; }
.mcv-review__close { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--fa-muted); cursor: pointer; }
.mcv-review__close:hover { background: rgba(15, 21, 48, .06); color: var(--fa-navy); }
.mcv-review__close .fa-icon { width: 16px; height: 16px; }
@media (max-width: 700px) {
	.mcv-review { flex-wrap: wrap; gap: 12px; padding: 16px 44px 16px 16px; }
	.mcv-review__text { flex-basis: 100%; }
	.mcv-review__go { width: 100%; }
}

/* A Premium template chosen on the site, on the free offer (cv-editor.php $chosenNote): "Mise en page" and "Terminer". */
.cve-chosen { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem; padding: 1rem 1.1rem; border: 1px solid #f3d27a; border-radius: 16px; background: #fff8e6; color: var(--fa-navy); }
.cve-chosen[hidden] { display: none; }
.cve-chosen__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #ffe7a3; color: #8a5a00; }
.cve-chosen__icon .fa-icon { width: 22px; height: 22px; }
.cve-chosen__text { flex: 1; min-width: 0; }
.cve-chosen__text strong { display: block; font-size: 15px; font-weight: 700; }
.cve-chosen__text > span { display: block; margin-top: .15rem; font-size: 14px; line-height: 1.45; color: #4a4f63; }
.cve-chosen__actions { display: flex; flex: none; flex-direction: column; align-items: stretch; gap: .35rem; }
.cve-chosen__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 1.1rem; border-radius: 99px; background: var(--fa-blue); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cve-chosen__btn:hover { background: var(--fa-navy); }
.cve-chosen__free { padding: .2rem; border: 0; background: none; color: var(--fa-navy); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .cve-chosen { flex-wrap: wrap; } .cve-chosen__actions { width: 100%; } }
/* The badge on the preview. */
.cve-preview__premium { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; margin: 0 0 .6rem; padding: .3rem .75rem; border-radius: 99px; background: #fff3cc; color: #8a5a00; font-size: 13px; font-weight: 700; }
.cve-preview__premium[hidden] { display: none; }
.cve-preview__premium .fa-icon { width: 15px; height: 15px; }
.cve-preview__premium span { font-weight: 500; }
