.customer-display-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;

  &.light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1e293b;
  }

  /* ================== HEADER ================== */
  .cd-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(10px);
  }
  
  &.light .cd-header {
    border-bottom-color: rgba(15, 23, 42, 0.1);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0) 100%);
  }
  
  .logo-wrapper {
    flex-shrink: 0;
  }
  
  .store-logo {
    height: 60px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: cd-slide-in-left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  &.light .store-logo {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  
  .store-info {
    flex: 1;
  }
  
  .payable-summary {
    margin-left: auto;
    text-align: right;
  }
  
  .payable-label {
    font-size: 12px;
    letter-spacing: .5px;
    opacity: .8;
  }
  
  .payable-value {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  &.light .payable-value {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .store-name {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
    animation: cd-slide-in-down 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  .tagline {
    font-size: 14px;
    margin: 8px 0 0 0;
    opacity: 0.7;
    animation: cd-fade-in 0.8s ease-out 0.2s both;
  }
  
  /* ================== CONTENT AREA ================== */
  .cd-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow: hidden;
  }
  
  .cd-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  }
  
  .cd-scroll::-webkit-scrollbar {
    width: 6px;
  }
  
  .cd-scroll::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .cd-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
  }
  
  .cd-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  /* ================== EMPTY STATE ================== */
  .empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
  }
  
  .empty-icon {
    font-size: 80px;
    margin-bottom: 24px;
    opacity: 0.4;
    animation: cd-float 3s ease-in-out infinite;
  }
  
  .empty-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px 0;
    opacity: 0.9;
  }
  
  .empty-subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.6;
  }
  
  &.light .empty-title,
  &.light .empty-subtitle {
    color: #475569;
  }
  
  /* ================== ITEMS LIST ================== */
  .cd-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .cd-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: cd-slide-in-right 0.5s ease-out;
    animation-delay: calc(var(--cd-item-stagger, 0) * 50ms);
  }
  
  .cd-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(8px);
  }
  
  &.light .cd-item {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
    border-color: rgba(59, 130, 246, 0.15);
  }
  
  &.light .cd-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.25);
  }
  
  .item-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
  }
  
  .item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 10px;
    color: #60a5fa;
  }
  
  &.light .item-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: #3b82f6;
  }
  
  .item-info {
    flex: 1;
    min-width: 0;
  }
  
  .item-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
    word-break: break-word;
    color: #ffffff;
  }
  
  &.light .item-name {
    color: #1e293b;
  }
  
  .item-qty {
    font-size: 13px;
    opacity: 0.7;
    color: #cbd5e1;
  }
  
  &.light .item-qty {
    color: #64748b;
  }
  
  .item-qty strong {
    font-weight: 600;
    opacity: 1;
    font-size: 14px;
  }
  
  .item-price {
    text-align: right;
    flex-shrink: 0;
  }
  
  .price-value {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  &.light .price-value {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* ================== SUMMARY SECTION ================== */
  .cd-summary {
    padding-top: 24px;
  }
  
  .summary-card {
    padding: 28px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
  }
  
  &.light .summary-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.05);
  }
  
  .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
  }
  
  .summary-row:last-of-type {
    margin-bottom: 0;
  }
  
  .summary-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    opacity: 0.8;
    font-size: 15px;
  }
  
  .summary-value {
    font-weight: 600;
    color: #60a5fa;
    font-size: 16px;
  }
  
  &.light .summary-value {
    color: #3b82f6;
  }
  
  .summary-value.discount {
    color: #34d399;
  }
  
  &.light .summary-value.discount {
    color: #10b981;
  }
  
  .divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
  }
  
  &.light .divider {
    background: rgba(15, 23, 42, 0.1);
  }
  
  .total-row {
    margin-bottom: 0;
    font-size: 18px;
  }
  
  .total-label {
    font-weight: 700;
    opacity: 1;
    font-size: 16px;
  }
  
  .total-value {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  &.light .total-value {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* ================== FOOTER ================== */
  .cd-footer {
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%);
    text-align: center;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  &.light .cd-footer {
    border-top-color: rgba(15, 23, 42, 0.1);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0) 100%);
  }
  
  .footer-message {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
    animation: cd-fade-in 0.8s ease-out;
  }
  
  &.light .footer-message {
    color: #334155;
  }
  
  .progress-indicator {
    display: flex;
    gap: 8px;
    justify-content: center;
  }
  
  .progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: cd-pulse 2s ease-in-out infinite;
  }
  
  &.light .progress-dot {
    background: rgba(15, 23, 42, 0.4);
  }
  
  /* ================== ANIMATIONS ================== */
  @keyframes cd-slide-in-left {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes cd-slide-in-down {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes cd-slide-in-right {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes cd-fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes cd-float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }
  
  @keyframes cd-pulse {
    0%, 100% {
      opacity: 0.4;
      transform: scale(1);
    }
    50% {
      opacity: 1;
      transform: scale(1.2);
    }
  }
  
  /* ================== RESPONSIVE DESIGN ================== */
  @media (max-width: 768px) {
    .cd-header {
      padding: 20px;
      gap: 16px;
      flex-direction: column;
      text-align: center;
    }
  
    .store-logo {
      height: 48px;
    }
  
    .store-name {
      font-size: 24px;
    }
  
    .tagline {
      font-size: 13px;
    }
  
    .payable-summary {
      margin-left: 0;
      text-align: center;
    }
  
    .payable-value {
      font-size: 24px;
    }
  
    .cd-content {
      padding: 20px;
    }
  
    .cd-item {
      padding: 14px 16px;
      flex-direction: column;
    }
  
    .item-price {
      text-align: left;
      margin-top: 12px;
    }
  
    .price-value {
      font-size: 18px;
    }
  
    .summary-card {
      padding: 20px;
    }
  
    .cd-footer {
      padding: 16px 20px;
    }
  
    .summary-label,
    .summary-value {
      font-size: 14px;
    }
  
    .total-value {
      font-size: 24px;
    }
  }
  
  @media (max-width: 480px) {
    .store-name {
      font-size: 20px;
    }
  
    .cd-content {
      padding: 16px;
    }
  
    .cd-item {
      padding: 12px;
    }
  
    .item-icon {
      width: 40px;
      height: 40px;
    }
  
    .item-name {
      font-size: 16px;
    }
  
    .summary-card {
      padding: 16px;
    }
  
    .cd-footer {
      padding: 12px 16px;
      font-size: 14px;
    }
  }
}
