@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #18213b;
    --muted: #7b849c;
    --purple: #7257e8;
    --line: #edf0f7;
    --surface: #ffffff;
    --background: #f6f7fc;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { text-decoration: none; }
.app-shell { min-height: 100vh; }
.sidebar { width: 252px; background: #171b32; color: white; position: fixed; inset: 0 auto 0 0; padding: 28px 18px 20px; display: flex; flex-direction: column; z-index: 10; }
.brand { display: flex; align-items: center; gap: 12px; color: white; font: 800 19px 'Manrope', sans-serif; padding: 0 8px 35px; }
.brand:hover { color: white; }
.brand-icon { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg,#9b7bff,#6448d9); font-size: 22px; box-shadow: 0 6px 18px #7257e855; }
.brand small { display: block; color: #9299b6; font: 600 8px 'DM Sans',sans-serif; letter-spacing: 1.6px; margin-top: 3px; }
.nav-label { color: #747c9d; font-size: 10px; font-weight: 800; letter-spacing: 1.7px; padding: 0 12px 12px; }
.side-nav { display: grid; gap: 7px; }
.nav-item { color: #aeb5ce; display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: 10px; font-size: 13px; font-weight: 600; transition: .2s; }
.nav-item span { width: 20px; text-align: center; font-size: 19px; }
.nav-item:hover, .nav-item:focus { background: #292e4c; color: white; }
.nav-item:first-child { background: linear-gradient(100deg,#7257e8,#8066ef); color: white; box-shadow: 0 7px 18px #7257e833; }
.sidebar-bottom { margin-top: auto; }
.help-card { background: #242944; border: 1px solid #343a5a; padding: 16px; border-radius: 13px; }
.help-icon { color: #b5a4ff; font-size: 22px; margin-bottom: 9px; }
.help-card strong { font-size: 12px; }
.help-card p { color: #a6aec7; font-size: 11px; line-height: 1.6; margin: 7px 0 0; }
.sidebar-footer { color: #6e7694; font-size: 9px; letter-spacing: 1px; padding: 20px 5px 0; }
.main-area { margin-left: 252px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 76px; padding: 0 48px; background: white; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.topbar-eyebrow { font-size: 9px; font-weight: 800; letter-spacing: 1.6px; color: #9aa1b4; }
.topbar-title { font: 800 15px 'Manrope',sans-serif; margin-top: 2px; }
.topbar-status { color: #64708a; font-size: 11px; font-weight: 600; background: #f5f7fb; border: 1px solid #edf0f6; border-radius: 30px; padding: 9px 13px; }
.topbar-status span { display: inline-block; width: 7px; height: 7px; background: #2bc58b; border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 3px #2bc58b22; }
.page-content { width: 100%; max-width: 1450px; padding: 38px 48px 45px; flex: 1; margin: 0 auto; }
.welcome-section { min-height: 190px; background: linear-gradient(110deg,#242747,#343568 62%,#594b9c); border-radius: 19px; padding: 34px 40px; color: white; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; }
.section-kicker { color: #b9afff; font-size: 10px; font-weight: 800; letter-spacing: 2px; margin-bottom: 12px; }
.welcome-section h1 { font: 800 clamp(23px,3vw,34px) 'Manrope',sans-serif; margin: 0 0 9px; letter-spacing: -.9px; }
.welcome-section h1 span { color: #a995ff; }
.welcome-section p { color: #c5c8e0; font-size: 13px; margin: 0; }
.welcome-art { width: 150px; height: 130px; position: relative; margin-right: 35px; flex-shrink: 0; }
.art-orbit { position: absolute; border: 1px solid #b7aaff66; border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 145px; height: 75px; top: 28px; left: 0; }
.orbit-two { width: 95px; height: 125px; top: 3px; left: 25px; transform: rotate(45deg); }
.art-center { position: absolute; left: 55px; top: 43px; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; color: white; background: linear-gradient(135deg,#a18aff,#7158e6); box-shadow: 0 0 35px #a18aff88; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 34px 0 17px; }
.section-heading h2 { font: 800 19px 'Manrope',sans-serif; margin: 0 0 5px; }
.section-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.action-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.action-card { background: white; min-height: 220px; border: 1px solid #edf0f7; border-radius: 15px; padding: 21px; display: flex; flex-direction: column; transition: transform .2s,box-shadow .2s,border-color .2s; color: var(--ink); }
.action-card:hover { transform: translateY(-4px); box-shadow: 0 13px 32px #28345c10; border-color: #dcd5ff; color: var(--ink); }
.action-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; font-size: 21px; margin-bottom: 15px; }
.purple-icon { color: #795ce9; background: #f0edff; }
.blue-icon { color: #4289e9; background: #eaf3ff; }
.green-icon { color: #20a77d; background: #e8f8f1; }
.orange-icon { color: #df9741; background: #fff4e6; }
.pink-icon { color: #d46eaa; background: #fff0f7; }
.card-tag { color: #9aa2b7; font-size: 9px; font-weight: 800; letter-spacing: 1.3px; margin-bottom: 7px; }
.action-card h3 { font: 800 14px 'Manrope',sans-serif; margin: 0 0 8px; }
.action-card p { color: #7e879e; font-size: 11px; line-height: 1.7; margin: 0 0 16px; }
.card-link { color: #7257e8; font-size: 11px; font-weight: 800; margin-top: auto; }
.card-link b { font-size: 16px; margin-left: 4px; }
.bottom-banner { display: flex; align-items: center; gap: 15px; background: #eeecff; border: 1px solid #e4dfff; border-radius: 14px; padding: 18px 21px; margin-top: 20px; }
.banner-symbol { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; background: white; color: #7257e8; font-size: 21px; flex-shrink: 0; }
.bottom-banner h3 { font: 800 12px 'Manrope',sans-serif; margin: 0 0 4px; }
.bottom-banner p { font-size: 11px; color: #777d99; margin: 0; }
.bottom-banner a { margin-left: auto; background: #7257e8; color: white; padding: 10px 14px; border-radius: 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.bottom-banner a:hover { background: #5f45d1; color: white; }
.main-footer { padding: 17px 48px; border-top: 1px solid var(--line); background: white; color: #929bb0; font-size: 10px; }
.main-footer span { float: right; }
.alert { font-size: 13px; }
@media(max-width:1050px) { .page-content { padding: 28px 25px; } .topbar { padding: 0 25px; } .action-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .sidebar { position: relative; width: 100%; padding: 15px; } .brand { padding: 0 5px 15px; } .nav-label,.sidebar-bottom { display: none; } .side-nav { display: flex; overflow-x: auto; gap: 5px; padding-bottom: 3px; } .nav-item { white-space: nowrap; padding: 9px 11px; font-size: 11px; } .nav-item span { display: none; } .main-area { margin-left: 0; } .topbar { height: 62px; padding: 0 17px; } .topbar-status { font-size: 9px; padding: 7px 9px; } .page-content { padding: 20px 15px 30px; } .welcome-section { padding: 25px 22px; min-height: 165px; } .welcome-art { display: none; } .welcome-section p { max-width: 280px; line-height: 1.6; } .action-grid { grid-template-columns: 1fr; } .action-card { min-height: 195px; } .bottom-banner { align-items: flex-start; flex-wrap: wrap; } .bottom-banner a { margin-left: 54px; } .main-footer { padding: 15px; } }


/* JobPilot inner pages */
.page-intro { margin-bottom: 27px; }
.page-intro h1 { font: 800 clamp(25px,3vw,34px) 'Manrope',sans-serif; letter-spacing: -.8px; margin: 0 0 8px; }
.page-intro h1 span { color: #8065ed; }
.page-intro p { color: #7b849c; font-size: 13px; margin: 0; }
.content-card { background: white; border: 1px solid #edf0f7; border-radius: 17px; padding: 27px; box-shadow: 0 8px 28px #26345b08; }
.card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; }
.card-heading h2,.results-heading h2 { font: 800 17px 'Manrope',sans-serif; margin: 0 0 5px; }
.card-heading p,.results-heading p { color: #8a92a8; font-size: 12px; margin: 0; }
.large-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.modern-form .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group label { color: #343d57; font-size: 12px; font-weight: 700; }
.field-group .form-control,.field-group .form-select { min-height: 47px; border: 1px solid #e5e9f2; border-radius: 9px; padding: 11px 13px; color: #303951; font-size: 13px; box-shadow: none; }
.field-group .form-control:focus,.field-group .form-select:focus { border-color: #8c76ed; box-shadow: 0 0 0 3px #8065ed18; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #f0f1f6; }
.secure-note { color: #9199ad; font-size: 11px; }
.btn-primary-custom { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 9px; padding: 12px 18px; background: linear-gradient(110deg,#7257e8,#8067ed); color: white; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 6px 15px #7257e82b; }
.btn-primary-custom:hover { color: white; background: #6047d2; }
.upload-zone { min-height: 220px; border: 2px dashed #dcd7f8; background: #faf9ff; border-radius: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.upload-zone:hover { border-color: #8065ed; background: #f7f5ff; }
.upload-zone input { max-width: 230px; margin-top: 5px; font-size: 11px; }
.upload-symbol { width: 45px; height: 45px; border-radius: 14px; display: grid; place-items: center; background: #eeeaff; color: #7257e8; font-size: 28px; }
.upload-zone strong { font: 700 14px 'Manrope',sans-serif; }
.upload-zone span:not(.upload-symbol) { color: #858da3; font-size: 12px; }
.upload-zone small { color: #a0a7b8; font-size: 10px; }
.info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.info-card { background: white; border: 1px solid #edf0f7; border-radius: 13px; padding: 17px; }
.info-card b { display: block; color: #8065ed; font-size: 11px; margin-bottom: 12px; }
.info-card strong { font: 700 12px 'Manrope',sans-serif; }
.info-card p { color: #858da3; font-size: 11px; line-height: 1.6; margin: 7px 0 0; }
.search-tip { display: flex; gap: 13px; background: #f0edff; border: 1px solid #e5e0ff; border-radius: 12px; padding: 16px; margin-top: 18px; }
.search-tip>span { color: #7257e8; font-size: 20px; }
.search-tip strong { font-size: 12px; }
.search-tip p { color: #7c829a; font-size: 11px; margin: 4px 0 0; }
.results-heading { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 16px; }
.results-label { color: #7257e8; background: #f0edff; padding: 8px 11px; border-radius: 30px; font-size: 9px; font-weight: 800; letter-spacing: .7px; }
.job-list { display: grid; gap: 14px; }
.job-card { background: white; border: 1px solid #edf0f7; border-radius: 14px; padding: 21px; transition: .2s; }
.job-card:hover { border-color: #dcd5ff; box-shadow: 0 9px 25px #26345b0b; }
.job-card-top { display: flex; align-items: center; gap: 13px; }
.company-avatar { width: 43px; height: 43px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: #eeeaff; color: #7257e8; font: 800 17px 'Manrope',sans-serif; }
.job-main-title { min-width: 0; }
.job-main-title h3 { font: 800 14px 'Manrope',sans-serif; margin: 0 0 5px; }
.job-main-title p { color: #7d879e; font-size: 11px; margin: 0; }
.match-score { margin-left: auto; text-align: right; background: #eaf8f2; padding: 8px 12px; border-radius: 10px; flex-shrink: 0; }
.match-score strong { display: block; color: #169b70; font: 800 16px 'Manrope',sans-serif; }
.match-score small { color: #6f9c8b; font-size: 9px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; }
.job-meta span { background: #f5f6fa; color: #707b94; padding: 6px 9px; border-radius: 6px; font-size: 10px; }
.job-description { color: #727d94; font-size: 11px; line-height: 1.7; margin: 12px 0; }
.skill-line { color: #5e6983; font-size: 11px; margin-top: 8px; }
.skill-line strong { color: #39435d; }
.muted-line { color: #969db0; }
.job-link { display: inline-block; color: #7257e8; font-size: 11px; font-weight: 800; margin-top: 14px; }
.empty-state { background: white; border: 1px solid #edf0f7; border-radius: 16px; padding: 55px 20px; text-align: center; }
.empty-icon { width: 58px; height: 58px; border-radius: 17px; background: #f0edff; color: #7257e8; display: grid; place-items: center; font-size: 27px; margin: 0 auto 16px; }
.empty-state h2 { font: 800 18px 'Manrope',sans-serif; }
.empty-state p { max-width: 410px; margin: 8px auto 20px; color: #858da3; font-size: 12px; line-height: 1.7; }
.letter-result { margin-top: 23px; background: white; border: 1px solid #edf0f7; border-radius: 15px; padding: 23px; }
.letter-result pre { white-space: pre-wrap; overflow-wrap: anywhere; color: #4d5872; background: #fafbfe; border: 1px solid #edf0f7; border-radius: 10px; padding: 20px; font: 12px/1.8 'DM Sans',sans-serif; }
.copy-button { background: #f0edff; color: #7257e8; border: 0; border-radius: 8px; padding: 9px 13px; font-size: 11px; font-weight: 700; }
@media(max-width:700px) { .content-card { padding: 19px; } .modern-form .form-grid,.info-grid { grid-template-columns: 1fr; } .form-actions { align-items: stretch; flex-direction: column; } .form-actions .btn-primary-custom { width: 100%; } .results-heading { align-items: flex-start; gap: 10px; } .results-label { font-size: 8px; } .job-card { padding: 16px; } .job-main-title h3 { font-size: 12px; } .match-score { padding: 6px 8px; } }


/* Premium JobPilot visual refresh */
:root { --ink:#202744; --muted:#8991a7; --purple:#7055e8; --line:#eceef5; }
body { background:#f7f8fc; color:var(--ink); }
.sidebar { background:#171b30; width:258px; padding:27px 17px 20px; }
.brand { padding:0 9px 42px; font-size:20px; letter-spacing:-.5px; }
.brand-icon { width:42px; height:42px; border-radius:13px; display:grid; place-items:center; font-size:18px; }
.nav-label { padding:0 13px 13px; font-size:9px; letter-spacing:1.8px; }
.side-nav { gap:5px; }
.nav-item { min-height:47px; padding:11px 14px; border-radius:10px; font-size:12px; gap:13px; }
.nav-item span { display:none; }
.nav-item i { width:20px; font-size:16px; text-align:center; }
.nav-item:first-child { background:transparent; color:#aeb5ce; box-shadow:none; }
.nav-item:first-child:hover { background:#292e4c; color:white; }
.nav-item.active { background:linear-gradient(105deg,#7055e8,#8669f2); color:white; box-shadow:0 7px 18px #7257e833; }
.help-card { padding:17px; border-radius:14px; }
.help-icon { color:#b9a8ff; font-size:20px; margin-bottom:10px; }
.help-card strong { font-size:12px; }
.help-card p { font-size:10px; line-height:1.65; }
.help-card a { display:inline-block; color:#c3b5ff; font-size:10px; font-weight:700; margin-top:12px; }
.sidebar-footer { font-size:9px; }
.main-area { margin-left:258px; }
.topbar { height:73px; padding:0 42px; }
.topbar-eyebrow { font-size:9px; letter-spacing:1.7px; }
.topbar-title { font-size:15px; }
.page-content { padding:35px 42px 45px; max-width:1500px; }
.hero-panel { min-height:330px; border-radius:20px; padding:43px 48px; color:white; display:flex; align-items:center; justify-content:space-between; overflow:hidden; position:relative; background:linear-gradient(115deg,#202542 0%,#353568 58%,#594a9d 100%); }
.hero-content { position:relative; z-index:2; max-width:590px; }
.hero-pill { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid #ffffff30; border-radius:30px; background:#ffffff0c; color:#d4ccff; font-size:9px; font-weight:800; letter-spacing:1.2px; margin-bottom:20px; }
.hero-content h1 { font:800 clamp(32px,4vw,47px) 'Manrope',sans-serif; line-height:1.16; letter-spacing:-1.7px; margin:0 0 14px; }
.hero-content h1 span { color:#b5a3ff; }
.hero-content p { max-width:470px; color:#c7c9df; font-size:13px; line-height:1.8; margin:0 0 23px; }
.hero-button { display:inline-flex; align-items:center; gap:18px; background:white; color:#403777; padding:12px 17px; border-radius:9px; font-size:11px; font-weight:800; }
.hero-button:hover { color:#7055e8; transform:translateY(-1px); }
.hero-visual { width:270px; height:230px; position:relative; flex-shrink:0; margin-right:25px; }
.hero-glow { position:absolute; width:210px; height:210px; border-radius:50%; background:#9c83ff22; filter:blur(4px); left:30px; top:8px; }
.hero-icon-card { position:absolute; width:112px; height:112px; left:78px; top:50px; border:1px solid #ffffff45; border-radius:30px; display:grid; place-items:center; font-size:48px; color:white; background:linear-gradient(140deg,#a18aff,#6b53df); box-shadow:0 18px 55px #17132d88; transform:rotate(-8deg); }
.floating-chip { position:absolute; z-index:2; background:#ffffffed; color:#3c4260; padding:10px 13px; border-radius:9px; box-shadow:0 8px 25px #17132d44; font-size:10px; font-weight:700; white-space:nowrap; }
.floating-chip i { color:#7257e8; margin-right:6px; }
.chip-one { top:22px; right:0; }
.chip-two { bottom:24px; left:0; }
.dashboard-heading { margin:35px 0 17px; }
.section-kicker { color:#8b79dc; font-size:9px; font-weight:800; letter-spacing:1.8px; margin-bottom:7px; }
.section-heading h2 { font:800 20px 'Manrope',sans-serif; margin:0 0 5px; }
.section-heading p { font-size:12px; }
.action-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.action-card { min-height:218px; padding:22px; border-radius:15px; box-shadow:0 3px 12px #26345b05; }
.action-card:hover { transform:translateY(-5px); box-shadow:0 15px 30px #26345b12; }
.action-icon { width:43px; height:43px; border-radius:13px; font-size:19px; }
.card-tag { font-size:8px; letter-spacing:1.4px; }
.action-card h3 { font-size:14px; }
.action-card p { font-size:11px; line-height:1.75; }
.card-link { font-size:10px; }
.card-link i { margin-left:5px; }
.bottom-banner { padding:19px 22px; border-radius:14px; }
.banner-symbol { font-size:18px; }
.bottom-banner h3 { font-size:12px; }
.bottom-banner p { font-size:10px; }
.bottom-banner a { font-size:10px; }
.main-footer { font-size:10px; }
@media(max-width:1100px) { .hero-visual { margin-right:0; transform:scale(.85); } .page-content { padding:28px 25px; } .action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .sidebar { width:100%; } .main-area { margin-left:0; } .hero-panel { padding:28px 23px; min-height:280px; } .hero-visual { display:none; } .hero-content h1 { font-size:34px; } .action-grid { grid-template-columns:1fr; } .page-content { padding:20px 15px 30px; } .topbar { padding:0 17px; } }

.sidebar {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 10px;
}