:root {
  --border: #dbe3ee;
  --text: #0f172a;
  --muted: #64748b;
  --bg-soft: #f8fafc;
}

body {
  background: #f5f7fb;
  color: var(--text);
}

.content {
  padding: 24px;
}

.content-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header h1 {
  margin: 0 0 6px 0;
  font-size: 30px;
}

.page-header p {
  margin: 0;
  color: var(--muted);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.profile-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.identity-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.avatar-box {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  flex: 0 0 84px;
}

.profile-display-name {
  font-size: 24px;
  font-weight: 700;
}

.profile-display-title {
  margin-top: 4px;
  color: var(--muted);
}

.profile-meta-line {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.meta-badge.good {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}

.meta-badge.warn {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fdba74;
}

.meta-badge.bad {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.meta-badge.neutral {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}

.quick-info-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.quick-info-item {
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
}

.form-card,
.visibility-card {
  margin-top: 18px;
}

.section-title-row {
  margin-bottom: 16px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 20px;
}

.profile-form {
  display: grid;
  gap: 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.form-row input,
.form-row textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.field-help {
  font-size: 12px;
  color: var(--muted);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.visibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.info-box {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px;
}

.info-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.visibility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.message {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.message.hidden {
  display: none;
}

.message.success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.message.warning {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

@media (max-width: 980px) {
  .profile-top-grid,
  .form-grid-2,
  .visibility-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== MANAGEMENT-LIKE UI COMPONENTS ===== */

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  min-height: 42px;
}

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

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-secondary {
  background: #fff;
  color: #334155;
  border-color: #dbe3ee;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.14);
}

.btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-row input[disabled],
.form-row textarea[disabled],
.form-row select[disabled] {
  background: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
}

.card {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.message {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.message.hidden {
  display: none;
}

.message.success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.message.warning {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}


/* ===== PROFILE STRENGTH ===== */
.strength-card {
  margin-bottom: 18px;
}

.strength-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.strength-kicker {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.strength-head h2 {
  margin: 0 0 6px 0;
  font-size: 24px;
  line-height: 1.15;
}

.strength-summary {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.strength-percent-badge {
  min-width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  border: 1px solid #bfdbfe;
}

.strength-bar-wrap {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 18px;
}

.strength-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #0891b2);
  transition: width 0.25s ease;
}

.strength-bottom {
  display: block;
}

.strength-list-title {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 8px;
}

.strength-missing-list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
}

.strength-missing-list li {
  margin-bottom: 6px;
  font-size: 14px;
}

@media (max-width: 700px) {
  .strength-head {
    flex-direction: column;
  }

  .strength-percent-badge {
    width: 100%;
    min-width: 0;
    height: 56px;
    border-radius: 14px;
  }
}


/* ===== BEHAVIOR GUIDANCE / NEXT MILESTONE ===== */
.guidance-card {
  margin-bottom: 18px;
}

.guidance-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.guidance-kicker {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.guidance-head h2 {
  margin: 0 0 6px 0;
  font-size: 24px;
  line-height: 1.15;
}

.guidance-summary {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.guidance-target-badge {
  min-width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  border: 1px solid #bfdbfe;
}

.guidance-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.guidance-bottom-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 16px;
}

.guidance-list-title,
.guidance-feature-title {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 8px;
}

.guidance-action-list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
}

.guidance-action-list li {
  margin-bottom: 6px;
  font-size: 14px;
}

.guidance-feature-box {
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px;
}

.guidance-feature-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .guidance-metrics,
  .guidance-bottom-grid {
    grid-template-columns: 1fr;
  }

  .guidance-head {
    flex-direction: column;
  }

  .guidance-target-badge {
    width: 100%;
    min-width: 0;
    height: 56px;
    border-radius: 14px;
  }
}


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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}


/* ===== LINKEDIN-STYLE PROFILE FORM FIX ===== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  outline: none;
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,.10);
}

@media (max-width: 860px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }
}


.structured-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.structured-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.structured-item {
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  padding: 16px;
  background: #f8fafc;
}

.structured-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.structured-item-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.structured-item-remove {
  border: 0;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 700;
}

.structured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.structured-grid .full {
  grid-column: 1 / -1;
}

.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .structured-grid {
    grid-template-columns: 1fr;
  }

  .structured-grid .full {
    grid-column: auto;
  }
}


/* ===== EXPERIENCE CARD POLISH ===== */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.experience-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.experience-grid .form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.experience-grid input,
.experience-grid textarea,
.experience-grid select {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  outline: none;
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.experience-grid input::placeholder,
.experience-grid textarea::placeholder {
  color: #94a3b8;
}

.experience-grid input:focus,
.experience-grid textarea:focus,
.experience-grid select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,.10);
}

.experience-textarea textarea {
  min-height: 140px;
  resize: vertical;
}

.experience-grid input[type="month"] {
  min-height: 48px;
}

@media (max-width: 860px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-grid .form-group.full {
    grid-column: auto;
  }
}


/* ===== LANGUAGES POLISH ===== */
#languagesList .structured-item {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
}

#languagesList .structured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#languagesList select {
  height: 48px;
}

@media (max-width: 860px) {
  #languagesList .structured-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== INDUSTRY SUGGESTIONS ===== */
#industriesInput {
  position: relative;
}

#industrySuggestions {
  position: relative;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  z-index: 20;
}

#industrySuggestions.hidden {
  display: none !important;
}

#industrySuggestions .suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #334155;
}

#industrySuggestions .suggestion-item:hover {
  background: #f8fafc;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  margin: 4px 6px 0 0;
}

