/* Variables for consistent colors and easy theming */
:root {
  --primary: #5681d0;
  --primary-dark: #4070c0;
  --bg-dark: #1a1a3d;
  --bg-main: #212750;
  --text-light: #f8f8f2;
  --accent: #ff6b6b;
  --accent-light: #c8a2c8;
  --shadow: rgba(0, 0, 0, 0.2);
  --card-bg: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-light);
  line-height: 1.6;
  height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

/* Animated particles background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
}

/* Generate different sized and positioned particles */
.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: float 30s linear infinite;
}

.particle:nth-child(2) {
  top: 70%;
  left: 30%;
  animation: float 25s linear infinite;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  top: 40%;
  left: 50%;
  animation: float 35s linear infinite;
  animation-delay: 5s;
}

.particle:nth-child(4) {
  top: 60%;
  left: 70%;
  animation: float 22s linear infinite;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  top: 30%;
  left: 85%;
  animation: float 28s linear infinite;
  animation-delay: 3s;
}

.particle:nth-child(6) {
  top: 80%;
  left: 15%;
  animation: float 32s linear infinite;
  animation-delay: 4s;
}

.particle:nth-child(7) {
  top: 10%;
  left: 60%;
  animation: float 27s linear infinite;
  animation-delay: 6s;
}

.particle:nth-child(8) {
  top: 50%;
  left: 25%;
  animation: float 24s linear infinite;
  animation-delay: 7s;
}

.particle:nth-child(9) {
  top: 75%;
  left: 80%;
  animation: float 34s linear infinite;
  animation-delay: 8s;
}

.particle:nth-child(10) {
  top: 35%;
  left: 92%;
  animation: float 26s linear infinite;
  animation-delay: 9s;
}

.particle:nth-child(11) {
  top: 85%;
  left: 40%;
  animation: float 29s linear infinite;
  animation-delay: 10s;
}

.particle:nth-child(12) {
  top: 15%;
  left: 75%;
  animation: float 31s linear infinite;
  animation-delay: 11s;
}

