.custom-card {
  width: 100%;
  max-width: 1200px;
  height: auto;
  min-height: 150px;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.custom-wave {
  position: absolute;
  transform: rotate(90deg);
  left: -31px;
  top: 20px;
  width: 60px;
  fill: #4777ff3a;
}

.custom-icon-container {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #4777ff48;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 8px;
}

.custom-icon {
  width: 20px;
  height: 20px;
  color: #124fff;
}

.custom-message-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
  flex-grow: 1; /* Permite que el contenedor del texto use más espacio disponible */
}

.custom-message-text {
  color: #124fff;
  font-size: 18px;
  font-weight: 700;
}

.custom-sub-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  text-align: justify;
}

.custom-cross-icon {
  width: 18px;
  height: 18px;
  color: #555;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
}

.custom-image-container {
  width: 100%;
  max-width: 1500px; /* Ajusta según el tamaño deseado */
  height: auto; /* Altura automática para adaptarse a la imagen */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 25px;
}

/* .custom-image-container {
  width: 100%;
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 25px;
} */

.custom-image {
  width: 100% !important; /* Aprovecha todo el ancho disponible del contenedor */
  height: auto !important; /* Mantiene la proporción de la imagen */
  max-height: 1000px; /* Permite una altura máxima mayor */
  object-fit: cover; /* Cubre el contenedor sin distorsionar la imagen */
  border-radius: 12px;
}

/* .custom-image {
  width: 480px;
  height: 640px;
  object-fit: cover; 
  border-radius: 12px;
} */

/* Media query for mobile devices */
@media (max-width: 768px) {
  .custom-card {
    width: 100%; /* Full width for smaller screens */
    padding: 15px;
    flex-direction: column; /* Stack the content vertically */
    align-items: center; /* Center align the content */
  }

  .custom-icon-container {
    width: 35px; /* Smaller icon container for mobile */
    height: 35px;
    margin-left: 0; /* Remove extra margin for smaller screens */
  }

  .custom-icon {
    width: 18px; /* Slightly smaller icon */
    height: 18px;
  }

  .custom-message-text {
    font-size: 16px; /* Adjust text size for smaller screens */
  }

  .custom-sub-text {
    font-size: 13px; /* Adjust subtext size for readability on mobile */
  }

  .custom-wave {
    width: 40px; /* Smaller wave for mobile */
    left: -20px;
    top: 10px;
  }

  .custom-cross-icon {
    width: 16px;
    height: 16px;
    right: 15px;
    top: 15px;
  }
}
