:root {
  --vc-bg: #ffffff;
  --vc-surface: #ffffff;
  --vc-surface-muted: #f6f6f6;
  --vc-text: #111111;
  --vc-text-muted: #5f6368;
  --vc-border: #d8d8d8;
  --vc-header-bg: #0b0b0b;
  --vc-header-text: #ffffff;
  --vc-accent: #111111;
  --vc-accent-contrast: #ffffff;

  --vc-radius-sm: 10px;
  --vc-radius-md: 14px;
  --vc-radius-lg: 20px;
  --vc-radius-pill: 999px;

  --vc-space-1: 0.25rem;
  --vc-space-2: 0.5rem;
  --vc-space-3: 0.75rem;
  --vc-space-4: 1rem;
  --vc-space-5: 1.5rem;
  --vc-space-6: 2rem;
  --vc-space-7: 3rem;

  --vc-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.06);
  --vc-shadow-2: 0 8px 24px rgba(0, 0, 0, 0.08);

  --vc-font-sm: 0.875rem;
  --vc-font-base: 1rem;
  --vc-font-lg: 1.125rem;
  --vc-font-xl: 1.5rem;
  --vc-font-2xl: 2rem;
}

html {
  position: relative;
  min-height: 100%;
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  margin-bottom: 60px;
  background: var(--vc-bg);
  color: var(--vc-text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
  color: var(--vc-text);
}

a:hover {
  color: #000;
}

.vc-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: clamp(0.9rem, 1.5vw, 1.6rem);
  padding-right: clamp(0.9rem, 1.5vw, 1.6rem);
}

.vc-main {
  min-height: calc(100vh - 136px);
  padding-top: var(--vc-space-6);
  padding-bottom: var(--vc-space-7);
}

.vc-navbar-wrap {
  background: var(--vc-header-bg);
  border-bottom: 1px solid #202020;
}

.vocentra-navbar {
  background: var(--vc-header-bg);
  min-height: 70px;
}

.vocentra-navbar-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: clamp(0.75rem, 1.2vw, 1.4rem);
  padding-right: clamp(0.75rem, 1.2vw, 1.4rem);
}

.vc-brand {
  color: var(--vc-header-text) !important;
  display: inline-flex;
  align-items: baseline;
  gap: 0.36rem;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-right: 0.75rem;
}

.vc-brand-main {
  line-height: 1;
}

.vc-brand-tag {
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.vc-brand-pro .vc-brand-tag {
  color: rgba(255, 255, 255, 0.78);
}

.vc-nav-link {
  color: var(--vc-header-text) !important;
  font-weight: 500;
  opacity: 0.88;
  padding: 0.55rem 0.7rem !important;
  border-radius: 8px;
  transition: background-color 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}

.vocentra-nav-groups {
  margin-left: 1rem;
  gap: 0.45rem;
}

.vocentra-nav-account {
  margin-left: 1rem;
  gap: 0.35rem;
}

.vc-nav-link:hover,
.vc-nav-link:focus,
.vc-nav-link.active {
  opacity: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
}

.vc-nav-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.vc-nav-icon-bell {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath d='M8 2.4a3.2 3.2 0 0 0-3.2 3.2v2.1c0 .8-.3 1.5-.9 2.1l-.8.8h9.8l-.8-.8c-.6-.6-.9-1.3-.9-2.1V5.6A3.2 3.2 0 0 0 8 2.4z' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linejoin='round'/%3e%3cpath d='M6.6 12.4a1.4 1.4 0 0 0 2.8 0' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round'/%3e%3c/svg%3e");
}

.vc-navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.vocentra-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.vc-dropdown {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: var(--vc-radius-sm);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  min-width: 220px;
}

.vc-dropdown .dropdown-item {
  color: #f1f1f1;
  border-radius: 7px;
  margin: 0 0.35rem;
  width: auto;
}

.vc-dropdown .dropdown-item:hover,
.vc-dropdown .dropdown-item:focus,
.vc-dropdown .dropdown-item.active {
  background: #232323;
  color: #fff;
}

.vc-dropdown .dropdown-divider {
  border-top-color: #2c2c2c;
}

.vc-dropdown-action {
  color: #f1f1f1;
}

.vc-dropdown-action:hover,
.vc-dropdown-action:focus {
  color: #fff;
}

.vocentra-account-toggle {
  max-width: 320px;
}

.vocentra-account-email {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.vc-footer {
  border-top: 1px solid var(--vc-border);
  background: #fafafa;
  color: var(--vc-text-muted);
  padding-top: var(--vc-space-4);
  padding-bottom: var(--vc-space-4);
}

.vc-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--vc-space-3);
}

