/* public/components/start-here/start-here.css */

/* ============================================
   START HERE & PROFESSIONAL PROFILE STYLES
   ============================================ */

.start-here-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

/* Glassmorphic Card Styling */
.start-here-container .card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
  box-sizing: border-box;
}

.start-here-container .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--cyan), transparent);
  opacity: 0.75;
}

.start-here-container .card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

/* Hero Card */
.start-here-hero-card {
  padding: 16px 22px !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(15, 23, 42, 0.6)) !important;
}

.start-here-badge {
  font-size: 11.5px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.start-here-hero-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.start-here-hero-sub {
  font-size: 13px;
  color: var(--text-2);
  margin: 3px 0 0 0;
}

/* Form Header & Manual Level Button */
.start-here-form-header {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.start-here-manual-btn {
  font-size: 12px !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border: 1px solid var(--border) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

/* Form Grid System */
.start-here-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.start-here-form-grid .field.full-width {
  width: 100%;
}

.start-here-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.start-here-years-field {
  max-width: 320px;
  width: 100%;
}

@media (max-width: 860px) {
  .start-here-grid-2col {
    grid-template-columns: 1fr;
  }
  .start-here-years-field {
    max-width: 100%;
  }
}

/* Form Labels & Field Hints */
.start-here-container .field-label {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.field-hint {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 4px;
  display: block;
}

/* Input Fields & Textareas */
.start-here-container .field-textarea,
.start-here-container .field-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 13.5px;
  line-height: 1.5;
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}

.start-here-container .compact-textarea {
  min-height: 85px;
  resize: vertical;
}

.start-here-container .compact-input {
  height: 42px;
}

.start-here-container .field-textarea:focus,
.start-here-container .field-input:focus {
  border-color: var(--brand);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 3px var(--brand-soft), 0 4px 16px rgba(99, 102, 241, 0.15);
}

.start-here-container .field-textarea::placeholder,
.start-here-container .field-input::placeholder {
  color: var(--text-2);
  opacity: 0.6;
}

/* Extracted Skills Box */
.start-here-extracted-box {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--brand-soft);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--r-sm);
}

.start-here-extracted-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.start-here-extracted-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Chips Input Container */
.start-here-container .chips-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 6px 12px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  min-height: 42px;
  cursor: text;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.start-here-container .chips-input-wrapper:focus-within .chips-input-container {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft), 0 4px 16px rgba(99, 102, 241, 0.15);
}

.start-here-container .chip-inline-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-ar);
  flex: 1;
  min-width: 140px;
  padding: 2px 4px;
}

.start-here-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* Chip Badge Animations */
.start-here-container .chip {
  animation: popIn 200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 150ms ease;
}

.start-here-container .chip:hover {
  transform: translateY(-1px);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Primary Action Buttons */
.start-here-container .btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #ffffff;
  border: none;
  font-weight: 700;
  border-radius: var(--r-sm);
  box-shadow: 0 4px 18px var(--brand-soft);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), opacity var(--fast) var(--ease);
}

.start-here-container .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(99, 102, 241, 0.45);
}

.start-here-container .btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Action Card & Button */
.start-here-action-card {
  padding: 14px 22px !important;
}

.start-here-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.start-here-action-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.start-here-action-sub {
  font-size: 12px;
  color: var(--text-2);
  margin: 3px 0 0 0;
}

.start-here-analyze-btn {
  gap: 8px !important;
  font-size: 13.5px !important;
  padding: 8px 22px !important;
  height: 40px !important;
}

/* Score Card */
.start-here-score-card {
  border: 2px solid var(--brand) !important;
  background: var(--brand-soft) !important;
  border-radius: var(--r-lg) !important;
  padding: 18px 24px !important;
  position: relative;
}

.start-here-score-badge-wrapper {
  position: absolute;
  top: 14px;
  inset-inline-end: 16px;
}

