.layout {
  display: flex;
  gap: 32px;
  min-height: 60vh;
  padding: 40px 0 80px;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 209, 255, 0.15);
  border-radius: 20px;
  padding: 24px 16px;
  align-self: flex-start;
  position: sticky;
  top: 100px;
}

.userInfo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px 24px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric-blue), #0050FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}

.userName {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.2;
}

.userEmail {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.navLink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  background: transparent;
  border: none;
  text-align: start;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.navLink:hover {
  background: rgba(0, 209, 255, 0.05);
  color: var(--text-primary);
}

.activeLink {
  background: rgba(0, 209, 255, 0.1) !important;
  color: var(--electric-blue) !important;
  font-weight: 600;
  box-shadow: inset 4px 0 0 var(--electric-blue);
}

[dir='rtl'] .activeLink {
  box-shadow: inset -4px 0 0 var(--electric-blue);
}

.logoutBtn {
  margin-top: 24px;
  color: var(--error);
}

.logoutBtn:hover {
  background: rgba(255, 59, 92, 0.1);
  color: var(--error);
}

.content {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
}

.pageTitle {
  font-family: 'Orbitron', 'Cairo', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Common cards */
.card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 600px) {
  .content {
    padding: 20px;
  }
}
