.modal-hidden {
  display: none;
}

.modal-overlay {
  background: rgba(0, 0, 0, 0.6);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999
}

.modal {
  border-radius: 5px;
  padding: 20px 15px;
  width: 90%;
  max-height: calc(100% - 150px);
  overflow-y: scroll;
  position: relative;
  min-height: 300px;
  max-width: 600px;
  margin: 5% auto 0;
  background: #fff;
  z-index: 9999;
}

.modal-button-ack {
  cursor: pointer;
  background-color: #167f7b;
  font-size: 18px;
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-weight:bold;
  text-decoration: none;
  padding: 14px 20px;
  color: #ffffff;
  display:inline-block;
  border-radius: 4px;
}




@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");




.details-modal-close {
  align-items: center;
  color: #111827;
  display: flex;
  height: 4.5em;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
  width: 4.5em;


}

// -------------- TITLE

.details-modal-title {
  color: #111827;
  padding: 1.5em 2em;
  pointer-events: all;
  position: relative;
  width: calc(100% - 4.5em);

  h1 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: normal;
  }
}

// -------------- CONTENT

.details-modal-content {
  border-top: 1px solid #e0e0e0;
  padding: 2em;
  pointer-events: all;
  overflow: auto;
}

// -------------- OVERLAY

/*.details-modal-overlay {
  transition: opacity 0.2s ease-out;
  pointer-events: none;
  background: rgba(#0f172a, 0.8);
  position: fixed;
  opacity: 0;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;

  details[open] & {
    pointer-events: all;
    opacity: 0.5;
  }
}
*/
// -------------- DETAILS

details {
  summary {
    list-style: none;
      
    &:focus {
      outline: none;
    }
    &::-webkit-details-marker {
      display: none;
    }
  }
}

// -------------- OTHER

code {
  font-family: Monaco, monospace;
  line-height: 100%;
  background-color: #2d2d2c;
  padding: 0.1em 0.4em;
  letter-spacing: -0.05em;
  word-break: normal;
  border-radius: 7px;
  color: white;
  font-weight: normal;
  font-size: 1.75rem;
  position: relative;
  top: -2px;
}

.container {
  text-align: left;
  max-width: 40em;
  padding: 2em;

  > h1 {
    font-weight: 700;
    font-size: 2rem;
    line-height: normal;
    color: #111827;
  }

  > p {
    margin-top: 2em;
    margin-bottom: 2em;
  }

  sup {
    font-size: 1rem;
    margin-left: 0.25em;
    opacity: 0.5;
    position: relative;
  }
}
