/* Dashboard page - Terminal Aesthetic */

.dashboard-body {
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.dashboard-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  animation: fadeIn 0.8s ease-out;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 50px;
}

.content-side {
  flex: 1;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: clamp(12px, 2vw, 16px);
  color: var(--text-main);
  letter-spacing: -1px;
  font-weight: 700;
}

h1 .highlight {
  color: var(--primary);
}

p.subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: clamp(24px, 4vw, 32px);
  line-height: 1.6;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: clamp(12px, 2vw, 16px);
  flex-wrap: wrap;
}

.btn {
  padding: clamp(10px, 2vw, 14px) clamp(22px, 4vw, 32px);
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: transparent;
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-logout {
  color: var(--error) !important;
  border-color: var(--error) !important;
}

.btn-logout:hover {
  background-color: transparent !important;
  border-color: var(--error) !important;
  color: var(--error) !important;
}

/* Hero illustration */
.image-side {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-svg {
  width: 100%;
  max-width: 380px;
  animation: float 6s ease-in-out infinite;
  filter: invert(1) hue-rotate(180deg) brightness(1.1);
}

/* Tablet */
@media (max-width: 850px) {
  .glass-card {
    flex-direction: column-reverse;
    padding: 40px 24px;
    text-align: center;
  }

  .btn-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-svg {
    max-width: 250px;
    margin-bottom: 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .dashboard-body {
    padding-top: 90px;
  }

  .glass-card {
    padding: 30px 20px;
    gap: 30px;
  }

  h1 {
    font-size: 2rem;
  }

  p.subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    text-align: center;
  }
}