/* ============================================================
   VOLUM TECHNOLOGIES — Career Position Detail Page
   ============================================================ */

/* ── HERO ── */
.cp-hero {
  background: #000;
  padding: 100px clamp(1.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem);
  position: relative; overflow: hidden;
}
.cp-hero::before {
  content: '';
  position: absolute; top: -150px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,152,253,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.cp-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.cp-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 400; text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 1.75rem;
}
.cp-breadcrumb a { color: rgba(255,255,255,0.32); text-decoration: none; transition: color 0.2s; }
.cp-breadcrumb a:hover { color: var(--primary); }
.cp-breadcrumb svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; }

.cp-dept {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--primary); opacity: 0.75;
  margin-bottom: 1rem;
}
.cp-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.cp-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.cp-tag {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.25rem 0.7rem;
  border-radius: 20px;
}
.cp-tag--dept     { color: var(--primary);        background: rgba(0,152,253,0.08);  border: 1px solid rgba(0,152,253,0.22); }
.cp-tag--location { color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.cp-tag--type     { color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }

/* ── BODY ── */
.cp-body-section {
  background: #000;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 4rem) clamp(6rem, 12vw, 9rem);
}
.cp-body-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 4rem; align-items: start;
}

/* ── DESCRIPTION (left) ── */
.cp-description {}
.cp-description h2 {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.9);
  margin: 2.5rem 0 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cp-description h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.cp-description p {
  font-size: 0.9rem; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,0.52);
}
.cp-description ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.cp-description ul li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.88rem; font-weight: 300; line-height: 1.65;
  color: rgba(255,255,255,0.52);
}
.cp-description ul li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); opacity: 0.6;
  flex-shrink: 0; margin-top: 0.52em;
}
.cp-description ul li strong { color: rgba(255,255,255,0.82); font-weight: 500; }

.cp-back-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 3rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35); text-decoration: none;
  transition: color 0.2s;
}
.cp-back-link:hover { color: rgba(255,255,255,0.7); }
.cp-back-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.cp-back-link:hover svg { transform: translateX(-3px); }

/* ── APPLY CARD (right, sticky) ── */
.cp-apply-card {
  position: sticky; top: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 2rem;
  background: rgba(255,255,255,0.018);
}
.cp-apply-title {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.cp-apply-sub {
  font-size: 0.78rem; font-weight: 300;
  color: rgba(255,255,255,0.35); line-height: 1.55;
  margin-bottom: 1.75rem;
}

/* ── FORM ── */
.cp-form { display: flex; flex-direction: column; gap: 1.1rem; }

.cp-field { display: flex; flex-direction: column; gap: 0.4rem; }
.cp-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.cp-label .cp-required {
  color: var(--primary); margin-left: 0.2rem; font-size: 0.75em;
}

.cp-input,
.cp-textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-family: inherit; font-size: 0.85rem; font-weight: 300;
  color: rgba(255,255,255,0.85);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.cp-input::placeholder, .cp-textarea::placeholder {
  color: rgba(255,255,255,0.2);
}
.cp-input:focus, .cp-textarea:focus {
  border-color: rgba(0,152,253,0.45);
  background: rgba(0,152,253,0.04);
}
.cp-input.error, .cp-textarea.error {
  border-color: rgba(255,72,143,0.5);
}
.cp-textarea {
  resize: vertical; min-height: 110px; line-height: 1.6;
}

/* File input */
.cp-file-label {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.6rem; padding: 1.25rem 1rem;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 6px; cursor: pointer;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}
.cp-file-label:hover {
  border-color: rgba(0,152,253,0.35);
  background: rgba(0,152,253,0.04);
}
.cp-file-label.has-file {
  border-color: rgba(0,152,253,0.4);
  background: rgba(0,152,253,0.06);
}
.cp-file-label.error {
  border-color: rgba(255,72,143,0.5);
}
.cp-file-label svg {
  width: 22px; height: 22px;
  stroke: rgba(255,255,255,0.3); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.cp-file-label.has-file svg { stroke: var(--primary); }
.cp-file-main {
  font-size: 0.82rem; font-weight: 400;
  color: rgba(255,255,255,0.5);
}
.cp-file-label.has-file .cp-file-main { color: rgba(255,255,255,0.8); }
.cp-file-hint {
  font-size: 0.68rem; font-weight: 300;
  color: rgba(255,255,255,0.25);
}
.cp-file-input { display: none; }

.cp-field-error {
  font-size: 0.68rem; font-weight: 400;
  color: rgba(255,72,143,0.85);
  display: none;
}
.cp-field-error.visible { display: block; }

/* Submit */
.cp-submit-btn {
  width: 100%; margin-top: 0.5rem;
  padding: 0.8rem 1.25rem;
  background: var(--primary); color: #000;
  border: none; border-radius: 6px;
  font-family: inherit; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.cp-submit-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cp-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Success / Error states */
.cp-form-success {
  padding: 1.5rem;
  border: 1px solid rgba(0,152,253,0.25);
  border-radius: 8px;
  background: rgba(0,152,253,0.06);
  text-align: center;
}
.cp-form-success-icon {
  width: 36px; height: 36px; margin: 0 auto 0.85rem;
  stroke: var(--primary); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.cp-form-success-title {
  font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem;
}
.cp-form-success-desc {
  font-size: 0.78rem; font-weight: 300;
  color: rgba(255,255,255,0.45); line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cp-body-inner { grid-template-columns: 1fr; gap: 3rem; }
  .cp-apply-card { position: static; }
}
