/* dashboard.component.scss */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.dashboard-container {
  font-family: 'Inter', '阿里巴巴普惠体', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  min-height: 100vh;
  color: white;
  padding: 2rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  padding-bottom: 1rem;

  .title {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(90deg, #2563EB 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
  }
}

.tab-nav {
  display: flex;
  gap: 1rem;
  background: rgba(30, 41, 59, 0.8);
  padding: 0.5rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.tab-button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1.5rem;
  border-radius: 0.3rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;

  &:hover {
    color: white;
    background: rgba(37, 99, 235, 0.2);
  }

  &.active {
    background: #2563EB;
    color: white;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
  }
}

.dashboard-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;

  .main-content {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 0.8rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
}