body { background-color: var(--bg-dark-purple); }

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark-purple); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* --- Banner --- */
.hero-section {
  background:
    linear-gradient(rgba(32, 5, 32, 0.7), rgba(32, 5, 32, 0.9)),
    url("../../images/about-us/team-1.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 85vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.accent-text { color: var(--accent); }

.label-accent {
  color: var(--accent-yellow);
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: bold;
}

.line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--accent-yellow);
  vertical-align: middle;
  margin-right: 10px;
}

.text-secondary-muted {
  color: var(--text-muted);
}

.icon-box {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(251, 176, 52, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  background: rgba(251, 176, 52, 0.05);
}

.email-link {
  color: #9cdada;
  text-decoration: none;
  font-size: 1.2rem;
}

/* --- Job Description Theme --- */
.job-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Job description panel (matches legacy “document” look on dark plum) */
.jd-content-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
}

.jd-list {
  list-style: none;
  padding: 0;
}

.jd-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

.jd-list li::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Sidebar Styling */
.sidebar-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(249, 181, 34, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
}

.perks-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.perk-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  border-left: 2px solid var(--accent);
}

.text-accent { color: var(--accent); }
.text-accent:hover { color: white; text-shadow: 0 0 10px var(--accent); }

/* Form Styling (spacing from base.css) */
.form-control, .form-select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color-page);
  color: white !important;
  border-radius: 0;
}

.form-control:focus, .form-select:focus {
  background-color: transparent;
  border-color: var(--accent-yellow);
  box-shadow: none;
}

.input-group-custom { transition: all 0.3s ease; }
.input-group-custom:focus-within .form-label { color: var(--accent-yellow) !important; }

.input-group-custom input::placeholder,
.input-group-custom textarea::placeholder {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

textarea.form-control {
  border: 1px solid var(--border-color-page);
  border-radius: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.resume-upload-box {
  border: 1px dashed var(--border-color-page);
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
  overflow: hidden;
}

.resume-upload-box:hover {
  border-color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.03);
}

.file-input { display: none; }

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.file-label i { color: var(--accent-yellow); }

/* CKEditor / admin HTML — enforce page typography over editor inline styles */
.jd-body {
  color: #9b8ba0;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
}

.jd-body * { font-family: inherit !important; }
.jd-body > *:first-child { margin-top: 0; }

.jd-body p {
  margin-bottom: 1.1rem;
  color: #9b8ba0 !important;
}

.jd-body strong,
.jd-body b {
  color: #d8cfe0 !important;
  font-weight: 700;
}

/* Match: text-white mb-4 border-start border-4 border-warning ps-3 */
.jd-body h1,
.jd-body h2,
.jd-body h3,
.jd-body h4 {
  color: #fff !important;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent-yellow);
  padding-left: 1rem;
}

.jd-body h1:first-child,
.jd-body h2:first-child,
.jd-body h3:first-child,
.jd-body h4:first-child { margin-top: 0; }

.jd-body h2 { font-size: 1.35rem; }
.jd-body h3 { font-size: 1.15rem; }
.jd-body h4 { font-size: 1.05rem; }

.jd-body ul,
.jd-body ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  color: #9b8ba0 !important;
}

.jd-body li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #9b8ba0 !important;
}

.jd-body li::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
}

.jd-body li p { margin: 0; color: inherit !important; }

.jd-body a {
  color: #3b82f6 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jd-body a:hover { color: #60a5fa !important; }

.jd-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5rem 0;
}

.jd-body blockquote {
  border-left: 3px solid rgba(249, 181, 34, 0.55);
  padding: 0.65rem 1rem 0.65rem 1.1rem;
  margin: 1.25rem 0;
  background: rgba(0, 0, 0, 0.2);
  color: #b8a8bc !important;
  font-style: italic;
}

.jd-body hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.jd-body table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: #9b8ba0;
}

.jd-body th,
.jd-body td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 0.7rem;
}

.jd-body th {
  background: rgba(0, 0, 0, 0.25);
  color: #e8e0ec !important;
  font-weight: 600;
}
