.donatemate-select {
    min-width: 15ch;
    max-width: 30ch;
    padding: 0.9rem 1rem 1.1rem 1rem;
    font-size: 2rem;
}

.prefix {
    font-weight: bold;
}

#donatemateAtc {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.donatemate-input-group {
    display: flex !important;
    flex-direction: row !important;
    max-width: 50% !important;
}

.donatemateinput {
    padding: 0.9rem 1rem 1.1rem 1rem;
    margin: 0.5rem !important;
    max-width: 15ch !important;
    min-width: 15ch !important;
}

.donatemate-app-wrapper {
    display: grid;
}

.donatemate-grid {
    padding: 1rem;
    align-self: center;
    justify-self: center;
    max-width: 1024px;
    display: grid;
    grid-template-columns:
    repeat(
      auto-fit,
      minmax(
              clamp(200px, 500px, 100%),
              2fr
      )
    );

}




.donatemateSellingPlanList input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.donatemateSellingPlanList label {
    display: inline-block;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #0b0f27;
}


.donatemateSellingPlanList input[type="radio"]:checked + label
{
    background: #0b0f27;
    color: #ffffff;
}

.donatemateSellingPlanList label:hover {
  background: #DDD;
}

.donatemate-grid-image {
    width: clamp(200px, 350px, 100%);
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 2rem;
  height: 2rem;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 2rem;
  height: 2rem;
  margin: 0.5rem;
  border: 0.5rem solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.donatemate-container {
    display: flex;
    flex-direction: row; /* Default layout: side by side */
    padding: 1rem;
    align-self: center;
    justify-self: center;

}

.donatemate-text {
    /* Styles for your text container */
    width: 50%; /* Example width */

}

.donatemate-image {
     /* Styles for your image container */
    width: 50%; /* Example width */

}

.donatemate-image img {
    width: 100%;       /* Scale the width to 100% of the container */
    height: auto;      /* Scale height automatically to maintain aspect ratio */
    max-width: 100%;   /* Ensure image does not exceed the container's width */
    max-height: 100%;  /* Ensure image does not exceed the container's height */
    object-fit: contain; /* Adjust this value based on your preference */
}

/* Media Query for smaller screens */
@media screen and (max-width: 768px) {
    .donatemate-container {
        flex-direction: column; /* Stack vertically on small screens */
    }

    .donatemate-image, .donatemate-text {
        width: 100%; /* Full width for small screens */
    }
}

.donatemate-roundup-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.donatemate-roundup-container {
    gap: 1rem;
}
.donatemate-total-callout-amount {
    font-weight: bold;
}

.dm-donation-value-button {
    border: 1px solid transparent;
    margin-top: 5px;
}

.dm-donation-value-button-selected {
    border: 3px red solid;
}
