/* ==========================================================================
   Global Job Placement - Ceipal ATS Career Portal Stylesheet
   Harmonized with Global Job Placement Theme, Header & Footer
   ========================================================================== */

/* Portal Theme Variables */
:root {
  --cjp-primary: #182bfb;
  --cjp-primary-hover: #0d1fe8;
  --cjp-primary-light: #eff2fe;
  --cjp-accent: #10b981;
  --cjp-accent-light: #ecfdf5;
  --cjp-dark: #0f172a;
  --cjp-text: #1e293b;
  --cjp-muted: #64748b;
  --cjp-light: #94a3b8;
  --cjp-border: #e2e8f0;
  --cjp-bg: #f8fafc;
  --cjp-radius-sm: 6px;
  --cjp-radius-md: 10px;
  --cjp-radius-lg: 16px;
  --cjp-transition: all 0.2s ease-in-out;
}

/* Compact Page Banner (Short Height & Modern Layout) */
.cjp-compact-banner {
  min-height: 180px !important;
  max-height: 200px !important;
  height: 190px !important;
  padding: 24px 0 !important;
  display: flex !important;
  align-items: center !important;
  position: relative;
}

.cjp-compact-banner .page-banner__content {
  margin-bottom: 6px !important;
}

.cjp-compact-banner .transparent-text {
  font-size: 48px !important;
  line-height: 1 !important;
  top: -10px !important;
  opacity: 0.12 !important;
}

.cjp-compact-banner .page-title h1 {
  font-size: 32px !important;
  line-height: 1.2 !important;
  margin-bottom: 0 !important;
}

.cjp-compact-banner .breadcrumb {
  margin-bottom: 0 !important;
  padding: 0 !important;
  font-size: 0.88rem !important;
}

.cjp-compact-banner .page-banner__media {
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cjp-compact-banner .page-banner__media .start {
  margin-bottom: 0 !important;
  max-height: 48px !important;
}

.cjp-compact-banner .cjp-banner-img {
  max-height: 140px !important;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  object-fit: cover;
}

@media (max-width: 767px) {
  .cjp-compact-banner {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 28px 0 22px !important;
  }
  .cjp-compact-banner .page-title h1 {
    font-size: 24px !important;
  }
  .cjp-compact-banner .transparent-text {
    font-size: 34px !important;
  }
}

.ceipal-portal-wrapper {
  background-color: var(--cjp-bg);
  min-height: 80vh;
  padding: 36px 0 72px;
  position: relative;
}

/* ==========================================================================
   Top Filters Section & Card (Modern Harmonized ATS Portal Filter)
   ========================================================================== */
.cjp-top-search-section {
  background: transparent;
}

.cjp-top-filter-card {
  background: #ffffff;
  border: 1px solid var(--cjp-border);
  border-radius: var(--cjp-radius-md);
  padding: 20px 24px 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  position: relative;
  transition: var(--cjp-transition);
}

.cjp-top-filter-card:hover {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.cjp-top-filter-header {
  border-color: #f1f5f9 !important;
}

.cjp-filter-header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #eff2fe;
  color: var(--cjp-primary);
  border-radius: 8px;
  font-size: 0.92rem;
}

.cjp-top-filter-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.cjp-btn-refine-top {
  background: var(--cjp-primary);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: var(--cjp-transition);
  box-shadow: 0 2px 6px rgba(24, 43, 251, 0.2);
}

.cjp-btn-refine-top:hover {
  background: var(--cjp-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 43, 251, 0.35);
}

.cjp-btn-clear-top {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: var(--cjp-transition);
}

.cjp-btn-clear-top:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.cjp-filter-field {
  margin-bottom: 0;
}

.cjp-filter-label {
  display: block;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cjp-filter-label i {
  color: var(--cjp-primary);
}

.cjp-filter-select,
.cjp-filter-input {
  width: 100%;
  height: 42px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  transition: var(--cjp-transition);
}

.cjp-filter-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.cjp-filter-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 32px;
}

.cjp-filter-select:focus,
.cjp-filter-input:focus {
  background: #ffffff;
  border-color: var(--cjp-primary);
  box-shadow: 0 0 0 3px rgba(24, 43, 251, 0.12);
}

.cjp-filter-select:disabled,
.cjp-filter-input:disabled,
.cjp-form-select:disabled,
.cjp-form-input:disabled {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  opacity: 0.65 !important;
  box-shadow: none !important;
}

/* Fallback / legacy support for sidebar if used */
.cjp-blue-filter-card {
  background: #0016fa;
  border-radius: 8px;
  padding: 22px 18px 20px;
  box-shadow: 0 10px 25px -4px rgba(0, 22, 250, 0.32);
  margin-bottom: 24px;
}
.cjp-btn-refine {
  width: 100%;
  height: 44px;
  background: #ffffff;
  color: #0016fa;
  border: none;
  border-radius: 9999px;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: var(--cjp-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cjp-btn-clear-sidebar {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  margin-top: 12px;
  padding: 6px 0;
  display: block;
  transition: opacity 0.2s ease;
}

/* Talent Pool Card & Banner */
.cjp-talent-banner {
  background: linear-gradient(135deg, #182bfb 0%, #0016fa 100%);
  border-radius: 12px;
  padding: 26px 30px;
  box-shadow: 0 8px 24px rgba(24, 43, 251, 0.22);
}

.cjp-btn-submit-resume-banner {
  background: #ffffff;
  color: #0016fa;
  border: none;
  border-radius: 9999px;
  padding: 12px 26px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--cjp-transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cjp-btn-submit-resume-banner:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.cjp-talent-card {
  background: #ffffff;
  border: 1px solid var(--cjp-border);
  border-radius: 8px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cjp-talent-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 12px;
}

.cjp-talent-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 20px;
}

.cjp-btn-submit-resume {
  background: #0016fa;
  color: #ffffff !important;
  border-radius: 9999px;
  padding: 11px 32px;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 22, 250, 0.32);
  transition: var(--cjp-transition);
}

.cjp-btn-submit-resume:hover {
  background: #0011cc;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 22, 250, 0.45);
}

/* ==========================================================================
   Main Feed (Right Column): Search Bar & Job List
   ========================================================================== */
.cjp-search-row {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.cjp-search-icon {
  position: absolute;
  left: 18px;
  color: var(--cjp-light);
  pointer-events: none;
}

.cjp-search-input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 52px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--cjp-border);
  border-radius: var(--cjp-radius-md);
  outline: none;
  background: #ffffff;
  color: var(--cjp-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--cjp-transition);
}

.cjp-search-input:focus {
  border-color: var(--cjp-primary);
  box-shadow: 0 0 0 4px rgba(24, 43, 251, 0.12);
}

.cjp-clear-btn {
  position: absolute;
  right: 14px;
  background: #e2e8f0;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--cjp-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--cjp-transition);
}

.cjp-clear-btn:hover {
  background: #cbd5e1;
  color: var(--cjp-dark);
}

.cjp-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--cjp-muted);
  font-weight: 500;
}

