@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Oswald:wght@500;700&display=swap');

:root {
  --color-primary: #f2c335;
  /* Plummewah Yellow/Gold */
  --color-primary-dark: #d6a117;
  --color-accent: #d8343e;
  /* Plummewah Red/Plum */

  /* Light Theme Variables */
  --bg-color: #f3f4f6;
  /* Light gray background */
  --card-bg: #ffffff;
  /* Pure white cards */
  --glass-border: rgba(0, 0, 0, 0.05);
  /* Subtle border */

  --text-primary: #111827;
  /* Dark text */
  --text-secondary: #6b7280;
  /* Gray text */

  --safe-bottom: env(safe-area-inset-bottom, 20px);
  --radius-lg: 24px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.has-bottom-nav {
  padding-bottom: calc(120px + var(--safe-bottom));
  /* Space for bottom nav */
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.app-container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background-color: #f9fafb;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid var(--glass-border);
}

.header-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.header-title img {
  height: 28px;
}

/* Glass Cards (Now White Cards) */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 0 20px 20px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(242, 195, 53, 0.2);
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

/* Input Wrapper & Icons */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i,
.input-wrapper svg {
  position: absolute;
  left: 16px;
  color: var(--text-secondary);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.input-wrapper .form-input {
  padding-left: 44px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  background-color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #111;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.btn-secondary:active {
  background: #f3f4f6;
}

.btn-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  padding: 0;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-around;
  padding: 12px 10px calc(12px + var(--safe-bottom));
  z-index: 100;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

.nav-item {
  background: none;
  border: none;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 0;
}

.nav-item.active {
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.nav-item i,
.nav-item svg {
  width: 24px;
  height: 24px;
}

/* Stats / Layout grids */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 20px 20px 20px;
}

.stat-item {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

.stat-value {
  font-size: 2rem;
  font-family: 'Oswald', sans-serif;
  color: var(--color-primary-dark);
}

/* Voucher */
.voucher {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 2px dashed var(--color-primary);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(242, 195, 53, 0.1);
}

.voucher-value {
  font-size: 2.8rem;
  font-family: 'Oswald', sans-serif;
  color: var(--color-primary-dark);
  margin: 12px 0;
}

/* Mobile Table / List */
.list-item {
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-item:last-child {
  border-bottom: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.02);
    opacity: 0.8;
  }
}

/* Utilities */
.w-full {
  width: 100%;
}

/* Footer (Dark style matching Next.js) */
.footer-dark {
  background-color: #1c1c1c;
  color: #d1d5db;
  padding: 24px 20px;
  margin-top: 32px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  font-family: inherit;
}

.footer-dark h3 {
  color: #f2c335;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-dark .footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.footer-dark .footer-info-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-dark .footer-info-item i,
.footer-dark .footer-info-item svg {
  width: 16px;
  height: 16px;
  color: #f2c335;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-dark hr {
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0 16px;
}

.footer-dark .footer-bottom {
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
}

.footer-dark .footer-bottom a {
  color: #9ca3af;
  text-decoration: underline;
}

/* Divider line */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.divider-text {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: bold;
}

/* Code box */
.code-box {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  border: 1px dashed #d1d5db;
  padding: 4px 4px 4px 16px;
}

.code-box code {
  font-family: monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111827;
  margin-right: 16px;
  letter-spacing: 1px;
}

.code-box .btn-copy {
  margin: 0;
  padding: 8px 12px;
  background: #f3f4f6;
  color: #4b5563;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.code-box .btn-copy.copied {
  background: #dcfce7;
  color: #166534;
}

/* Admin Light Theme */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #ffffff;
  padding: 24px 16px;
  border-right: 1px solid #e5e7eb;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.02);
}

.sidebar h2 {
  color: var(--color-primary-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 12px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.sidebar-menu li {
  margin-bottom: 4px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.9rem;
}

.sidebar-menu a:hover {
  background: #f3f4f6;
  color: var(--text-primary);
}

.sidebar-menu a.active {
  background: #fef3c7;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.sidebar-menu a i,
.sidebar-menu a svg {
  width: 20px;
  height: 20px;
}

.admin-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  background: var(--bg-color);
}

/* Data Table (Light) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
}

.data-table th {
  background: #f9fafb;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.data-table td {
  color: var(--text-primary);
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.green {
  background: #dcfce7;
  color: #166534;
}

.badge.yellow {
  background: #fef3c7;
  color: #92400e;
}

.badge.blue {
  background: #dbeafe;
  color: #1e40af;
}

/* Login page */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-color);
  padding: 20px;
}

/* Modal Edit */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #999;
}

/* Dashboard Grid Classes */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {

  /* Login card: full width on mobile */
  .login-container .glass-card {
    width: 100% !important;
    max-width: 100%;
    border-radius: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 !important;
  }

  /* Customer list item: prevent name from wrapping too wide */
  .customer-card-name {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .glass-card {
    padding: 12px;
    margin: 0 8px 12px 8px;
  }

  .header-container {
    padding: 12px 16px;
  }

  /* Header: logo smaller */
  .header-container img {
    height: 24px !important;
  }

  .stats-grid {
    padding: 0 12px 16px 12px;
    gap: 12px;
  }

  .stat-item {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .stat-label {
    font-size: 0.65rem;
    margin-bottom: 6px;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  /* Dashboard stat cards: 3 columns with auto-scaling fluid fonts */
  .dash-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px;
  }

  .dash-grid>div {
    padding: 8px 4px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px !important;
  }

  /* label text */
  .dash-grid>div>div:first-child {
    font-size: clamp(0.5rem, 2.5vw, 0.65rem) !important;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
    margin-bottom: 2px;
  }

  /* main number */
  .dash-grid>div>div:nth-child(2) {
    font-size: clamp(1rem, 5vw, 1.4rem) !important;
    font-weight: 800;
  }

  /* sub label (Pending / Terbuka) */
  .dash-grid>div>div:nth-child(3) {
    font-size: clamp(0.5rem, 2.5vw, 0.65rem) !important;
    text-align: center;
    line-height: 1.2;
    margin-top: 2px;
  }

  /* Card title smaller */
  .card-title {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  /* Bottom nav */
  .nav-item {
    padding: 0 1px;
  }

  .nav-item span {
    font-size: 0.55rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .nav-item i,
  .nav-item svg {
    width: 20px;
    height: 20px;
  }

  /* Smaller form inputs on mobile */
  .form-input {
    font-size: 0.85rem;
    padding: 8px 10px;
    min-height: 36px;
  }

  .form-label {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  /* Modal: take up more height on small screens */
  .modal-content {
    max-height: 92vh;
    padding: 14px;
    border-radius: 16px;
  }

  /* Modal title */
  .modal-content .card-title {
    font-size: 0.95rem;
    padding-right: 28px;
    /* space for close button */
  }

  /* Customer detail info box inside modal */
  .modal-content #detail-name {
    font-size: 0.95rem !important;
  }

  .modal-content #detail-company,
  .modal-content #detail-phone {
    font-size: 0.8rem !important;
  }

  /* Cart container in modal */
  #part-cart-container,
  #purchase-cart-container {
    padding: 8px;
  }

  /* Tab buttons: compact, no wrap */
  .detail-tab-btn {
    padding: 8px !important;
    font-size: 0.65rem !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }

  /* Tab scroll container */
  [style*="overflow-x: auto"] {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  [style*="overflow-x: auto"]::-webkit-scrollbar {
    display: none;
  }

  /* Buttons in forms: compact */
  .btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  /* Customer list: tighter */
  .list-item {
    padding: 12px 0;
  }

  /* Date filter row: horizontal scroll instead of column stack */
  .date-filter-row {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
  }

  .date-filter-row::-webkit-scrollbar {
    display: none;
  }

  .date-filter-row select {
    min-width: 120px;
    font-size: 0.75rem;
    padding: 6px 8px;
  }

  .date-filter-row input[type="date"] {
    min-width: 110px;
    font-size: 0.75rem;
    padding: 6px 8px;
  }

  /* Charts: reduce height on mobile */
  .glass-card canvas {
    max-height: 200px !important;
  }
}

/* === NEW FEATURE STYLES === */

/* Reminder Banner */
.reminder-banner {
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
  border: 1px solid #fbbf24;
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 0 20px 20px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: bannerPulse 3s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.2s;
}

.reminder-banner:hover {
  transform: translateY(-1px);
}

.reminder-banner .reminder-icon {
  background: #f59e0b;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reminder-banner .reminder-icon i,
.reminder-banner .reminder-icon svg {
  width: 18px;
  height: 18px;
}

.reminder-banner .reminder-body {
  flex: 1;
  min-width: 0;
}

.reminder-banner .reminder-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #92400e;
  margin-bottom: 4px;
}

.reminder-banner .reminder-list {
  font-size: 0.8rem;
  color: #b45309;
  line-height: 1.5;
}

@keyframes bannerPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
  }
}

/* Activity Timeline */
.timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 16px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 6px;
  -webkit-overflow-scrolling: touch;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  padding-bottom: 16px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: 2px solid #fff;
  z-index: 1;
}

.timeline-dot.green {
  background: #10b981;
}

.timeline-dot.blue {
  background: #3b82f6;
}

.timeline-dot.yellow {
  background: #f59e0b;
}

.timeline-dot.red {
  background: #ef4444;
}

.timeline-dot.purple {
  background: #8b5cf6;
}

.timeline-content {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.timeline-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Online/Offline Status Indicator */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  transition: background-color 0.3s;
}

.status-dot.online {
  background: #10b981;
  box-shadow: 0 0 4px #10b981;
}

.status-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 4px #ef4444;
}

