  .dash-wrapper {
    background: #ffffff;
    min-height: 100vh;
    padding: 1.25rem;
  }

  .dash-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: start;
  }

  /* ---- SIDEBAR ---- */
  .sidebar { display: flex; flex-direction: column; gap: 2px; }

  .section-label {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #888;
      padding: 4px 12px 2px; /* reduced */
      margin: 0; /* important */
  }

  .nav-item-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 13px;
    color: #555;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
  }

  .nav-item-customer:hover { background: #eae9e4; }
  .nav-item-customer.active { background: #fff; color: #a32d2d; font-weight: 500; }
  .nav-item-customer svg { width: 16px; height: 16px; flex-shrink: 0; }

  /* ---- CARDS ---- */
  .card {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 12px;
  }

  /* ---- MAIN CONTENT ---- */
  .main-content { display: flex; flex-direction: column; gap: 14px; }

  /* ---- WELCOME ---- */
  .welcome-card {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
  }

  .welcome-title { font-size: 22px; font-weight: 500; }
  .welcome-sub { font-size: 13px; color: #777; margin-top: 2px; }
  .welcome-meta { display: flex; gap: 20px; margin-top: 12px; font-size: 12px; color: #777; }
  .welcome-meta strong { color: #111; font-weight: 500; }

  .officer-card { padding: 14px; min-width: 220px; }

  .officer-info { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

  .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fce8e8;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 500; color: #a32d2d;
    flex-shrink: 0;
  }

  .officer-name { font-size: 13px; font-weight: 500;  line-height: 1;}
  .officer-status { font-size: 11px; color: #3b6d11; }

  .officer-actions { display: flex; gap: 8px; }

  .officer-info p {
    margin: 0;
  }

  .btn-primary {
    background: #B30123; color: #fff;
    border: none; border-radius: 8px;
    padding: 7px 10px; font-size: 11px; font-weight: 500;
    cursor: pointer; flex: 1;
  }

  .btn-outline {
    background: transparent; color: #333;
    border: 0.5px solid rgba(0,0,0,0.2);
    border-radius: 8px; padding: 7px 10px;
    font-size: 11px; cursor: pointer;
  }

  /* ---- STATS ---- */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  
  .stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #ddd; /* 👈 add this */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .stat-label {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.06em; color: #888;
    margin-bottom: 6px;
  }

  .stat-value { font-size: 18px; font-weight: 500; color: #111; }

  .dot {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; margin-right: 6px;
  }
  .dot-green { background: #3b6d11; }

  /* ---- BOTTOM ROW ---- */
 .bottom-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .compliance-card { padding: 1.25rem; }
  .section-title { font-size: 16px; font-weight: 500; margin-bottom: 14px; }

  .compliance-row {
    padding: 14px 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
  }
  .compliance-row:last-child { border-bottom: none; }

  .compliance-header {
    display: flex; align-items: center;
    gap: 10px; flex-wrap: wrap;
    margin-bottom: 4px;
  }

  .compliance-name { font-size: 14px; font-weight: 500; }

  .meta { font-size: 12px; color: #888; margin-top: 3px; }
  .meta strong { color: #111; }

  .training-box {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 220px;
    background: #fff;
    flex: 1; /* makes them sit nicely in row */
    max-width: 280px;
  }

  .sub-text {
      font-size: 12px;
      color: #6c757d;
  }

  .compliance-card {
      padding: 16px;
  }

  .card {
      transition: all 0.3s ease;
  }

  /* initial hidden state */
.view-enter {
    opacity: 0;
    transform: translateY(20px);
}

.view-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.edit-form-link {
    color: red;
    font-weight: bold;
}
  /* ---- NOTICES ---- */
  /* .notices-card { padding: 1.25rem; }

  .notices-header {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 14px;
  }

  .notices-count {
    background: #a32d2d; color: #fff;
    font-size: 11px; font-weight: 500;
    padding: 2px 8px; border-radius: 99px;
  }

  .notice-row {
    padding: 12px 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
  }
  .notice-row:last-child { border-bottom: none; }
  .notice-title { font-size: 13px; font-weight: 500; }

  .notice-footer {
    display: flex; align-items: center;
    justify-content: space-between; margin-top: 4px;
  }
  .notice-date { font-size: 11px; color: #888; } */

  /* ---- BADGES ---- */
  .badge {
    display: inline-block;
    font-size: 11px; font-weight: 500;
    padding: 2px 10px; border-radius: 8px;
  }
  .badge-success { background: #eaf3de; color:green; }
  .badge-warning { background: #faeeda; color: #854f0b; }
  .badge-danger  { background: #fce8e8; color:red; }
  .badge-info    { background: #e6f1fb; color: #185fa5; }


  .dot-green { background: #22c55e; }
  .dot-orange { background: #f59e0b; }
  .dot-red { background: #ef4444; }
  .dot-gray { background: #9ca3af; }

  .service-select {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ---- RESPONSIVE ---- */
  @media (max-width: 900px) {
    .dash-grid { grid-template-columns: 1fr; }
    .sidebar { flex-direction: row; flex-wrap: wrap; overflow-x: auto; }
    .welcome-card { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .bottom-row { grid-template-columns: 1fr; }
  }

