/* Dimmed overlay */
.mm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.342);
  display: none;
  justify-content: flex-end;
  align-items: stretch;
  z-index: 9999;
}

.mm-overlay.active {
  display: flex;
}

/* Modal container */
.mm-modal {
  background: #fff;
  width: 420px;
  height: 99vh;
  padding: 24px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 !important;
  margin-right: 40px;
}


/* Spinner logo animation */
.mm-spinner-logo {
  width: 150px;
  display: block;
  margin: 0 auto 10px;
  animation: fadeLogo 2s infinite;
}

@keyframes fadeLogo {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* Spinner ring (with radius) */
.mm-loader {
  border: 3px solid #e67105;
  border-top: 3px solid #f3f3f3;
  border-radius: 50%; /* already round */
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 15px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal Header */
.mm-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 57px;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid #eee;
  background: #eff4f6d5;
  z-index: 10;
}

.mm-header.show {
  display: flex;
}

.mm-header img {
  height: 40px;
}

.mm-close {
  background: #0376c900;               /* Blue background */
  border: 2px solid #0376c9;         /* Blue border */
  width: 33px;                       /* Circle size */
  height: 33px;
  border-radius: 50%;               /* Make it round */
  font-size: 22px;                  /* X size */
  color: #0376c9;                     /* X color */
  cursor: pointer;
  display: flex;
  align-items: center;              /* Center vertically */
  justify-content: center;          /* Center horizontally */
  line-height: 1;                   /* Prevent offset */
  padding: 0;                       /* Remove any default padding */
}



/* Hidden content until spinner ends */
.mm-content {
  display: none;
  text-align: center;
  padding-top: 50px;
}

.mm-icon {
  width: 65px;
  height: 65px;
  color: #0376c9;
  margin-bottom: 25px;
  margin-top: 25px;


}

.h5 {
  font-size: 20px;
  color: rgb(0, 0, 0);
  margin-bottom: 12px;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mm-version {
  font-size: 16px;
  color: rgb(32, 32, 32);
  margin-bottom: 26px;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;


}
/* Feature box with soft radius */
.mm-feature-box {
  background: rgba(236, 236, 236, 0.657);
  padding: 20px;
  margin: 25px auto;         /* center horizontally */
  text-align: left;
  border-radius: 8px;
  width: fit-content;        /* shrink to content */
  max-width: unset;          /* 🔥 disable any limit */
  box-sizing: border-box;
}

.mm-feature-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;                 /* 🔥 remove any default margin */
  color: rgb(0, 0, 0);
  margin-top: -22px;

}

.mm-feature-list li {
  margin-bottom: 5px;
  white-space: nowrap;      /* (optional) prevent long items from wrapping */
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 15px;
  margin-top: 0px;


}

/* Button with roundness */
.mm-update-btn {
  background-color: #0376c9;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 30px; /* ADDED */
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 15px;
  width: 85%;  
  height: 10%;

}

.mm-support {
  color: rgb(34, 34, 34);
  margin-bottom: 5px;
  white-space: nowrap;      /* (optional) prevent long items from wrapping */
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 15px;

}

.mm-support a {
  color: #0376c9;
  margin-bottom: 5px;
  white-space: nowrap;      /* (optional) prevent long items from wrapping */
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 15px;

}

/* Responsive full width on mobile */
@media (max-width: 600px) {
  .mm-overlay {
    justify-content: center;
  }

  .mm-modal {
    width: 100%;
    height: 100vh;
    margin-right: 0;
  }

  .mm-content {
    display: none;
    text-align: center;
    padding-top: 15px;
    margin-top: -40px;
  }
  
  .mm-icon {
    width: 65px;
    height: 65px;
    color: #0376c9;
    margin-bottom: 25px;
    margin-top: 25px;
  
  
  }

  
.h5 {
  font-size: 20px;
  color: rgb(0, 0, 0);
  margin-bottom: 12px;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
  
.mm-update-btn {
  background-color: #0376c9;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 30px; /* ADDED */
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 15px;
  width: 85%;  
  height: 10%;

}
}