.vc-jobs-page {
  display: grid;
  gap: var(--vc-space-6);
  max-width: 1320px;
  margin: 0 auto;
}

.vc-hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: var(--vc-space-3);
}

.vc-hero-left {
  align-items: flex-start;
}

.vc-hero-title {
  margin: 0;
  width: min(100%, 1160px);
  text-align: center;
  background: #000;
  color: #fff;
  border-radius: var(--vc-radius-lg);
  padding: var(--vc-space-6) var(--vc-space-5);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: 0.08em;
  font-weight: 800;
}

.vc-hero-left .vc-hero-title {
  text-align: left;
}

@media (min-width: 992px) {
  .vc-find-jobs-title {
    width: 100%;
    max-width: none;
  }
}

.vc-hero-subtitle {
  margin: 0;
  color: var(--vc-text-muted);
  font-size: var(--vc-font-lg);
}

.vc-search-pill {
  width: min(100%, 1200px);
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border: 1px solid #d2d2d2;
  border-radius: 18px;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr auto;
  gap: 0.45rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.vc-jobs-layout {
  display: grid;
  grid-template-columns: minmax(300px, 330px) minmax(0, 1fr);
  gap: var(--vc-space-5);
  align-items: start;
}

.vc-filter-wrap {
  min-width: 0;
}

.vc-filter-form {
  position: sticky;
  top: var(--vc-space-5);
}

.vc-filter-panel {
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-md);
  padding: var(--vc-space-4);
  background: #fff;
}

.vc-filter-title {
  margin: 0 0 var(--vc-space-3) 0;
  font-size: var(--vc-font-lg);
}

.vc-filter-grid {
  display: grid;
  gap: var(--vc-space-3);
}

.vc-results-area {
  min-width: 0;
  max-width: 100%;
}

.vc-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--vc-space-4);
  gap: var(--vc-space-3);
}

.vc-results-summary {
  font-size: 0.98rem;
}

.vc-sort-form {
  margin: 0;
}

.vc-sort-label {
  color: var(--vc-text-muted);
  font-weight: 600;
}

.vc-search-field {
  display: flex;
  align-items: center;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  padding: 0 0.8rem;
  min-height: 46px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vc-search-field:focus-within {
  border-color: #9a9a9a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.vc-search-icon {
  width: 16px;
  height: 16px;
  margin-right: 0.55rem;
  flex: 0 0 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  opacity: 0.75;
}

.vc-search-icon-keyword {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3ccircle cx='7' cy='7' r='4.5' fill='none' stroke='%23111' stroke-width='1.5'/%3e%3cpath d='M10.5 10.5L14 14' stroke='%23111' stroke-width='1.5' stroke-linecap='round'/%3e%3c/svg%3e");
}

.vc-search-icon-location {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath d='M8 14s4-3.9 4-7A4 4 0 1 0 4 7c0 3.1 4 7 4 7z' fill='none' stroke='%23111' stroke-width='1.4'/%3e%3ccircle cx='8' cy='7' r='1.6' fill='none' stroke='%23111' stroke-width='1.4'/%3e%3c/svg%3e");
}

.vc-search-icon-type {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3crect x='2' y='4.5' width='12' height='8.5' rx='1.4' fill='none' stroke='%23111' stroke-width='1.4'/%3e%3cpath d='M6 4.5V3.7c0-.9.7-1.7 1.7-1.7h.6c1 0 1.7.8 1.7 1.7v.8' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round'/%3e%3c/svg%3e");
}

.vc-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--vc-text);
  min-height: 44px;
  font-size: var(--vc-font-base);
}

