.copy-btn,
.copy-btn:hover,
.copy-btn:focus,
.copy-btn:active {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #888; /* default color */
}

.copy-btn:hover {
  color: #000; /* your custom hover color */
}

.copy-container:hover .copy-btn {
  display: inline-block;
}

.success-message {
	background-color: #e9ffe8;
}

.error-message {
	background-color: #ffddef;
}

.success-error-message {
	width: 100%; 
	padding: 10px; 
	min-height:40px; 
	border-radius: 6px;
	position: relative;
	margin-bottom: 25px;
	margin-top: -20px;
	display: flex; 
	flex-wrap: wrap; 
	box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.8) !important;
	font-size: 80%;
	font-weight: 400;
}

.success-error-message li {
	list-style: none;
	padding: 0 !important;
	list-style-type: none !important;
}

.success-error-message ul {
	padding: 0 !important;
	margin-bottom: 0;
	list-style-type: none !important;
}

.success-error-message h2 {
	display: none; 
}

.credits-widget-container {
  display: flex; /* Flexbox layout */
  justify-content: space-between; /* Space between widgets */
  align-items: center; /* Align items vertically in the center */
  padding: 20px; /* Padding for the container */
  gap: 20px; /* Space between widgets */
}

.form-control:focus,
.form-control:valid,
.form-control:invalid,
.form-control:-webkit-autofill {
  border-color: inherit !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-box-shadow: none !important; /* Chrome/Edge/Safari */
}

.navbar-toggler,
.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}


#map-wrapper {
  width: 100%;
  float: right;
  margin-bottom: 35px;
}

#map {
  height: 600px;
  float: right;
  width: 75%;
  border-radius: 0.375rem;
}

#leads-options-wrap {
  float: left;
  width: 23%;
  border-radius: 0.375rem;
  background-color: white;
}

.lead-search-item-wrap {
  padding: 8px;
  float: left;
  min-height: 60px;
  width: 100%;
}

.lead-search-item-wrap button {
  width: 100%;
}

.leads-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px; /* space between text+icon and checkbox */
}

.leads-info-tooltip {
  display: inline-block;
  position: relative;
  margin-left: 4px; /* small spacing after text */
  cursor: pointer;
}

.leads-info-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color:#3939c5;
  color: #fff;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
}

.leads-tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 10;
  bottom: 125%; /* show above the icon */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  font-size: 13px;
}

.leads-tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* arrow at bottom */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.leads-info-tooltip:hover .leads-tooltip-text {
  visibility: visible;
  opacity: 1;
}



/* ---------- Dropdown ---------- */
#location-type-dropdown {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  appearance: none; /* Hide native arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  transition: all 0.2s ease;
}

#location-type-dropdown:focus {
  border-color: #babccc;
  box-shadow: 0 0 0 2px rgba(177, 183, 216, 0.2);
  outline: none;
}

.credits-widget {
  background: #f8f9fa; /* light silver background */
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: #32325d;
  text-align: center;
  box-shadow: 0 4px 12px rgba(50, 50, 93, 0.1);
  max-width: 220px;
  margin: 1rem auto;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credits-widget:hover {
  box-shadow: 0 6px 16px rgba(50, 50, 93, 0.15);
}

.credits-widget-header {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #8898aa;
}

.credits-widget-price {
  font-size: 2rem;
  font-weight: 500;
  margin: 0.5rem 0;
  color: #32325d;
}

.credits-widget-price-description {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #525f7f;
  line-height: 1.3rem;
}

.credits-widget .btn-info {
  background-color: #3939c5; /* match Argon primary color */
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 0.1rem;
  width: 100%;
  transition: background-color 0.2s ease;
}

.credits-widget form {
  margin: 0;
  width: 100%;
}

.credits-widget form .btn {
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.credits-widget .btn-info:hover {
  background-color: #324cdd;
}

/* Container for multiple widgets */
.credits-widget-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Mobile-friendly stacking */
@media (max-width: 576px) {
  .credits-widget-container {
    flex-direction: column;
    align-items: stretch; /* make widgets full width */
    gap: 1rem;
  }

  .credits-widget {
    max-width: 100%;
    width: 100%;
    margin: 0; /* remove auto margin for full width */
  }
}


/* ---------- Checkbox ---------- */
.lead-search-item-wrap label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  padding-top: 20px;
  color: #333;
  gap: 10px;
  position: relative;
}

.lead-search-text {
  flex: 1;
}

.lead-wrap-button {
  margin-top: 30px;
}

.lead-search-item-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.lead-search-item-wrap .checkmark {
  height: 18px;
  width: 18px;
  background-color: #f0f0f0;
  border: 2px solid #ccc;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
}

.lead-search-item-wrap input[type="checkbox"]:checked ~ .checkmark {
  background-color: #3939c5;
  border-color: #3939c5;
}

.lead-search-item-wrap .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lead-search-item-wrap input[type="checkbox"]:checked ~ .checkmark::after {
  display: block;
}

/* ---------- Sliders ---------- */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 13px;
  border-radius: 4px;
  background: #e9ecef;
  outline: none;
  transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3939c5;
  cursor: pointer;
  transition: background 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #324cdd;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3939c5;
  cursor: pointer;
}

.value-display {
  margin-top: 6px;
  font-size: 14px;
  color: #555;
}

/* ---------- Button ---------- */
button {
  margin-top: 15px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(87deg, #3939c5, #60cdc5);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  /* Keep the original gradient */
  
  /* Remove Argon’s hover glow and apply subtle frost */
  box-shadow: 0 4px 10px rgba(50, 76, 221, 0.1); /* lighter shadow for frost effect */
  filter: brightness(0.95); /* lightly darkens for frosted hover */
}


@media (max-width: 1200px) {
  #map, #leads-options-wrap  {
    width: 100%;
  }
  #leads-options-wrap  {
    margin-top: 3.0rem !important;
    height: auto;
  }
}

/* Style the search box */
#pac-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.2s ease;
}

#radius-slider {
  margin-top: 10px;
}
