.modal-content {
    background: var(--lightblue-primary-solid);
}

.modal-header .close {
    margin-top: -30px;
}

.modal {
    overflow-x: hidden;
    max-width: 95%;
}

.modal-title {
    color: white;
}

.modal-dialog {
    overflow-x: hidden;
}

.giftModalText {
    color: white;
    text-align: center;
}

.close {
    color: white;
    opacity: 1;
    margin-top: -30px;
}

.modal-backdrop,
.modal-backdrop.fade,
.modal-backdrop.show,
.modal-backdrop.fade.show {
    background-color: rgba(0,0,0,0.85) !important; 
    opacity: 1 !important; 
    z-index: 1040  !important; 
}

.modal.show {
    z-index: 1050 !important;             
    position: relative;
}

.walkathon-modal-content {
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding-top: 30px; /* espacio para el botón cerrar */
}

.walkathon-link {
  display: block;
}

.walkathon-img {
  width: 100%;
  border-radius: 10px; /* o ajustalo a tu gusto */
  display: block;
}

#walkathonModal .close {
  position: absolute;
  top: 70px;
  right: 10px;
  color: white;
  background: rgba(0,0,0,0.7); /* más oscuro para que se vea */
  opacity: 1;
  font-size: 1.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 20;
  cursor: pointer;
  line-height: 1;
  border: none;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease;
}

#walkathonModal .close:hover {
  opacity: 1;
}

@media all and (max-width: 767px) {
    .modal-header .close {
        margin-top: -30px;
    }
}