.vc-input:focus {
  outline: none;
}

.vc-input::placeholder {
  color: #7a7a7a;
}

.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 var(--vc-space-5);
  border-radius: var(--vc-radius-pill);
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.vc-btn:hover,
.vc-btn:focus {
  color: #fff;
  text-decoration: none;
  background: #1a1a1a;
}

.vc-btn-outline {
  background: #fff;
  color: #000;
}

.vc-btn-outline:hover,
.vc-btn-outline:focus {
  background: #000;
  color: #fff;
}

.vc-jobs-list {
  display: grid;
  gap: var(--vc-space-4);
}

.vc-card {
  background: var(--vc-surface);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-md);
  padding: var(--vc-space-5);
  box-shadow: var(--vc-shadow-1);
}

.vc-job-card {
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.vc-job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--vc-shadow-2);
}

.vc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vc-space-2);
}

.vc-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--vc-radius-pill);
  padding: 0.15rem 0.55rem;
  font-size: 0.78rem;
  border: 1px solid var(--vc-border);
  background: #fff;
}

.vc-badge-verified {
  background: #0a7a3c;
  color: #fff;
  border-color: #0a7a3c;
  font-weight: 600;
}

.vc-badge-status {
  background: #f6f7f8;
  color: #222;
}

.vc-salary {
  font-weight: 600;
}

.vc-pagination .page-link {
  color: #111;
  border-color: var(--vc-border);
}

.vc-pagination .page-item.active .page-link {
  background: #000;
  border-color: #000;
  color: #fff;
}

.vc-alert {
  border-radius: var(--vc-radius-sm);
}

.vc-job-title {
  margin: 0 0 var(--vc-space-2) 0;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 700;
}

.vc-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  margin-bottom: var(--vc-space-3);
  color: var(--vc-text-muted);
  font-size: var(--vc-font-sm);
}

.vc-job-meta-item + .vc-job-meta-item::before {
  content: "|";
  margin-right: 0.7rem;
  color: #9a9a9a;
}

.vc-job-description {
  margin-bottom: var(--vc-space-4);
  color: #2e2e2e;
  line-height: 1.55;
}

.vc-empty-state {
  text-align: center;
  color: var(--vc-text-muted);
  background: #fafafa;
  border: 1px dashed var(--vc-border);
  border-radius: var(--vc-radius-md);
  padding: var(--vc-space-6);
}

.vc-how-page {
  padding: var(--vc-space-5) 0 var(--vc-space-7);
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 0, 0, 0.03) 0%, transparent 42%),
    radial-gradient(circle at 90% 90%, rgba(0, 0, 0, 0.04) 0%, transparent 38%);
}

.vc-how-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--vc-space-4);
  align-items: center;
  margin-bottom: var(--vc-space-4);
  animation: vcHowFadeUp .7s ease-out both;
}

.vc-how-kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--vc-text-muted);
}

.vc-how-title {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 800;
}

.vc-how-subtitle {
  color: var(--vc-text-muted);
  max-width: 62ch;
}

.vc-how-section {
  margin-bottom: var(--vc-space-4);
  opacity: 0;
  transform: translateY(18px);
  animation: vcHowFadeUp .65s ease-out forwards;
}

.vc-how-section:nth-of-type(1) { animation-delay: .08s; }
.vc-how-section:nth-of-type(2) { animation-delay: .16s; }
.vc-how-section:nth-of-type(3) { animation-delay: .24s; }
.vc-how-section:nth-of-type(4) { animation-delay: .32s; }

.vc-how-heading {
  margin: 0 0 .45rem 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.vc-how-intro {
  margin-bottom: var(--vc-space-3);
  color: var(--vc-text-muted);
}

.vc-how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--vc-space-3);
}

.vc-how-step {
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-sm);
  padding: var(--vc-space-3);
  background: var(--vc-surface-muted);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.vc-how-step:hover {
  transform: translateY(-4px);
  border-color: #b8bec6;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.vc-how-step h3 {
  margin: 0 0 .3rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.vc-how-step p {
  margin: 0;
  color: var(--vc-text-muted);
  font-size: .95rem;
}

.vc-how-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .45rem;
}

