.variation-Persoonlijkeboodschap {
    display: none !important;
}

.add-message-link {
    font-size: 14px !important;
}

/* Overlay */
.modify-custom-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.modify-custom-message-overlay.hidden {
    display: none;
    pointer-events: none;
}

/* Modal Popup */
.modify-custom-message-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modify-custom-message-popup.hidden {
    display: none;
    opacity: 0;
    transform: translate(-50%, -48%);
}

.modify-custom-message-popup h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    margin-right: 1rem;
}

.modify-custom-message-popup textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

.popup-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.popup-buttons button {
    flex: 1;
}

/* Notification */
.wc-custom-message-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 2000;
    animation: slideIn 0.3s ease;
}

.wc-custom-message-notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wc-custom-message-notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .modify-custom-message-popup {
        width: 95%;
        padding: 20px;
    }

    .popup-buttons {
        flex-direction: column;
    }

    .wc-custom-message-notification {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}