.skill-chip button {
  border: none;
  background: transparent;
  color: #1e3a8a;
  cursor: pointer;
  font-weight: 800;
  padding: 0;
}


/* ===== INDUSTRIES AUTOCOMPLETE ===== */
#industriesChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

#industriesInput {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  outline: none;
}

#industriesInput:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,.10);
}

.industry-suggestions {
  margin-top: 8px;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.industry-suggestions.hidden {
  display: none !important;
}

.industry-suggestion-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  color: #334155;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.industry-suggestion-item:hover {
  background: #f8fafc;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.skill-chip button {
  border: none;
  background: transparent;
  color: #1e3a8a;
  cursor: pointer;
  font-weight: 800;
  padding: 0;
}


/* ===== CONSULTANT SIDEBAR ALIGNMENT WITH MANAGEMENT ===== */
.consultant-sidebar {
  background: linear-gradient(180deg, #06111f 0%, #081423 100%);
  color: #e2e8f0;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  min-height: 100vh;
  padding-bottom: 18px;
}

.consultant-sidebar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 12px;
  min-height: 90px;
}

.consultant-brand-mark {
  background: transparent;
  border: none;
  box-shadow: none;
  width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultant-brand-title {
  color: #f8fafc;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.consultant-brand-subtitle {
  color: #94a3b8;
  font-size: 12px;
  margin-top: 4px;
}

.consultant-menu {
  padding: 14px 12px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-section-title {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 10px 6px 10px;
}

.consultant-sidebar .menu-item {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  color: #e2e8f0;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  font-weight: 700;
}

.consultant-sidebar .menu-item:hover {
  background: rgba(59, 130, 246, 0.10);
  border-color: rgba(96, 165, 250, 0.18);
  color: #ffffff;
}

.consultant-sidebar .menu-item.active {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.22);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.consultant-sidebar .menu-label {
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .consultant-sidebar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 12px;
  min-height: 90px;
}

  .consultant-menu {
    padding: 12px 10px 0 10px;
  }
}


/* ===== CONSULTANT SIDEBAR LOGO ===== */
.consultant-brand-mark {
  background: transparent;
  border: none;
  box-shadow: none;
  width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultant-logo {
  width: 140px;
  height: 60px;
  object-fit: contain;
  object-position: center;
}
/* ===== CONSULTANT SIDEBAR HEADER MINIMAL ===== */
.consultant-sidebar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 12px;
  min-height: 90px;
}

.consultant-sidebar-header .consultant-brand-title,
.consultant-sidebar-header .consultant-brand-subtitle {
  display: none !important;
}


/* ===== MANAGEMENT-ALIGNED CONSULTANT SIDEBAR ===== */
.consultant-sidebar {
  background: #0b1420;
  color: #e2e8f0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 100vh;
}

.consultant-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.consultant-sidebar-logo {
  width: 118px;
  height: auto;
  object-fit: contain;
  display: block;
}

.consultant-menu {
  padding: 14px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.consultant-menu .menu-section-title {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 10px 6px 10px;
}

.consultant-sidebar .menu-item {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #e2e8f0;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  font-weight: 700;
}

.consultant-sidebar .menu-item:hover {
  background: rgba(59, 130, 246, 0.10);
  border-color: rgba(96, 165, 250, 0.20);
  color: #ffffff;
}

.consultant-sidebar .menu-item.active {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.22);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.consultant-sidebar .menu-label {
  font-size: 15px;
  font-weight: 700;
}

.consultant-brand-mark,
.consultant-brand-title,
.consultant-brand-subtitle,
.consultant-logo {
  display: none !important;
}

@media (max-width: 980px) {
  .consultant-sidebar-header {
    min-height: 74px;
    padding: 14px;
  }

  .consultant-sidebar-logo {
    width: 104px;
  }

  .consultant-menu {
    padding: 12px 10px 16px 10px;
  }
}


/* ===== CONSULTANT SIDEBAR OVERFLOW FIX ===== */
.consultant-sidebar,
.consultant-sidebar * {
  box-sizing: border-box;
}

.consultant-sidebar {
  overflow-x: hidden;
}

.consultant-sidebar-header,
.consultant-menu,
.consultant-sidebar .menu-item {
  width: 100%;
  max-width: 100%;
}

.consultant-menu {
  overflow-x: hidden;
}

.consultant-sidebar .menu-item {
  white-space: nowrap;
}

.consultant-sidebar-logo {
  max-width: 100%;
  height: auto;
}


/* ===== CONSULTANT LOGO FULL-FILL FIX ===== */
.consultant-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 90px;
}

.consultant-sidebar-logo {
  width: 85%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== CONSULTANT SIDEBAR PORTAL LINK ===== */
.consultant-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}


/* ===== FORCE LOGO FIX (CRITICAL) ===== */
.sidebar .consultant-sidebar-header img.consultant-sidebar-logo {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}


/* ===== CONSULTANT PROFILE SIDEBAR RESTORE FIX ===== */
.consultant-sidebar .consultant-sidebar-header {
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: 20px 18px 16px !important;
  background: transparent !important;
  overflow: visible !important;
}

.consultant-sidebar .consultant-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: none !important;
}

