/* _account.css (Shares mainly with _admin.css) */

.my-path-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  gap: 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}

.step-card.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
}

.step-card.active .step-number {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.todos-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}


.todo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.todo-item.done {
  opacity: 0.6;
}

.todo-item.done label {
  text-decoration: line-through;
}

.todo-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

/* ===== Sidebar Profile ===== */
.acc-sidebar-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 8px 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.acc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.acc-sidebar-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-align: center;
}

.acc-sidebar-role {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(108, 99, 255, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(108, 99, 255, 0.25);
}

.acc-sidebar-role.chip-role-startup {
  background: rgba(0, 206, 209, 0.12);
  color: #00CED1;
  border-color: rgba(0, 206, 209, 0.25);
}

.acc-sidebar-role.chip-role-company {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
  border-color: rgba(34, 197, 94, 0.25);
}

/* ===== Sidebar Nav ===== */
.acc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acc-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-align: left;
  width: 100%;
  position: relative;
}

.acc-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acc-nav-icon svg {
  width: 20px;
  height: 20px;
}

.acc-nav-label {
  flex: 1;
}

.acc-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.acc-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.acc-nav-item.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* ===== Welcome Banner ===== */
.lk-welcome-banner {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(99, 102, 241, 0.04));
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 28px;
}

.lk-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lk-banner-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

.lk-banner-avatar.avatar-startup {
  background: linear-gradient(135deg, #00CED1, #0099CC);
}

.lk-banner-avatar.avatar-company {
  background: linear-gradient(135deg, #22C55E, #16A34A);
}

.lk-banner-info {
  flex: 1;
  min-width: 200px;
}

.lk-banner-greeting {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.lk-banner-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 12px;
}

.lk-banner-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lk-banner-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid;
}

.lk-banner-chip.chip-online {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
  color: #22C55E;
}

.lk-banner-chip.chip-role-student {
  background: rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.25);
  color: #8B83FF;
}

.lk-banner-chip.chip-role-startup {
  background: rgba(0, 206, 209, 0.1);
  border-color: rgba(0, 206, 209, 0.25);
  color: #00CED1;
}

.lk-banner-chip.chip-role-company {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
  color: #22C55E;
}

.lk-banner-action {
  flex-shrink: 0;
}

/* ===== Dashboard Stat Cards ===== */
.acc-dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.acc-dash-card-v2 {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.acc-dash-card-v2:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.acc-dash-card-v2.card-purple { border-left: 3px solid var(--accent-primary); }
.acc-dash-card-v2.card-violet { border-left: 3px solid #A78BFA; }
.acc-dash-card-v2.card-cyan { border-left: 3px solid #00CED1; }
.acc-dash-card-v2.card-green { border-left: 3px solid #22C55E; }
.acc-dash-card-v2.card-orange { border-left: 3px solid #F59E0B; }

.acc-dash-icon-v2 {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-primary);
}

.card-violet .acc-dash-icon-v2 { background: rgba(167, 139, 250, 0.1); color: #A78BFA; }
.card-cyan .acc-dash-icon-v2 { background: rgba(0, 206, 209, 0.1); color: #00CED1; }
.card-green .acc-dash-icon-v2 { background: rgba(34, 197, 94, 0.1); color: #22C55E; }
.card-orange .acc-dash-icon-v2 { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }

.acc-dash-value-v2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.acc-dash-label-v2 {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.acc-dash-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-muted);
  opacity: 0;
  transition: all var(--transition-fast);
}

.acc-dash-card-v2:hover .acc-dash-arrow {
  opacity: 1;
  color: var(--accent-primary);
}

/* ===== Quick Actions ===== */
.lk-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.lk-quick-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lk-quick-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-primary);
}

.lk-quick-btn:hover {
  border-color: var(--accent-primary);
  background: rgba(108, 99, 255, 0.06);
  transform: translateY(-1px);
}

/* ===== Profile Completion Ring ===== */
.lk-completion-ring {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.lk-completion-svg {
  flex-shrink: 0;
}

.lk-completion-info {
  flex: 1;
}

.lk-completion-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.lk-completion-msg {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lk-completion-msg a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

.lk-completion-msg a:hover {
  text-decoration: underline;
}

/* ===== Section Titles ===== */
.lk-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.lk-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.lk-section-link {
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lk-section-link:hover {
  color: var(--accent-hover);
}

/* ===== Dashboard Stats Grid ===== */
.acc-dashboard-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ===== Activity Feed ===== */
.lk-activity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lk-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.lk-activity-item:hover {
  border-color: var(--border-hover);
}

.lk-activity-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(108, 99, 255, 0.1);
}

.lk-activity-text {
  flex: 1;
  min-width: 0;
}

.lk-activity-desc {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.lk-activity-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.lk-activity-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* ===== Completion Ring Text ===== */
.lk-completion-text {
  flex: 1;
}

.lk-completion-text strong {
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.lk-completion-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Profile Form ===== */
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .lk-banner-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .lk-banner-meta {
    justify-content: center;
  }
  
  .acc-dash-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .lk-quick-actions {
    grid-template-columns: 1fr;
  }
  
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Student Tariffs Section ===== */
.student-tariffs-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.student-tariffs-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.tariffs-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.tariff-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
}

.tariff-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tariff-pro {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08) 0%, rgba(108, 99, 255, 0.02) 100%);
  box-shadow: 0 0 30px rgba(108, 99, 255, 0.12);
}

.tariff-pro:hover {
  box-shadow: 0 0 40px rgba(108, 99, 255, 0.2);
}

.tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tariff-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.02em;
}

.tariff-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: -0.02em;
}

.tariff-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tariff-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.tariff-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #22C55E;
}

.tariff-result {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tariff-result strong {
  color: var(--text-primary);
  font-weight: 700;
}

.tariff-buy-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tariff-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.3);
}

.tariffs-footer {
  text-align: center;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.tariffs-footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.tariffs-footer a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.tariffs-footer a:hover {
  text-decoration: underline;
}

/* Tariff modal */
.tariff-modal-content {
  max-width: 460px;
}

@media (max-width: 900px) {
  .tariffs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Student Activation Plan (Персональный план) ===== */
.student-activation-card {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 28px;
}

.student-activation-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

.activation-visual {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.activation-circle-wrap {
  flex-shrink: 0;
}

.activation-circle {
  display: block;
}

.activation-bar-wrap {
  flex: 1;
}

.activation-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
}

.activation-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #22C55E, #06B6D4);
  transition: width 0.6s ease;
}

.activation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.activation-grid-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.activation-grid-item.is-done {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.06);
  color: #22C55E;
}

.activation-grid-label {
  flex: 1;
}

.activation-grid-check {
  color: #22C55E;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 8px;
}

/* ===== Chat / Messages (Telegram-style) ===== */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
  border-bottom: 1px solid var(--border-subtle);
  color: #fff;
}

