/**
 * ADEPT QUALITY SERVICES / ADEQUS
 * Digital Website Development Cost Calculator - Custom Styles & Print Sheet
 */

.web-calc-wrapper {
  --web-primary: #0A2540;
  --web-secondary: #00AEEF;
  --web-accent: #635BFF;
  --web-success: #10B981;
  --web-warning: #F59E0B;
}

/* Custom Range Slider */
input[type=range].web-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 9999px;
  outline: none;
  transition: background 0.15s ease-in-out;
}

input[type=range].web-slider:hover {
  background: #CBD5E1;
}

input[type=range].web-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00AEEF;
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.45);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type=range].web-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #0098D4;
}

input[type=range].web-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00AEEF;
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.45);
}

/* Custom Radio and Checkbox Pill/Card focus states */
.web-option-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-option-card:hover {
  border-color: #94A3B8;
  transform: translateY(-1px);
}

input[type=radio]:checked + .web-option-card,
.web-option-card:has(input[type=radio]:checked) {
  border-color: #00AEEF !important;
  background-color: #F0F9FF !important;
  box-shadow: 0 0 0 1px #00AEEF, 0 4px 12px rgba(0, 174, 239, 0.08);
}

.web-option-card:has(input[type=checkbox]:checked) {
  border-color: #00AEEF !important;
  background-color: #F0F9FF !important;
}

/* Pulse animation for price update */
@keyframes webPriceFlash {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
    color: #00AEEF;
  }
  100% {
    transform: scale(1);
  }
}

.web-price-updated {
  animation: webPriceFlash 0.3s ease-out;
}

/* Print Styles */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  header,
  #globalTrustBar,
  footer,
  .no-print,
  #websiteLeadFormWrapper,
  .btn-download-website-pdf,
  .btn-preview-website-quote,
  .btn-whatsapp-website-quote,
  #mobileStickyBar,
  #modalNoticeBanner {
    display: none !important;
  }

  #websiteQuotationModal {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    overflow: visible !important;
    backdrop-filter: none !important;
  }

  #websiteQuotationModal > div {
    max-width: 100% !important;
    max-height: none !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }

  #websiteQuotationModal button,
  #websiteQuotationModal a {
    display: none !important;
  }

  #printableQuotationContent {
    display: block !important;
    padding: 0 !important;
    border: none !important;
  }

  #detailedBreakdownTable {
    display: block !important;
  }

  .print-only {
    display: block !important;
  }

  .web-calc-wrapper {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
}