.vc-how-list li {
  color: var(--vc-text-muted);
}

.vc-how-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--vc-space-3);
}

.vc-how-faq article {
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius-sm);
  padding: var(--vc-space-3);
  transition: transform .22s ease, box-shadow .22s ease;
}

.vc-how-faq article:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
}

.vc-how-faq h3 {
  margin: 0 0 .35rem 0;
  font-size: 1rem;
}

.vc-how-faq p {
  margin: 0;
  color: var(--vc-text-muted);
  font-size: .94rem;
}

.vc-image-placeholder {
  min-height: 210px;
  border: 1.5px dashed #9aa1aa;
  border-radius: var(--vc-radius-md);
  background: linear-gradient(135deg, #f8f9fb 0%, #f1f3f5 100%);
  display: grid;
  place-items: center;
  text-align: center;
  color: #5b6470;
  font-weight: 700;
  letter-spacing: .01em;
  padding: var(--vc-space-3);
  animation: vcHowFloat 4.8s ease-in-out infinite;
}

.vc-image-frame {
  border-style: solid;
  border-color: var(--vc-border);
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.vc-image-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes vcHowFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vcHowFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .vc-how-hero,
  .vc-how-section,
  .vc-image-placeholder,
  .vc-how-step,
  .vc-how-faq article {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.vc-dashboard {
  display: grid;
  gap: var(--vc-space-4);
}

.vc-dashboard-head h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0;
}

.vc-dash-kpi-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.05);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.vc-dash-kpi-card h3 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
}

.vc-dash-kpi-card p {
  margin: 0;
  color: #5d6168;
}

.vc-dash-kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vc-dash-kpi-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.vc-dash-kpi-meta .up {
  color: #107c41;
}

.vc-dash-kpi-meta .down {
  color: #c53030;
}

.vc-dash-panel {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(12, 12, 12, 0.05);
  padding: 1rem;
}

.vc-dash-panel-title {
  margin: 0 0 0.7rem 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.vc-chart-box {
  position: relative;
  width: 100%;
  height: 280px;
  max-height: 320px;
  overflow: hidden;
}

.vc-chart-box-sm {
  height: 220px;
  max-height: 260px;
}

.vc-chart-box-lg {
  height: 340px;
  max-height: 380px;
}

.vc-chart-box canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.vc-dash-pipeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
}

.vc-dash-chart-wrap {
  min-height: 220px;
  position: relative;
}

.vc-dash-trend-wrap {
  position: relative;
  height: 96px;
  max-height: 96px;
  overflow: hidden;
}

.vc-dash-trend-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.vc-dash-legend li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.vc-dash-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
}

