.no-scroll {
  overflow: hidden;
}

.display-none {
  display: none;
}

.ribbon-step-circle {
  font-size: 17px;
  height: 42px;
  width: 42px;
  line-height: 42px;
  border-radius: 50%;
  border: 1px solid #000;
  display: inline-block;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  margin: 0 auto;
}

.ribbon-title-divider {
  margin-top: 10px;
  margin-bottom: 10px;
}

.ribbon-step-title {
  font-weight: bold;
  text-align: center;
  margin: 10px 0px 5px;
}

.ribbon-step-description {
  text-align: center;
  font-size: 14px;
}

.ribbon-learn-more-modal-title {
  text-align: center;
  padding-top: 5px;
  margin-bottom: 5px;
  color: #1c1b1b;
}

.ribbon-modal-content {
  padding: 20px;
  padding-top: 10px;
}

.ribbon-step {
  text-align: center;
  margin-bottom: 15px;
}

.ribbon-close-button-top {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 24px;
}

.ribbon-learn-more-footer {
  text-align: center;
  width: 100%;             
  position: fixed;        
  bottom: 0;               
  left: 0;                 
  padding: 10px 0;
  margin-top: 20px;
  font-size: 10px; 
}

ribbon-learn-more-modal {
  display: none;
  position: fixed;
  z-index: 99000000;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #1c1b1b;
  border-radius: 16px;
  overflow-y: auto;
  height: 100vh;
  width: 100vw;
}

@media (min-width: 768px) {
  ribbon-learn-more-modal {
    left: 50%;
    top: 50%; 
    width: 600px;
    height: auto;
    max-height: 90vh;
    transform: translate(-50%, -50%); /* Shift the modal to truly center it */
  }
}

@media (max-width: 768px) {
  ribbon-learn-more-modal {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}