.custom-modal {
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: color-mix(in srgb, var(--color-text) 90%, transparent);
    display: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--color-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    width: auto;
    max-width: 100%;
    position: relative;
    box-shadow: var(--box-shadow-main);
    opacity: 1;
    margin-left:20px;
    margin-right:20px;
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:8px;
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    cursor: pointer;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}

.modal-body {
    margin-top:20px;
}

.modal-body p{
    margin:0;
}

.modal-footer {
    text-align: right;
    margin-top: 20px;
}

.modal-close-button {
    padding: 8px 16px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-close-button:hover {
    background: #555;
}