.chat-header h3 {
  color: #fff !important;
  margin: 0;
}

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

.chat-message {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}

.chat-message.outgoing {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-message.incoming {
  align-self: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-message-subject {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 4px;
  opacity: 0.9;
}

.chat-message-body {
  word-break: break-word;
}

.chat-message-time {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.chat-edit-btn {
  opacity: 0;
  transition: opacity 0.2s;
}

.chat-message:hover .chat-edit-btn {
  opacity: 0.7 !important;
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.chat-input {
  flex: 1;
  resize: none;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--accent-primary);
}

.chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

/* ===== Chat Users List (Admin Messages Panel) ===== */
.chat-users-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-user-item:hover {
  border-color: var(--accent-primary);
  background: rgba(108, 99, 255, 0.04);
  transform: translateX(4px);
}

.chat-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.chat-user-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-user-email {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chat-unread-badge {
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  padding: 0 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(108, 99, 255, 0.3);
}

/* Chat Delete Button */
.chat-delete-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transition: all 0.2s ease;
  line-height: 1;
}

.chat-message:hover .chat-delete-btn {
  opacity: 1;
}

.chat-delete-btn:hover {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.chat-message.incoming .chat-delete-btn {
  color: rgba(0, 0, 0, 0.3);
}

.chat-message.incoming:hover .chat-delete-btn {
  color: rgba(0, 0, 0, 0.6);
}

.chat-message.incoming .chat-delete-btn:hover {
  color: #ff6b6b;
}

/* ===== Profile Form Sections ===== */
.profile-page-header {
  margin-bottom: 24px;
}

.profile-page-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.profile-page-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.profile-status-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-status-tag {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.profile-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

/* ===== Empty States ===== */
.lk-empty-state {
  text-align: center;
  padding: 48px 24px;
  grid-column: 1 / -1;
}

.lk-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.lk-empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lk-empty-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Filter Bar ===== */
.acc-filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.acc-search-input {
  flex: 1;
  min-width: 200px;
}

/* ===== Vacancies Grid (ЛК uses same card design as main page) ===== */
.vacancies-list .vacancy-card {
  cursor: pointer;
}

.vacancies-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .activation-visual {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .activation-grid {
    grid-template-columns: 1fr;
  }
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
  .chat-message {
    max-width: 88%;
  }
  .vacancies-list {
    grid-template-columns: 1fr;
  }
}

/* ===== Profile Shell & Hero ===== */
.acc-profile-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.acc-profile-hero {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.acc-profile-hero-copy {
  display: flex;
  flex-direction: column;
}

.acc-profile-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.acc-profile-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.acc-profile-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.acc-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acc-profile-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Profile Form Card ===== */
.acc-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.acc-profile-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.acc-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.acc-section-title:first-child {
  margin-top: 0;
}

.acc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.acc-form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.acc-form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}

.acc-form-input:focus {
  border-color: var(--accent-primary);
}

.acc-form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.acc-field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Skills tags */
.acc-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.acc-skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--accent-primary);
  font-weight: 500;
}

.acc-skill-tag .remove-skill {
  cursor: pointer;
  opacity: 0.6;
  font-size: 1rem;
  line-height: 1;
}

.acc-skill-tag .remove-skill:hover {
  opacity: 1;
}

/* Save button */
.acc-profile-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 24px;
}

.acc-profile-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.3);
}

