.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

.overlay.display {
    display: block;
}

.container {
    position: relative;
    background: var(--secondary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 850px;
    transform: translate(-50%, -50%);
    padding: 40px;
    border-radius: 10px;
    transition: all 0.3s linear;
}

.cancel_container {
    position: absolute;
    top: 10px;
    right: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

.edit_form_message {
    font-size: 36px;
    margin-bottom: 20px;
}

.form {
}

.submit_button {
    background: var(--gradient);
    border: none;
    outline: none;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

.error_message {
    margin-top: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.error_message p {
    margin-left: 5px;
    font-size: 14px;
    color: var(--error);
    font-weight: bold;
}

@media screen and (max-width: 750px) {
    .container {
        padding: 40px 20px;
    }
    .edit_form_message {
        font-size: 24px;
    }
}
