/* Verborgen checkbox */
#modal-toggle {
    display: none;
}

.open-modal {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.modal-overlay {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    position: relative;
    text-align: left;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.modal h2 {
    text-align: center;
}


.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.modal .new {
    float: right;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
}

.modal .loginAsMember {
    font-weight: bolder;
    cursor: pointer;
    margin-left: 8px;
}

.contractContent {
    max-height: 70vh;
    overflow-y: scroll;
}

.metaData {
    padding: 10px;
    border: solid #a1a1a1 1px;
    border-radius: 8px;
    margin-bottom: 8px;
    margin-right: 24px;
    background: #dddfff;
}



.metaDataProve {
  background: #f5f7ff;
  border: 1px solid #d7def7;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 16px;
  width: 90%;
}

.metaDataProve:hover {
  background: #eef2ff;
  border-color: #c5d0f5;
}

.metaDataProve p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2e3a59;
}

.metaIcon {
  font-size: 14px;
  line-height: 1;
}

.metaArrow {
  margin-left: auto;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.metaArrow.open {
  transform: rotate(180deg);
}

.metaData {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 14px;
  border-radius: 0 0 10px 10px;
  transition:
    max-height 0.3s ease,
    opacity 0.2s ease,
    padding 0.3s ease;
}

.metaData.open {
  max-height: 220px;
  opacity: 1;
  padding: 12px 14px;
}

.metaData p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #000;
  word-break: break-word;
}

.metaData p:last-child {
  margin-bottom: 0;
}

.metaData strong {
  color: #2e3a59;
}

@media (min-width: 0px) and (max-width: 426px) {
    .contractContent {
        max-height: 57vh!important;
    }
}