/* Education / Experience / Projects repeaters */
.profile-repeater-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
}

.profile-repeater-item .remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.profile-repeater-item .remove-btn:hover {
  opacity: 1;
  color: #FF6B6B;
}

/* ===== MyPath Dashboard Styles ===== */
.my-path-dashboard {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.my-path-progress-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.my-path-recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.my-path-goals-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-path-goal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s ease;
}

.my-path-goal-card:hover {
  border-color: var(--border-hover);
}

.my-path-todos-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.my-path-todo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.my-path-todo-item.done {
  opacity: 0.5;
  text-decoration: line-through;
}

@media (max-width: 768px) {
  .acc-form-row {
    grid-template-columns: 1fr;
  }
  .acc-profile-title {
    font-size: 1.3rem;
  }
}

/* ===== MyPath Module — Complete Styles ===== */
/* Global SVG constraint for MyPath — prevents blow-up */
.my-path-shell svg,
.my-path-widget svg,
.my-path-header-card svg {
  max-width: 100%;
  max-height: 100%;
}

.my-path-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent-primary);
}

.my-path-brand-icon svg {
  width: 22px;
  height: 22px;
}

.my-path-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-path-title-row h2,
.my-path-title-row h3 {
  margin: 0;
  font-weight: 700;
  color: var(--text-primary);
}

.my-path-title-row h2 { font-size: 1.3rem; }
.my-path-title-row h3 { font-size: 1.1rem; }

/* MyPath Widget (compact card on dashboard) */
.my-path-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.my-path-widget p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 8px 0 16px 0;
}

.my-path-widget-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

/* Progress track & fill */
.my-path-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
}

.my-path-progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-primary), #8B5CF6);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.my-path-progress-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 8px 0;
}

.my-path-progress-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.my-path-progress-caption {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* Chips */
.my-path-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.my-path-chip.emphasis {
  background: rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.2);
  color: var(--accent-primary);
}

.my-path-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* Mini buttons */
.my-path-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.my-path-mini-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.my-path-mini-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
  border-color: transparent;
  color: #fff;
}

.my-path-mini-btn.primary:hover {
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.my-path-mini-btn.small {
  padding: 4px 8px;
  font-size: 0.72rem;
}

/* Shell & Header card */
.my-path-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.my-path-header-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.my-path-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.my-path-header-title p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 8px 0 0 0;
  line-height: 1.5;
}

/* Step cards grid */
.my-path-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.my-path-step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s;
}

.my-path-step-card:hover {
  border-color: var(--border-hover);
}

.my-path-step-card.is-complete {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.04);
}

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

.my-path-step-icon {
  font-size: 1.3rem;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-path-step-icon svg {
  width: 24px;
  height: 24px;
}

.my-path-step-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #22C55E;
}

.my-path-step-status.pending {
  color: var(--text-muted);
}

.my-path-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.my-path-step-description {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.my-path-step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.my-path-step-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.my-path-step-actions {
  display: flex;
  gap: 6px;
}

/* Goals card */
.my-path-goals-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.my-path-goals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.my-path-goals-head p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 4px 0 0 0;
}

/* Recommendations/Todos card */
.my-path-recs-card,
.my-path-todos-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

/* Tabs */
.my-path-tab-bar {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 16px;
}

.my-path-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.my-path-tab.active {
  background: var(--accent-primary);
  color: #fff;
}

/* Inline tag for vacancy type */
.my-path-inline-tag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.my-path-inline-tag.company {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.my-path-inline-tag.startup {
  background: rgba(0, 206, 209, 0.14);
  color: #00CED1;
}

@media (max-width: 768px) {
  .my-path-step-grid {
    grid-template-columns: 1fr;
  }
  .my-path-goals-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