.cjp-results-count {
  font-weight: 700;
  color: var(--cjp-dark);
}

.cjp-btn-search-main {
  height: 52px;
  background: #0016fa;
  color: #ffffff !important;
  border: none;
  border-radius: 9999px;
  padding: 0 24px;
  font-size: 0.98rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 22, 250, 0.32);
  transition: var(--cjp-transition);
  white-space: nowrap;
}

.cjp-btn-search-main:hover {
  background: #0011cc;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 22, 250, 0.45);
}

/* Job Cards Grid (3 Columns on Desktop - Strict Equal Height) */
.cjp-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
  align-items: stretch;
}

@media (max-width: 1199px) {
  .cjp-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .cjp-jobs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cjp-job-card {
  background: #ffffff;
  border: 1px solid var(--cjp-border);
  border-radius: 12px;
  padding: 22px 20px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 290px;
  transition: var(--cjp-transition);
}

.cjp-job-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 10px 25px -4px rgba(24, 43, 251, 0.12);
}

.cjp-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.cjp-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  max-height: 50px;
  margin-bottom: 8px;
}

.cjp-job-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--cjp-dark);
  line-height: 1.32;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cjp-job-title a {
  color: var(--cjp-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cjp-job-title a:hover {
  color: var(--cjp-primary);
}

.cjp-job-code {
  background: var(--cjp-primary-light);
  color: var(--cjp-primary);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.cjp-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 56px;
  max-height: 56px;
  overflow: hidden;
  align-content: flex-start;
  margin-bottom: 12px;
}

.cjp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.cjp-badge-loc {
  background: #f1f5f9;
  color: #475569;
  max-width: 175px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cjp-badge-country { background: #eff2fe; color: #182bfb; }
.cjp-badge-remote { background: #ecfdf5; color: #047857; }
.cjp-badge-date { background: #faf5ff; color: #7e22ce; }

.cjp-job-snippet {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cjp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.cjp-btn-details {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cjp-primary);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  white-space: nowrap;
  transition: var(--cjp-transition);
}

.cjp-btn-details:hover {
  color: var(--cjp-primary-hover);
  transform: translateX(3px);
}

.cjp-btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--cjp-primary);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(24, 43, 251, 0.2);
  transition: var(--cjp-transition);
}

.cjp-btn-apply:hover {
  background: var(--cjp-primary-hover);
  box-shadow: 0 4px 12px rgba(24, 43, 251, 0.35);
  transform: translateY(-1px);
}
  box-shadow: 0 2px 6px rgba(24, 43, 251, 0.25);
  transition: var(--cjp-transition);
}

.cjp-btn-apply:hover {
  background: var(--cjp-primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Pagination Controls
   ========================================================================== */
.cjp-pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.cjp-page-btn {
  height: 38px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid var(--cjp-border);
  border-radius: var(--cjp-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cjp-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--cjp-transition);
}

.cjp-page-btn:hover:not(:disabled) {
  border-color: var(--cjp-primary);
  color: var(--cjp-primary);
}

.cjp-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cjp-page-nums {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cjp-num-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid var(--cjp-border);
  border-radius: var(--cjp-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cjp-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--cjp-transition);
}

.cjp-num-btn:hover:not(.active):not(.ellipsis) {
  border-color: var(--cjp-primary);
  color: var(--cjp-primary);
}

.cjp-num-btn.active {
  background: var(--cjp-primary);
  color: #ffffff;
  border-color: var(--cjp-primary);
  box-shadow: 0 2px 6px rgba(24, 43, 251, 0.3);
}

.cjp-num-btn.ellipsis {
  border: none;
  background: transparent;
  cursor: default;
}

/* ==========================================================================
   States (Loading, Error, Empty)
   ========================================================================== */
.cjp-state-box {
  background: #ffffff;
  border: 1px solid var(--cjp-border);
  border-radius: var(--cjp-radius-lg);
  padding: 44px 20px;
  text-align: center;
  margin-bottom: 28px;
}

.cjp-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cjp-primary-light);
  border-top-color: var(--cjp-primary);
  border-radius: 50%;
  animation: cjp-spin 0.8s linear infinite;
  margin: 0 auto 14px;
}

@keyframes cjp-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Fully Responsive Job Details Modal (Popup)
   Works flawlessly on Mobile, Tablet & Desktop
   ========================================================================== */
.cjp-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  width: 100dvw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow: hidden;
}

.cjp-modal-overlay.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Suppress website header when modal is open so no links/logo bleed through */
body.cjp-modal-open header,
body.cjp-modal-open .header,
body.cjp-modal-open .header-1,
body.cjp-modal-open .header-3,
body.cjp-modal-open .main-header-wraper,
body.cjp-modal-open .top-header {
  z-index: 1 !important;
  pointer-events: none !important;
}

.cjp-modal-window {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 820px;
  height: 90vh;
  height: 90dvh;
  max-height: 860px;
  margin: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.cjp-modal-overlay.show .cjp-modal-window {
  transform: translateY(0) scale(1);
}

.cjp-modal-close-icon {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 40;
}

.cjp-modal-close-icon:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.cjp-modal-content-area {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  flex: 1 1 auto;
}

.cjp-modal-content-area.cjp-hidden {
  display: none !important;
}

.cjp-modal-header {
  padding: 24px 28px 18px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding-right: 72px;
  flex-shrink: 0;
}

.cjp-modal-header .cjp-modal-code {
  display: inline-block;
  background: #eef2ff;
  color: #0016fa;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.cjp-modal-header .cjp-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 10px;
}

.cjp-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cjp-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.cjp-modal-body::-webkit-scrollbar {
  width: 6px;
}

.cjp-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.cjp-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.cjp-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}

.cjp-spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef2ff;
  color: #0016fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.cjp-spec-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cjp-spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.cjp-spec-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cjp-desc-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0016fa;
  display: inline-block;
}

.cjp-desc-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cjp-desc-content * {
  max-width: 100% !important;
}

.cjp-desc-content p {
  margin-bottom: 0.9rem;
}

.cjp-desc-content ul,
.cjp-desc-content ol {
  margin: 0.6rem 0 1.1rem 1.4rem;
  padding: 0;
}

.cjp-desc-content li {
  margin-bottom: 0.4rem;
}

.cjp-desc-content table {
  width: 100% !important;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1rem 0;
}

.cjp-modal-share {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cjp-share-btn {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: var(--cjp-transition);
}

.cjp-share-whatsapp { background: #25D366; color: #ffffff !important; }
.cjp-share-whatsapp:hover { background: #1ebc59; }
.cjp-share-linkedin { background: #0A66C2; color: #ffffff !important; }
.cjp-share-linkedin:hover { background: #0855a4; }
.cjp-share-copy { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
.cjp-share-copy:hover { background: #e2e8f0; }

.cjp-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.cjp-btn-modal-close {
  height: 42px;
  padding: 0 20px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: var(--cjp-transition);
}

.cjp-btn-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.cjp-btn-easy-apply {
  height: 40px;
  padding: 0 24px;
  background: #0016fa;
  color: #ffffff !important;
  border: none;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 22, 250, 0.32);
  transition: var(--cjp-transition);
}

.cjp-btn-easy-apply:hover {
  background: #0011cc;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 22, 250, 0.45);
}

.cjp-btn-modal-apply {
  height: 42px;
  padding: 0 26px;
  background: #0016fa;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 22, 250, 0.35);
  transition: var(--cjp-transition);
}

.cjp-btn-modal-apply:hover {
  background: #0011cc;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 22, 250, 0.45);
}

/* ==========================================================================
   Responsive Modal (Tablets & Mobile Devices)
   ========================================================================== */
@media (max-width: 768px) {
  .cjp-modal-overlay {
    padding: 12px;
  }
  .cjp-modal-window {
    height: 94vh;
    height: 94dvh;
    border-radius: 14px;
  }
  .cjp-modal-header {
    padding: 18px 20px 14px;
    padding-right: 58px;
  }
  .cjp-modal-header .cjp-modal-title {
    font-size: 1.28rem;
  }
  .cjp-modal-body {
    padding: 18px 20px;
  }
  .cjp-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }
  .cjp-modal-footer {
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .cjp-modal-overlay {
    padding: 8px;
  }
  .cjp-modal-window {
    height: 96vh;
    height: 96dvh;
    border-radius: 12px;
  }
  .cjp-modal-header {
    padding: 14px 16px 12px;
    padding-right: 48px;
  }
  .cjp-modal-close-icon {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
  .cjp-modal-header .cjp-modal-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .cjp-modal-body {
    padding: 14px 16px;
  }
  .cjp-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }
  .cjp-spec-item {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 8px;
  }
  .cjp-spec-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    border-radius: 6px;
  }
  .cjp-spec-label {
    font-size: 0.65rem;
  }
  .cjp-spec-value {
    font-size: 0.82rem;
  }
  .cjp-modal-share {
    margin-top: 16px;
    padding-top: 14px;
    gap: 8px;
  }
  .cjp-share-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .cjp-modal-footer {
    padding: 12px 16px;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .cjp-btn-modal-close,
  .cjp-btn-modal-apply {
    width: 100%;
    height: 44px;
    justify-content: center;
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.cjp-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1000000;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cjp-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Submit Resume Modal & Form Elements
   ========================================================================== */
.cjp-resume-modal-window {
  max-width: 760px;
  max-height: 90vh;
  max-height: 90dvh;
}

.cjp-resume-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.cjp-resume-subtitle {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 6px 0 0;
}

.cjp-resume-body {
  padding: 24px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.cjp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cjp-form-full {
  grid-column: 1 / -1;
}

.cjp-form-group {
  display: flex;
  flex-direction: column;
}

.cjp-form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  display: block;
}

.cjp-req {
  color: #ef4444;
  margin-left: 2px;
}

.cjp-form-input,
.cjp-form-select,
.cjp-form-textarea {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cjp-form-input:focus,
.cjp-form-select:focus,
.cjp-form-textarea:focus {
  border-color: var(--cjp-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(27, 35, 255, 0.12);
}

.cjp-form-input::placeholder,
.cjp-form-textarea::placeholder {
  color: #94a3b8;
}

.cjp-form-textarea {
  resize: vertical;
  min-height: 64px;
}

.cjp-field-error {
  color: #ef4444;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

/* Stylized File Dropzone */
.cjp-file-dropzone {
  position: relative;
  border: 2px dashed #94a3b8;
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  overflow: hidden;
}

.cjp-file-dropzone:hover,
.cjp-file-dropzone.dragover {
  border-color: var(--cjp-primary);
  background: #eff6ff;
}

.cjp-file-dropzone.has-file {
  border-color: #10b981;
  background: #ecfdf5;
}

.cjp-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.cjp-file-dropzone-content {
  pointer-events: none;
}

.cjp-upload-icon {
  font-size: 2.2rem;
  color: var(--cjp-primary);
  margin-bottom: 8px;
  display: block;
  transition: transform 0.2s;
}

.cjp-file-dropzone:hover .cjp-upload-icon {
  transform: translateY(-2px);
}

.cjp-file-dropzone.has-file .cjp-upload-icon {
  color: #10b981;
}

.cjp-upload-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
}

.cjp-upload-hint {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 4px;
}

/* Alert Boxes in Resume Modal */
.cjp-resume-alert {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.cjp-resume-alert-success {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
}

.cjp-resume-alert-error {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}

.cjp-resume-footer {
  padding: 16px 28px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 640px) {
  .cjp-resume-header {
    padding: 20px 18px 14px;
  }
  .cjp-resume-body {
    padding: 16px 18px;
  }
  .cjp-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cjp-resume-footer {
    padding: 14px 18px;
    flex-direction: column-reverse;
  }
  .cjp-resume-footer button {
    width: 100%;
  }
}
