@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;700;900&display=swap');

body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: #0c0a09;
}

/* Glassmorphism Effect */
.glass-card {
  background: rgba(24, 24, 27, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Color Swatches */
.color-swatch {
  transition: all 0.2s ease-in-out;
  border: 2px solid transparent;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0c0a09;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Print Styles for Mr. Ghorbani's Production Invoice */
@media print {
  body * {
    visibility: hidden;
  }
  
  #productionInvoiceModal, 
  #productionInvoiceModal * {
    visibility: visible;
  }

  #productionInvoiceModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #productionInvoiceModal .glass-card {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    box-shadow: none !important;
  }

  #productionInvoiceModal span,
  #productionInvoiceModal h2,
  #productionInvoiceModal p {
    color: #000000 !important;
  }

  .print\:hidden {
    display: none !important;
  }
}
@media print {
  /* مخفی کردن تمام بخش‌های سایت هنگام چاپ */
  body * {
    visibility: hidden !important;
  }
  
  /* فقط نمایش دادن مودال فاکتور */
  #productionInvoiceModal, #productionInvoiceModal * {
    visibility: visible !important;
  }
  
  #productionInvoiceModal {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: white !important;
    color: black !important;
  }

  /* مخفی کردن دکمه‌های داخل فاکتور در فایل PDF */
  button {
    display: none !important;
  }
}