body {
font-family: Arial, sans-serif;
}
.cpm-modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.624);
}
.cpm-modal-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
padding: 2vw;
width: 90%;
max-width: 600px;
max-height: 95vh;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.434), 0 1px 3px rgba(0, 0, 0, 0.5);
}
.cpm-modal-content h2{ 
font-size: .66em;
margin-bottom: 1vw !important;
padding-bottom: 1vw;
}
.cpm-section{
margin-top: 1vw;
}
.cpm-content{
height: 16vh;
width: 90%;
overflow-y: scroll;
background-color: #dbdbdb;
padding: 1em;
border-radius: 8px;
margin: 0 auto;
font-size: 0.7em; }
.cpm-content h1,
.cpm-content h2,
.cpm-content h3,
.cpm-content h4,
.cpm-content h5,
.cpm-content h6 {
font-size: 0.85em; }
.cpm-modal h2 {
margin-top: 0;
margin-bottom: 1rem;
}
.cpm-modal-close {
position: absolute;
top: 10px;
right: 15px;
color: #aaa;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.cpm-modal-close:hover,
.cpm-modal-close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.cpm-agreement-section {
margin-bottom: 1.5rem;
}
.cpm-agreement-section label {
display: block;
font-weight: bold;
}
.cpm-agreement-section textarea {
width: 100%;
height: 150px;
padding: 0.5rem;
margin-bottom: 0.5rem;
resize: none;
border: 1px solid #ccc;
box-sizing: border-box;
}
.cpm-agreement-section input[type="checkbox"] {
margin-right: 0.5rem;
}
.cpm-modal .button {
background-color: #0073aa;
color: #fff;
border: none;
padding: 0.5rem 1rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
}
#cpm-loader {
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
display: flex;
justify-content: center;
align-items: center;
}
.cpm-spinner {
border: 16px solid #f3f3f3;
border-top: 16px solid #3498db;
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@media screen and (max-width: 600px) {
.cpm-modal-content {
width: 90vw;
}
}