.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal {
    background: #5c3d90;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cancelButton {
    flex: 1;
    padding: 0.6rem 1rem;
    background-color: #ccc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.cancelButton:hover {
    background-color: #bbb;
}

.deleteMainButton {
    position: absolute;
    right: 1rem; /* ✅ Moves button to the right */
    top: 50%;
    transform: translateY(-50%); /* ✅ Ensures vertical alignment */
    padding: 0.6rem 1rem;
    background-color: #e74c3c;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-weight: 500;
}

.deleteButton {
    flex: 1;
    padding: 0.6rem 1rem;
    background-color: #e74c3c;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-weight: 500;
}

.deleteButton:hover {
    background-color: #c0392b;
}