﻿/* ===== Mobile User Header ===== */
.mobile-user-header {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  margin-left: var(--space-2);
  flex: 1;
  max-width: 250px;
}

.mobile-user-header:hover {
  background: var(--bg-accent);
  border-color: var(--border-color-hover);
}

.mobile-header-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.mobile-header-info {
  flex: 1;
  min-width: 0;
}

.mobile-header-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-header-status {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.mobile-header-chevron {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.desktop-chat-title {
  display: block;
}

/* ===== Mobile User Info Modal ===== */
/* ===== Mobile Navigation Overlay ===== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  animation: fadeIn var(--transition);
}

.mobile-nav-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  left: 0;
  width: min(300px, 80vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  animation: slideInLeft var(--transition-slow);
  box-shadow: var(--shadow-xl);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-tertiary);
}

.mobile-nav-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-nav-close {
  padding: var(--space-2);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.mobile-nav-close:hover {
  background: var(--danger-500);
  color: white;
}

.mobile-friends-section {
  padding: var(--space-3);
}

/* Mobile Friend Requests */
.mobile-friend-requests-section {
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.mobile-subsection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  cursor: pointer;
  transition: background-color var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.mobile-subsection-header:hover {
  background: var(--bg-hover);
}

.mobile-subsection-title {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.mobile-friend-requests-list {
  padding: var(--space-3);
  max-height: 200px;
  overflow-y: auto;
}

/* Mobile Friends List */
.mobile-friends-list-container {
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mobile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-accent);
}

.mobile-section-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-friends-list {
  padding: var(--space-3);
  max-height: 60vh;
  max-height: 60dvh;
  overflow-y: auto;
}

/* ===== Upload Menu Dropdown ===== */
/* ===== About Link in Login/Registration ===== */
.about-link-container {
  text-align: center;
  margin: var(--space-3) 0;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-link-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
  min-width: 180px;
  font-weight: 500;
  transition: all var(--transition);
}

.about-link-container .btn svg {
  flex-shrink: 0;
  vertical-align: middle;
  transition: transform var(--transition);
}

/* ===== Responsive Design ===== */