.vc-dash-legend li:nth-child(2) .dot { background: #22c55e; }
.vc-dash-legend li:nth-child(3) .dot { background: #f59e0b; }
.vc-dash-legend li:nth-child(4) .dot { background: #ef4444; }
.vc-dash-legend li:nth-child(5) .dot { background: #8b5cf6; }
.vc-dash-legend li:nth-child(6) .dot { background: #6b7280; }

.vc-dash-legend .label {
  color: #595e66;
  font-size: 0.9rem;
}

.vc-dash-mini-title {
  font-size: 0.85rem;
  color: #5b6068;
  margin-bottom: 0.45rem;
}

.vc-dash-profile-strength {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.vc-strength-ring {
  --vc-strength: 0;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: conic-gradient(#111 calc(var(--vc-strength) * 1%), #ececec 0);
  display: grid;
  place-items: center;
}

.vc-strength-ring span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.vc-checklist li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0;
  color: #3f454c;
}

.vc-checklist .checkmark {
  width: 18px;
  text-align: center;
  color: #69707a;
}

.vc-checklist li.done .checkmark {
  color: #107c41;
}

.vc-activity-timeline li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.vc-activity-timeline .marker {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #111;
}

.vc-activity-timeline .meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #6a707a;
}

.vc-activity-timeline .title {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.vc-activity-timeline .title:hover {
  text-decoration: underline;
}

.vc-reco-card {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 0.85rem;
  background: #fff;
}

.vc-reco-card h4 {
  font-size: 1rem;
}

.vc-reco-card h4 a {
  text-decoration: none;
  color: #111;
}

.vc-reco-card h4 a:hover {
  text-decoration: underline;
}

.vc-reco-meta {
  color: #5f6670;
  font-size: 0.82rem;
}

.vc-match-badge {
  font-size: 0.72rem;
  border-radius: 999px;
  background: #e8f4ff;
  color: #1453a7;
  padding: 0.2rem 0.55rem;
  font-weight: 700;
}

.vc-dash-empty-state {
  border: 1px dashed #d5d9df;
  border-radius: 12px;
  background: #fafbfc;
  color: #646b75;
  padding: 1rem;
  text-align: center;
}

.vc-employer-applications-panel .table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #69707a;
}

.vc-employer-applications-panel .table tbody td {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.vc-invoice-list {
  display: grid;
  gap: 0.6rem;
}

.vc-invoice-item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  color: #111;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.vc-invoice-item:hover {
  border-color: #cdd3db;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.vc-invoice-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3e%3cpath d='M4 2.5h7l3 3V15a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1z' fill='none' stroke='%23111' stroke-width='1.4'/%3e%3cpath d='M11 2.5V6h3' fill='none' stroke='%23111' stroke-width='1.4'/%3e%3cpath d='M6 9h6M6 12h6' stroke='%23111' stroke-width='1.4' stroke-linecap='round'/%3e%3c/svg%3e");
}

.vc-invoice-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.vc-invoice-title {
  font-weight: 600;
  line-height: 1.2;
}

.vc-invoice-meta {
  color: #6b7280;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vc-invoice-amount {
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.vc-apply-page {
  display: grid;
}

.vc-apply-shell {
  width: 100%;
  max-width: 940px;
}

.vc-apply-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vc-text-muted);
}

.vc-apply-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 800;
}

.vc-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--vc-radius-pill);
  border: 1px solid var(--vc-border);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1b1b1b;
}

.vc-step-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.vc-step-track span {
  height: 7px;
  border-radius: 999px;
  background: #d5d8de;
}

.vc-step-track span.active {
  background: #111;
}

.vc-apply-card {
  padding: clamp(1rem, 1.3vw, 1.75rem);
}

.vc-apply-side-card,
.vc-profile-side-card {
  padding: clamp(1rem, 1.2vw, 1.3rem);
}

.vc-side-title {
  margin: 0 0 0.8rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.vc-side-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--vc-text-muted);
  display: grid;
  gap: 0.45rem;
}

.vc-step-title {
  margin: 0 0 1rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.vc-apply-form .form-label {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.vc-apply-form .form-control,
.vc-apply-form .form-select {
  min-height: 46px;
  border-radius: 10px;
}

.vc-apply-form textarea.form-control {
  min-height: 120px;
}

.vc-apply-actions {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vc-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.vc-profile-page {
  display: grid;
}

.vc-profile-shell {
  width: 100%;
  max-width: 940px;
}

.vc-profile-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vc-text-muted);
}

.vc-profile-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 800;
}

.vc-profile-card {
  padding: clamp(1rem, 1.3vw, 1.75rem);
}

.vc-section-title {
  margin: 0 0 0.9rem 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.vc-profile-form .form-label {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.vc-profile-form .form-control,
.vc-profile-form .form-select {
  min-height: 46px;
  border-radius: 10px;
}

.vc-profile-actions {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vc-border);
  display: flex;
  justify-content: flex-end;
}

.vc-profile-grid {
  align-items: start;
}

.vc-check-row {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.vc-check-row-bottom {
  margin-top: 2rem;
}

.vc-pref-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.vc-pref-grid .form-check {
  margin: 0;
  min-width: 120px;
}

.vc-clean-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--vc-text-muted);
}

.vc-clean-table td,
.vc-clean-table th {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  vertical-align: middle;
}