.offline-banner {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin: 0 20px 16px 20px;
  font-size: 0.8rem;
  color: #991b1b;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 8px;
}

/* Duplicate Warning */
.duplicate-warning {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #991b1b;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: shakeOnce 0.4s;
}

@keyframes shakeOnce {

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

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

/* Date Filter Row */
.date-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}

.date-filter-row select,
.date-filter-row input {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  background: #fff;
  color: var(--text-primary);
}

.date-filter-row select {
  flex: 1;
  min-width: 140px;
}

.date-filter-row input[type="date"] {
  flex: 1;
  min-width: 120px;
}

@media (max-width: 480px) {
  .reminder-banner {
    margin: 0 8px 12px 8px;
    padding: 10px;
    gap: 8px;
  }

  .reminder-banner .reminder-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .reminder-banner .reminder-title {
    font-size: 0.8rem;
  }

  .reminder-banner .reminder-list {
    font-size: 0.7rem;
  }

  .offline-banner {
    margin: 0 8px 10px 8px;
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .hide-mobile {
    display: none !important;
  }
}

/* DESKTOP SIDEBAR LAYOUT */
@media (min-width: 1024px) {
  .admin-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0 0 0 260px;
    min-height: 100vh;
    background: #f9fafb;
  }
  
  .desktop-sidebar {
    display: flex !important;
    flex-direction: column;
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 24px 16px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.02);
    overflow-y: auto;
    flex-shrink: 0;
  }
  
  .desktop-sidebar .sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
  }
  
  .desktop-sidebar .sidebar-nav-item:hover {
    background: #f3f4f6;
    color: var(--text-primary);
  }
  
  .desktop-sidebar .sidebar-nav-item.active {
    background: #fef3c7;
    color: var(--color-primary-dark);
  }
  
  .admin-main-content {
    flex: 1;
    max-width: 100%;
    overflow-x: hidden;
  }

  .admin-main-content .app-container {
    max-width: 1200px;
    background: transparent;
    box-shadow: none;
    min-height: auto;
  }

  .admin-main-content .header-container {
    background: rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  
  .bottom-nav {
    display: none !important;
  }
  
  .has-bottom-nav {
    padding-bottom: 24px !important;
  }
  
  .hide-desktop {
    display: none !important;
  }
}

.desktop-sidebar {
  display: none;
}