/* ==========================================================================
   Epployee Job Portal — Bootstrap 5.3 theme + custom components
   --------------------------------------------------------------------------
   Load order:  vendor/bootstrap/bootstrap.min.css  →  this file
   Part A re-themes Bootstrap through its CSS variables (no Sass build needed).
   Part B holds the components Bootstrap doesn't have (job card, CV sheet, …),
   named BEM-style (.block__element--modifier) so they never clash with BS.

   A1 Fonts & tokens     B1 Header & footer      B8  Auth & OTP
   A2 Bootstrap vars     B2 Shared bits          B9  Profile
   A3 Buttons            B3 Jobs listing         B10 CV list & CV sheet
   A4 Forms              B4 Job detail           B11 CV builder
   A5 Modal, offcanvas,  B5 Company pages        B12 Handoff, 404, print
      dropdown, toast    B6 Apply & success
   A6 Badges, progress   B7 Upload & editor
   ========================================================================== */

/* A1. Fonts & tokens ----------------------------------------------------- */
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url("/assets/poppins/poppins-400-d360be31.woff2") format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url("/assets/poppins/poppins-500-afc692de.woff2") format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url("/assets/poppins/poppins-600-765bd6dc.woff2") format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url("/assets/poppins/poppins-700-96729a37.woff2") format('woff2'); }