.vc-inline-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .vc-apply-actions .vc-btn {
    width: 100%;
  }

  .vc-step-pill {
    width: 100%;
  }

  .vc-profile-actions .vc-btn {
    width: 100%;
  }

  .vc-check-row-bottom {
    margin-top: 0.25rem;
  }

  .vc-pref-grid .form-check {
    min-width: 140px;
  }
}

.card {
  border-color: var(--vc-border);
  border-radius: var(--vc-radius-md);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.vc-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.15) !important;
  outline: none;
}

@media (max-width: 991.98px) {
  .vc-navbar-toggler {
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 0.3rem 0.45rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  }

  .vc-navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    filter: none;
  }

  .vc-navbar-toggler:focus,
  .vc-navbar-toggler:active,
  .vc-navbar-toggler[aria-expanded="true"] {
    background: #fff;
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
  }

  .vocentra-navbar-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .vocentra-navbar .navbar-collapse {
    padding-top: var(--vc-space-3);
    padding-bottom: var(--vc-space-3);
  }

  .vocentra-nav-groups,
  .vocentra-nav-account {
    margin-left: 0;
    gap: 0;
  }

  .vocentra-nav-groups .nav-item,
  .vocentra-nav-account .nav-item {
    width: 100%;
  }

  .vocentra-nav-groups .dropdown-menu,
  .vocentra-nav-account .dropdown-menu {
    position: static !important;
    float: none;
    transform: none !important;
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
  }

  .vocentra-account-toggle {
    max-width: 100%;
  }

  .vocentra-account-email {
    max-width: calc(100vw - 6.5rem);
  }

  .vc-nav-link {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
  }

  .vc-nav-link:hover,
  .vc-nav-link:focus,
  .vc-nav-link.active {
    background: transparent;
  }

  .vc-jobs-layout {
    grid-template-columns: 1fr;
    gap: var(--vc-space-4);
  }

  .vc-filter-form {
    position: static;
  }

  .vc-mobile-filter-toggle {
    width: 100%;
    border-radius: 12px;
    font-weight: 600;
    min-height: 44px;
  }

  .vc-filter-form {
    margin-top: 0.4rem;
    border: 1px solid var(--vc-border);
    border-radius: 14px;
    padding: 0.65rem;
    background: #fff;
  }

  .vc-filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .vc-filter-grid .form-check {
    grid-column: 1 / -1;
  }

  .vc-results-head {
    background: #f8f8f8;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    margin-bottom: var(--vc-space-3);
  }

  .vc-sort-form {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .vc-sort-form .form-select {
    max-width: 220px;
  }

  .vc-dash-pipeline-grid {
    grid-template-columns: 1fr;
  }

  .vc-dash-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 0.7rem;
  }

  .vc-how-hero {
    grid-template-columns: 1fr;
  }

  .vc-how-grid {
    grid-template-columns: 1fr;
  }

  .vc-how-faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .vc-jobs-page {
    gap: var(--vc-space-4);
  }

  .vc-hero-title {
    width: 100%;
    padding: var(--vc-space-4) var(--vc-space-4);
    border-radius: 14px;
    letter-spacing: 0.05em;
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  .vc-hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .vc-search-pill {
    grid-template-columns: 1fr;
    border-radius: 14px;
    gap: 0.4rem;
    padding: 0.45rem;
  }

  .vc-search-pill .vc-btn {
    width: 100%;
    min-height: 48px;
  }

  .vc-results-head {
    flex-direction: column;
    align-items: stretch;
  }

  .vc-sort-form {
    justify-content: flex-start;
  }

  .vc-sort-form .form-select {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .vc-main {
    padding-top: var(--vc-space-5);
    padding-bottom: var(--vc-space-6);
  }

  .vc-container {
    padding-left: var(--vc-space-3);
    padding-right: var(--vc-space-3);
  }

  .vc-card {
    padding: var(--vc-space-4);
  }

  .vc-filter-grid {
    grid-template-columns: 1fr;
  }

  .vc-job-card {
    border-radius: 12px;
  }

  .vc-job-card-head {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  .vc-job-meta {
    gap: 0.3rem 0.65rem;
  }

  .vc-job-meta-item + .vc-job-meta-item::before {
    content: "";
    margin: 0;
  }

  .vc-job-card-footer {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.55rem !important;
  }

  .vc-job-card-footer .vc-btn {
    width: 100%;
  }

  .vc-pagination {
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
  }

  .vc-pagination .page-link {
    min-width: 40px;
    text-align: center;
    border-radius: 10px;
  }

  .vc-footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .vc-dash-profile-strength {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .vc-apply-grid > [class*="col-"] .h-100,
  .vc-profile-grid > [class*="col-"] .h-100 {
    height: auto !important;
  }
}

/* Employer Analytics Overview */
.ea-overview .ea-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.ea-overview .ea-header-copy h2 {
  letter-spacing: -0.01em;
}

.ea-overview .ea-filter-card {
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.ea-overview .ea-filter-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.ea-overview .ea-filter-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  padding: 0.75rem;
}

.ea-overview .ea-filter-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.ea-overview .ea-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ea-overview .ea-filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: end;
}

@media (max-width: 991.98px) {
  .ea-overview .ea-filter-form {
    grid-template-columns: 1fr;
  }

  .ea-overview .ea-filter-actions {
    justify-content: stretch;
  }

  .ea-overview .ea-filter-actions .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .ea-overview .ea-date-grid {
    grid-template-columns: 1fr;
  }
}

/* Messaging */
.msg-shell {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 0 20px;
}

.msg-page-title {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: clamp(1.85rem, 2.2vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #000;
  margin-bottom: 6px;
}

.msg-page-sub {
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 14px;
  color: #6f6f6f;
  margin-bottom: 24px;
}

.msg-empty {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.msg-empty-title {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.msg-empty-text {
  margin: 0 auto;
  max-width: 540px;
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #7f7f7f;
}

.chat-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 14px;
  transition: background 0.15s ease;
}

.chat-action-btn:hover {
  color: #fff;
  background: #1d1d1d;
}

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inbox-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.inbox-item:hover {
  background: #fafafa;
  border-color: #d6d6d6;
}

.inbox-item.unread {
  border-left: 3px solid #E8730A;
  padding-left: 13px;
}

.inbox-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.inbox-main {
  flex: 1;
  min-width: 0;
}

.inbox-name {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: 17px;
  text-transform: uppercase;
  color: #000;
  line-height: 1.1;
}

.inbox-job {
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 12px;
  color: #7d7d7d;
  margin-top: 2px;
}

.inbox-preview {
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 13px;
  color: #4f4f4f;
  margin-top: 6px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inbox-meta {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
  min-width: 78px;
}

.inbox-time {
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 11px;
  color: #999;
}

.inbox-badge {
  background: #E8730A;
  color: #fff;
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  margin-top: 6px;
  display: inline-block;
}

.chat-page {
  --text-primary: #161922;
  --text-muted: #888888;
  --brand: #1a1a2e;
  --bg-surface: #ffffff;
  --bg-shell: #f7f7fa;
  --bg-bubble-sent: #1a1a2e;
  --bg-bubble-received: #ffffff;
  --border-soft: #e8e8ed;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: clamp(520px, calc(100vh - 210px), 820px);
  max-width: none;
  margin: 0;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.chat-shell {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.chat-page,
.chat-page * {
  box-sizing: border-box;
}

.chat-breadcrumb {
  margin: 0 0 10px;
}

.chat-back-prominent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: #fff;
}

.chat-back-prominent:hover {
  color: #000;
  background: #f4f5f8;
}

.chat-header {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-soft);
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}

.chat-online-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1bb35e;
  border: 1.5px solid #fff;
}

.chat-header-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: var(--text-primary);
}

.chat-header-job {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  background: var(--bg-shell);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chat-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto;
}

.chat-divider span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  color: #999;
  background: #ebebeb;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.chat-divider-intro {
  margin-top: 0;
}

.msg-row {
  display: flex;
  margin-top: 10px;
  animation: fadeSlideUp 0.18s ease-out both;
}

.msg-row.sent {
  justify-content: flex-end;
}

.msg-row.received {
  justify-content: flex-start;
}

.msg-row.msg-grouped {
  margin-top: 4px;
}

.msg-bubble {
  position: relative;
  max-width: 62%;
  padding: 10px 14px;
  border-radius: 18px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.msg-bubble.sent {
  background: var(--bg-bubble-sent);
  color: #fff;
  border-radius: 18px 4px 18px 18px;
}

.msg-bubble.received {
  background: var(--bg-bubble-received);
  color: #1a1a1a;
  border: 1px solid #ebebeb;
  border-radius: 4px 18px 18px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.msg-time {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  margin-left: 6px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  opacity: 0.55;
  white-space: nowrap;
}

.msg-bubble.sent .msg-time {
  color: #fff;
}

.msg-bubble.received .msg-time {
  color: #1a1a1a;
}

.msg-read {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  color: #fff;
  letter-spacing: -0.6px;
}

.msg-time-hidden {
  display: none !important;
}

.chat-input-area {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-surface);
  padding: 12px 18px;
}

.chat-input-inner {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: end;
}

.chat-composer {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-end;
}

.chat-textarea {
  width: 100%;
  border: 1.5px solid #e0e0e8;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  resize: none;
  outline: none;
  min-height: 44px;
  max-height: 180px;
  line-height: 1.6;
  overflow-y: auto;
  background: #fafafa;
  transition: border-color 0.2s, background-color 0.2s;
}

.message-input-textarea {
  min-height: 44px;
  max-height: 180px;
  resize: none;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}

.chat-composer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  color: #aaa;
}

.chat-key-hint {
  white-space: nowrap;
}

.chat-char-count.over {
  color: #c73232;
}

.chat-textarea:focus {
  border-color: #1a1a2e;
  background: #fff;
  box-shadow: none;
}

.chat-send-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  min-width: 100px;
  height: 44px;
  align-self: flex-end;
  flex-shrink: 0;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.chat-send-btn:hover {
  background: #2d2d4e;
}

.chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chat-privacy {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 12px 10px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-soft);
  border-radius: 0 0 16px 16px;
}

.chat-connecting {
  text-align: center;
  padding: 7px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  color: #91610d;
  background: #fff8e6;
  border-bottom: 1px solid #f0e6be;
  display: none;
}

.chat-connecting.visible {
  display: block;
}

.chat-connecting.connecting {
  color: #92700a;
  background: #fffbea;
  border-bottom-color: #f1e6b0;
}

.chat-connecting.disconnected {
  color: #c0392b;
  background: #fff0f0;
  border-bottom-color: #f3cbcb;
}

#msgNavBadge {
  background: #E8730A;
  color: #fff;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  margin-left: 4px;
  display: none;
}

