body.dashboard-body {
  padding-top: 0;
  background: #fafafa;
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 0;
}

.dashboard-sidebar {
  width: 260px;
  background: #ffffff;
  border-right: 1px solid #eaeaea;
  padding: 28px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dashboard-brand img {
  height: 26px;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
}

.dashboard-link:hover {
  background: #f5f5f5;
  color: var(--red);
}

.dashboard-link.active {
  background: #f5f5f5;
  color: var(--red);
}

.dashboard-link i {
  width: 20px;
  font-size: 16px;
}

.dashboard-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-main {
  flex: 1;
  padding: 40px;
  background: #fafafa;
}

.dashboard-shell {
  padding: 0;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.dashboard-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--black);
}

.dashboard-subtitle {
  font-size: 15px;
  color: #666;
  margin-top: 4px;
}

.dashboard-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-avatar {
  width: 42px;
  height: 42px;
  border-radius: 100px;
  background-color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #fff;
  text-decoration: none;
}

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

.dashboard-stat {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #eaeaea;
  transition: border-color 0.2s ease;
}

.dashboard-stat:hover {
  border-color: #d0d0d0;
}

.dashboard-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.dashboard-stat-icon.blue {
  background: rgba(183, 28, 28, 0.1);
  color: var(--red);
}

.dashboard-stat-icon.green {
  background: rgba(183, 28, 28, 0.08);
  color: var(--red);
}

.dashboard-stat-icon.purple {
  background: rgba(183, 28, 28, 0.06);
  color: var(--red);
}

.dashboard-stat-icon.orange {
  background: rgba(183, 28, 28, 0.1);
  color: var(--red);
}

.dashboard-stat-icon.red {
  background: rgba(183, 28, 28, 0.1);
  color: var(--red);
}

.dashboard-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.dashboard-stat-label {
  font-weight: 500;
  color: #666;
  font-size: 14px;
}

.dashboard-stat-change {
  font-weight: 600;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 20px;
}

.dashboard-stat-change.up {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.dashboard-stat-change.down {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.dashboard-stat-value {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1;
}

.dashboard-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #eaeaea;
}

.dashboard-card-spacer {
  margin-top: 20px;
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dashboard-card-title {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
  color: var(--black);
}

.dashboard-card-action {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.dashboard-card-action:hover {
  text-decoration: underline;
}

.dashboard-chart {
  padding: 8px 0 0 0;
}

.dashboard-bars {
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border-bottom: 1px solid #eaeaea;
}

.dashboard-bar {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: var(--red);
  transition: background 0.2s ease;
}

.dashboard-bar:hover {
  background: var(--red-hover);
}

.dashboard-x {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 0 0;
}

.dashboard-month {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

.dashboard-recent {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 14px;
  border-radius: 12px;
  transition: background 0.15s ease;
  border: 1px solid transparent;
}

.dashboard-recent-item:hover {
  background: #f8f8f8;
  border-color: #eaeaea;
}

.dashboard-recent-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(183, 28, 28, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red);
}

.dashboard-recent-info {
  flex: 1;
}

.dashboard-recent-title {
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--black);
}

.dashboard-recent-company {
  font-size: 13px;
  color: #888;
}

.dashboard-recent-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  background: #f5f5f5;
  color: #666;
}

.dashboard-activity {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-activity-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.dashboard-activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dashboard-activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 6px;
  flex-shrink: 0;
}

.dashboard-activity-content {
  flex: 1;
}

.dashboard-activity-text {
  font-size: 14px;
  color: var(--black);
  margin-bottom: 4px;
}

.dashboard-activity-time {
  font-size: 12px;
  color: #888;
}

.dashboard-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dashboard-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  background: #fff;
  text-decoration: none;
  color: var(--black);
  transition: all 0.2s ease;
}

.dashboard-quick-action:hover {
  border-color: var(--red);
  background: rgba(183, 28, 28, 0.02);
}

.dashboard-quick-action i {
  font-size: 20px;
  color: var(--red);
}

.dashboard-quick-action span {
  font-size: 13px;
  font-weight: 500;
}

.notification-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background 0.15s ease;
}

.notification-card:hover {
  background: #f9f9f9;
}

.notification-card.unread {
  border-left: 3px solid var(--red);
}

.notification-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon.info {
  background: rgba(33, 150, 243, 0.1);
  color: #2196f3;
}

