/* ==========================================================================
   CREDENCIALES SAN LUIS - ESTILOS PRINCIPALES
   Colores del Logotipo Oficial:
   Azul: #0284c7 / #0084d6
   Verde: #84cc16 / #8dc63f
   Naranja: #f97316 / #f58220
   Oscuro: #0f172a / #1e293b
   ========================================================================== */

:root {
  --color-brand-blue: #0284c7;
  --color-brand-blue-hover: #0369a1;
  --color-brand-blue-light: #e0f2fe;
  
  --color-brand-green: #84cc16;
  --color-brand-green-hover: #65a30d;
  --color-brand-green-light: #ecfccb;

  --color-brand-orange: #f97316;
  --color-brand-orange-hover: #ea580c;
  --color-brand-orange-light: #ffedd5;

  --color-dark: #0f172a;
  --color-dark-surface: #1e293b;
  --color-light-bg: #f8fafc;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Simulated Badge Preview */
.badge-perspective {
  perspective: 1000px;
}

.badge-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.badge-card:hover {
  transform: rotateY(5deg) rotateX(2deg) translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.25);
}

/* Badge Finish Overlays */
.finish-glossy {
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 50%, rgba(0,0,0,0.05) 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.finish-matte {
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.1) 100%);
  filter: contrast(95%);
}

.finish-metallic {
  background: linear-gradient(120deg, #fce7f3 0%, #fed7aa 25%, #fef08a 50%, #fed7aa 75%, #fce7f3 100%);
  background-size: 200% 200%;
  animation: shineMetallic 6s ease infinite;
}

@keyframes shineMetallic {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Lanyard hanging effect */
.lanyard-strap {
  position: relative;
  width: 24px;
  height: 50px;
  margin: 0 auto -6px auto;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  z-index: 10;
}

.lanyard-clip {
  width: 14px;
  height: 14px;
  background: #94a3b8;
  border: 2px solid #64748b;
  border-radius: 50%;
  margin: -6px auto 0 auto;
  position: relative;
  z-index: 11;
}

/* Floating WhatsApp Button Pulse */
.whatsapp-pulse {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Selection Cards on Cotizador */
.quote-option-btn {
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid #e2e8f0;
}

.quote-option-btn:hover {
  border-color: #38bdf8;
  background-color: #f0f9ff;
  transform: translateY(-2px);
}

.quote-option-btn.active {
  border-color: #0284c7;
  background-color: #f0f9ff;
  box-shadow: 0 4px 14px -1px rgba(2, 132, 199, 0.25);
}

.quote-checkbox {
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid #e2e8f0;
}

.quote-checkbox.active {
  border-color: #84cc16;
  background-color: #f7fee7;
}

/* Print Styles for Printable Quotation PDF */
@media print {
  body * {
    visibility: hidden;
  }
  #printableQuoteModal, #printableQuoteModal * {
    visibility: visible;
  }
  #printableQuoteModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white;
  }
  .no-print {
    display: none !important;
  }
}