:root {
  /* Brand tokens (also used by Part B) */
  --ep-primary: #448aff;
  --ep-primary-hover: #2f78f0;
  --ep-primary-light: #69a1ff;
  --ep-primary-soft: rgba(68, 138, 255, .1);
  --ep-primary-tint: rgba(68, 138, 255, .2);
  --ep-secondary: #1f57b6;
  --ep-ink: #363638;
  --ep-ink-2: #636366;
  --ep-muted: #666;
  --ep-subtle: #aaa;
  --ep-line: #e6e6e6;
  --ep-surface: #f5f5f5;
  --ep-surface-2: #f9f9f9;
  --ep-success: #26b972;
  --ep-success-ink: #119656;
  --ep-warning: #ff9f0a;
  --ep-warning-ink: #d78200;
  --ep-danger: #ff3b30;
  --ep-shadow-pop: 0 4px 10px rgba(0, 0, 0, .1);
  --ep-shadow-modal: 0 0 20px rgba(0, 0, 0, .1);
  --ep-gradient-brand: linear-gradient(135deg, #1f57b6 0%, #9bb9ee 100%);
  --ep-gradient-cta: linear-gradient(90deg, #1f57b6 0%, #448aff 60%, #5aa2ff 100%);
  --ep-focus: 0 0 0 3px rgba(68, 138, 255, .15);

  /* A2. Bootstrap variables ---------------------------------------------- */
  --bs-primary: #448aff;           --bs-primary-rgb: 68, 138, 255;
  --bs-secondary: #1f57b6;         --bs-secondary-rgb: 31, 87, 182;
  --bs-success: #26b972;           --bs-success-rgb: 38, 185, 114;
  --bs-warning: #ff9f0a;           --bs-warning-rgb: 255, 159, 10;
  --bs-danger: #ff3b30;            --bs-danger-rgb: 255, 59, 48;
  --bs-light: #f5f5f5;             --bs-light-rgb: 245, 245, 245;
  --bs-primary-bg-subtle: rgba(68, 138, 255, .1);   --bs-primary-text-emphasis: #1f57b6;   --bs-primary-border-subtle: #69a1ff;
  --bs-success-bg-subtle: rgba(38, 185, 114, .1);   --bs-success-text-emphasis: #119656;
  --bs-warning-bg-subtle: rgba(255, 159, 10, .1);   --bs-warning-text-emphasis: #d78200;
  --bs-danger-bg-subtle: rgba(255, 59, 48, .1);     --bs-danger-text-emphasis: #ff3b30;

  --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-font-size: .875rem;    /* 14px */
  --bs-body-color: #363638;        --bs-body-color-rgb: 54, 54, 56;
  --bs-emphasis-color: #363638;
  --bs-secondary-color: #666;      /* .text-body-secondary */
  --bs-tertiary-color: #aaa;       /* .text-body-tertiary  */
  --bs-secondary-bg: #f5f5f5;
  --bs-tertiary-bg: #f9f9f9;
  --bs-border-color: #e6e6e6;
  --bs-border-radius: .5rem;       /* 8px  */
  --bs-border-radius-sm: .25rem;   /* 4px  */
  --bs-border-radius-lg: 1rem;     /* 16px */
  --bs-border-radius-xl: 1.5rem;   /* 24px */
  --bs-link-color: #448aff;        --bs-link-color-rgb: 68, 138, 255;
  --bs-link-hover-color: #1f57b6;  --bs-link-hover-color-rgb: 31, 87, 182;
  --bs-heading-color: #363638;
  --bs-focus-ring-color: rgba(68, 138, 255, .35);
}

body { -webkit-font-smoothing: antialiased; }
/* [hidden] must win over Bootstrap display utilities (.d-flex etc. are also !important) */
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.25; margin-bottom: 0; }
p { margin-bottom: 0; }
img, svg { max-width: 100%; }
::placeholder { color: var(--ep-subtle) !important; }

/* Content width 1040px (design grid) */
@media (min-width: 1200px) { .container { max-width: calc(1040px + var(--bs-gutter-x)); } }
@media (max-width: 575.98px) { .container { --bs-gutter-x: 2.5rem; } }  /* 20px side padding on phones, as in the design */
.container-narrow { max-width: calc(800px + var(--bs-gutter-x)); }

/* Icons (Lucide sprite) */
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon--xs { width: 14px; height: 14px; vertical-align: -2px; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* A3. Buttons ------------------------------------------------------------ */
.btn {
  --bs-btn-font-size: .875rem; --bs-btn-font-weight: 600; --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .5625rem;
  --bs-btn-border-radius: .5rem; --bs-btn-focus-box-shadow: 0 0 0 3px rgba(68, 138, 255, .35);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; }
.btn-sm { --bs-btn-font-size: .8125rem; --bs-btn-padding-y: .375rem; --bs-btn-padding-x: .75rem; --bs-btn-border-radius: .375rem; }
.btn-lg { --bs-btn-font-size: 1rem; --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1.5rem; --bs-btn-border-radius: .375rem; }
.btn-primary {
  --bs-btn-bg: #448aff; --bs-btn-border-color: #448aff; --bs-btn-hover-bg: #2f78f0; --bs-btn-hover-border-color: #2f78f0;
  --bs-btn-active-bg: #1f57b6; --bs-btn-active-border-color: #1f57b6;
  --bs-btn-disabled-bg: #e6e6e6; --bs-btn-disabled-border-color: #e6e6e6; --bs-btn-disabled-color: #aaa; --bs-btn-disabled-opacity: 1;
}
.btn-secondary {
  --bs-btn-bg: #1f57b6; --bs-btn-border-color: #1f57b6; --bs-btn-hover-bg: #1a4ca0; --bs-btn-hover-border-color: #1a4ca0;
  --bs-btn-active-bg: #163f86; --bs-btn-active-border-color: #163f86;
}
.btn-outline-primary {
  --bs-btn-color: #448aff; --bs-btn-border-color: #448aff; --bs-btn-hover-color: #448aff; --bs-btn-hover-bg: rgba(68, 138, 255, .1);
  --bs-btn-hover-border-color: #448aff; --bs-btn-active-color: #fff; --bs-btn-active-bg: #448aff; --bs-btn-active-border-color: #448aff;
  background: #fff;
}
.btn-outline-secondary {
  --bs-btn-color: #1f57b6; --bs-btn-border-color: #1f57b6; --bs-btn-hover-color: #1f57b6; --bs-btn-hover-bg: rgba(68, 138, 255, .1);
  --bs-btn-hover-border-color: #1f57b6; --bs-btn-active-color: #fff; --bs-btn-active-bg: #1f57b6; background: #fff;
}
.btn-danger { --bs-btn-bg: #ff3b30; --bs-btn-border-color: #ff3b30; --bs-btn-hover-bg: #e8352b; --bs-btn-hover-border-color: #e8352b; --bs-btn-active-bg: #d42f26; }
.btn-link { --bs-btn-color: #448aff; --bs-btn-hover-color: #448aff; text-decoration: none; }
.btn-link:hover { background: rgba(68, 138, 255, .1); }
.btn-link-danger { --bs-btn-color: #ff3b30; --bs-btn-hover-color: #ff3b30; }
.btn-link-danger:hover { background: rgba(255, 59, 48, .1); }
/* Brand variants Bootstrap doesn't have */
.btn-soft { --bs-btn-bg: rgba(68, 138, 255, .2); --bs-btn-color: #448aff; --bs-btn-hover-bg: rgba(68, 138, 255, .3); --bs-btn-hover-color: #448aff; --bs-btn-active-bg: rgba(68, 138, 255, .35); --bs-btn-active-color: #448aff; }
.btn-login { --bs-btn-bg: rgba(68, 138, 255, .1); --bs-btn-color: #1f57b6; --bs-btn-hover-bg: rgba(68, 138, 255, .2); --bs-btn-hover-color: #1f57b6; --bs-btn-font-weight: 500; }
.btn-gradient { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; background: var(--ep-gradient-cta); border: 0; box-shadow: 0 6px 16px rgba(68, 138, 255, .35); }
.btn-gradient:hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(68, 138, 255, .5); }
.btn-cta { --bs-btn-font-size: 1rem; --bs-btn-font-weight: 500; --bs-btn-padding-y: .75rem; --bs-btn-padding-x: 1.5rem; }
@media (min-width: 768px) { .btn-cta { --bs-btn-font-size: 1.125rem; } }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ep-spin .7s linear infinite; }

/* Square icon-only button */
.btn-icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ep-ink-2); transition: background .15s, color .15s; }
.btn-icon:hover { background: var(--ep-surface); color: var(--ep-ink); }
.btn-icon:disabled { opacity: .3; }
.btn-icon .icon { width: 18px; height: 18px; }
.btn-icon--sm { width: 28px; height: 28px; }
.btn-icon--sm .icon { width: 15px; height: 15px; }
.btn-icon--danger:hover { background: rgba(255, 59, 48, .1); color: var(--ep-danger); }
.btn-icon--bordered { width: 42px; height: 42px; border: 1px solid var(--ep-primary); border-radius: .5rem; color: var(--ep-primary); }
.btn-icon--bordered:hover { background: var(--ep-primary-soft); color: var(--ep-primary); }
.btn-icon--close { width: 42px; height: 42px; border: 1px solid var(--ep-line); border-radius: .5rem; background: #fff; color: var(--ep-muted); }

/* A4. Forms -------------------------------------------------------------- */
.form-label { margin-bottom: .5rem; font-size: .875rem; color: var(--ep-ink); }
.form-label .req { color: var(--ep-danger); font-size: .75rem; font-weight: 600; margin-left: 2px; }
.form-control, .form-select {
  min-height: 40px; padding: .4375rem .625rem; border-color: var(--ep-line); border-radius: .25rem; font-size: .875rem; color: var(--ep-ink);
}
.form-select { padding-right: 2rem; background-position: right .625rem center; }
.form-control:hover, .form-select:hover { border-color: var(--ep-primary-light); }
.form-control:focus, .form-select:focus { border-color: var(--ep-primary); box-shadow: var(--ep-focus); }
.form-control:disabled { background: var(--ep-line); color: var(--ep-subtle); }
.form-control-sm, .form-select-sm { min-height: 36px; padding-top: .3125rem; padding-bottom: .3125rem; font-size: .875rem; border-radius: .25rem; }
.form-control-lg { min-height: 44px; font-size: .875rem; border-radius: .25rem; }
textarea.form-control { line-height: 1.55; }
.form-text { font-size: .75rem; color: var(--ep-subtle); }
.invalid-feedback { font-size: .75rem; color: var(--ep-danger); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--ep-danger); background-image: none; padding-right: .625rem; }
.form-select.is-invalid { padding-right: 2rem; background-image: var(--bs-form-select-bg-img); }
.input-group-text { border-color: var(--ep-line); background: #fff; color: var(--ep-muted); font-size: .875rem; border-radius: .25rem; }
.input-group > .input-group-text + .form-control { border-left: 0; padding-left: 0; }
.input-group:focus-within > .input-group-text { border-color: var(--ep-primary); }
.input-group:focus-within > .form-control { box-shadow: none; }
.input-group:focus-within { border-radius: .25rem; box-shadow: var(--ep-focus); }
.input-group-text .icon { width: 16px; height: 16px; color: var(--ep-subtle); }

.form-check { display: flex; align-items: center; gap: .625rem; min-height: auto; padding-left: 0; margin-bottom: 0; }
.form-check .form-check-input { float: none; margin: 0; flex-shrink: 0; }
.form-check-input { width: 1.25rem; height: 1.25rem; border: 2px solid var(--ep-primary); cursor: pointer; }
.form-check-input:checked { background-color: var(--ep-primary); border-color: var(--ep-primary); }
.form-check-input:focus { border-color: var(--ep-primary); box-shadow: 0 0 0 3px rgba(68, 138, 255, .35); }
.form-check-input[type='radio'] { width: 1.375rem; height: 1.375rem; }
.form-check-input[type='radio']:checked { background-color: #fff; background-image: radial-gradient(circle, var(--ep-primary) 0 45%, transparent 48%); }
.form-check-label { cursor: pointer; font-size: 1rem; }
.form-check--sm .form-check-label { font-size: .875rem; }
.form-check--sm .form-check-input { width: 1.125rem; height: 1.125rem; }
.is-invalid .form-check-input, .form-check-input.is-invalid { border-color: var(--ep-danger); }
.choice-row { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.choice-row--field { align-items: center; min-height: 40px; }
fieldset legend { float: none; }

/* Pill choices (radio styled as chips: btn-check + .btn-chip) */
.btn-chip { --bs-btn-padding-y: .25rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: .9375rem; --bs-btn-font-weight: 500; --bs-btn-border-radius: 999px;
  --bs-btn-color: #448aff; --bs-btn-border-color: #448aff; --bs-btn-hover-color: #448aff; --bs-btn-hover-bg: rgba(68, 138, 255, .1); --bs-btn-hover-border-color: #448aff;
  --bs-btn-active-bg: #448aff; --bs-btn-active-border-color: #448aff; --bs-btn-active-color: #fff; border-width: 2px; }
.is-invalid .btn-chip { --bs-btn-border-color: rgba(255, 59, 48, .6); }

/* A5. Modal, offcanvas, dropdown, toast ---------------------------------- */
.modal { --bs-modal-border-width: 0; --bs-modal-border-radius: 1rem; --bs-modal-inner-border-radius: 1rem; --bs-modal-box-shadow: var(--ep-shadow-modal);
  --bs-modal-header-padding: 1rem 1.5rem; --bs-modal-padding: 1.5rem; --bs-modal-footer-gap: .5rem; --bs-modal-width: 440px; --bs-backdrop-opacity: .4; }
.modal-md { --bs-modal-width: 560px; }
@media (min-width: 992px) { .modal-lg { --bs-modal-width: 720px; } }
.modal-header { border-bottom: 1px solid var(--ep-surface); }
.modal-title { font-size: 1rem; font-weight: 600; }
.modal-footer { padding: .75rem 1.5rem; border-top: 0; background: var(--ep-surface); }
.modal-footer > * { margin: 0; }
.btn-close { --bs-btn-close-focus-shadow: 0 0 0 3px rgba(68, 138, 255, .35); width: .75em; height: .75em; }
.modal-backdrop { --bs-backdrop-opacity: .4; }

.offcanvas { --bs-offcanvas-border-width: 0; --bs-offcanvas-box-shadow: var(--ep-shadow-modal); }
.offcanvas.offcanvas-end { --bs-offcanvas-width: 720px; max-width: 100%; }
@media (min-width: 576px) { .offcanvas.offcanvas-end { border-radius: 1.5rem 0 0 1.5rem; } }

.dropdown-menu { --bs-dropdown-font-size: .875rem; --bs-dropdown-border-color: var(--ep-line); --bs-dropdown-border-radius: .5rem; --bs-dropdown-box-shadow: var(--ep-shadow-pop);
  --bs-dropdown-link-color: var(--ep-ink); --bs-dropdown-link-hover-bg: var(--ep-surface); --bs-dropdown-link-active-bg: var(--ep-primary-soft); --bs-dropdown-link-active-color: var(--ep-ink);
  --bs-dropdown-item-padding-x: .875rem; --bs-dropdown-item-padding-y: .5rem; box-shadow: var(--bs-dropdown-box-shadow); }
.dropdown-item { display: flex; align-items: center; gap: .625rem; }
.dropdown-item .icon { width: 16px; height: 16px; color: var(--ep-ink-2); }
.dropdown-item.text-danger .icon { color: var(--ep-danger); }
.dropdown-item.text-danger:hover { background: rgba(255, 59, 48, .05); color: var(--ep-danger); }
.dropdown-toggle-plain::after { display: none; }

.toast-container { z-index: 1100; }
.toast { --bs-toast-max-width: 460px; --bs-toast-font-size: .75rem; --bs-toast-border-color: var(--ep-line); --bs-toast-border-radius: .5rem; --bs-toast-box-shadow: var(--ep-shadow-pop); --bs-toast-bg: #fff; }
.toast-body { display: flex; align-items: center; gap: .625rem; padding: .625rem .75rem; }
.toast__icon { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ep-primary); color: #fff; flex-shrink: 0; }
.toast__icon .icon { width: 11px; height: 11px; stroke-width: 3; }
.toast--error .toast__icon { background: var(--ep-danger); }

/* A6. Badges, progress, nav ------------------------------------------------ */
.badge { --bs-badge-font-size: .8125rem; --bs-badge-font-weight: 400; --bs-badge-padding-x: .75rem; --bs-badge-padding-y: .25rem; --bs-badge-border-radius: .5rem;
  --bs-badge-color: var(--ep-ink); display: inline-flex; align-items: center; gap: 4px; line-height: 1.5; }
.progress { --bs-progress-height: 8px; --bs-progress-bg: var(--ep-line); --bs-progress-border-radius: 999px; }
.progress-sm { --bs-progress-height: 6px; }
.progress-bar-brand { background: linear-gradient(90deg, var(--ep-secondary), var(--ep-primary)); border-radius: inherit; }
.nav-underline { --bs-nav-underline-gap: 0; --bs-nav-underline-border-width: 2px; --bs-nav-underline-link-active-color: var(--ep-primary); --bs-nav-link-hover-color: var(--ep-primary); --bs-nav-link-color: var(--ep-ink); --bs-nav-link-font-size: .9375rem; }
.alert { --bs-alert-padding-y: .5rem; --bs-alert-padding-x: .75rem; --bs-alert-border-radius: .25rem; --bs-alert-margin-bottom: 1.5rem; font-size: .875rem; }
.alert-danger { --bs-alert-bg: rgba(255, 59, 48, .1); --bs-alert-color: #ff3b30; --bs-alert-border-color: transparent; }
.alert-info { --bs-alert-bg: var(--ep-primary-soft); --bs-alert-color: var(--ep-secondary); --bs-alert-border-color: transparent; font-size: .75rem; }

@keyframes ep-spin { to { transform: rotate(360deg); } }
@keyframes ep-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ==========================================================================
   PART B — Epployee components
   ========================================================================== */

/* B1. Header & footer ---------------------------------------------------- */
.page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.page__main { flex: 1; }
.site-header { position: sticky; top: 0; z-index: 1020; background: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled, .site-header--auth { box-shadow: 0 1px 0 var(--ep-line), 0 4px 12px rgba(0, 0, 0, .04); }
.site-header__inner { height: 72px; }
@media (min-width: 768px) { .site-header__inner { height: 88px; } }
.site-header--auth .site-header__inner { height: 84px; }
.site-header__logo img { display: block; height: 28px; width: auto; }
@media (min-width: 768px) { .site-header__logo img { height: 32px; } }
.btn-header-link { --bs-btn-font-size: .75rem; --bs-btn-font-weight: 500; --bs-btn-padding-x: .75rem; border-width: 2px; }
@media (min-width: 768px) { .btn-header-link { --bs-btn-font-size: .875rem; } }

/* Guest / signed-in visibility (demo: body.is-auth is toggled by main.js) */


.user-chip { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 8px; border: 1px solid var(--ep-primary-light); border-radius: 12px; background: var(--ep-primary-soft); transition: background .15s; }
.user-chip:hover, .user-chip.show { background: var(--ep-primary-tint); }
.user-chip__name { display: none; flex: 1; text-align: left; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip__chev { display: none; width: 16px; height: 16px; color: var(--ep-subtle); transition: transform .2s; }
.user-chip.show .user-chip__chev { transform: rotate(90deg); }
@media (min-width: 576px) { .user-chip { width: 240px; padding: 0 12px; } .user-chip__name, .user-chip__chev { display: block; } }
.user-menu .dropdown-menu { width: 240px; padding: 12px; border-radius: 12px; }
.user-menu .dropdown-item { padding: 10px 8px; font-size: .9375rem; border-radius: 6px; }

.avatar { position: relative; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ep-primary), var(--ep-secondary)); color: #fff; font-weight: 600; font-size: 12px; }
.avatar--40 { width: 40px; height: 40px; font-size: 15px; }
.avatar--120 { width: 120px; height: 120px; font-size: 40px; box-shadow: 0 0 0 4px var(--ep-primary-soft); }
.avatar__status { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: var(--ep-success); }

.site-footer__top { padding: 40px 0; background: var(--ep-surface-2); text-align: center; }
.site-footer__brand { font-size: 18px; font-weight: 600; }
.social-links a { display: flex; padding: 8px; border-radius: 6px; color: var(--ep-primary); }
.social-links a:hover { background: var(--ep-primary-soft); }
.powered-bar { padding: 12px 16px; background: var(--ep-gradient-brand); color: #fff; text-align: center; font-size: 16px; font-weight: 600; }

/* B2. Shared bits -------------------------------------------------------- */
.hero-band { padding: 24px 0; background: var(--ep-secondary); color: #fff; text-align: center; }
.hero-band__title { font-size: 24px; color: #fff; }
.hero-band__subtitle { margin-top: 4px; }
@media (min-width: 768px) { .hero-band { padding: 27px 0; } .hero-band__title { font-size: 28px; line-height: 36px; } .hero-band__subtitle { font-size: 16px; } }
.dot { display: inline-block; width: 4px; height: 4px; margin-inline: 8px; border-radius: 50%; background: currentColor; opacity: .6; vertical-align: middle; }
.pill { display: inline-block; padding: 1px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ep-primary); color: var(--ep-primary); font-weight: 500; }
.link-muted { color: var(--ep-muted); text-decoration: underline; }
.link-muted:hover { color: var(--ep-ink); }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 56px 24px; border: 1px dashed var(--ep-primary-light); border-radius: 1rem; background: rgba(68, 138, 255, .04); text-align: center; }
.empty-state__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--ep-primary-soft); color: var(--ep-primary); }
.icon-circle { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ep-primary-soft); color: var(--ep-primary); }

/* B3. Jobs listing ------------------------------------------------------- */
.jobs-page { display: flex; flex-direction: column; gap: 32px; padding-top: 20px; padding-bottom: 80px; }
.filter-bar .form-control, .filter-bar .form-select { font-size: .75rem; }
.filter-bar .form-select.has-value { color: var(--ep-secondary); font-weight: 500; }
@media (min-width: 992px) { .filter-bar .form-select { width: 200px; } }
.btn-all-filter { --bs-btn-font-size: .75rem; --bs-btn-font-weight: 400; --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .5rem; --bs-btn-border-radius: .25rem;
  --bs-btn-bg: rgba(68, 138, 255, .1); --bs-btn-color: #1f57b6; --bs-btn-border-color: var(--ep-line); --bs-btn-hover-bg: rgba(68, 138, 255, .2); --bs-btn-hover-color: #1f57b6; --bs-btn-hover-border-color: var(--ep-line); min-height: 40px; }
.btn-all-filter .icon { width: 14px; height: 14px; }
.filter-count { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ep-primary); color: #fff; font-size: 10px; font-weight: 600; }
.results-count { font-size: 16px; font-weight: 600; line-height: 20px; color: var(--ep-muted); }
.results-count--dark { color: var(--ep-ink); }
.sort-select { width: 130px !important; min-height: 36px; font-size: .75rem; }
@media (min-width: 576px) { .sort-select { width: 150px !important; } }
.view-toggle .btn { --bs-btn-padding-x: 0; --bs-btn-padding-y: 0; --bs-btn-border-radius: .25rem; --bs-btn-color: var(--ep-ink); --bs-btn-border-color: var(--ep-line); --bs-btn-hover-border-color: var(--ep-primary-light); --bs-btn-hover-bg: #fff;
  width: 36px; height: 36px; }
.view-toggle .btn[aria-pressed='true'] { --bs-btn-bg: var(--ep-primary); --bs-btn-border-color: var(--ep-primary); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--ep-primary); --bs-btn-hover-color: #fff; }
.view-toggle .icon { width: 14px; height: 14px; }
.filter-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--ep-primary-soft); color: var(--ep-secondary); font-size: 12px; }
.filter-chip button { display: flex; padding: 2px; border: 0; border-radius: 50%; background: none; color: inherit; }
.filter-chip button:hover { background: var(--ep-primary-tint); }
.filter-chip .icon { width: 12px; height: 12px; }

/* Job card — one markup, two layouts (grid / list) via CSS grid areas */
.job-results { display: grid; gap: 24px; }
.job-results--grid { grid-template-columns: 1fr; }
@media (min-width: 576px) { .job-results--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .job-results--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.job-card { display: grid; gap: 12px 16px; padding: 20px; border: 1px solid var(--ep-primary-light); border-radius: 1rem; color: var(--ep-ink); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.job-card:hover { transform: translateY(-2px); border-color: var(--ep-primary); box-shadow: 0 8px 24px rgba(68, 138, 255, .18); color: var(--ep-ink); }
.job-card:hover .job-card__title { text-decoration: underline; }
.job-card__logo { grid-area: logo; width: 48px; height: 48px; object-fit: contain; }
.job-card__time { grid-area: time; justify-self: end; align-self: center; color: rgba(54, 54, 56, .5); }
.job-card__time--fresh { color: var(--ep-success); font-weight: 500; }
.job-card__head { grid-area: head; display: flex; flex-direction: column; gap: 4px; }
.job-card__title { font-size: 18px; font-weight: 600; color: var(--ep-primary); }
.job-card__tags { grid-area: tags; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.job-card__salary { grid-area: salary; display: flex; flex-direction: column; gap: 4px; }
.job-card__amount { font-size: 20px; font-weight: 700; white-space: nowrap; }
.job-card__period { font-size: 16px; color: var(--ep-muted); }
.job-results--grid .job-card { grid-template-columns: auto 1fr; grid-template-areas: 'logo time' 'head head' 'tags tags' 'salary salary'; grid-template-rows: auto auto 1fr auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(68, 138, 255, .15) 100%); }
.job-results--grid .job-card__head { margin-top: 4px; }
.job-results--grid .job-card__salary { padding-top: 12px; border-top: 1px solid rgba(68, 138, 255, .5); }
.job-results--list .job-card { grid-template-columns: auto 1fr; grid-template-areas: 'logo head' 'logo tags' 'salary salary'; padding: 12px 20px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(68, 138, 255, .15) 100%); }
.job-results--list .job-card__time { display: none; }
.job-results--list .job-card__company { font-size: 16px; }
.job-results--list .job-card__salary { flex-direction: row; align-items: baseline; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(68, 138, 255, .3); }
@media (min-width: 576px) {
  .job-results--list .job-card { grid-template-columns: auto 1fr auto; grid-template-areas: 'logo head salary' 'logo tags salary'; gap: 8px 20px; align-items: center; }
  .job-results--list .job-card__salary { flex-direction: column; align-items: flex-end; gap: 4px; padding: 0; border: 0; }
}
@media (min-width: 992px) { .job-results--list .job-card .badge { --bs-badge-font-size: 1rem; } }
.load-more__info { font-size: 12px; color: var(--ep-muted); }

/* "More Job Filters" modal */
.adv-filter__group-title { margin-bottom: 1rem; font-size: 1rem; font-weight: 500; }
.adv-filter .form-label { font-size: 1rem; font-weight: 500; }
.adv-filter .form-control { min-height: 44px; }

/* B4. Job detail (offcanvas) --------------------------------------------- */
.job-detail { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 24px; }
@media (min-width: 576px) { .job-detail { padding: 40px; } }
.job-detail__close { position: absolute; top: 24px; right: 24px; }
@media (min-width: 576px) { .job-detail__close { top: 40px; right: 40px; } }
.job-detail__logo { width: 80px; height: 80px; object-fit: contain; border-radius: .5rem; }
.job-detail__title { margin-top: 12px; font-size: 24px; line-height: 32px; }
.job-detail__company { font-size: 16px; }
.job-detail__facts p { display: flex; align-items: center; gap: 12px; color: var(--ep-muted); }
.job-detail__article { line-height: 26px; }
.job-detail__article h3 { margin-top: 24px; font-size: 14px; font-weight: 700; }
.job-detail__article ul, .job-detail__article ol { margin-bottom: 0; padding-left: 20px; }
.match-hint { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; border: 1px dashed var(--ep-primary-light); border-radius: 12px; background: rgba(68, 138, 255, .05); color: var(--ep-secondary); text-align: left; }
.match-hint:hover { background: var(--ep-primary-soft); }
.match-hint .icon { color: var(--ep-primary); }
.share-menu .dropdown-menu { width: 200px; }
.share-menu .dropdown-item { font-size: 12px; }
.brand-square { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; }
.brand-square .icon { width: 11px; height: 11px; color: #fff !important; }
.brand-square--linkedin { background: #0a66c2; }
.brand-square--whatsapp { background: #25d366; }
.brand-square--x { background: #1d9bf0; }

/* "Masuk/Daftar" prompt */
.btn-provider { display: flex; align-items: center; gap: 8px; width: 100%; height: 44px; padding: 2px; border: 0; border-radius: 6px; font-size: 16px; font-weight: 600; text-decoration: none; }
.btn-provider__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; }
.btn-provider__icon img { width: 24px; height: 24px; }
.btn-provider__label { flex: 1; padding-right: 40px; text-align: center; }
.btn-provider--google { background: #1a73e8; color: #fff; }
.btn-provider--google:hover { background: #1765cc; color: #fff; }
.btn-provider--google .btn-provider__icon { background: #fff; }
.btn-provider--email { border: 1px solid var(--ep-line); background: #fff; color: var(--ep-ink); }
.btn-provider--email:hover { background: var(--ep-surface-2); color: var(--ep-ink); }
.btn-provider.is-loading { opacity: .85; pointer-events: none; }

/* B5. Company pages ------------------------------------------------------ */
.company-hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; overflow: hidden; }
@media (min-width: 768px) { .company-hero { min-height: 0; aspect-ratio: 16 / 9; max-height: 810px; } }
.company-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.company-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.company-hero__content { position: relative; z-index: 1; max-width: 739px; padding: 64px 20px; }
.company-hero__logo { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; padding: 12px; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
@media (min-width: 768px) { .company-hero__logo { width: 128px; height: 128px; } }
.company-hero__title { font-size: 30px; color: #fff; }
@media (min-width: 768px) { .company-hero__title { font-size: 48px; line-height: 57.6px; } }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section--gray { background: var(--ep-surface-2); }
.section__title { font-size: 24px; }
.section__lead { margin-top: 4px; font-size: 16px; }
@media (min-width: 768px) { .section__title { font-size: 28px; } .section__lead { font-size: 18px; } }
.company-about { font-size: 16px; }
@media (min-width: 768px) { .company-about { font-size: 18px; text-align: justify; } }
.feature__img { width: 100%; aspect-ratio: 508 / 286; object-fit: cover; border-radius: .5rem; }
.feature--3 .feature__img { aspect-ratio: 331 / 186; }
.feature__title { font-size: 20px; }
.feature__text { font-size: 16px; }
@media (min-width: 768px) { .feature__title { font-size: 24px; } .feature__text { font-size: 18px; } }
.opening { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border-radius: 1rem; background: var(--ep-surface-2); color: var(--ep-ink); text-align: center; text-decoration: none; box-shadow: inset 0 0 0 1px transparent; transition: background .15s, box-shadow .15s; }
.opening:hover { background: var(--ep-primary-soft); box-shadow: inset 0 0 0 1px var(--ep-primary-light); color: var(--ep-ink); }
.opening:hover .opening__title { text-decoration: underline; }
.opening__title { font-size: 20px; font-weight: 600; color: var(--ep-primary); }
@media (min-width: 768px) { .opening__title { font-size: 24px; } .opening__meta { font-size: 18px; } }
.company-jobs-head img { width: 48px; height: 48px; object-fit: contain; }
.company-jobs-head h1 { font-size: 20px; font-weight: 400; }
@media (min-width: 768px) { .company-jobs-head { gap: 28px !important; } .company-jobs-head img { width: 64px; height: 64px; } .company-jobs-head h1 { font-size: 28px; } }
.company-jobs-bar .form-select { font-size: .75rem; }
@media (min-width: 768px) { .company-jobs-bar .form-select { width: 200px; } }

/* B6. Apply & success ---------------------------------------------------- */
.job-band { padding: 56px 20px 40px; background: var(--ep-primary-soft); text-align: center; }
@media (min-width: 768px) { .job-band { padding-top: 140px; } }
.job-band__logo { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 24px; padding: 8px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.job-band__title { font-size: 24px; line-height: 32px; }
.job-band__meta { margin-top: 12px; font-size: 16px; font-weight: 600; }
@media (min-width: 768px) { .job-band__title { font-size: 28px; } .job-band__meta { font-size: 18px; } }
.job-band__meta .dot { width: 8px; height: 8px; margin-inline: 20px; background: var(--ep-subtle); opacity: 1; }
.job-band__location { margin-top: 12px; font-size: 16px; color: var(--ep-subtle); }
.apply-form { display: flex; flex-direction: column; gap: 40px; padding-block: 56px; }
@media (min-width: 768px) { .apply-form { padding-block: 80px; } }
.form-section { display: flex; flex-direction: column; gap: 24px; }
.form-section__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 2px solid var(--ep-primary); }
.form-section__title { font-size: 18px; font-weight: 600; }
.success-block { display: flex; flex-direction: column; align-items: center; padding-block: 80px; text-align: center; }
.success-block__icon { display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; border: 6px solid rgba(68, 138, 255, .3); border-radius: 50%; color: var(--ep-primary); animation: ep-pop .3s ease-out; }
.success-block__icon .icon { width: 48px; height: 48px; stroke-width: 3.25; }
.success-block__back { margin-top: 40px; font-size: 20px; font-weight: 500; color: var(--ep-primary); text-decoration: none; }
.success-block__back:hover { text-decoration: underline; }

/* B7. Upload & editor ---------------------------------------------------- */
.upload { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border: 1px dashed var(--ep-primary); border-radius: .5rem; background: var(--ep-primary-soft); color: var(--ep-primary); font-weight: 600; transition: background .15s; }
.upload:hover, .upload.is-dragging { background: var(--ep-primary-tint); }
.is-invalid .upload { border-color: var(--ep-danger); background: rgba(255, 59, 48, .05); }
.upload-file { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border: 1px solid var(--ep-primary-light); border-radius: .5rem; }
.upload-file--progress { border-color: var(--ep-primary); background: var(--ep-primary-soft); }
.upload-file__type { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; background: rgba(255, 59, 48, .1); color: var(--ep-danger); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.upload-file__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-file__meta { font-size: 12px; color: var(--ep-success-ink); }
.upload-file--progress .upload-file__meta { color: var(--ep-muted); }
.upload-file .progress { --bs-progress-bg: #fff; --bs-progress-height: 6px; margin-top: 6px; }
.editor { overflow: hidden; border: 1px solid var(--ep-line); border-radius: .25rem; }
.editor:focus-within { border-color: var(--ep-primary); box-shadow: var(--ep-focus); }
.is-invalid .editor { border-color: var(--ep-danger); }
.editor__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; border-bottom: 1px solid var(--ep-line); background: var(--ep-surface-2); }
.editor__tool { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--ep-line); border-radius: 4px; background: #fff; }
.editor__tool:hover { background: var(--ep-surface); }
.editor__tool[aria-pressed='true'] { border-color: var(--ep-primary-light); background: var(--ep-primary-soft); color: var(--ep-primary); }
.editor__tool .icon { width: 14px; height: 14px; }
.editor__sep { width: 1px; height: 20px; margin: 0 4px; background: var(--ep-line); }
.editor__link { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid var(--ep-line); }
.editor__link .form-control { min-height: 28px; padding: 2px 8px; font-size: 12px; }
.editor__area { min-height: 190px; padding: 12px; line-height: 1.6; outline: none; }
.editor__area:empty::before { content: attr(data-placeholder); color: var(--ep-subtle); pointer-events: none; }
.editor__area ul, .editor__area ol { padding-left: 20px; }
.editor__count { padding: 6px 12px; border-top: 1px solid var(--ep-surface); text-align: right; font-size: 11px; color: var(--ep-subtle); }

/* B8. Auth & OTP --------------------------------------------------------- */
.auth-page { background: #f4f4f4; }
.auth-main { flex: 1; padding: 40px 16px; }
@media (min-width: 768px) { .auth-main { padding: 64px 16px; } }
.auth-card { width: 100%; max-width: 520px; padding: 32px 24px; border-radius: 1.5rem; background: #fff; animation: ep-pop .2s ease-out; }
@media (min-width: 576px) { .auth-card { padding: 40px; } }
.auth-card__title { margin-bottom: 32px; font-size: 28px; line-height: 32px; font-weight: 700; }
.demo-hint { width: 100%; max-width: 520px; padding: 12px 16px; border: 1px solid rgba(68, 138, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .7); font-size: 12px; color: var(--ep-ink-2); }
.demo-hint .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--ep-primary); }
.demo-hint code { color: inherit; font-size: inherit; }
.demo-hint button { white-space: nowrap; padding: 0; border: 0; background: none; font-weight: 600; color: var(--ep-primary); text-decoration: underline; }
.otp { display: flex; flex-direction: column; align-items: center; text-align: center; }
.otp__title { font-size: 28px; line-height: 36px; font-weight: 700; }
.otp__title span { color: var(--ep-primary); }
.otp__email { color: var(--ep-secondary); font-weight: 600; word-break: break-all; }
.otp__boxes { display: flex; justify-content: center; gap: 8px; }
@media (min-width: 576px) { .otp__boxes { gap: 12px; } }
.otp__box { width: 48px; height: 48px; border: 1px solid transparent; border-radius: .5rem; background: var(--ep-surface); text-align: center; font-size: 20px; font-weight: 600; outline: none; transition: border-color .15s, background .15s; }
@media (min-width: 576px) { .otp__box { width: 64px; height: 64px; } }
.otp__box:focus { border-color: var(--ep-primary); background: #fff; }
.otp[data-state='error'] .otp__box { border-color: var(--ep-danger); background: #fff; }
.otp[data-state='success'] .otp__box { border-color: var(--ep-success); background: #fff; }
.otp__status { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 46px; margin-top: 32px; }
.otp__status > * { display: none; }
.otp[data-state='verifying'] .otp__msg--verifying, .otp[data-state='success'] .otp__msg--success, .otp[data-state='error'] .otp__msg--error { display: flex; align-items: center; gap: 8px; }
.otp:not([data-state='success']) .otp__resend { display: block; }
.otp__status > .otp__msg--hint:not(:empty) { display: block; }
.otp__msg--verifying { color: var(--ep-ink-2); }
.otp__msg--success { color: var(--ep-success-ink); }
.otp__msg--error { color: var(--ep-danger); }
.otp__resend { color: var(--ep-ink-2); }
.otp__resend button { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; }
.otp[data-state='error'] .otp__resend button, .otp[data-state='error'] .otp__back { color: var(--ep-primary); }
.otp__back { margin-top: 24px; padding: 0; border: 0; background: none; color: var(--ep-ink-2); text-decoration: underline; }

/* B9. Profile ------------------------------------------------------------ */
.profile-header__name { font-size: 18px; font-weight: 600; }
.profile-header__line .icon { width: 15px; height: 15px; color: var(--ep-subtle); }
.btn__count { padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .25); font-size: 11px; }
.profile-socials a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; color: var(--ep-primary); }
.profile-socials a:hover { background: var(--ep-primary-soft); }
.profile-socials .icon { width: 16px; height: 16px; }
.profile-tabs { margin-top: 24px; margin-bottom: -1px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.profile-tabs::-webkit-scrollbar { display: none; }
.profile-tabs .nav-item { flex: 1; min-width: 120px; }
.profile-tabs .nav-link { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; padding: 12px; white-space: nowrap; }
.profile-tabs .nav-link .icon { width: 16px; height: 16px; }
.profile-panels { padding: 16px 0 64px; background: var(--ep-primary-soft); }
.profile-panels .card { --bs-card-border-width: 0; --bs-card-spacer-y: 1.25rem; --bs-card-spacer-x: 1.25rem; }
@media (min-width: 576px) { .profile-panels .card { --bs-card-spacer-y: 1.5rem; --bs-card-spacer-x: 1.5rem; } }
.card-title { font-size: 18px; font-weight: 600; margin-bottom: 0; }
.card-note { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--ep-line); font-size: 12px; color: var(--ep-muted); }
@media (min-width: 992px) { .col-lg-side { flex: 0 0 auto; width: 316px; } }
.kv dt { font-size: 13px; font-weight: 400; color: var(--ep-subtle); }
.kv dd { margin-bottom: 0; }

/* Job-seeking status */
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 6px 2px 10px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 500; box-shadow: inset 0 0 0 1px currentColor; }
.status-badge .icon { width: 14px; height: 14px; transition: transform .2s; }
.status-badge.show .icon { transform: rotate(180deg); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status--active { background: rgba(38, 185, 114, .1); color: var(--ep-success-ink); }
.status--passive { background: var(--ep-primary-soft); color: var(--ep-secondary); }
.status--freelance { background: rgba(255, 159, 10, .1); color: var(--ep-warning-ink); }
.status--inactive { background: var(--ep-surface); color: var(--ep-muted); }
.status-menu { width: min(300px, calc(100vw - 40px)); padding: 6px; border-radius: 12px; }
.status-option { align-items: flex-start !important; padding: 8px 10px; border-radius: .5rem; white-space: normal; }
.status-option[aria-selected='true'] { background: var(--ep-primary-soft); }
.status-option .status-dot { width: 8px; height: 8px; margin-top: 6px; }
.status-option__title { display: block; font-weight: 500; }
.status-option__desc { display: block; font-size: 12px; line-height: 1.35; color: var(--ep-muted); }
.status-option__check { margin-top: 2px; color: var(--ep-primary) !important; visibility: hidden; }
.status-option[aria-selected='true'] .status-option__check { visibility: visible; }
.dot-active { color: var(--ep-success); } .dot-passive { color: var(--ep-primary); } .dot-freelance { color: var(--ep-warning); } .dot-inactive { color: var(--ep-subtle); }

.p-list { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; }
.p-item { position: relative; display: flex; gap: 12px; }
.p-item__body { flex: 1; min-width: 0; }
.p-item__title { font-size: 15px; font-weight: 600; }
.p-item__meta { margin-top: 6px; font-size: 13px; color: var(--ep-subtle); }
.p-item__meta:empty, .p-item__sub:empty { display: none; }
.p-item__level { display: flex; align-items: center; gap: 12px; margin-top: 4px; color: var(--ep-subtle); }
.p-item__bullets { margin: 8px 0 0; padding-left: 20px; }
.p-item__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; text-decoration: none; }
.p-item__link:hover { text-decoration: underline; }
.p-item--timeline { padding-left: 24px; }
.p-item--timeline::before { content: ''; position: absolute; left: 1px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--ep-primary); }
.p-item--timeline:not(:last-child)::after { content: ''; position: absolute; left: 6px; top: 22px; bottom: -22px; width: 1px; background: var(--ep-line); }
.p-add { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; padding: 20px; border: 1px dashed var(--ep-primary-light); border-radius: .5rem; background: rgba(68, 138, 255, .04); color: var(--ep-primary); font-weight: 500; }
.p-add:hover { background: var(--ep-primary-soft); }
.socials-list li { display: flex; min-width: 0; align-items: center; gap: 10px; }
.socials-list a { overflow: hidden; color: var(--ep-ink); text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.socials-list a:hover { color: var(--ep-primary); text-decoration: underline; }
.socials-list .is-empty { color: var(--ep-subtle); }
.skill-row .btn-icon { width: 40px; height: 40px; background: rgba(255, 59, 48, .1); color: var(--ep-danger); }
.activity-item { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--ep-line); border-radius: .5rem; }
.activity-item img { width: 40px; height: 40px; object-fit: contain; }
.activity-item__title { font-weight: 600; text-decoration: none; }
.activity-item__title:hover { text-decoration: underline; }

/* B10. CV list & CV sheet ------------------------------------------------ */
.cv-page { padding: 32px 0 80px; background: var(--ep-surface-2); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; color: var(--ep-muted); text-decoration: none; }
.back-link:hover { color: var(--ep-primary); }
.back-link .icon { width: 16px; height: 16px; }
.cv-page__title { font-size: 24px; font-weight: 700; }
.cv-page__title span { background: linear-gradient(90deg, var(--ep-secondary), var(--ep-primary)); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: underline; text-decoration-color: var(--ep-primary-light); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cv-card { --bs-card-border-color: var(--ep-line); --bs-card-border-radius: 1rem; transition: border-color .15s; }
.cv-card:hover { border-color: var(--ep-primary-light); }
.cv-card--main { border: 2px solid var(--ep-primary-light); box-shadow: 0 4px 18px rgba(68, 138, 255, .12); }
.cv-card__thumb { align-self: flex-start; padding: 0; border: 0; border-radius: 6px; background: none; transition: transform .15s; }
.cv-card__thumb:hover { transform: scale(1.02); }
.cv-card__name { font-size: 20px; font-weight: 600; }
.cv-card__main-badge { padding: 2px 10px; border-radius: 999px; background: var(--ep-primary-soft); color: var(--ep-secondary); font-size: 12px; font-weight: 500; }
.cv-card:not(.cv-card--main) .cv-card__main-badge { display: none; }
.cv-card__dates span { display: flex; align-items: center; gap: 6px; }
.cv-card__dates .icon { width: 16px; height: 16px; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--ep-secondary); }
.cv-thumb { position: relative; display: block; flex-shrink: 0; width: 104px; height: 147px; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .15), 0 0 0 1px var(--ep-line); pointer-events: none; }
.cv-thumb .cv-sheet { transform: scale(.131); transform-origin: top left; }
.cv-preview-body { padding: 16px; background: var(--ep-surface); }
@media (min-width: 576px) { .cv-preview-body { padding: 24px; } }

/* The CV itself — ATS-friendly A4 (794 × 1123 px at 96 dpi). Keep isolated from Bootstrap type. */
.cv-sheet { width: 794px; min-height: 1123px; padding: 52px 56px; background: #fff; color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.5; text-align: left; }
.cv-sheet--breaks { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 1122px, #c9d6ee 1122px, #c9d6ee 1123px); }
.cv-sheet h1, .cv-sheet h2, .cv-sheet p { margin: 0; color: inherit; }
.cv-sheet ul { margin: 0; }
.cv-sheet__header { text-align: center; }
.cv-sheet__name { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cv-sheet__headline { margin-top: 4px !important; font-size: 14px; color: #333 !important; }
.cv-sheet__contacts { margin-top: 8px !important; font-size: 11.5px; color: #333 !important; }
.cv-sheet__sep { margin: 0 6px; color: #aaa; }
.cv-link { color: #1f57b6; text-decoration: underline; }
.cv-section { margin-top: 20px; break-inside: avoid-page; }
.cv-section__title { margin-bottom: 8px !important; padding-bottom: 4px; border-bottom: 1px solid #222; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cv-row { margin-bottom: 10px; break-inside: avoid; }
.cv-row__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cv-row__title { font-size: 12.5px; font-weight: 700; }
.cv-row__date { flex-shrink: 0; font-size: 11.5px; color: #444; }
.cv-row__sub { font-size: 12px; font-style: italic; color: #333 !important; }
.cv-bullets { margin-top: 4px !important; padding-left: 16px; font-size: 12px; line-height: 1.5; }
.cv-text, .cv-inline { font-size: 12px; line-height: 1.6; }
.cv-sep { color: #999; }
.cv-muted { color: #555; }
.cv-inline strong { font-weight: 600; }
.cv-viewer { width: 100%; }
.cv-viewer__frame { margin: 0 auto; overflow: hidden; box-shadow: 0 2px 14px rgba(0, 0, 0, .12); }
.cv-viewer__frame > .cv-sheet { transform: scale(var(--cv-scale, .5)); transform-origin: top left; }

/* B11. CV builder -------------------------------------------------------- */
.builder { display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: #fff; }
.builder__bar { z-index: 20; flex-shrink: 0; height: 56px; padding: 0 12px; border-bottom: 1px solid var(--ep-line); background: #fff; }
@media (min-width: 576px) { .builder__bar { padding: 0 16px; } }
.builder__home { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; color: var(--ep-ink-2); }
.builder__home:hover { background: var(--ep-surface); color: var(--ep-ink); }
.builder__name { display: flex; min-width: 0; align-items: center; gap: 8px; padding: 6px 8px; border: 0; border-radius: 6px; background: none; }
.builder__name:hover { background: var(--ep-surface); }
.builder__name span { overflow: hidden; font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.builder__name .icon { width: 14px; height: 14px; color: var(--ep-subtle); }
.builder__name-input { width: 220px !important; font-size: 15px !important; font-weight: 600; border-color: var(--ep-primary) !important; box-shadow: var(--ep-focus); }
.builder__saved { padding: 4px 10px; border-radius: 999px; background: rgba(38, 185, 114, .1); color: var(--ep-success-ink); font-size: 12px; }
.builder__saved .icon { width: 14px; height: 14px; }
.builder__saved.is-saving { background: var(--ep-surface); color: var(--ep-muted); }
.segmented { padding: 2px; border-radius: .5rem; background: var(--ep-surface); }
.segmented button { padding: 6px 12px; border: 0; border-radius: 6px; background: none; font-size: 12px; font-weight: 500; color: var(--ep-muted); }
.segmented button[aria-selected='true'] { background: #fff; color: var(--ep-primary); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.builder__body { display: flex; flex: 1; min-height: 0; }
.builder__editor { width: 100%; min-height: 0; flex-shrink: 0; overflow-y: auto; border-right: 1px solid var(--ep-line); }
.builder__editor-inner { display: flex; flex-direction: column; gap: 12px; padding: 12px; }
@media (min-width: 576px) { .builder__editor-inner { padding: 20px; } }
.builder__preview { display: none; flex: 1; min-width: 0; min-height: 0; flex-direction: column; background: #eef1f6; }
.builder__preview-bar { flex-shrink: 0; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--ep-line); background: #f6f8fb; font-size: 12px; color: var(--ep-muted); }
.builder__preview-bar .icon { width: 14px; height: 14px; }
.zoom button { display: flex; padding: 6px; border: 0; border-radius: 4px; background: none; color: inherit; }
.zoom button:hover { background: #fff; }
.zoom button:disabled { opacity: .4; }
.zoom__value { width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.builder__preview-scroll { flex: 1; min-height: 0; overflow: auto; padding: 16px; }
@media (min-width: 576px) { .builder__preview-scroll { padding: 32px; } }
.builder[data-view='preview'] .builder__editor { display: none; }
.builder[data-view='preview'] .builder__preview { display: flex; }
@media (min-width: 992px) { .builder__editor { display: block !important; width: 46%; max-width: 640px; } .builder__preview { display: flex !important; } }
.source-banner { padding: 12px; border: 1px dashed var(--ep-primary); border-radius: 12px; background: var(--ep-primary-soft); }
@media (min-width: 576px) { .source-banner { padding: 12px 16px; } }
.source-banner__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: .5rem; background: #fff; color: var(--ep-primary); }
.source-banner__title { font-weight: 600; color: var(--ep-secondary); }
.source-banner__desc { font-size: 12px; color: rgba(31, 87, 182, .8); }
.completeness { padding: 12px 16px; border: 1px solid var(--ep-line); border-radius: 12px; }
.completeness .progress-label { font-size: 12px; }

/* Section panels (accordion-like; open/close handled by cv-builder.js so the header can hold other buttons) */
.b-panel { overflow: hidden; border: 1px solid var(--ep-line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s, opacity .15s; }
.b-panel.is-open { border-color: var(--ep-primary); box-shadow: 0 4px 14px rgba(68, 138, 255, .15); }
.b-panel.is-dragging { opacity: .5; }
.b-panel.is-hidden:not(.is-open) { background: var(--ep-surface-2); }
.b-panel__head { display: flex; align-items: center; gap: 8px; padding: 12px; transition: background .15s, color .15s; }
@media (min-width: 576px) { .b-panel__head { padding: 12px 16px; } }
.b-panel.is-open > .b-panel__head { background: var(--ep-secondary); color: #fff; }
.b-panel__grip { display: flex; padding: 4px; border: 0; border-radius: 4px; background: none; color: var(--ep-subtle); cursor: grab; }
.b-panel__grip:active { cursor: grabbing; }
.b-panel__grip .icon { width: 16px; height: 16px; }
.b-panel.is-open .b-panel__grip, .b-panel.is-open .btn-icon { color: rgba(255, 255, 255, .85); }
.b-panel.is-open .btn-icon:hover, .b-panel.is-open .b-panel__grip:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.b-panel__toggle { display: flex; flex: 1; min-width: 0; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.b-panel__icon { width: 18px; height: 18px; color: var(--ep-primary); }
.b-panel.is-open .b-panel__icon { color: #fff; }
.b-panel__title { overflow: hidden; font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.b-panel.is-hidden:not(.is-open) .b-panel__title { color: var(--ep-subtle); text-decoration: line-through; }
.b-panel__count { flex-shrink: 0; padding: 2px 8px; border-radius: 999px; background: var(--ep-primary-soft); color: var(--ep-secondary); font-size: 11px; font-weight: 500; }
.b-panel__count.is-zero { background: rgba(255, 59, 48, .1); color: var(--ep-danger); }
.b-panel.is-open .b-panel__count { background: rgba(255, 255, 255, .2); color: #fff; }
.b-panel__chev { transition: transform .2s; }
.b-panel.is-open .b-panel__chev { transform: rotate(180deg); }
.b-panel__eye .icon-eye-off { display: none; }
.b-panel.is-hidden .b-panel__eye .icon-eye { display: none; }
.b-panel.is-hidden .b-panel__eye .icon-eye-off { display: block; }
.b-panel__body { display: none; padding: 12px; }
@media (min-width: 576px) { .b-panel__body { padding: 16px; } }
.b-panel.is-open > .b-panel__body { display: block; }
.btn-ai { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--ep-primary-light); border-radius: 6px; background: var(--ep-primary-soft); color: var(--ep-primary); font-size: 12px; font-weight: 500; }
.btn-ai:hover { background: var(--ep-primary-tint); }
.btn-ai .icon { width: 14px; height: 14px; }
.btn-ai.is-loading .icon { animation: ep-spin 1s linear infinite; }
.b-items, .b-skills { display: flex; flex-direction: column; gap: 10px; }
.b-item { border: 1px solid var(--ep-line); border-radius: .5rem; transition: border-color .15s, background .15s; }
.b-item.is-open { border-color: var(--ep-primary-light); background: rgba(68, 138, 255, .03); }
.b-item__head { display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 12px; }
.b-item__toggle { flex: 1; min-width: 0; padding: 4px 0; border: 0; background: none; text-align: left; }
.b-item__title { display: block; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.b-item__sub { display: block; overflow: hidden; font-size: 12px; color: var(--ep-muted); white-space: nowrap; text-overflow: ellipsis; }
.b-item__sub:empty { display: none; }
.b-item__chev { transition: transform .2s; }
.b-item.is-open .b-item__chev { transform: rotate(180deg); }
.b-item__body { display: none; padding: 12px; border-top: 1px solid rgba(105, 161, 255, .6); }
.b-item.is-open .b-item__body { display: block; }
.b-item .form-label { font-size: 13px; margin-bottom: .25rem; }
.b-skill { display: grid; grid-template-columns: 1fr 130px auto; gap: 8px; }
.b-add { display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 10px; border: 1px dashed var(--ep-primary-light); border-radius: .5rem; background: none; color: var(--ep-primary); font-weight: 500; }
.b-add:hover { background: var(--ep-primary-soft); }
.b-add .icon { width: 16px; height: 16px; }

/* B12. Handoff index, 404, print ----------------------------------------- */
.handoff { padding-top: 48px; padding-bottom: 80px; }
.handoff h1 { font-size: 28px; }
.handoff h2 { margin: 40px 0 12px; font-size: 18px; }
.handoff__card { display: block; height: 100%; padding: 16px; border: 1px solid var(--ep-line); border-radius: 12px; color: var(--ep-ink); text-decoration: none; transition: border-color .15s, background .15s; }
a.handoff__card:hover, .handoff__card:has(> a:hover) { border-color: var(--ep-primary); background: var(--ep-primary-soft); }
.handoff__card strong { color: var(--ep-primary); }
.handoff__card > a { text-decoration: none; }
.handoff__card span { display: block; margin-top: 2px; font-size: 12px; color: var(--ep-muted); }
.handoff__states a { padding: 2px 8px; border-radius: 999px; background: var(--ep-surface); color: var(--ep-ink); font-size: 12px; text-decoration: none; }
.handoff__states a:hover { background: var(--ep-primary-tint); color: var(--ep-secondary); }
.not-found { padding: 112px 20px; }
.not-found__icon { width: 64px; height: 64px; margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }

.cv-print { display: none; }
@media print {
  @page { size: A4; margin: 14mm 0; }
  body > *:not(.cv-print) { display: none !important; }
  .cv-print { display: block; }
  .cv-print .cv-sheet { width: 210mm; min-height: 0; padding-top: 0; padding-bottom: 0; background: none; transform: none; }
}

/* Confirmation dialog icon */
.confirm-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 59, 48, .1); color: var(--ep-danger); box-shadow: 0 0 0 4px rgba(255, 59, 48, .15); }
.confirm-icon--warning { background: rgba(255, 159, 10, .1); color: var(--ep-warning-ink); box-shadow: 0 0 0 4px rgba(255, 159, 10, .2); }
[data-salary-error]:empty { display: none; }
.job-results--roomy .job-card__title { font-size: 20px; }
/* Password field with show/hide button inside */
.input-group--action { position: relative; }
.input-group--action > .form-control { padding-right: 2.75rem; border-radius: .25rem !important; }
.input-group--action > .btn-icon { position: absolute; top: 50%; right: 6px; z-index: 5; transform: translateY(-50%); }
.input-group--action:focus-within { box-shadow: none; }
.input-group--action > .form-control:focus { box-shadow: var(--ep-focus); }
.form-check-input.is-invalid ~ .form-check-label { color: inherit; }
.min-w-0 { min-width: 0; }
.dropdown-header { font-size: 12px; color: var(--ep-muted); }
.not-found__text { max-width: 420px; }
.handoff code { padding: 1px 5px; border-radius: 4px; background: var(--ep-surface); color: inherit; font-size: 12px; }
a{text-decoration: none !important;}




.bootstrap-select button, bootstrap-select button:hover{
  background-color: #ffffff;
  border-color: var(--ep-line) !important;
  border-radius: .25rem !important;
  font-weight: 400 !important;
}

.b-panel.is-open .b-item__head .btn-icon{
  color: #636366;
}

.btn-icon--danger{
  --bs-text-opacity: 1;
  color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}




