/* DentisConnect - HomeApp Styles */
/* Patient App - Uses brand blue sidebar with coral accent badge */
:root {
  --primary: #1e3a5f;
  --primary-dark: #152d4a;
  --primary-light: #2a4a73;
  --secondary: #00b4b4;
  --accent: #e07850;
  --accent-dark: #c96840;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --error: #dc3545;
  --success: #28a745;
  --warning: #ffc107;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-alt);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Links & Buttons */
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--primary);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: #152d4a;
}
.btn-secondary {
  background: var(--secondary);
  color: white;
}
.btn-secondary:hover {
  background: #009999;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-danger {
  background: var(--error);
  color: white;
}
.btn-danger:hover {
  background: #c82333;
}
.btn-icon {
  padding: 0.5rem;
  background: transparent;
  border-radius: 50%;
}
.btn-icon:hover {
  background: var(--bg-alt);
}

/* Form Elements */
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 180, 180, 0.1);
}
input.error {
  border-color: var(--error);
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}
.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}
.loading-content {
  text-align: center;
}
.loading-logo {
  width: 120px;
  margin-bottom: 1.5rem;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg-alt);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-text {
  color: var(--text-light);
}

/* Layout */
.app-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
.sidebar {
  width: 260px;
  background: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s ease;
}
.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-logo {
  width: 140px;
}
.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
  cursor: pointer;
}
.nav-item:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.nav-item.active {
  border-left: 3px solid var(--accent);
}
.nav-icon {
  width: 20px;
  height: 20px;
}
.nav-badge {
  margin-left: auto;
  background: var(--error);
  color: white;
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 10px;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: hidden;
}
.topbar {
  background: var(--bg);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 0.5rem;
  min-height: 52px;
  max-width: 100%;
  overflow: hidden;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.menu-toggle {
  display: none;
  flex-shrink: 0;
}
.page-title {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.topbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}
.notification-btn {
  position: relative;
  flex-shrink: 0;
  padding: 0.375rem;
}
.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--error);
  color: white;
  font-size: 0.5625rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-menu {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius);
  transition: background var(--transition);
  flex-shrink: 0;
}
.user-menu:hover {
  background: var(--bg-alt);
}
.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.user-name {
  font-weight: 500;
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}
.page-content {
  flex: 1;
  padding: 1.5rem;
  max-width: 100%;
  overflow-x: hidden;
}

/* Cards */
.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.card-title {
  font-weight: 600;
  font-size: 1rem;
  min-width: 0;
  flex-shrink: 1;
}
.card-header .flex {
  flex-shrink: 0;
}
.card-body {
  padding: 1rem;
}