.start-here-score-flex {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.start-here-ring-wrapper {
  position: relative;
  width: 105px;
  height: 105px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-here-ring-center {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#score-number-display {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  font-family: var(--mono);
  line-height: 1;
}

.start-here-score-sub {
  font-size: 10px;
  color: var(--text-2);
  margin-top: 2px;
}

.start-here-score-details {
  flex: 1;
  min-width: 240px;
}

.start-here-level-sub {
  font-size: 11.5px;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.start-here-level-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin: 3px 0 4px 0;
}

.start-here-level-desc {
  font-size: 12.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}

.start-here-override-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Results Grid - Full Width Responsive Grid */
.start-here-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 16px;
  width: 100%;
}

@media (max-width: 920px) {
  .start-here-results-grid {
    grid-template-columns: 1fr;
  }
}

.start-here-card-heading {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.start-here-header-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.start-here-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.start-here-bio-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(34, 211, 238, 0.03)) !important;
  border: 1px solid rgba(99, 102, 241, 0.25) !important;
}

.start-here-bio-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  font-family: var(--font-ar);
  white-space: pre-line;
}

.start-here-benchmark-stat {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand);
  font-family: var(--mono);
  margin: 4px 0;
}

.start-here-benchmark-desc {
  font-size: 12.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}

.start-here-disclaimer {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.start-here-gaps-list,
.start-here-plan-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.start-here-factors-grid,
.start-here-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  padding-top: 8px;
}

.start-here-plan-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), transparent) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

/* Next Step Card */
.start-here-next-card {
  border: 2px solid var(--brand) !important;
  background: var(--brand-soft) !important;
}

.start-here-next-badge {
  font-size: 11px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.start-here-next-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 6px 0;
}

.start-here-next-desc {
  font-size: 12.5px;
  color: var(--text-2);
  margin: 0 0 14px 0;
  line-height: 1.5;
}

.start-here-status-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--surface) !important;
}

.start-here-status-title {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--text);
}

.start-here-status-sub {
  font-size: 12px;
  color: var(--text-2);
  margin: 3px 0 0 0;
}

/* Sticky Action Bar */
.start-here-sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 990;
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--r-lg);
  margin-top: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.start-here-sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.start-here-progress-group {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.start-here-progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.start-here-save-btn {
  gap: 8px !important;
  padding: 0 24px !important;
  font-size: 13.5px !important;
  height: 40px !important;
}

/* Collapsible Card Toggle Helper */
.start-here-container .card.collapsible-card {
  padding: 0;
  transition: border-color var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}

.start-here-container .card.collapsible-card .card-header-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}

.start-here-container .card.collapsible-card .chevron-icon {
  transition: transform var(--fast) var(--ease);
}

.start-here-container .card.collapsible-card.collapsed .chevron-icon {
  transform: rotate(-90deg);
}

.start-here-container .card.collapsible-card.collapsed .collapsible-wrapper {
  display: none;
}

.start-here-container .card.collapsible-card .collapsible-wrapper {
  padding: 0 20px 18px 20px;
}

/* ============================================
   MANUAL LEVEL OVERRIDE MODAL STYLES
   ============================================ */

#manual-level-modal.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(10, 15, 29, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#manual-level-modal.modal-backdrop.hidden {
  display: none !important;
}

.level-override-modal {
  width: 100%;
  max-width: 500px !important;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.98)) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.15) !important;
  position: relative;
  box-sizing: border-box;
  animation: modalFadeIn 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.level-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.level-modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.level-modal-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.level-modal-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.level-modal-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 3px 0 0 0;
  line-height: 1.4;
}

.level-modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease;
  outline: none;
}

.level-modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.3);
}

.level-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.level-select-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}

.level-select-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: transparent;
  transition: background 200ms ease;
}

.level-select-card:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.level-select-card.level-beginner:hover::before,
.level-select-card.level-beginner.active::before {
  background: #10b981;
}

.level-select-card.level-medium:hover::before,
.level-select-card.level-medium.active::before {
  background: #22d3ee;
}

.level-select-card.level-pro:hover::before,
.level-select-card.level-pro.active::before {
  background: #8b5cf6;
}

