#custprofpic-cropping-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.custprofpic-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 4px;
}

.custprofpic-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.custprofpic-modal-header h3 {
    margin: 0;
}

.custprofpic-close-modal {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.custprofpic-close-modal:hover {
    color: #000;
}

.custprofpic-image-container {
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 20px;
}

#custprofpic-crop-image {
    max-width: 100%;
    display: block;
}

.custprofpic-crop-controls {
    text-align: right;
}

.custprofpic-crop-controls button {
    margin-left: 10px;
}

.cropper-container {
    margin: 0 auto;
}