.elementor-6263 .elementor-element.elementor-element-d0a601f{--display:flex;}/* Start custom CSS for html, class: .elementor-element-ffacd88 *//**
 * @license
 * SPDX-License-Identifier: Apache-2.0
 */

:root {
  --background-color: #f8f9fa;
  --container-bg: #ffffff;
  --text-color: #212529;
  --label-color: #6c757d;
  --slider-track-color: #e9ecef;
  --slider-track-border: #d1d5db;
  --slider-thumb-color: #fff;
  --slider-thumb-border: #adb5bd;
  --shadow-color: rgba(0, 0, 0, 0.08);
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    sans-serif;
  background-color: var(--background-color);
  display: grid;
  place-items: center;
}

.visualizer-container {
  background-color: var(--container-bg);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--shadow-color);
  width: 90%;
  max-width: 450px;
  text-align: center;
}

.ring-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  margin-bottom: 1rem;
}

.ring-band {
  width: 75%;
  height: 12px;
  background: #fff;
  border: 1px solid var(--slider-track-border);
  border-radius: 6px;
}

#diamond {
  --diamond-size: 32px; /* Default size, updated by JS */
  position: absolute;
  width: var(--diamond-size);
  height: var(--diamond-size);
  background-color: white;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="49" fill="none" stroke="%23cccccc" stroke-width="1.5"/><path d="M50,1 l42.4,42.4 l-42.4,42.4 l-42.4,-42.4 Z" fill="none" stroke="%23cccccc" stroke-width="1.5" /><path d="M50,1 v98 M1,50 h98 M17.6,17.6 l64.8,64.8 M17.6,82.4 l64.8,-64.8" fill="none" stroke="%23e0e0e0" stroke-width="1" /><circle cx="50" cy="50" r="25" fill="none" stroke="%23cccccc" stroke-width="1" /></svg>');
  background-size: contain;
  border-radius: 50%;
  border: 1px solid var(--slider-track-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: width 0.1s ease-out, height 0.1s ease-out;
}

/* --- Sparkle Animation --- */
@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 0.8;
    transform: scale(1);
  }
}

#diamond::before,
#diamond::after {
  content: '';
  position: absolute;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  z-index: 10;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  animation: sparkle 3s infinite ease-in-out;
}

#diamond::before {
  top: 20%;
  left: 25%;
  width: 15%;
  height: 15%;
}

#diamond::after {
  top: 55%;
  right: 20%;
  width: 10%;
  height: 10%;
  animation-delay: 0.7s; /* Stagger the animation for a more natural feel */
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.carat-label {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: var(--label-color);
}

.carat-label span {
  font-weight: 600;
  color: var(--text-color);
}

.slider-wrapper {
  padding: 1rem 0;
}

/* Custom Slider Styles */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--slider-track-color);
  border-radius: 4px;
  border: 1px solid var(--slider-track-border);
  outline: none;
  cursor: pointer;
}

/* --- Thumb Styling --- */
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--slider-thumb-color);
  border: 1px solid var(--slider-thumb-border);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--slider-thumb-color);
  border: 1px solid var(--slider-thumb-border);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

input[type='range']:active::-webkit-slider-thumb {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(108, 117, 125, 0.2);
}

input[type='range']:active::-moz-range-thumb {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(108, 117, 125, 0.2);
}/* End custom CSS */