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

:root {
  --color-gold-50: #fbf9f1;
  --color-gold-300: #debf84;
  --color-gold-400: #d4af37;
  --color-gold-500: #b8860b;
  --color-gold-600: #8b6508;
  --bg-dark-base: #0a0a09;
  --bg-dark-surface: rgba(24, 24, 27, 0.7);
  --border-glass: rgba(212, 175, 55, 0.2);
}

body {
  font-family: 'Kanit', sans-serif;
  background-color: var(--bg-dark-base);
  color: #f3f4f6;
  background-image: 
    linear-gradient(rgba(10, 10, 9, 0.85), rgba(10, 10, 9, 0.95)),
    url('../images/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

[v-cloak] {
  display: none !important;
}

/* Luxury Glass UI */
.glass {
  background: var(--bg-dark-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.02);
}

.glass-card {
  background: linear-gradient(145deg, rgba(30, 30, 33, 0.9), rgba(15, 15, 18, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.glass-card-gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(139, 101, 8, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

/* Animations */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.4s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-fade-enter-active {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-fade-leave-active {
  transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
  transform: translateY(20px);
  opacity: 0;
}

.transition-all-custom {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-glow:hover {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

.hover-glow-fb:hover {
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
  border-color: rgba(24, 119, 242, 0.6);
  transform: translateY(-2px);
}

.text-gradient-gold {
  background: linear-gradient(to right, #f3e5ab, #d4af37, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #111; 
}
::-webkit-scrollbar-thumb {
  background: #333; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-400); 
}

/* Print Area Settings (Receipt) */
.print-only {
  display: none;
}

@media print {
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }
  
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    box-shadow: none !important;
  }
  
  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }
  
  #print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white;
    z-index: 9999;
  }
  
  .print-receipt-container {
    padding: 20px;
    max-width: 80mm; /* Standard POS Printer Width */
    margin: 0 auto;
    font-family: 'Kanit', sans-serif;
  }
  
  .print-title {
    font-size: 16pt;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
  }
  
  .print-table th, .print-table td {
    padding: 6px 4px;
    border-bottom: 1px dashed #999;
  }
  
  .print-total-box {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    margin-top: 10px;
    padding: 10px 0;
    font-weight: bold;
    font-size: 14pt;
  }
}
