/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #14161B;
}
::-webkit-scrollbar-thumb {
  background: #2D323E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-slideUp {
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scaleUp {
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hide scrollbar for category pills on mobile */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Luxury Card Hover Effect */
.recipe-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.recipe-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px -3px rgba(212, 175, 55, 0.15);
}

/* PRINT STYLES - A4 Luxury Kitchen Spec Sheet */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: 'Cairo', sans-serif !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Hide entire screen UI */
  header, main, #viewRecipeModal, #recipeFormModal, #backupModal, #toast {
    display: none !important;
  }

  /* Show only print sheet */
  #printSheet {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20mm !important;
    box-sizing: border-box !important;
  }

  .print-header {
    border-bottom: 2px solid #000000;
    padding-bottom: 12px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .print-table th, .print-table td {
    border: 1px solid #333333;
    padding: 6px 10px;
    font-size: 11pt;
    text-align: right;
  }

  .print-table th {
    background-color: #f3f3f3 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-badge {
    border: 1px solid #000000;
    padding: 3px 8px;
    font-weight: bold;
    font-size: 10pt;
    border-radius: 4px;
  }

  .print-step-item {
    margin-bottom: 8px;
    font-size: 11pt;
    line-height: 1.6;
    display: flex;
    gap: 8px;
  }

  .print-step-number {
    font-weight: bold;
    min-width: 24px;
  }
}