/* Floating animation for particles */
@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(50px, 50px);
  }

  50% {
    transform: translate(100px, 0);
  }

  75% {
    transform: translate(50px, -50px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Animated backdrop */
.backdrop {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(40px);
  z-index: -1;
  animation: moveBackground 15s ease infinite alternate;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.app-container {
  display: flex;
  height: 100%;
  position: relative;
  z-index: 1;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  position: relative;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.mobile-menu-toggle {
  display: none;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
}

.logo-icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 12px;
  top: 6px;
  left: 6px;
  background-color: var(--text-light);
  border-radius: 1px;
  box-shadow: 0 2px 0 var(--text-light), 0 4px 0 var(--text-light);
}

.logo-icon::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 14px;
  right: 8px;
  border-left: 4px solid var(--accent);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.logo-icon {
  background: linear-gradient(135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%);
}

.logo-icon::before {
  box-shadow: 6px 0 0 var(--text-light), 0 8px 0 rgba(248, 248, 242, 0.7),
    6px 8px 0 rgba(248, 248, 242, 0.7);
}

.logo:hover .logo-icon::after {
  animation: shareMove 0.6s ease-in-out;
}

@keyframes shareMove {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(3px);
  }
}

.welcome-message {
  font-size: 2rem;
  background: linear-gradient(to right, var(--primary), var(--accent-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
  text-align: center;
}

.header-divider {
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  margin-top: 15px;
  opacity: 0.5;
}

.sidebar {
  width: 60px;
  height: 100vh;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.sidebar.expanded {
  width: 250px;
}

.sidebar-toggle {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 15px;
  cursor: pointer;
  color: var(--primary);
}

.sidebar-toggle i {
  transition: transform 0.3s ease;
}

.sidebar.expanded .sidebar-toggle i {
  transform: rotate(180deg);
}

.sidebar-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sidebar-content span {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar.expanded .sidebar-content span {
  opacity: 1;
}

.home-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px;
  color: var(--primary);
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
}

.home-link:hover {
  background-color: rgba(86, 129, 208, 0.1);
}

.home-link i {
  min-width: 24px;
  opacity: 1 !important;
  display: inline-block;
  font-size: 20px;
}

.home-link span {
  margin-left: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar.expanded .home-link span {
  opacity: 1;
}

.sidebar:not(.expanded) .home-link {
  justify-content: center;
}

.sidebar:not(.expanded) .home-link span {
  display: none;
}

/* guest user styles */
.guest-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.auth-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px;
  color: var(--primary);
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
}

.auth-link:hover {
  background-color: rgba(86, 129, 208, 0.1);
}

.auth-link i {
  min-width: 24px;
  opacity: 1 !important;
  display: inline-block;
  font-size: 20px;
}

.auth-link span {
  margin-left: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar.expanded .auth-link span {
  opacity: 1;
}

.sidebar:not(.expanded) .auth-link {
  justify-content: center;
}

.sidebar:not(.expanded) .auth-link span {
  display: none;
}

/* logged in user styles */
.user-profile-container {
  margin-top: auto;
  width: 100%;
  padding: 15px;
}

.user-profile-details {
  border: 1px solid rgba(86, 129, 208, 0.2);
  border-radius: 8px;
  padding: 10px;
  margin: 0 10px;
  background-color: rgba(86, 129, 208, 0.05);
}

.user-email-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #888;
  font-size: 0.9em;
}

.user-email {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.down-arrow {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.down-arrow.active {
  transform: rotate(180deg);
}

.user-icon {
  display: none;
  text-align: center;
  margin-top: auto;
  padding: 15px;
  color: var(--primary);
  cursor: pointer;
}

.sidebar:not(.expanded) .user-icon {
  display: block;
}

.sidebar:not(.expanded) .user-profile-container {
  display: none;
}

.sidebar.expanded .user-icon {
  display: none;
}

.sidebar.expanded .user-profile-container {
  display: block;
}

.logout-section {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 5px;
}

.logout-section.expanded {
  max-height: 120px;
}

.logout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
  font-weight: 600;
}

.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(86, 129, 208, 0.3);
}

.delete-account-btn {
  width: 100%;
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
  font-weight: 600;
}

.delete-account-btn:hover {
  background-color: #e05555;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

i[data-lucide] {
  width: 24px;
  height: 24px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 26, 61, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: var(--bg-dark);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  opacity: 0;
  border: 1px solid rgba(86, 129, 208, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal-overlay.visible .modal {
  transform: scale(1);
  opacity: 1;
}

.modal-content {
  text-align: center;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.modal-description {
  color: #888;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.modal-btn {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
  min-width: 120px;
}

.modal-btn:focus {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

.modal-btn:active {
  transform: translateY(1px);
}

.modal-delete {
  background-color: var(--accent);
  color: white;
}

.modal-delete:hover {
  background-color: #e05555;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.modal-cancel {
  background-color: var(--bg-dark);
  color: white;
  border: 1px solid rgba(86, 129, 208, 0.3);
}

.modal-cancel:hover {
  background-color: #22224d;
  transform: translateY(-2px);
}

#loginModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 26, 61, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
}

#loginModal.visible {
  opacity: 1;
  visibility: visible;
}

#loginModal.visible .modal {
  transform: translateY(0);
}

.modal-primary {
  background-color: var(--bg-dark);
  color: white;
  border: 1px solid rgba(86, 129, 208, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(86, 129, 208, 0.4);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
  margin: 10px auto;
}

.upload-section {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upload-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.upload-helper-text {
  color: #888;
  margin-bottom: 20px;
  max-width: 600px;
}

.upload-input {
  display: none;
}

.upload-label {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--shadow);
}

.upload-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.upload-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 129, 208, 0.4);
}

.upload-label:hover::before {
  left: 100%;
}

.upload-button {
  margin-left: 10px;
  padding: 8px 20px;
  background-color: var(--bg-dark);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.upload-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.file-info {
  margin: 20px 0;
  padding: 15px;
  background-color: rgba(64, 112, 192, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(86, 129, 208, 0.3);
}

.progress-container {
  width: 100%;
  background-color: rgba(33, 39, 80, 0.5);
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  height: 10px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-light));
  border-radius: 10px;
  transition: width 0.5s ease;
}

.upload-status {
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 500;
}

.upload-status.error {
  background-color: var(--accent);
  color: white;
}

.upload-status.success {
  background-color: #28a745;
  color: white;
}

.recent-files {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.recent-files-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.recent-files-title {
  color: var(--accent-light);
  font-size: 1.8rem;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 240px;
  padding: 10px 15px;
  border: none;
  background-color: rgba(42, 42, 94, 0.6);
  color: var(--text-light);
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
  width: 280px;
}

.search-input::placeholder {
  color: #a0a0b3;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  color: var(--text-light);
  background-color: rgba(42, 42, 94, 0.3);
  border-radius: 8px;
}

.message-container {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  text-align: center;
  background-color: rgba(42, 42, 94, 0.3);
  border-radius: 12px;
  margin: 20px 0;
  border: 1px dashed rgba(86, 129, 208, 0.3);
}

.message-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0.7;
}

.message-text {
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.7;
}

.file-item {
  background-color: rgba(33, 39, 80, 0.5);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.file-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(42, 48, 96, 0.7);
}

.file-icon {
  color: var(--primary);
}

.file-details {
  flex-grow: 1;
}

.file-name {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  margin-bottom: 5px;
}

.file-size {
  color: #888;
  font-size: 0.8em;
}

.file-actions {
  display: flex;
  gap: 15px;
}

.action-icon {
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-icon:hover {
  color: var(--accent-light);
  transform: scale(1.2);
}

.confirmation-dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 26, 61, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.dialog-content {
  background-color: var(--bg-dark);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(86, 129, 208, 0.2);
}

.dialog-content p {
  color: #888;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.dialog-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.dialog-buttons button {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 600;
}

.confirm-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 129, 208, 0.4);
}

.cancel-btn {
  background-color: var(--bg-dark);
  color: white;
  border: 1px solid rgba(86, 129, 208, 0.3);
}

.cancel-btn:hover {
  background-color: #22224d;
  transform: translateY(-2px);
}

.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--bg-dark);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(86, 129, 208, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1001;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .files-grid {
    grid-template-columns: 1fr;
  }

  .recent-files-header {
    flex-direction: column;
    gap: 15px;
  }

  .search-input,
  .search-input:focus {
    width: 100%;
  }

  .welcome-message {
    font-size: 1.5rem;
  }

  .upload-section {
    padding: 20px;
  }

  .recent-files {
    padding: 20px;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .sidebar-toggle {
    display: none;
  }

  .sidebar.expanded {
    left: 0;
  }

  .sidebar:not(.expanded) .mobile-menu-toggle {
    display: none;
  }

  .header {
    position: relative;
  }

  /* Mobile menu toggle in header */
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    left: 20px;
    top: 20px;
    color: var(--primary);
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 1001;
  }

  /* Sidebar overlay */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .sidebar.expanded~.sidebar-overlay {
    display: block;
  }

  /* Adjust main content area */
  .dashboard-container {
    margin-left: 0;
    width: 100%;
    padding: 15px;
  }

  .home-link {
    margin-top: 60px;
    /* Adds space above the home link in mobile view */
  }

  .sidebar.expanded .home-link {
    margin-top: 60px;
    /* Ensures the spacing is maintained when expanded */
  }

  /* Mobile-optimized user profile */
  .user-profile-container {
    padding: 10px;
  }

  .user-email {
    white-space: normal;
    word-break: break-word;
  }

  /* Stack logout buttons vertically */
  .logout-section {
    flex-direction: column;
    gap: 10px;
  }

  /* Larger touch targets */
  .logout-btn,
  .delete-account-btn {
    padding: 12px;
    font-size: 1rem;
  }

  /* Adjust toggle button size */
  .sidebar-toggle i {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 769px) {

  /* Ensure mobile menu is hidden on desktop */
  .mobile-menu-toggle {
    display: none !important;
  }

  /* Show desktop sidebar toggle */
  .sidebar-toggle {
    display: flex;
  }
}