/* Card header responsive */
@media (max-width: 480px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .card-header .flex {
    width: 100%;
  }
  .card-header .flex button {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
}

/* Status Indicators */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.online {
  background: var(--success);
}
.status-dot.offline {
  background: var(--error);
}
.status-dot.streaming {
  background: var(--success);
  animation: pulse 1.5s infinite;
}
.status-dot.recording {
  background: var(--error);
  animation: pulse 0.8s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}
.status-badge.new {
  background: #e3f2fd;
  color: #1976d2;
}
.status-badge.examined {
  background: #e8f5e9;
  color: #388e3c;
}
.status-badge.invalid {
  background: #ffebee;
  color: #d32f2f;
}

/* Video Stream */
.stream-container {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.stream-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stream-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}
.stream-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.record-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--error);
  border: 4px solid white;
  cursor: pointer;
  transition: transform var(--transition);
}
.record-btn:hover {
  transform: scale(1.1);
}
.record-btn.recording {
  animation: pulse-record 1s infinite;
}
@keyframes pulse-record {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
  }
}
.record-timer {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Video List */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}
.video-thumbnail {
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}
.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}
.video-info {
  padding: 1rem;
}
.video-date {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.video-notes {
  font-size: 0.875rem;
  color: var(--text);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: calc(100vw - 2rem);
}
.toast {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 100%;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.toast.success {
  border-left: 4px solid var(--success);
}
.toast.error {
  border-left: 4px solid var(--error);
}
.toast.warning {
  border-left: 4px solid var(--warning);
}
.toast.info {
  border-left: 4px solid var(--secondary);
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #2d5a8a 100%);
  padding: 1rem;
}
.auth-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
}
.auth-logo {
  width: 160px;
  margin: 0 auto 1.5rem;
  display: block;
}
.auth-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.auth-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-light);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.stat-icon.primary {
  background: rgba(30, 58, 95, 0.1);
  color: var(--primary);
}
.stat-icon.secondary {
  background: rgba(0, 180, 180, 0.1);
  color: var(--secondary);
}
.stat-icon.accent {
  background: rgba(64, 224, 208, 0.1);
  color: var(--accent);
}
.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
}
.stat-label {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Appointments */
.appointment-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.appointment-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.appointment-date {
  text-align: center;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  min-width: 60px;
}
.appointment-day {
  font-size: 1.5rem;
  font-weight: 700;
}
.appointment-month {
  font-size: 0.75rem;
  text-transform: uppercase;
}
.appointment-info {
  flex: 1;
}
.appointment-time {
  font-weight: 600;
}
.appointment-type {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Messages */
.messages-container {
  display: flex;
  height: calc(100vh - 140px);
}
.conversations-list {
  width: 300px;
  border-right: 1px solid var(--border);
  overflow-y: auto;
}
.conversation-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.conversation-item:hover,
.conversation-item.active {
  background: var(--bg-alt);
}
.conversation-item.unread {
  font-weight: 600;
}
.conversation-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.conversation-info {
  flex: 1;
  min-width: 0;
}
.conversation-name {
  font-weight: 500;
}
.conversation-preview {
  font-size: 0.875rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chat-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-header .back-to-list {
  display: none;
}
.chat-header-name {
  flex: 1;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.message {
  max-width: 70%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
}
.message.sent {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}
.message.received {
  align-self: flex-start;
  background: var(--bg-alt);
  border-bottom-left-radius: 4px;
}
.message-time {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}
.chat-input {
  padding: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
}
.chat-input input {
  flex: 1;
}

/* Profile */
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 600;
}
.profile-name {
  font-size: 1.5rem;
  font-weight: 600;
}
.profile-email {
  color: var(--text-light);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal {
  transform: scale(1);
}
.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-weight: 600;
  font-size: 1.125rem;
}
.modal-close {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}
.modal-body {
  padding: 1.5rem;
}
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
}
.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .menu-toggle {
    display: block;
  }
  .conversations-list {
    width: 100%;
  }
  .chat-area {
    display: none;
  }
  .chat-area.active {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 200;
  }
  .chat-area.active .back-to-list {
    display: flex;
  }
}
@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    padding: 0.75rem 1rem;
  }
  .page-content {
    padding: 1rem;
  }
  .auth-card {
    padding: 1.5rem;
  }
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
}

/* Utilities */
.hidden {
  display: none !important;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.text-center {
  text-align: center;
}
.text-sm {
  font-size: 0.875rem;
}
.text-light {
  color: var(--text-light);
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}

/* Not Assigned Container (for unassigned patients) */
.not-assigned-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 2rem;
}
.not-assigned-content {
  text-align: center;
  max-width: 400px;
}
.not-assigned-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.not-assigned-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.not-assigned-content p {
  color: var(--text-light);
  line-height: 1.6;
}
.request-form {
  margin-top: 1.5rem;
}
.request-form textarea {
  resize: vertical;
  min-height: 80px;
}
.request-form .btn-primary {
  width: 100%;
}

/* Language Selector */
.lang-selector {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow);
  min-width: 150px;
  display: none;
  z-index: 100;
}
.lang-dropdown.open {
  display: block;
}
.lang-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lang-option:hover {
  background: var(--bg-alt);
}
.lang-option.active {
  color: var(--secondary);
  font-weight: 500;
}


/* App Badge - Patient (coral accent to differentiate from dentist) */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.app-badge svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.app-badge-patient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  box-shadow: 0 2px 6px rgba(224, 120, 80, 0.25);
}

/* Responsive topbar */
@media (max-width: 768px) {
  .topbar {
    padding: 0.5rem;
  }
  .page-title {
    font-size: 0.9rem;
  }
  .user-name {
    display: none;
  }
  .topbar-center {
    display: none;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 0.375rem 0.5rem;
    gap: 0.25rem;
  }
  .topbar-left {
    gap: 0.25rem;
  }
  .page-title {
    font-size: 0.8125rem;
  }
  .lang-selector {
    display: none;
  }
  .user-avatar {
    width: 26px;
    height: 26px;
    font-size: 0.6875rem;
  }
  .notification-btn {
    padding: 0.25rem;
  }
  .notification-btn svg {
    width: 20px;
    height: 20px;
  }
  .btn-icon {
    padding: 0.25rem;
  }
  .btn-icon svg {
    width: 20px;
    height: 20px;
  }
}