.notification-icon.success {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.notification-icon.warning {
  background: rgba(255, 152, 0, 0.1);
  color: #ff9800;
}

.notification-icon.job {
  background: rgba(183, 28, 28, 0.1);
  color: var(--red);
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.notification-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.notification-time {
  font-size: 12px;
  color: #999;
}

.settings-section {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
}

.settings-section-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eaeaea;
  background: #fafafa;
}

.settings-section-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-section-title i {
  color: #666;
}

.settings-section-body {
  padding: 0;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s ease;
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item:hover {
  background: #fafafa;
}

.settings-item-info {
  flex: 1;
}

.settings-item-info h6 {
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
  margin: 0 0 4px 0;
}

.settings-item-info p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.form-check-input:checked {
  background-color: var(--black);
  border-color: var(--black);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  border-color: var(--black);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.profile-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 36px;
  position: relative;
}

.profile-avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.profile-avatar-edit:hover {
  background: var(--red);
}

.profile-info h2 {
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 4px 0;
}

.profile-info p {
  color: #666;
  margin: 0;
  font-size: 15px;
}

.profile-stats {
  display: flex;
  gap: 32px;
  margin-top: 12px;
}

.profile-stat {
  text-align: center;
}

.profile-stat-value {
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
}

.profile-stat-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-section {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  margin-bottom: 24px;
  overflow: hidden;
}

.profile-section-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-section-title {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
  color: var(--black);
}

.profile-section-body {
  padding: 24px;
}

.profile-field {
  margin-bottom: 20px;
}

.profile-field:last-child {
  margin-bottom: 0;
}

.profile-field-label {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.profile-field-value {
  font-size: 15px;
  color: var(--black);
}

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

.profile-skill-tag {
  padding: 6px 14px;
  background: #f5f5f5;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
}

.profile-completeness {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 20px 24px;
}

.profile-completeness-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.profile-completeness-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
}

.profile-completeness-percent {
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
}

.profile-completeness-bar {
  height: 8px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.profile-completeness-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0%, #e53935 100%);
  border-radius: 10px;
  transition: width 0.5s ease;
}

.profile-completeness-hint {
  margin: 12px 0 0 0;
  font-size: 13px;
  color: #888;
}

.dashboard-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fafafa;
  border-radius: 16px;
  border: 1px solid #eaeaea;
}

.dashboard-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(183, 28, 28, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.dashboard-empty-icon i {
  font-size: 32px;
  color: var(--red);
}

.dashboard-empty h5 {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.dashboard-empty p {
  color: #888;
  margin-bottom: 20px;
  font-size: 14px;
}

.dashboard-empty .btn {
  margin-top: 8px;
}

.application-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.application-status i {
  font-size: 11px;
}

.status-pending {
  background: rgba(255, 193, 7, 0.15);
  color: #b8860b;
}

.status-reviewed {
  background: rgba(33, 150, 243, 0.15);
  color: #1976d2;
}

.status-interview {
  background: rgba(156, 39, 176, 0.15);
  color: #7b1fa2;
}

.status-rejected {
  background: rgba(244, 67, 54, 0.15);
  color: #c62828;
}

.status-accepted {
  background: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
}

.status-select {
  padding: 4px 8px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  font-size: 11px;
  color: #666;
  background: #fff;
  cursor: pointer;
  outline: none;
}

.status-select:hover {
  border-color: #d0d0d0;
}

.status-select:focus {
  border-color: var(--red);
}

.applied-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--black);
  font-size: 24px;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.sidebar-overlay.active {
  display: block;
}

@media (max-width: 1200px) {
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dashboard-layout {
    flex-direction: column;
  }

  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s ease;
    flex-direction: column;
    padding: 24px 20px;
  }

  .dashboard-sidebar.open {
    left: 0;
  }

  .dashboard-nav {
    flex-direction: column;
    gap: 4px;
    flex-wrap: nowrap;
  }

  .dashboard-actions {
    flex-direction: column;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
  }

  .dashboard-main {
    padding: 24px;
    margin-left: 0;
  }

  .dashboard-title {
    font-size: 26px;
  }

  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-stats {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-quick-actions {
    grid-template-columns: 1fr;
  }

  .settings-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dashboard-main {
    padding: 16px;
  }

  .dashboard-title {
    font-size: 22px;
  }

  .dashboard-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dashboard-top-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .dashboard-main h1 {
    font-size: 1.5rem;
  }

  .dashboard-main .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }

  .dashboard-main .d-flex.gap-2 {
    flex-wrap: wrap;
    width: 100%;
  }

  .dashboard-main .d-flex.gap-2 .form-select {
    flex: 1;
    min-width: 120px;
  }
}
