.employees-container {
  padding: 24px;
  background: #f5f5f5;
  min-height: 100vh;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;

  h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
  }

  .subtitle {
    color: #666;
    margin: 0;
    font-size: 14px;
  }
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;

  &:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  &.active {
    border-color: #165DFF;
    background: #E6F7FF;
  }

  .stat-value {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
  }

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

.filter-bar {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 12px;

  .search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
}

.data-table {
  background: white;
  border-radius: 8px;
  overflow: hidden;

  table {
    width: 100%;
    border-collapse: collapse;

    th, td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid #f0f0f0;
    }

    th {
      background: #fafafa;
      font-weight: 600;
    }

    tr.disabled {
      opacity: 0.5;
    }

    .badge {
      padding: 4px 8px;
      background: #E6F7FF;
      color: #165DFF;
      border-radius: 4px;
      font-size: 12px;
    }

    .status {
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 12px;

      &.active {
        background: #E6F9F0;
        color: #00B42A;
      }

      &.disabled {
        background: #FFECE8;
        color: #F53F3F;
      }
    }

    .empty-state {
      text-align: center;
      padding: 60px;
      color: #999;
    }
  }
}

.btn {
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;

  &.btn-primary {
    background: #165DFF;
    color: white;
  }

  &.btn-secondary {
    background: white;
    border: 1px solid #ddd;
  }

  &.btn-default {
    background: white;
    border: 1px solid #ddd;
  }

  &.btn-text {
    background: none;
    color: #165DFF;
  }
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}

// 侧边面板(与departments样式相同,省略...)
.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 1000;

  &.open {
    pointer-events: auto;

    .panel-overlay {
      opacity: 1;
    }

    .panel-content {
      transform: translateX(0);
    }
  }

  .panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .panel-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 480px;
    background: white;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .panel-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;

    h2 {
      margin: 0;
      font-size: 18px;
      font-weight: 600;
    }

    .btn-close {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
    }
  }

  .panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
  }

  .panel-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }
}

.form-group {
  margin-bottom: 20px;

  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }

  .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
}

.detail-item {
  margin-bottom: 20px;

  label {
    display: block;
    color: #999;
    margin-bottom: 8px;
  }

  div {
    font-size: 16px;
  }
}
