/* Google WebMail Client - Modern Material 3 Styling */

:root {
  --bg-app: #f6f8fc;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f0f4f9;
  --bg-active-pill: #c2e7ff;
  --text-active-pill: #001d35;
  --text-primary: #1f1f1f;
  --text-secondary: #444746;
  --text-tertiary: #5f6368;
  --border-subtle: #e0e3e7;
  --border-divider: #eaebef;
  --color-primary: #0b57d0;
  --color-primary-hover: #0842a0;
  --color-danger: #d93025;
  --color-danger-bg: #fce8e6;
  --color-danger-hover: #b3261e;
  --color-star: #e37400;
  --color-star-bg: #fef7e0;
  --color-unread: #041e49;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 8px -2px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --transition-fast: 0.18s ease;
  --transition-normal: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Material Symbols Icon helper */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  user-select: none;
  vertical-align: middle;
}

/* Generic Icon Buttons */
.icon-btn, .icon-btn-small {
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.icon-btn {
  width: 40px;
  height: 40px;
}

.icon-btn-small {
  width: 34px;
  height: 34px;
}

.icon-btn:hover, .icon-btn-small:hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: var(--text-primary);
}

.icon-btn:active, .icon-btn-small:active {
  background-color: rgba(0, 0, 0, 0.1);
}

.danger-hover:hover {
  background-color: var(--color-danger-bg) !important;
  color: var(--color-danger) !important;
}

/* ========================================================
   TOP HEADER
   ======================================================== */
.header {
  height: 64px;
  background-color: var(--bg-app);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 16px;
  border-bottom: 1px solid transparent;
  flex-shrink: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.logo-text {
  font-size: 21px;
  font-weight: 500;
  color: #444746;
  letter-spacing: -0.2px;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  background-color: #eaf1fb;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  width: 50%;
  max-width: 720px;
  min-width: 260px;
  gap: 10px;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-bar:focus-within {
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.search-icon {
  color: var(--text-tertiary);
  font-size: 22px;
}

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  width: 100%;
  color: var(--text-primary);
}

.search-bar input::placeholder {
  color: var(--text-tertiary);
}

.clear-search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
}
.clear-search-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  justify-content: flex-end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  background: #e8f0fe;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34a853;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(52, 168, 83, 0.2);
}

.status-pill.error .status-dot {
  background-color: #ea4335;
  box-shadow: 0 0 0 2px rgba(234, 67, 53, 0.2);
}

.status-pill.loading .status-dot {
  background-color: #fbbc05;
  animation: pulseDot 1s infinite alternate;
}

@keyframes pulseDot {
  from { opacity: 0.4; }
  to { opacity: 1; transform: scale(1.15); }
}

.user-avatar {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.user-avatar .material-symbols-outlined {
  font-size: 32px;
}

/* Spin animation for refresh */
.spin-anim {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ========================================================
   MAIN CONTAINER & SIDEBAR
   ======================================================== */
.main-container {
  display: flex;
  flex: 1;
  overflow: hidden;
  height: calc(100vh - 64px);
}

.sidebar {
  width: 250px;
  background-color: var(--bg-app);
  padding: 8px 12px 16px 12px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width var(--transition-normal), padding var(--transition-normal);
  overflow-x: hidden;
}

.sidebar.collapsed {
  width: 76px;
  padding: 8px 8px;
}

.sidebar.collapsed .compose-label,
.sidebar.collapsed .nav-label,
.sidebar.collapsed .sidebar-footer {
  display: none !important;
}

.sidebar.collapsed .compose-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 16px;
}

.sidebar.collapsed .nav-links li {
  justify-content: center;
  padding: 10px 0;
}

/* Compose Button */
.compose-btn-wrap {
  padding: 8px 0 16px 4px;
}

.compose-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #c2e7ff;
  color: #001d35;
  border: none;
  outline: none;
  padding: 0 24px;
  height: 52px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.compose-btn:hover {
  background-color: #b2dbfd;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.compose-btn:active {
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
}

.compose-btn .material-symbols-outlined {
  font-size: 22px;
}

/* Navigation Links */
.nav-container {
  flex: 1;
  overflow-y: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-links li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  user-select: none;
}

.nav-links li:hover {
  background-color: #eaebef;
  color: var(--text-primary);
}

.nav-links li.active {
  background-color: var(--bg-active-pill);
  color: var(--text-active-pill);
  font-weight: 600;
}

.nav-links li .nav-icon {
  font-size: 21px;
}

.nav-links li.active .nav-icon {
  font-variation-settings: 'FILL' 1;
}

.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-divider);
  margin-top: auto;
}

.storage-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-tertiary);
  padding: 6px 12px;
}

.storage-icon {
  font-size: 16px;
}

/* ========================================================
   MAIN CONTENT AREA (ELEVATED SURFACE)
   ======================================================== */
.content-area {
  flex: 1;
  background-color: var(--bg-surface);
  margin: 0 16px 16px 0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--border-subtle);
}

/* Animated linear loader */
.loader {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853);
  background-size: 200% 100%;
  animation: loadingAnim 1.2s infinite linear;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

@keyframes loadingAnim {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.hidden {
  display: none !important;
}

/* Content Toolbar */
.toolbar {
  height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-divider);
  background-color: var(--bg-surface);
  flex-shrink: 0;
}

.toolbar-left, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.folder-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-left: 8px;
}

.mail-count {
  font-size: 13px;
  color: var(--text-tertiary);
}

.bulk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f1f3f4;
  padding: 2px 10px 2px 4px;
  border-radius: var(--radius-pill);
}

.selected-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Custom Checkbox */
.custom-checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  width: 18px;
  height: 18px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: transparent;
  border: 2px solid #5f6368;
  border-radius: 3px;
  transition: all var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--text-primary);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ========================================================
   EMAIL LIST
   ======================================================== */
