/* ============================================
   DASHBOARD SCREEN
   ============================================ */

.dashboard-screen {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #0b0d12 0%, #12151d 50%, #0b0d12 100%);
  padding: 0;
  position: relative;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(18, 21, 29, 0.6);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.dashboard-header {
  background: rgba(18, 21, 29, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 32px;
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dashboard-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.dashboard-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dashboard-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(35, 209, 96, 0.5);
  color: #fff;
}

.dashboard-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.dashboard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(35, 209, 96, 0.2);
  border: 2px solid rgba(35, 209, 96, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.dashboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-avatar svg {
  color: rgba(35, 209, 96, 0.8);
}

.dashboard-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dashboard-user-details h2 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-user-details p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  padding: 10px 16px;
  color: #fca5a5;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.dashboard-logout-btn:hover {
  background: rgba(220, 38, 38, 0.25);
  border-color: rgba(220, 38, 38, 0.5);
  color: #fca5a5;
}

/* Navigation */
.dashboard-nav {
  display: flex;
  gap: 8px;
  padding: 0 32px;
  background: rgba(18, 21, 29, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.dashboard-nav-item:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-nav-item.active {
  color: #23d160;
  border-bottom-color: #23d160;
}

.dashboard-nav-item svg {
  width: 20px;
  height: 20px;
}

/* Main Content */
.dashboard-main {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.dashboard-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-header {
    padding: 16px 20px;
  }

  .dashboard-header-content {
    gap: 16px;
  }

  .dashboard-user-info {
    min-width: 0;
    flex: 1;
  }

  .dashboard-user-details h2 {
    font-size: 14px;
  }

  .dashboard-user-details p {
    font-size: 12px;
  }

  .dashboard-nav {
    padding: 0 20px;
  }

  .dashboard-nav-item {
    padding: 14px 16px;
    font-size: 14px;
  }

  .dashboard-main {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .dashboard-header-content {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-back-btn,
  .dashboard-logout-btn {
    width: 100%;
    justify-content: center;
  }

  .dashboard-user-info {
    justify-content: center;
    text-align: center;
  }
}

