
.dp-modal * {
    box-sizing: border-box;
}
.terms-and-conditions {
    overflow-wrap: break-word;
    font-size: 0.875rem;
    line-height: 1.2;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}
.terms-and-conditions a {
    color: black;
    text-decoration: underline;
}
.terms-and-conditions ol,
.terms-and-conditions ul {
    padding-inline-start: 16px;
}
.terms-and-conditions li {
    margin-bottom: 0.4em;
}
.terms-and-conditions .dp-list-marker-bold > li::marker {
    font-weight: 700;
}
.terms-and-conditions ol.dp-custom-marker {
    counter-reset: listCounter;
}
.terms-and-conditions ol.dp-custom-marker > li {
    counter-increment: listCounter;
}
.terms-and-conditions ol.dp-custom-marker > li::marker {
    content: counter(listCounter) ")\0020";
}
.terms-and-conditions ol.dp-custom-marker.dp-custom-marker-latin > li::marker {
    content: counter(listCounter, lower-latin) ")\0020";
}

.dp-modal {
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
    z-index: 100;
}

.dp-modal.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}
.dp-modal-content {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 50%;
    left: 50%;
    border: 1px solid black;
    border-radius: 16px;
    background-color: white;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    height: 80vh;
    max-height: 1200px;
    
    padding-bottom: 66px;
}

.dp-modal-header {
    position: relative;
    padding: 0 12px;
    border-bottom: 1px solid rgba(0,0,0,0.6);
}

.dp-modal-body {
    overflow-y: scroll;
    padding: 12px 12px;
}
.dp-modal-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 12px 12px;
    background-color: white;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-top: 1px solid rgba(0,0,0,0.6);
}

.dp-modal .modal-footer-btn {
    display: block;
    color: white;
    background-color: #0a6478;
    border: 1px solid #0a6478;
    font-weight: 700;
    padding: 1em 2.5em;
    margin-left: auto;
    margin-right: 3em;
    cursor: pointer;
    transition: filter 0.2s ease-in-out;
}

.dp-modal .modal-footer-btn:hover {
    filter: brightness(1.20);
}