/* Extra polish for CV pages — loaded after app.css */

.cv-page {
    box-shadow: 0 22px 50px -28px rgba(28, 25, 23, 0.45);
}

.cv-sidebar-name {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.cv-sidebar-title {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.82;
}

.cv-sidebar-photo {
    width: 28mm;
    height: 28mm;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.cv-sidebar-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.skill-meter {
    display: grid;
    gap: 0.22rem;
    margin-bottom: 0.55rem !important;
}

.skill-meter > span:first-child {
    font-size: 0.74rem;
}

.skill-meter-bar {
    display: block;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.skill-meter-bar i {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: 99px;
}

.cv-main .cv-entry {
    padding-left: 0.65rem;
    border-left: 2px solid #e7e5e4;
}

.template-modern .cv-main .cv-section h3,
.template-navy .cv-main .cv-section h3,
.template-indigo .cv-main .cv-section h3 {
    color: #1d4ed8;
    border-bottom-color: #bfdbfe;
}

.template-emerald .cv-main .cv-section h3,
.template-teal .cv-main .cv-section h3,
.template-healthcare .cv-section h3 {
    color: #0f766e;
}

.template-coral .cv-main .cv-section h3,
.template-amber .cv-main .cv-section h3 {
    color: #c2410c;
}

.template-professional,
.template-academic,
.template-legal,
.template-elegant,
.template-minimal {
    font-family: "Source Serif 4", Georgia, serif;
}

.template-swiss,
.template-corporate,
.template-consultant,
.template-startup {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.template-professional .cv-name {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 500;
    font-size: 2rem;
    color: #1c1917;
}

.template-professional .cv-header {
    border-bottom: 1px solid #1c1917;
    padding-bottom: 0.7rem;
}

.template-ats .cv-name,
.template-ats-simple .cv-name {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0;
}

.template-executive .cv-name,
.template-director-navy .cv-name,
.template-platinum .cv-name {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 500;
}

.template-swiss .cv-photo,
.template-corporate .cv-photo {
    border-radius: 0.35rem;
}

.template-coral .cv-sidebar,
.template-rose .cv-sidebar,
.template-amber .cv-sidebar {
    color: #fffaf4;
}

.app-shell .topbar {
    background: rgba(255, 250, 244, 0.92);
}

body:has(.app-shell) {
    background: #f4efe8;
}

.preview-pane {
    background:
        radial-gradient(ellipse at top, rgba(255, 255, 255, 0.7), transparent 55%),
        #ebe4d8;
}
