/* 
 * Custom Styles for Standalone HTML Calculator (Cloudflare Pages)
 * G-Corp Consultoria Dark SaaS Theme
 */

/* Smooth scroll & font rendering */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* SVG Chart Smooth Transitions without path morphing glitch */
svg path {
  transition: fill 0.3s ease, stroke 0.3s ease;
}

svg circle {
  transition: cx 0.3s cubic-bezier(0.4, 0, 0.2, 1), cy 0.3s cubic-bezier(0.4, 0, 0.2, 1), r 0.2s ease;
}

svg circle:hover {
  r: 8 !important;
  cursor: pointer;
  filter: drop-shadow(0 0 10px rgba(47, 184, 232, 0.9));
}

/* Range input accent color & styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 8px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2FB8E8, #1F6FA8);
  box-shadow: 0 0 14px rgba(47, 184, 232, 0.7);
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  box-shadow: 0 0 20px rgba(47, 184, 232, 1);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2FB8E8, #1F6FA8);
  box-shadow: 0 0 14px rgba(47, 184, 232, 0.7);
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Keyframe animations */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(47, 184, 232, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(47, 184, 232, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(47, 184, 232, 0);
  }
}
