/* ==========================================================================
   WOLFY AI INSTITUTE — JOBS & CAREERS DESIGN SYSTEM
   Luxury Dark Technology & Editorial Aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   Universal Buttons & Core Utilities
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-xs, 4px);
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #e5c583 0%, #d4af37 100%);
  color: #06070a !important;
  border-color: rgba(243, 232, 200, 0.5);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f3e8c8 0%, #e5c583 100%);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
  color: #000000 !important;
}

/* Luxury Golden Navbar Button */
.btn-gold-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.48rem 1rem;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000 !important;
  background: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #b38f2a 100%);
  border: 1px solid rgba(255, 245, 200, 0.7);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold-nav:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f5d77f 50%, #d4af37 100%);
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.55);
  border-color: #ffffff;
}

.btn-gold-nav i {
  font-size: 0.76rem;
  color: #000000 !important;
}

.btn-secondary {
  background: rgba(20, 24, 34, 0.85);
  color: #f7f5f0 !important;
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(30, 36, 50, 0.95);
  border-color: var(--gold-warm, #d4af37);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  color: #ffffff !important;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Jobs Hero & Category Filter Chips
   -------------------------------------------------------------------------- */
.jobs-hero {
  padding-top: calc(var(--nav-height, 80px) + 3.5rem);
  padding-bottom: 2.5rem;
  text-align: center;
}

.jobs-hero-title {
  font-family: var(--font-serif, "Cinzel", Georgia, serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: 1rem;
  color: var(--ivory-warm, #f7f5f0);
  letter-spacing: 0.03em;
}

.jobs-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary, #94a3b8);
  max-width: 680px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.7;
}

.category-chips-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.category-chip {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  background: rgba(18, 22, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-chip:hover {
  background: rgba(30, 38, 54, 0.95);
  border-color: rgba(212, 175, 55, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.category-chip.active {
  background: linear-gradient(135deg, #e5c583 0%, #d4af37 100%);
  color: #06070a;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Search & Filter Card
   -------------------------------------------------------------------------- */
.search-filter-card {
  background: rgba(12, 15, 24, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md, 8px);
  padding: 2rem 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  margin-bottom: 3.5rem;
  backdrop-filter: blur(20px);
}

.search-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.job-search-input {
  flex: 1;
  background: rgba(6, 8, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-search-input:focus {
  border-color: var(--gold-warm, #d4af37);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.filter-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.filter-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.job-filter-select,
.form-control {
  background: rgba(6, 8, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.job-filter-select:focus,
.form-control:focus {
  border-color: var(--gold-warm, #d4af37);
}

.filters-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jobs-count-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 600;
}

.btn-reset-filters {
  background: none;
  border: none;
  color: var(--gold-warm, #d4af37);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.25rem 0.5rem;
}

.btn-reset-filters:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Job Cards Grid
   -------------------------------------------------------------------------- */
.jobs-grid-section {
  margin-bottom: 5rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.job-card {
  background: rgba(15, 19, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.15);
  background: rgba(20, 26, 42, 0.85);
}

.job-card.featured {
  border-color: rgba(212, 175, 55, 0.35);
}

.job-card.featured::before {
  content: 'FEATURED OPPORTUNITY';
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #e5c583 0%, #d4af37 100%);
  color: #06070a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.85rem;
  border-bottom-left-radius: 6px;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.employer-branding {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.employer-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(6, 8, 14, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.employer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.job-employer-name {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.verified-badge-inline {
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.job-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.25rem;
  color: #ffffff;
  line-height: 1.4;
}

.job-card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.job-card-title a:hover {
  color: var(--gold-warm, #d4af37);
}

.job-badges-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.badge {
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-intern {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-fulltime {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-warm, #d4af37);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.badge-mode {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.salary-highlight {
  color: #34d399;
  font-weight: 700;
}

.job-card-snippet {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.job-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.job-post-date {
  font-size: 0.8rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Job Detail View Page
   -------------------------------------------------------------------------- */
.job-detail-page-wrapper {
  padding-top: calc(var(--nav-height, 80px) + 2.5rem);
  padding-bottom: 6rem;
}

.job-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.job-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.job-breadcrumb a:hover {
  color: var(--gold-warm, #d4af37);
}

.crumb-separator {
  color: #475569;
}

.current-crumb {
  color: var(--gold-warm, #d4af37);
  font-weight: 600;
}

.job-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: flex-start;
}

.detail-header-card {
  background: rgba(15, 19, 30, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md, 8px);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.detail-header-top {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.employer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: #06080e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.employer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-title-group {
  flex: 1;
}

.detail-employer-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.employer-text {
  font-size: 1.05rem;
  color: #cbd5e1;
  font-weight: 600;
}

.verified-badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-warm, #d4af37);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.job-main-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.detail-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}

.job-specs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: rgba(10, 13, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.spec-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.spec-val {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.spec-val.highlight {
  color: #34d399;
  font-size: 1.15rem;
}

.job-section-block {
  background: rgba(15, 19, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.75rem;
}

.section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.role-overview-text,
.education-text {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.custom-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.custom-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.custom-bullet-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold-warm, #d4af37);
  font-weight: bold;
}

.skills-tags-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tag {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #f7f5f0;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

.google-jobs-compliance-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  color: #a7f3d0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.compliance-badge {
  color: #34d399;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Sticky Apply Sidebar */
.sticky-apply-card {
  position: sticky;
  top: calc(var(--nav-height, 80px) + 2rem);
  background: rgba(15, 19, 30, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.sidebar-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sidebar-card-subtitle {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.apply-micro-note {
  font-size: 0.76rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.65rem;
}

.sidebar-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.75rem 0;
}

.sidebar-emp-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sidebar-emp-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.employer-website-link {
  color: var(--gold-warm, #d4af37);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
}

.share-opportunity-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.share-label {
  font-size: 0.82rem;
  color: #94a3b8;
}

.btn-share-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-share-copy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.expired-alert-banner {
  display: flex;
  gap: 1.25rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  color: #fca5a5;
}

.expired-icon {
  font-size: 2rem;
}

.expired-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   Student Application Portal (jobs/apply.html)
   -------------------------------------------------------------------------- */
.job-apply-page-wrapper {
  padding-top: calc(var(--nav-height, 80px) + 3rem);
  padding-bottom: 6rem;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
}

.apply-form-container-card {
  background: rgba(15, 19, 30, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.apply-header-top {
  margin-bottom: 2rem;
  text-align: center;
}

.apply-main-heading {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.apply-subtext {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.apply-target-card {
  background: rgba(6, 8, 14, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.apply-emp-line {
  font-size: 0.85rem;
  color: var(--gold-warm, #d4af37);
  margin-bottom: 0.25rem;
}

.apply-job-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.apply-job-meta {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.45rem;
}

.required-star {
  color: #f87171;
}

.form-hint {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.file-input-control {
  padding: 0.5rem;
}

.textarea-control {
  resize: vertical;
}

.consent-agreement-card {
  background: rgba(6, 8, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
}

.consent-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.form-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.apply-success-box {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid #10b981;
  color: #10b981;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.success-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.success-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

.application-summary-card {
  background: rgba(6, 8, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1.5rem;
  max-width: 480px;
  margin: 0 auto 2.5rem auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   ADMIN & EMPLOYER MANAGEMENT TABLES (No Button Clipping)
   -------------------------------------------------------------------------- */
.admin-page-wrapper {
  padding-top: calc(var(--nav-height, 80px) + 3rem);
  padding-bottom: 6rem;
}

.admin-header-section {
  margin-bottom: 2.5rem;
}

.admin-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.admin-page-title {
  font-family: var(--font-serif, "Cinzel", Georgia, serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.admin-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 780px;
  line-height: 1.6;
}

.admin-tabs-bar {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.admin-tab-btn {
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #94a3b8;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  background: rgba(30, 38, 56, 0.9);
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.4);
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, #e5c583 0%, #d4af37 100%);
  color: #06070a;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.admin-page-wrapper .container {
  max-width: 1480px;
  width: 96%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Polished Table Container with Horizontal Scroll Isolation */
.admin-table-section {
  margin-bottom: 3rem;
}

.admin-table-container {
  background: rgba(12, 15, 24, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* Custom Sleek Scrollbar for Admin Table */
.admin-table-container::-webkit-scrollbar {
  height: 8px;
}

.admin-table-container::-webkit-scrollbar-track {
  background: rgba(6, 8, 14, 0.98);
  border-radius: 4px;
}

.admin-table-container::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 4px;
}

.admin-table-container::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.75);
}

.admin-jobs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.86rem;
}

.admin-jobs-table thead th {
  background: rgba(6, 8, 14, 0.98);
  color: var(--gold-warm, #d4af37);
  padding: 0.85rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  white-space: nowrap;
}

.admin-jobs-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.admin-jobs-table tbody tr:hover {
  background: rgba(25, 32, 50, 0.6);
}

.admin-jobs-table td {
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Sticky Action Column to Guarantee Zero Clipping */
.admin-jobs-table th:last-child,
.admin-jobs-table td:last-child {
  position: sticky;
  right: 0;
  background: #0b0f19;
  z-index: 3;
  border-left: 1px solid rgba(212, 175, 55, 0.18);
  padding: 0.85rem 1rem;
  text-align: right;
  min-width: 220px;
}

.admin-jobs-table thead th:last-child {
  background: #06080e;
  z-index: 4;
}

.admin-jobs-table tbody tr:hover td:last-child {
  background: #182033;
}

.table-job-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 170px;
}

.table-title-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.table-title-link:hover {
  color: var(--gold-warm, #d4af37);
}

.table-slug {
  font-family: monospace;
  font-size: 0.72rem;
  color: #64748b;
}

.table-employer-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 140px;
  font-weight: 600;
}

.btn-verify-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-verify-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-verify-toggle.is-verified {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

.category-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.76rem;
  color: #e2e8f0;
  white-space: nowrap;
}

.table-type {
  font-size: 0.82rem;
  color: #cbd5e1;
  white-space: nowrap;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-published {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-draft {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-closed {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-expired {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.4);
}

.table-date {
  font-size: 0.85rem;
  color: #ffffff;
  white-space: nowrap;
}

.table-expiry {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.2rem;
  white-space: nowrap;
}

/* Action Buttons in Admin & Employer Tables */
.admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.btn-action-sm {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 0.38rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-action-sm:hover {
  transform: translateY(-1px);
}

.btn-action-publish {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #34d399;
}

.btn-action-publish:hover {
  background: #10b981;
  color: #06080e;
}

.btn-action-unpublish {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fbbf24;
}

.btn-action-unpublish:hover {
  background: #f59e0b;
  color: #06080e;
}

.btn-action-close {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #f87171;
}

.btn-action-close:hover {
  background: #ef4444;
  color: #ffffff;
}

.btn-action-edit {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-warm, #d4af37);
}

.btn-action-edit:hover {
  background: var(--gold-warm, #d4af37);
  color: #06070a;
}

.btn-action-delete {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.btn-action-delete:hover {
  background: #dc2626;
  color: #ffffff;
}

/* Pre-publish Checklist */
.pre-publish-checklist-box {
  background: rgba(6, 8, 14, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.checklist-header {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-warm, #d4af37);
  margin-bottom: 0.75rem;
}

.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.checklist-items li {
  font-size: 0.82rem;
  font-weight: 600;
}

.item-pass {
  color: #34d399;
}

.item-fail {
  color: #f87171;
}

/* Modal Dialogs */
.jobs-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.jobs-modal-overlay.open {
  display: flex;
}

.jobs-modal-dialog {
  background: rgba(14, 18, 28, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.jobs-modal-lg {
  max-width: 860px;
}

.jobs-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.jobs-modal-body {
  padding: 2rem;
  color: #cbd5e1;
}

.modal-scrollable-body {
  overflow-y: auto;
}

.jobs-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   VALIDATOR & SCHEMA DIAGNOSTICS (jobs/validator.html)
   -------------------------------------------------------------------------- */
.validator-page-wrapper {
  padding-top: calc(var(--nav-height, 80px) + 3rem);
  padding-bottom: 6rem;
}

.validator-header-card {
  background: rgba(15, 19, 30, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.validator-main-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.validator-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.validator-select-wrap {
  max-width: 550px;
}

.validator-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.validator-panel-card {
  background: rgba(12, 15, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.panel-header-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.panel-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.code-diagnostic-block {
  background: #05070c;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  padding: 1.25rem;
  color: #38bdf8;
  font-family: Consolas, Monaco, "Andale Mono", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  max-height: 480px;
}

.diag-header {
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.diag-pass {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}

.diag-fail {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

.diag-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.diag-checklist li {
  font-size: 0.88rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.google-official-links {
  background: rgba(6, 8, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1.25rem;
}

.google-official-links h4 {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.google-official-links ul {
  padding-left: 1.25rem;
  margin: 0;
}

.google-official-links a {
  color: var(--gold-warm, #d4af37);
  text-decoration: none;
  font-size: 0.85rem;
}

.google-official-links a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Maya AI Counsellor Contextual Career Recommendation Banner
   -------------------------------------------------------------------------- */
.maya-career-banner-section {
  margin: 3rem 0;
}

.maya-career-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(18, 22, 34, 0.95), rgba(10, 13, 20, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.maya-career-banner-inner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.maya-banner-visual {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.maya-avatar-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f5d77f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.maya-badge-text {
  display: flex;
  flex-direction: column;
}

.maya-badge-name {
  font-family: var(--font-serif, "Cinzel", Georgia, serif);
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.maya-badge-role {
  font-size: 0.75rem;
  color: var(--gold-warm, #d4af37);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maya-career-banner-content {
  flex: 1;
}

.maya-career-heading {
  font-family: var(--font-serif, "Cinzel", Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.maya-career-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

.maya-career-text strong {
  color: #ffffff;
}

.maya-career-banner-action {
  flex-shrink: 0;
}

.maya-career-cta {
  padding: 0.85rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.maya-career-cta:focus-visible {
  outline: 2px solid var(--gold-warm, #d4af37);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .maya-career-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.75rem;
  }
  .maya-banner-visual {
    justify-content: center;
  }
  .maya-career-banner-action {
    width: 100%;
  }
  .maya-career-cta {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .job-detail-grid {
    grid-template-columns: 1fr;
  }
  .filters-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .validator-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-3col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .filters-row {
    grid-template-columns: 1fr;
  }
  .search-input-group {
    flex-direction: column;
  }
  .job-specs-bar {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid-2col,
  .form-grid-3col {
    grid-template-columns: 1fr;
  }
  .checklist-items {
    grid-template-columns: 1fr;
  }
  .admin-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ==========================================================================
   GRAVITATIONAL DUAL JOB PORTAL LUXURY DESIGN SYSTEM
   ========================================================================== */
.gravitational-portal-body {
  background-color: #06080e;
  color: #f7f5f0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.portal-main-wrapper {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 6rem 0;
}

.portal-hero-head {
  max-width: 860px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.gravitational-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 9999px;
  color: #f5d77f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.gravitational-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 10px #f5d77f;
  animation: gravPulse 2s infinite ease-in-out;
}

@keyframes gravPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 8px #f5d77f; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 18px #ffd700; }
}

.portal-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #f5d77f 70%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portal-main-subtitle {
  color: #94a3b8;
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  line-height: 1.65;
  margin: 0 auto 2.2rem auto;
  max-width: 680px;
}

/* Metric Matrix */
.portal-metric-matrix {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.portal-metric-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.65rem 1.4rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(16px);
  min-width: 140px;
}

.portal-metric-chip .metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #f5d77f;
}

.portal-metric-chip .metric-lbl {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Dual Portal Switcher Tabs */
.dual-portal-switcher-wrap {
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
}

.dual-portal-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: rgba(10, 15, 29, 0.8);
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.portal-choice-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.portal-choice-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.portal-choice-btn.active {
  background: linear-gradient(135deg, rgba(30, 41, 65, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: rgba(212, 175, 55, 0.5);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.portal-btn-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5d77f;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.portal-choice-btn.active .portal-btn-icon-wrap {
  background: linear-gradient(135deg, #f5d77f 0%, #d4af37 100%);
  color: #06080e;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.portal-btn-meta {
  display: flex;
  flex-direction: column;
}

.portal-btn-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
}

.portal-btn-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.portal-choice-btn.active .portal-btn-sub {
  color: #94a3b8;
}

/* Master Portal Outer Card */
.portal-card-outer {
  max-width: 820px;
  margin: 0 auto 4rem auto;
  background: rgba(12, 17, 32, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.12);
  position: relative;
}

.portal-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
}

.portal-role-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-student {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.role-employer {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #f5d77f;
}

.security-status-tag {
  font-size: 0.76rem;
  color: #34d399;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.portal-card-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.portal-card-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Subtabs Row */
.portal-subtabs-row {
  display: flex;
  gap: 0.6rem;
  background: rgba(6, 9, 18, 0.6);
  padding: 0.35rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-subtab-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.portal-subtab-btn:hover {
  color: #ffffff;
}

.portal-subtab-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.08) 100%);
  border-color: rgba(212, 175, 55, 0.4);
  color: #f5d77f;
}

/* Quick Demo Bar */
.quick-demo-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: rgba(212, 175, 55, 0.06);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  margin-bottom: 1.75rem;
}

.quick-demo-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

.demo-pill-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.demo-pill-btn {
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-pill-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  color: #f5d77f;
  transform: translateY(-1px);
}

/* Form Styling */
.portal-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.portal-form-group {
  margin-bottom: 1.35rem;
}

.portal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.45rem;
}

.portal-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.portal-link-gold {
  color: #f5d77f;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.portal-link-gold:hover {
  color: #ffffff;
  text-decoration: underline;
}

.portal-input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-leading-icon {
  position: absolute;
  left: 1rem;
  color: #64748b;
  font-size: 0.9rem;
  pointer-events: none;
}

.portal-form-input,
.portal-form-select {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.65rem;
  background: rgba(6, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
}

.portal-form-select {
  padding-left: 1rem;
  cursor: pointer;
}

.portal-form-input:focus,
.portal-form-select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  background: rgba(10, 15, 28, 0.95);
}

.toggle-password-btn {
  position: absolute;
  right: 0.9rem;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.3rem;
}

.toggle-password-btn:hover {
  color: #ffffff;
}

.portal-form-extra-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem 0;
}

.portal-checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #94a3b8;
  font-size: 0.82rem;
  cursor: pointer;
  line-height: 1.45;
}

.portal-checkbox-label input[type="checkbox"] {
  accent-color: #d4af37;
  margin-top: 0.2rem;
}

.security-chip {
  font-size: 0.75rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Skills Quick Chips */
.skills-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.skill-quick-pill {
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.72rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.skill-quick-pill:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  color: #f5d77f;
}

/* Resume Drop Zone */
.resume-drop-zone {
  border: 2px dashed rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  background: rgba(6, 10, 20, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.resume-drop-zone:hover {
  border-color: #f5d77f;
  background: rgba(212, 175, 55, 0.06);
}

.resume-drop-icon {
  font-size: 1.8rem;
  color: #f5d77f;
}

.resume-drop-text {
  font-size: 0.85rem;
  color: #e2e8f0;
  text-align: left;
}

/* Password meter */
.password-meter-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 0.4rem;
  overflow: hidden;
}

.password-meter-fill {
  height: 100%;
  width: 0%;
  background: #ef4444;
  transition: all 0.3s ease;
}

/* Registration instruction callout */
.registration-instructions-box {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.registration-instructions-box p {
  margin: 0.25rem 0 0 0;
  color: #cbd5e1;
}

/* Master Submit Button */
.btn-portal-primary {
  width: 100%;
  padding: 1rem 1.8rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #06080e !important;
  background: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #b38f2a 100%);
  border: 1px solid rgba(255, 245, 200, 0.7);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-portal-primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f5d77f 50%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
}

.portal-footer-switch {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.link-switch-tab {
  background: none;
  border: none;
  color: #f5d77f;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0.35rem;
  text-decoration: none;
}

.link-switch-tab:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Feature Highlights Grid */
.portal-features-section {
  max-width: 960px;
  margin: 5rem auto 2rem auto;
}

.features-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 2.2rem;
}

.portal-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portal-feature-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.85rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.portal-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
}

.feature-icon-orbit {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  color: #f5d77f;
  font-size: 1.25rem;
}

.feature-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.feature-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Toast System */
.portal-toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.portal-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portal-toast-success {
  border-color: #34d399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.2);
}

.portal-toast-error {
  border-color: #f87171;
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.2);
}

.portal-toast-info {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.portal-toast-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: #f1f5f9;
}

.portal-toast-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

/* User Session Badge on Jobs Board */
.student-active-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 1.35rem;
  background: linear-gradient(135deg, rgba(20, 32, 55, 0.85) 0%, rgba(12, 18, 34, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.student-bar-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.student-bar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
}

.student-bar-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.student-bar-sub {
  font-size: 0.76rem;
  color: #38bdf8;
}

.student-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Unauthenticated Registration Prompt Banner */
.student-unauth-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, rgba(30, 25, 15, 0.9) 0%, rgba(18, 22, 36, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
}

.unauth-banner-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: #f5d77f;
  margin: 0 0 0.25rem 0;
}

.unauth-banner-text p {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin: 0;
}

@media (max-width: 768px) {
  .dual-portal-switcher {
    grid-template-columns: 1fr;
  }
  .portal-form-grid-2 {
    grid-template-columns: 1fr;
  }
  .portal-features-grid {
    grid-template-columns: 1fr;
  }
  .portal-subtabs-row {
    flex-direction: column;
  }
  .student-active-user-bar,
  .student-unauth-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}


