@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom CSS for Vesparys Studio - Black & Gold Theme & Clean Light Medical Calculator Theme */

/* Hide scrollbars for clean carousel feel */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom Scrollbar for Black & Gold Theme */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}

/* Gold Metallic Gradient Utilities */
.bg-gold-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #fef3c7 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-gold-glow {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

/* iHour Banner Card Style */
.banner-card {
  min-width: 280px;
  max-width: 320px;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.2);
}

.banner-overlay {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.95) 100%);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

/* Gold Action Capsule Button */
.btn-gold {
  background-color: rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(12px);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background-color: #f59e0b;
  color: #000000;
  border-color: #f59e0b;
  transform: scale(1.05);
}

/* Dynamic Step Card Animation */
.step-card {
  animation: slideDown 0.2s ease-out forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print Styles for Doctors Prescriptions */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: Arial, sans-serif !important;
  }

  header, footer, nav, button, .ad-slot, #presetSelect, #alertBox, main > div:first-child {
    display: none !important;
  }

  #outputResult {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    font-size: 14pt !important;
    line-height: 1.5 !important;
    height: auto !important;
    min-height: 400px !important;
    padding: 20px !important;
  }

  body::before {
    content: "DOCUMENT MÉDICAL - PLAN DE TRAITEMENT DOSÉ";
    display: block;
    font-size: 18pt;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
  }
}
