:root {
  --track-h: 8px;
  --thumb-size: 28px;
  --accent: #0d6efd;
  --muted: #ddd;
  --label-color: #333;
  --gap: 12px;
}

/* Progress Bar Wrapper */
.progressbar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Progress Bar Base */
.progressbar {
  list-style: none;
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 750px;
}

.progressbar::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 0;
}

/* Step Item */
.progressbar li {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 33%;
}

/* Step Circle */
.progressbar li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Completed Step Connector */
.progressbar li.completed::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  z-index: -1;
}

/* Active & Completed Step Circle */
.progressbar li.active::before,
.progressbar li.completed::before {
  border-color: #007bff;
  background-color: #007bff;
}

/* Step Title & Description */
.progressbar li .step-title {
  display: block;
  font-weight: 600;
  color: #333;
  margin-top: 25px;
  transition: color 0.3s ease;
}

.progressbar li small {
  color: #888;
  font-size: 13px;
}

/* Active & Completed Text Colors */
.progressbar li.active .step-title,
.progressbar li.completed .step-title {
  color: #007bff;
}

.progressbar li.completed small {
  color: #6c757d;
}

/* Form Step Transitions */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Plan Card Hover */
.plan-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.plan-card:hover {
  background-color: #f8faff;
  transform: translateY(-5px);
}

/* END Progress Bar Wrapper */

/* Price Bar */

.price-slider {
  margin: 0 auto;
}

.value-bubble {
  text-align: center;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 18px;
}

.slider-wrap {
  position: relative;
  padding: 28px 0 36px; /* space for ticks and labels */
  background: white;
  border-radius: 10px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: var(--track-h);
  margin: 0;
  background: transparent;
  position: relative;
  z-index: 3;
}

/* track */
input[type="range"]::-webkit-slider-runnable-track {
  height: var(--track-h);
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--pos),
    var(--muted) var(--pos),
    var(--muted) 100%
  );
  border-radius: 999px;
}
input[type="range"]::-moz-range-track {
  height: var(--track-h);
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--pos),
    var(--muted) var(--pos),
    var(--muted) 100%
  );
  border-radius: 999px;
}

/* thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  background: white;
  border: 3px solid var(--accent);
  margin-top: calc((var(--track-h) - var(--thumb-size)) / 2);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.18);
  cursor: pointer;
  position: relative;
  z-index: 4;
}
input[type="range"]::-moz-range-thumb {
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  background: white;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.18);
  cursor: pointer;
}

/* ticks container */
.ticks {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  height: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
}

.tick {
  width: 2px;
  height: 10px;
  background: var(--muted);
  border-radius: 2px;
}

.tick-labels {
  position: absolute;
  left: 10px;
  right: -30px;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: var(--gap);
  pointer-events: none;
}
.tick-labels span {
  transform: translateX(-50%);
  width: max-content;
}

/* small responsive */
@media (max-width: 420px) {
  .value-bubble {
    font-size: 16px;
  }
  :root {
    --thumb-size: 24px;
  }
}

.pt50 {
  padding-top: 50px !important;
}

/* dropzone */

.card {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(20, 20, 50, 0.06);
}
.dropbox {
  border: 2px dashed #9f70fd;
  border-radius: 10px;
  background: #ffffff;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.upload-icon {
  pointer-events: none;
}
.dropbox:hover {
  background: #f8f5ff;
}

.upload-icon {
  font-size: 40px;
  color: #9f70fd;
  opacity: 0.8;
  transition: color 0.3s, transform 0.3s;
}

.dropbox:hover .upload-icon {
  color: #7a3cff;
  transform: scale(1.1);
}

/* Custom preview box (bigger thumbnail) */
.dz-preview.custom-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}
.dz-preview .thumb {
  width: 140px;
  height: 95px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border: 1px solid #e6e6e6;
}
.dz-preview .thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}
.dz-preview .meta {
  flex: 1;
  min-width: 0;
}
.dz-preview .meta .name {
  font-weight: 600;
  font-size: 14px;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dz-preview .meta .size {
  font-size: 13px;
  color: #666;
}
.dz-preview .dz-remove {
  display: inline-block;
  margin-top: 10px;
  color: #dc3545;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
}

/* Hide default dropzone previews area (we use custom template) */
.dropzone .dz-preview.dz-image-preview {
  display: block;
}
.dz-default.dz-message {
  color: #666;
  font-size: 14px;
}
label {
  font-weight: 600;
  font-size: 14px;
}

.contact_form input[type="file"] {
  
  height: 60px;
  line-height: 60px;
  border-radius: 65px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #6e6e6e;
  font-size: 16px;
  font-family: var(--secondary-font);
  padding: 0;
  cursor: pointer;

  /* Hide the ugly default button and restyle */
  position: relative;
}

.contact_form input[type="file"]::file-selector-button {
  background: linear-gradient(106deg, #ebebeb 11.27%, #d1d1d1 88.73%);
  color: #222222;
  border: none;
  height: 60px;
  padding: 0 25px;
  border-radius: 65px;
  cursor: pointer;
  font-weight: 500;
}

.contact_form input[type="file"]:hover::file-selector-button {
  opacity: 0.9;
}

.form-group input,
.form-group textarea {
  padding: 10px 10px !important;
}

  
/* Example for multiple inputs */
input[type="text"]::placeholder,
input[type="email"]::placeholder ,
input[type="password"]::placeholder,
input[type="tel"]::placeholder{
    color: #cacaca; /* Red placeholder */
}



.plan-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Gradient border effect using pseudo-element */
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(106deg, #E770C1 11.27%, #9F70FD 88.73%);
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: 0.3s ease;
}

/* Hover animation */
.plan-card:hover::before {
  opacity: 1;
}

.plan-card h5 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #9F70FD;
  margin-bottom: 8px;
}

.plan-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.plan-card input[type="radio"] {
  accent-color: #9F70FD;
  transform: scale(1.2);
  cursor: pointer;
  height: 40px !important;
}

/* Highlight selected card with glowing border */
.plan-card:has(input[type="radio"]:checked)::before {
  opacity: 1;
  box-shadow: 0 0 15px rgba(159, 112, 253, 0.3);
}

.plan-card:has(input[type="radio"]:checked) h5 {
  color: #E770C1;
}

.share-select{
 padding-top: 10px;
}

.form-group { 
    margin-bottom: 15px !important;
}

.nice-select .list {
  max-height: 300px; /* adjust as needed */
  overflow-y: auto;  /* enable vertical scrolling */
}

/* Optional: Style the scrollbar */
.nice-select .list::-webkit-scrollbar {
  width: 6px;
}

.nice-select .list::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}