.level-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.level-card-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.beginner-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.medium-badge {
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.pro-badge {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.level-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.level-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.level-en-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.level-card-desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.level-card-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 150ms ease;
}

.level-select-card:hover .level-card-radio {
  border-color: #94a3b8;
}

.level-select-card.active {
  border-color: rgba(99, 102, 241, 0.5) !important;
  background: rgba(99, 102, 241, 0.12) !important;
}

.level-select-card.active .level-card-radio {
  border-color: var(--brand) !important;
  background: var(--brand) !important;
  box-shadow: 0 0 8px var(--brand-soft);
}

.level-select-card.active .level-card-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.level-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* Unified 100% Readiness Card & 4-Tabs Next Steps */
.start-here-readiness-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--r-md, 12px);
  padding: 20px 24px;
  margin-top: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.start-here-readiness-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.start-here-readiness-badge-icon {
  font-size: 30px;
  background: rgba(99, 102, 241, 0.15);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.3);
  flex-shrink: 0;
}

.start-here-readiness-text {
  flex: 1;
}

.start-here-readiness-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.start-here-readiness-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.start-here-readiness-sub {
  font-size: 13px;
  color: var(--text-2, #94a3b8);
  margin: 0;
  line-height: 1.5;
}

.start-here-four-tabs-container {
  width: 100%;
}

.start-here-four-tabs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
}

@media (max-width: 900px) {
  .start-here-four-tabs-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .start-here-four-tabs-row {
    grid-template-columns: 1fr;
  }
}

.start-here-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.start-here-tab-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  color: #ffffff;
}

.start-here-tab-btn.primary-tab {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border-color: #818cf8;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.start-here-tab-btn.primary-tab:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.5);
}

.start-here-tab-icon {
  font-size: 16px;
  display: inline-flex;
}

.start-here-tab-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
  margin-right: auto;
}

.start-here-tab-btn:hover .start-here-tab-arrow {
  transform: translateX(-3px);
}

/* ============================================
   SKILLS MULTI-SELECT DROPDOWN STYLES (PHASE 2)
   ============================================ */
.skills-select-wrapper {
  position: relative;
  width: 100%;
}

.skills-select-wrapper .select-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: right;
  user-select: none;
  background: var(--input-bg, rgba(15, 23, 42, 0.6));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: var(--r-sm, 8px);
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text, #f1f5f9);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.skills-select-wrapper .select-trigger:focus,
.skills-select-wrapper.open .select-trigger {
  border-color: var(--brand, #6366f1);
  box-shadow: 0 0 0 3px var(--brand-soft, rgba(99, 102, 241, 0.2)), 0 4px 16px rgba(99, 102, 241, 0.15);
  outline: none;
}

.skills-select-wrapper .select-arrow {
  font-size: 11px;
  opacity: 0.7;
  transition: transform var(--fast) var(--ease);
  margin-inline-start: 8px;
}

.skills-select-wrapper.open .select-arrow {
  transform: rotate(180deg);
}

.skills-multiselect-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface, #0f172a);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: var(--r-md, 10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 1050;
  padding: 10px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-sizing: border-box;
}

.skills-dropdown-search-box {
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface, #0f172a);
  padding-bottom: 4px;
}

.skills-dropdown-search-box input {
  width: 100%;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: var(--r-sm, 6px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  color: var(--text, #ffffff);
  box-sizing: border-box;
}

.skills-dropdown-search-box input:focus {
  border-color: var(--brand, #6366f1);
  outline: none;
}

.skills-dropdown-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}

.skills-action-btn {
  background: none;
  border: none;
  color: var(--brand, #6366f1);
  cursor: pointer;
  padding: 2px 6px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.skills-action-btn:hover {
  background: var(--brand-soft, rgba(99, 102, 241, 0.15));
}

.skills-action-btn.clear {
  color: var(--text-3, #94a3b8);
}

.skills-action-btn.clear:hover {
  background: rgba(255, 255, 255, 0.05);
}

.skills-dropdown-options {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.skills-group-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand, #818cf8);
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skills-group-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.skills-option-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--r-xs, 6px);
  cursor: pointer;
  font-size: 13px;
  color: var(--text, #e2e8f0);
  transition: background 0.12s ease;
  user-select: none;
}

.skills-option-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.skills-option-item.selected {
  background: var(--brand-soft, rgba(99, 102, 241, 0.12));
  color: #ffffff;
  font-weight: 600;
}

.skills-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--brand, #6366f1);
  margin: 0;
  flex-shrink: 0;
}

.skills-empty-notice {
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3, #94a3b8);
}