.cm-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1080; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full viewport width */
  height: 100%; /* Full viewport height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
.cm-modal[open] {
  display: flex;
}
.cm-modal-dialog {
  margin-right: auto;
  margin-left: auto;
}

.cm-modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}
.cm-modal-lg {
  width: 800px;
}
.cm-modal-sm {
  width: 300px;
}

/* Modal Content/Box */
.cm-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 85%; /* Could be more or less, depending on screen size */
  border-radius: 0.6rem;
}

.cm-modal-content-ios {
  padding: 0;
  border-radius: 14px;
}

.cm-modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-shrink: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0.25rem 0.25rem;
  border-bottom: 0 solid #dee2e6;
  border-top-left-radius: calc(0.75rem - 1px);
  border-top-right-radius: calc(0.75rem - 1px);
}

.cm-modal-header .cm-btn-close {
  padding: 0.5rem 0.625rem;
  min-height: 0.625em;
  align-items: center;
}

.cm-modal-body {
  position: relative;
  padding: 5px;
}
/* The Close Button */
.cm-btn-close {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  width: 0.625em;
  height: 0.625em;
  padding: 0.25em 0.25em;
  color: #000;
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e")
    center/0.625em auto no-repeat;
  border: 0;
  border-radius: 0.5rem;
  opacity: 0.5;
}
.cm-btn-close:hover {
  color: #000;
  text-decoration: none;
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e")
    center/0.625em auto no-repeat;
  border: none;
  opacity: 0.75;
}

.cm-btn-close:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0 rgba(32, 230, 227, 0.25);
  box-shadow: 0 0 0 0 rgba(32, 230, 227, 0.25);
  opacity: 1;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cm-btn:hover {
  box-shadow: none !important;
  background-color: #edf1f5;
}
.cm-btn-secondary {
  color: #000000;
  background-color: #dedee5;
  border: none;
}
.cm-btn.cm-btn-sm {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.125rem;
}
.cm-w-100 {
  width: 100% !important;
}
.cm-mt-2 {
  margin-top: 1rem !important;
}
.cm-qr-code-center {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  padding: 0.25rem 0.25rem;
}
.cm-text-dark {
  color: #121519 !important;
}
.cm-text-muted {
  color: #9e9fb4 !important;
}
.cm-text-sf-pro-regular {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; /* Adjust size as needed */
  font-weight: 400;
  line-height: 1.5 !important;
  letter-spacing: -0.08px;
  text-align: center;
}
.cm-text-sf-pro-semibold {
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 590;
  line-height: 1.5 !important;
  letter-spacing: -0.08px;
  color: #007AFF;
  font-size: 16px;
}

.cm-fs-xs {
  font-size: 0.75rem !important;
}
.cm-fw-bold {
  font-weight: 700 !important;
  font-size: 0.95rem;
}
.cm-text-center {
  text-align: center;
}
.cm-d-block {
  display: block !important;
}
