/* Специфичные стили для демо-страницы студенческого профиля */

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mobile-nav a.back-link {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .theme-toggle {
  margin-top: 16px;
  margin-left: 0;
}

.profile-card {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
  border-left: 4px solid var(--accent);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}

.profile-info {
  text-align: center;
}

.profile-info h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.profile-info p {
  margin: 4px 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.qr-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

#qrcode {
  width: 160px;
  height: 160px;
  background: white;
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 16px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.schedule-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.schedule-item:last-child {
  border: none;
}

.schedule-time {
  font-weight: bold;
  color: var(--accent);
}

.schedule-subject {
  margin-top: 4px;
  font-size: 1rem;
}

.schedule-location {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 2px;
}

.back-link {
  display: inline-block;
  margin: 16px 0;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

footer {
  background: var(--light-gray);
  padding: 30px 0 20px;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
}

/* === Mobile styles === */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .desktop-nav,
  .back-link,
  .theme-toggle:not(.mobile) {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-nav.active {
    display: block;
  }
}