/* Clone YWAPO Styles */

.clone-ywapo-services {
  margin: 10px 0 !important;
  padding: 15px;
  border: 1px solid #ddd;
  background-color: aliceblue;
  border-radius: 5px;
  position: relative;
}

.clone-ywapo-service {
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.clone-ywapo-service-header {
  width: 50%;
  border-right: 1px dashed #ccc;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 10px;
}

.service-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clone-ywapo-service-content {
  width: 50%;
  padding-left: 15px;
  display: flex;
  align-items: center;
}

.clone-ywapo-options {
  display: flex;
}



.radio-input {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.radio-input * {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.radio-input label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  height: 50px;
  position: relative;
}

.radio-input label::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 45px;
  z-index: -1;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 10px;
  border: 2px solid transparent;
}

.radio-input label:hover::before {
  transition: all 0.2s ease;
}

.radio-input .label:has(input:checked)::before {
  border-color: #005296;
  height: 50px;
  z-index: 1;
}

.radio-input .label .text {
  color: inherit;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  z-index: 1;
}

.label-text {
  min-width: fit-content;
}

.charge-amount {
  font-size: 0.85em;
  color: #005296;
  font-weight: 500;
}

.no-installation-tooltip {
  position: relative;
  display: inline-block;
}

.no-installation-tooltip img {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  cursor: pointer;
}

.no-installation-tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 5px;
  position: absolute;
  z-index: 1000;
  bottom: 100%;
  right: -93px;
  font-weight: 100;
  font-size: 0.75rem;
}

.no-installation-tooltip:hover .no-installation-tooltip-text {
  visibility: visible !important;
}

.no-installation-tooltip:hover .no-installation-tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.radio-input .label input[type="radio"] {
  background-color: #ffffff;
  border: 1px solid #005296;
  appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  margin: 0;
}

.radio-input .label input[type="radio"]:checked {
  background-color: #005296;
  -webkit-animation: pulse 0.7s forwards;
  animation: pulse 0.7s forwards;
}

.radio-input .label input[type="radio"]:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1);
  background-color: #fff;
  transform: scale(0);
}

.radio-input .label input[type="radio"]:checked::before {
  transform: scale(1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.clone-ywapo-service input[type="checkbox"] {
  margin-right: 10px;
}

.clone-ywapo-service-hidden {
  display: none !important;
}

@media (min-width: 550px) and (max-width: 849px) {
  .radio-input {
    flex-direction: row !important;
    flex-wrap: wrap;
  }

  .radio-input label {
    width: calc(50% - 5px);
  }
}

.clone-ywapo-tooltip,
.clone-ywapo-cta-remark {
  margin-top: 5px;
  padding: 5px 10px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 3px;
  font-size: 0.9em;
  color: #856404;
}

.clone-ywapo-tooltip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.recommended-badge {
  position: absolute;
  top: -10px;
  right: -5px;
  background-color: #005296;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 10;
}

.service-icon {
  border-radius: 50%;
  border: 1px solid #005296;
  padding: 4px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  color: #005296;
}

.service-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.clone-ywapo-service-description {
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
  line-height: 1.4;
}

.clone-ywapo-cta-type {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.clone-ywapo-cta-type .clone-ywapo-service-header {
  width: 100%;
  border-right: none;
  padding-right: 0;
  padding-bottom: 10px;
}

.clone-ywapo-cta-type .clone-ywapo-service-content {
  width: 100%;
  padding-left: 0;
}

.clone-ywapo-cta-remark {
  margin: 5px 0;
  padding: 12px 15px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-tooltip-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border: 1.5px solid #856404;
  color: #856404;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.cta-text-content {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.cta-remark-text {
  font-size: 0.95em;
  color: #856404;
  line-height: 1.5;
}

.clone-ywapo-cta-wrapper {
  display: flex;
  align-items: center;
}

.clone-ywapo-cta-button {
  background-color: #005296 !important;
  color: #fff !important;
  padding: 6px 18px !important;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  display: inline-block;
  transition: background-color 0.2s ease;
  margin: 0 auto !important;
  white-space: nowrap;
}

.clone-ywapo-cta-button:hover {
  background-color: #003d70 !important;
}

.button.clone-ywapo-cta-button.wdm_enquiry {
  white-space: nowrap !important;
}