@media (max-width: 768px) {
  .chat-shell {
    padding: 0 10px;
  }

  .chat-breadcrumb {
    margin: 0 0 8px;
  }

  .chat-back-prominent {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
  }

  .msg-shell {
    margin-top: 20px;
    padding: 0 12px;
  }

  .inbox-item {
    gap: 12px;
    padding: 12px;
  }

  .inbox-avatar {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .inbox-name {
    font-size: 15px;
  }

  .chat-page {
    height: calc(100dvh - 168px);
    border-radius: 10px;
  }

  .chat-header {
    padding: 12px 16px;
    align-items: center;
    gap: 8px;
  }

  .chat-header-left {
    gap: 10px;
  }

  .chat-messages {
    padding: 12px 10px;
  }

  .msg-bubble {
    max-width: 88%;
    font-size: 14px;
  }

  .chat-input-area {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .chat-input-inner {
    width: 100%;
    column-gap: 8px;
  }

  .chat-textarea {
    min-height: 44px;
    font-size: 14px;
  }

  .chat-send-btn {
    height: 44px;
    padding: 8px 14px;
    font-size: 13px;
    min-width: 82px;
  }

  .chat-composer-meta {
    margin-top: 4px;
  }

  .chat-key-hint {
    font-size: 10px;
  }
}

@media (min-width: 1280px) {
  .chat-shell {
    max-width: 900px;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