.consultant-sidebar img.consultant-sidebar-logo {
  width: 138px !important;
  max-width: 138px !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

.consultant-sidebar .consultant-menu {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}


/* ===== CONSULTANT PROFILE HEADER CENTER FIX ===== */
.consultant-sidebar .consultant-sidebar-header {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px 12px !important;
}

.consultant-sidebar .consultant-logo-link {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}


/* ===== FINAL LOGO ALIGNMENT ===== */
.consultant-sidebar .consultant-sidebar-header {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 28px 12px 20px !important; /* üst boşluk artırıldı */
}

.consultant-sidebar .consultant-logo-link {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.consultant-sidebar img.consultant-sidebar-logo {
  width: 170px !important;
  max-width: 170px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}


/* =========================================================
   SHELL-COMPATIBLE CONSULTANT SIDEBAR HEADER
   ========================================================= */
.sidebar-top {
  padding: 18px 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.logo-image {
  width: 160px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== CONSULTANT MOBILE MENU ===== */
.consultant-mobile-topbar {
  display: none;
}

.overlay {
  display: none;
}

.overlay.is-open {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.42);
  z-index: 50;
}

@media (max-width: 980px) {
  .consultant-mobile-topbar {
    display: flex;
  }

  .consultant-sidebar .sidebar-top {
    position: relative;
  }
}
