/* Today's Sales styles (moved from inline) */
:root {
  --bg: var(--bs-body-bg);
  --card-bg: #ffffff;
  --border: var(--bs-border-color);
  --text-primary: var(--bs-text);
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --accent-green: #22c55e;
  --accent-green-bg: #dcfce7;
  --accent-blue: #3b82f6;
  --accent-blue-bg: #dbeafe;
  --accent-orange: var(--bs-accent);
  --accent-orange-bg: var(--bs-accent-subtle);
  --accent-red: #ef4444;
  --accent-red-bg: #fee2e2;
  --accent-purple: #8b5cf6;
  --accent-purple-bg: #ede9fe;
  --accent-yellow: #eab308;
  --accent-yellow-bg: #fef9c3;
  --btn-primary: var(--bs-main);
  --btn-primary-hover: var(--bs-main-hover);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*body {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}*/
._todays-sales-container {
  width: 100%;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
  margin-bottom: 16px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.back-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--card-bg);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}
.back-btn:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(-2px);
}
.back-btn svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}
.header-title h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.header-title .date {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.last-updated {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.last-updated svg {
  width: 14px;
  height: 14px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.summary-card {
  padding: 20px;
}
.summary-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.summary-icon svg {
  width: 18px;
  height: 18px;
}
.summary-icon.revenue {
  background: var(--accent-yellow-bg);
  color: var(--accent-yellow);
}
.summary-icon.transactions {
  background: var(--accent-green-bg);
  color: var(--accent-green);
}
.summary-icon.avg-ticket {
  background: var(--accent-orange-bg);
  color: var(--accent-orange);
}
.summary-icon.tips {
  background: var(--accent-red-bg);
  color: var(--accent-purple);
}
.summary-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
}
.summary-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.section-title svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}
.payment-section {
  margin-bottom: 16px;
}
.payment-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.payment-row + .payment-row {
  border-top: 1px solid var(--bs-border-color);
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 80px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.payment-method svg {
  width: 16px;
  height: 16px;
}
.payment-bar-wrap {
  flex: 1;
  height: 10px;
  background: #f1f2f5;
  border-radius: 99px;
  overflow: hidden;
}
.payment-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 0;
}
.payment-bar.cash {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}
.payment-bar.card {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.payment-bar.other {
  background: linear-gradient(90deg, #6b7280, #9ca3af);
}
.payment-amount {
  width: 70px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.payment-percent {
  width: 48px;
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.staff-section {
  margin-bottom: 16px;
}
.staff-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}
.staff-row + .staff-row {
  border-top: 1px solid var(--bs-border-color);
}
.staff-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.staff-info {
  flex: 1;
}
.staff-name {
  font-size: 14px;
  font-weight: 600;
}
.staff-tickets {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.staff-revenue {
  font-size: 15px;
  font-weight: 700;
}
.actions-section {
  margin-bottom: 0;
}
.actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--px-4);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn svg.today-sale {
  width: 16px;
  height: 16px;
}
.btn-outline {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--bs-body-bg);
  border-color: var(--bs-border-color);
}
.btn-primary {
  background: var(--btn-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(58, 152, 33, 0.3);
}
@media (max-width: 640px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .payment-method {
    width: 60px;
    font-size: 12px;
  }
  .actions-row {
    flex-direction: column;
  }
  .btn {
    justify-content: center;
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-in {
  animation: fadeUp 0.4s ease-out forwards;
  opacity: 0;
}
.animate-in:nth-child(1) {
  animation-delay: 0.05s;
}
.animate-in:nth-child(2) {
  animation-delay: 0.1s;
}
.animate-in:nth-child(3) {
  animation-delay: 0.15s;
}
.animate-in:nth-child(4) {
  animation-delay: 0.2s;
}
.animate-in:nth-child(5) {
  animation-delay: 0.25s;
}