.email-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.email-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-divider);
  cursor: pointer;
  font-size: 14px;
  background-color: #ffffff;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
  position: relative;
  user-select: none;
}

.email-item:hover {
  background-color: var(--bg-surface-hover);
  box-shadow: inset 1px 0 0 #dadce0, 0 1px 3px rgba(0,0,0,0.05);
  z-index: 2;
}

.email-item.unread {
  background-color: #ffffff;
}

.email-item.unread .sender,
.email-item.unread .subject {
  font-weight: 700;
  color: var(--color-unread);
}

.email-item.selected {
  background-color: #e8f0fe !important;
}

.email-item.deleting {
  opacity: 0;
  transform: translateX(40px);
  max-height: 0;
  padding: 0 16px;
  border-color: transparent;
  overflow: hidden;
  transition: all 0.25s ease-out;
}

/* Item parts */
.item-leading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 14px;
  flex-shrink: 0;
}

.star-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #c4c7c5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.star-btn:hover {
  color: var(--color-star);
  transform: scale(1.15);
}

.star-btn.starred {
  color: var(--color-star);
}
.star-btn.starred .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}

.sender-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
}

.email-item .sender {
  width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 12px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.email-item .content-snippet {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
}

.email-item .subject {
  color: var(--text-primary);
}

.email-item .snippet-dash {
  color: var(--text-tertiary);
}

.email-item .snippet {
  color: var(--text-tertiary);
  font-weight: 400;
}

.email-item .date {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: 14px;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

/* Hover Quick Actions inside row */
.item-hover-actions {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding-left: 10px;
  background: inherit;
  flex-shrink: 0;
}

.email-item:hover .date {
  display: none;
}

.email-item:hover .item-hover-actions {
  display: flex;
}

.hover-action-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.hover-action-btn:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

.hover-action-btn.delete-btn:hover {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
}

/* Tags / Badges */
.tag-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-spam {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70%;
  color: var(--text-secondary);
  text-align: center;
  padding: 40px 20px;
}

.empty-state-icon {
  font-size: 64px !important;
  color: #dadce0;
  margin-bottom: 16px;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  max-width: 320px;
}

/* ========================================================
   MAIL VIEWER
   ======================================================== */
.mail-viewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  overflow-y: auto;
}

.viewer-header {
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.viewer-header-left, .viewer-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewer-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-divider);
  margin: 0 4px;
}

/* Button Back */
.btn-action-back {
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-action-back:hover {
  background-color: #f1f3f4;
  border-color: #dadce0;
}

/* Button Delete */
.btn-action-delete {
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-danger);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-action-delete:hover {
  background-color: var(--color-danger-bg);
  border-color: #f5c2c7;
}

.badge-spam {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-spam .material-symbols-outlined {
  font-size: 16px;
}

/* Viewer Content */
.viewer-content {
  padding: 24px 32px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.mail-subject-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.35;
  word-break: break-word;
}

.sender-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.sender-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #e2eafc;
  color: #0b57d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.sender-info {
  flex: 1;
}

.sender-primary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.sender-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.sender-email {
  font-size: 13px;
  color: var(--text-tertiary);
}

.recipient-meta {
  font-size: 12px;
  color: var(--text-tertiary);
}

.date-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
  padding-top: 2px;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border-divider);
  margin: 18px 0 24px 0;
}

.mail-body-container {
  font-size: 14px;
  line-height: 1.6;
  color: #202124;
  word-break: break-word;
  min-height: 200px;
}

.mail-body-container iframe {
  width: 100%;
  border: none;
  display: block;
}

/* ========================================================
   FLOATING TOAST NOTIFICATION
   ======================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 28px;
  background-color: #323232;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  max-width: 400px;
}

.toast.toast-success {
  background-color: #1e3a1e;
  border-left: 4px solid #34a853;
}

.toast.toast-error {
  background-color: #3a1e1e;
  border-left: 4px solid #ea4335;
}

.toast-icon {
  font-size: 20px;
  color: #a8c7fa;
}

.toast.toast-error .toast-icon {
  color: #f28b82;
}

.toast.toast-success .toast-icon {
  color: #81c995;
}

/* Scrollbar beautification */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #dadce0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bdc1c6;
}

/* ========================================================
   RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 900px) {
  .search-bar {
    width: 40%;
  }
  .sidebar {
    width: 200px;
  }
  .email-item .sender {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: absolute;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 50;
    width: 240px;
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .content-area {
    margin: 0 8px 8px 8px;
  }
  .search-bar {
    min-width: 180px;
  }
  .header-left {
    min-width: auto;
  }
}


.mail-body-container iframe {
  width: 100%;
  border: none;
  display: block;
}

/* ========================================================
   FLOATING TOAST NOTIFICATION
   ======================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 28px;
  background-color: #323232;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  max-width: 400px;
}

.toast.toast-success {
  background-color: #1e3a1e;
  border-left: 4px solid #34a853;
}

.toast.toast-error {
  background-color: #3a1e1e;
  border-left: 4px solid #ea4335;
}

.toast-icon {
  font-size: 20px;
  color: #a8c7fa;
}

.toast.toast-error .toast-icon {
  color: #f28b82;
}

.toast.toast-success .toast-icon {
  color: #81c995;
}

/* Scrollbar beautification */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #dadce0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bdc1c6;
}

/* ========================================================
   RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 900px) {
  .search-bar {
    width: 40%;
  }
  .sidebar {
    width: 200px;
  }
  .email-item .sender {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: absolute;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 50;
    width: 240px;
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .content-area {
    margin: 0 8px 8px 8px;
  }
  .search-bar {
    min-width: 180px;
  }
  .header-left {
    min-width: auto;
  }
}